Run Test: slices-bi-singlenode-login 2026-05-11 17:35:13.035980 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-11 17:35:16.306702 CEST - Run: slices --version 2026-05-11 17:35:16.521120 CEST - version: Slices CLI v2025.1.5 Slices CLI core v1.1.2 Slices CLI bi v2.0.2 Slices clientlib core v5.5.1 Slices clientlib bi v5.1.2 2026-05-11 17:35:16.521419 CEST - Run: slices pubkey list --format text 2026-05-11 17:35:17.086662 CEST - Pubkey already registered 2026-05-11 17:35:17.086886 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-11 17:35:17.652031 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-11 17:35:17.652176 CEST - Check List Flavors 2026-05-11 17:35:17.652367 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-11 17:35:18.969456 CEST - Check List DiskImages 2026-05-11 17:35:18.969665 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-11 17:35:19.585159 CEST - Requesting resources 2026-05-11 17:35:19.585636 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-c22d442a 2026-05-11 17:35:22.806296 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01krbtvf9efk1rsfb38hp09990 2026-05-11 17:35:22.806463 CEST - Waiting until resource ready 2026-05-11 17:35:24.806914 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c22d442a tst 2026-05-11 17:35:25.472564 CEST - Status: IMAGING 2026-05-11 17:35:28.138233 CEST - Status: IMAGING 2026-05-11 17:35:30.803963 CEST - Status: IMAGING 2026-05-11 17:35:33.519990 CEST - Status: IMAGING 2026-05-11 17:35:36.235857 CEST - Status: STARTING 2026-05-11 17:35:38.951661 CEST - Status: STARTING 2026-05-11 17:35:41.617370 CEST - Status: STARTING 2026-05-11 17:35:44.283072 CEST - Status: STARTING 2026-05-11 17:35:46.948948 CEST - Status: STARTING 2026-05-11 17:35:49.614652 CEST - Status: STARTING 2026-05-11 17:35:52.280317 CEST - Status: STARTING 2026-05-11 17:35:54.945996 CEST - Status: STARTING 2026-05-11 17:35:57.611689 CEST - Status: STARTING 2026-05-11 17:36:00.277896 CEST - Status: STARTING 2026-05-11 17:36:02.944237 CEST - Status: STARTING 2026-05-11 17:36:05.610503 CEST - Status: STARTING 2026-05-11 17:36:08.326772 CEST - Status: STARTING 2026-05-11 17:36:11.042798 CEST - Status: STARTING 2026-05-11 17:36:13.708611 CEST - Status: STARTING 2026-05-11 17:36:16.374278 CEST - Status: STARTING 2026-05-11 17:36:19.039974 CEST - Status: STARTING 2026-05-11 17:36:21.755947 CEST - Status: STARTING 2026-05-11 17:36:24.421748 CEST - Status: STARTING 2026-05-11 17:36:27.087634 CEST - Status: STARTING 2026-05-11 17:36:29.753303 CEST - Status: STARTING 2026-05-11 17:36:32.419303 CEST - Status: STARTING 2026-05-11 17:36:35.085127 CEST - Status: STARTING 2026-05-11 17:36:37.800901 CEST - Status: STARTING 2026-05-11 17:36:40.517008 CEST - Status: STARTING 2026-05-11 17:36:43.182687 CEST - Status: STARTING 2026-05-11 17:36:45.848358 CEST - Status: STARTING 2026-05-11 17:36:48.514161 CEST - Status: STARTING 2026-05-11 17:36:51.179901 CEST - Status: STARTING 2026-05-11 17:36:53.946174 CEST - Status: STARTING 2026-05-11 17:36:56.611905 CEST - Status: STARTING 2026-05-11 17:36:59.328055 CEST - Status: STARTING 2026-05-11 17:37:01.993882 CEST - Status: STARTING 2026-05-11 17:37:04.659648 CEST - Status: STARTING 2026-05-11 17:37:07.325456 CEST - Status: STARTING 2026-05-11 17:37:10.041843 CEST - Status: STARTING 2026-05-11 17:37:12.707547 CEST - Status: STARTING 2026-05-11 17:37:15.373310 CEST - Status: STARTING 2026-05-11 17:37:18.039141 CEST - Status: STARTING 2026-05-11 17:37:20.705319 CEST - Status: STARTING 2026-05-11 17:37:23.371330 CEST - Status: STARTING 2026-05-11 17:37:26.087311 CEST - Status: STARTING 2026-05-11 17:37:28.853431 CEST - Status: STARTING 2026-05-11 17:37:31.519362 CEST - Status: STARTING 2026-05-11 17:37:34.185083 CEST - Status: STARTING 2026-05-11 17:37:36.850641 CEST - Status: STARTING 2026-05-11 17:37:39.516662 CEST - Status: STARTING 2026-05-11 17:37:42.182454 CEST - Status: STARTING 2026-05-11 17:37:44.848168 CEST - Status: STARTING 2026-05-11 17:37:47.514079 CEST - Status: STARTING 2026-05-11 17:37:50.179783 CEST - Status: STARTING 2026-05-11 17:37:52.845549 CEST - Status: STARTING 2026-05-11 17:37:55.511239 CEST - Status: STARTING 2026-05-11 17:37:58.176987 CEST - Status: STARTING 2026-05-11 17:38:00.892999 CEST - Status: STARTING 2026-05-11 17:38:03.558757 CEST - Status: STARTING 2026-05-11 17:38:06.275095 CEST - Status: STARTING 2026-05-11 17:38:08.940910 CEST - Status: STARTING 2026-05-11 17:38:11.606672 CEST - Status: STARTING 2026-05-11 17:38:14.272462 CEST - Status: STARTING 2026-05-11 17:38:16.938837 CEST - Status: STARTING 2026-05-11 17:38:19.654875 CEST - Status: STARTING 2026-05-11 17:38:22.371095 CEST - Status: STARTING 2026-05-11 17:38:25.087326 CEST - Status: STARTING 2026-05-11 17:38:27.752960 CEST - Status: UP 2026-05-11 17:38:27.753032 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01krbtve1zf1namdjs9xcayjsk 2026-05-11 17:38:27.753069 CEST - Validate resources 2026-05-11 17:38:28.419890 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/c974da3b-67cf-4555-8bf1-4cb2929cf8a3/step_Validateresources_command_1.txt': /opt/slices-monitor-worker/slices-cli-venv/bin/slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c22d442a tst 2026-05-11 17:38:28.419980 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/c974da3b-67cf-4555-8bf1-4cb2929cf8a3/list-resources.json': [ { "cluster_id": "taurus-11", "created_at": "2026-05-11T15:35:22.666780Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01krbtve1zf1namdjs9xcayjsk", "expires_at": "2026-05-11T17:35:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01krbtvf9efk1rsfb38hp09990", "network_interfaces": [], "private_ipv4": null, "private_ipv6": null, "public_ipv4": null, "public_ipv6": null, "ssh_authorized_keys": [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINNiZPtQkfCEsc1x2QSwNWekfhWwWZbOvpE8hE0dH253 Wim (ftester) Van de Meerssche" ], "ssh_logins": [ { "host": "taurus-11.lyon", "port": 22, "username": "root", "host_keys": [], "description": "Single node compute resource reservation login infos", "jump_proxy": { "host": "access.grid5000.fr", "port": 22, "username": "slicesbo", "host_keys": [], "description": "Grid'5000 frontal site proxy", "jump_proxy": null } } ], "status": "up", "terminated_at": null, "userdata": null, "console_url": null, "machine_id": null, "failure_reason": null, "infra_id": "fr-lyon1-bi-baremetal1", "machine_name": null } ] 2026-05-11 17:38:28.420003 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-11 17:38:28.420026 CEST - Check if resources are registered in experiment 2026-05-11 17:38:28.420149 CEST - Run: slices experiment list-resources --format json tst-c22d442a 2026-05-11 17:38:29.035394 CEST - Status (on expauth): UP 2026-05-11 17:38:29.035555 CEST - Testing extend expires_at (all resources in experiment) 2026-05-11 17:38:29.035714 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-c22d442a 2026-05-11 17:38:34.010670 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c22d442a tst 2026-05-11 17:38:34.676180 CEST - Testing extend expires_at (single resource in experiment) 2026-05-11 17:38:34.676389 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-c22d442a 2026-05-11 17:38:39.451137 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c22d442a tst 2026-05-11 17:38:40.117342 CEST - Testing ssh login 2026-05-11 17:38:40.127634 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-c22d442a tst 2026-05-11 17:38:40.793441 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-c22d442a tst 2026-05-11 17:38:41.509956 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/c974da3b-67cf-4555-8bf1-4cb2929cf8a3/step_CheckSSHpubkeyresource_command_1.txt': /opt/slices-monitor-worker/slices-cli-venv/bin/slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-c22d442a tst 2026-05-11 17:38:41.510033 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/c974da3b-67cf-4555-8bf1-4cb2929cf8a3/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-11 17:38:41.510054 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/c974da3b-67cf-4555-8bf1-4cb2929cf8a3/bi_ssh_serverkey.txt' 2026-05-11 17:38:41.516753 CEST - Destroying tst-c22d442a tst ERROR:slices_monitor_test_runner.main:Test Failed with exception Traceback (most recent call last): File "/opt/slices-monitor-worker/src/slices-monitor-test-runner/src/slices_monitor_test_runner/main.py", line 72, in run_test return _get_test_by_test_spec(steps, test_dir, test_spec).run() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/slices-monitor-worker/src/slices-monitor-test-runner/src/slices_monitor_test_runner/test_runners/slices_singlenode_login.py", line 1367, in run self._ssh_login(test_privkey_pem, ssh_agent_env_vars) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/slices-monitor-worker/src/slices-monitor-test-runner/src/slices_monitor_test_runner/test_runners/slices_singlenode_login.py", line 1000, in _ssh_login server_openssh_pubkeys = self._ssh_login_pubkey(proxy_key=False) File "/opt/slices-monitor-worker/src/slices-monitor-test-runner/src/slices_monitor_test_runner/test_runners/slices_singlenode_login.py", line 930, in _ssh_login_pubkey return server_openssh_pubkeys ^^^^^^^^^^^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'server_openssh_pubkeys' where it is not associated with a value 2026-05-11 17:38:41.516939 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-c22d442a tst