Run Test: slices-bi-singlenode-login 2026-05-04 08:24:03.935369 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-04 08:24:08.108659 CEST - Run: slices --version 2026-05-04 08:24:08.323257 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-04 08:24:08.323553 CEST - Run: slices pubkey list --format text 2026-05-04 08:24:08.889026 CEST - Pubkey already registered 2026-05-04 08:24:08.889301 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-04 08:24:09.454582 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-04 08:24:09.454712 CEST - Check List Flavors 2026-05-04 08:24:09.454886 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-04 08:24:10.270664 CEST - Check List DiskImages 2026-05-04 08:24:10.270851 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-04 08:24:10.886219 CEST - Requesting resources 2026-05-04 08:24:10.886679 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-f611dc06 2026-05-04 08:24:12.854897 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01kqrth7cnfr8rbjj3cw0etzpv 2026-05-04 08:24:12.855022 CEST - Waiting until resource ready 2026-05-04 08:24:14.855424 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-f611dc06 tst 2026-05-04 08:24:15.570936 CEST - Status: IMAGING 2026-05-04 08:24:18.286812 CEST - Status: IMAGING 2026-05-04 08:24:21.002856 CEST - Status: STARTING 2026-05-04 08:24:23.668613 CEST - Status: STARTING 2026-05-04 08:24:26.334317 CEST - Status: STARTING 2026-05-04 08:24:28.999980 CEST - Status: STARTING 2026-05-04 08:24:31.665904 CEST - Status: STARTING 2026-05-04 08:24:34.381882 CEST - Status: STARTING 2026-05-04 08:24:37.047527 CEST - Status: STARTING 2026-05-04 08:24:39.713235 CEST - Status: STARTING 2026-05-04 08:24:42.378875 CEST - Status: STARTING 2026-05-04 08:24:45.044588 CEST - Status: STARTING 2026-05-04 08:24:47.710307 CEST - Status: STARTING 2026-05-04 08:24:50.376005 CEST - Status: STARTING 2026-05-04 08:24:53.041833 CEST - Status: STARTING 2026-05-04 08:24:55.707627 CEST - Status: STARTING 2026-05-04 08:24:58.373292 CEST - Status: STARTING 2026-05-04 08:25:01.039248 CEST - Status: STARTING 2026-05-04 08:25:03.705099 CEST - Status: STARTING 2026-05-04 08:25:06.421327 CEST - Status: STARTING 2026-05-04 08:25:09.087188 CEST - Status: STARTING 2026-05-04 08:25:11.752777 CEST - Status: STARTING 2026-05-04 08:25:14.418324 CEST - Status: STARTING 2026-05-04 08:25:17.084067 CEST - Status: STARTING 2026-05-04 08:25:19.749713 CEST - Status: STARTING 2026-05-04 08:25:22.465455 CEST - Status: STARTING 2026-05-04 08:25:25.181306 CEST - Status: STARTING 2026-05-04 08:25:27.847015 CEST - Status: STARTING 2026-05-04 08:25:30.512712 CEST - Status: STARTING 2026-05-04 08:25:33.228532 CEST - Status: STARTING 2026-05-04 08:25:35.944501 CEST - Status: STARTING 2026-05-04 08:25:38.660505 CEST - Status: STARTING 2026-05-04 08:25:41.376300 CEST - Status: STARTING 2026-05-04 08:25:44.091903 CEST - Status: STARTING 2026-05-04 08:25:46.757726 CEST - Status: STARTING 2026-05-04 08:25:49.473587 CEST - Status: STARTING 2026-05-04 08:25:52.189473 CEST - Status: STARTING 2026-05-04 08:25:54.855129 CEST - Status: STARTING 2026-05-04 08:25:57.520883 CEST - Status: STARTING 2026-05-04 08:26:00.236828 CEST - Status: STARTING 2026-05-04 08:26:02.902381 CEST - Status: STARTING 2026-05-04 08:26:05.568205 CEST - Status: STARTING 2026-05-04 08:26:08.284191 CEST - Status: STARTING 2026-05-04 08:26:10.949982 CEST - Status: STARTING 2026-05-04 08:26:13.615734 CEST - Status: STARTING 2026-05-04 08:26:16.281511 CEST - Status: STARTING 2026-05-04 08:26:18.947334 CEST - Status: STARTING 2026-05-04 08:26:21.613083 CEST - Status: STARTING 2026-05-04 08:26:24.279027 CEST - Status: STARTING 2026-05-04 08:26:26.945129 CEST - Status: STARTING 2026-05-04 08:26:29.661374 CEST - Status: STARTING 2026-05-04 08:26:32.377461 CEST - Status: STARTING 2026-05-04 08:26:35.093702 CEST - Status: STARTING 2026-05-04 08:26:37.809812 CEST - Status: STARTING 2026-05-04 08:26:40.475788 CEST - Status: STARTING 2026-05-04 08:26:43.141861 CEST - Status: STARTING 2026-05-04 08:26:45.857652 CEST - Status: STARTING 2026-05-04 08:26:48.523400 CEST - Status: STARTING 2026-05-04 08:26:51.189134 CEST - Status: STARTING 2026-05-04 08:26:53.905189 CEST - Status: STARTING 2026-05-04 08:26:56.621492 CEST - Status: STARTING 2026-05-04 08:26:59.337763 CEST - Status: STARTING 2026-05-04 08:27:02.054113 CEST - Status: STARTING 2026-05-04 08:27:04.720214 CEST - Status: UP 2026-05-04 08:27:04.720303 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01kqrth6mtemeac95tczcww4s1 2026-05-04 08:27:04.720344 CEST - Validate resources 2026-05-04 08:27:05.437662 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6e7221a3-ef2c-4d81-9981-b6849d288b6b/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-f611dc06 tst 2026-05-04 08:27:05.437778 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6e7221a3-ef2c-4d81-9981-b6849d288b6b/list-resources.json': [ { "cluster_id": "taurus-15", "created_at": "2026-05-04T06:24:12.688124Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01kqrth6mtemeac95tczcww4s1", "expires_at": "2026-05-04T08:24:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01kqrth7cnfr8rbjj3cw0etzpv", "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-15.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-04 08:27:05.437803 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-04 08:27:05.437831 CEST - Check if resources are registered in experiment 2026-05-04 08:27:05.437976 CEST - Run: slices experiment list-resources --format json tst-f611dc06 2026-05-04 08:27:06.003167 CEST - Status (on expauth): UP 2026-05-04 08:27:06.003357 CEST - Testing extend expires_at (all resources in experiment) 2026-05-04 08:27:06.003511 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-f611dc06 2026-05-04 08:27:10.226746 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-f611dc06 tst 2026-05-04 08:27:10.892155 CEST - Testing extend expires_at (single resource in experiment) 2026-05-04 08:27:10.892330 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-f611dc06 2026-05-04 08:27:17.221334 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-f611dc06 tst 2026-05-04 08:27:17.937173 CEST - Testing ssh login 2026-05-04 08:27:17.947528 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-f611dc06 tst 2026-05-04 08:27:18.713261 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-f611dc06 tst 2026-05-04 08:27:19.430128 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6e7221a3-ef2c-4d81-9981-b6849d288b6b/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-f611dc06 tst 2026-05-04 08:27:19.430216 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6e7221a3-ef2c-4d81-9981-b6849d288b6b/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-04 08:27:19.430239 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/6e7221a3-ef2c-4d81-9981-b6849d288b6b/bi_ssh_serverkey.txt' 2026-05-04 08:27:19.436711 CEST - Destroying tst-f611dc06 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-04 08:27:19.436927 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-f611dc06 tst