Run Test: slices-bi-singlenode-login 2026-05-14 17:29:44.333378 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-14 17:29:47.604526 CEST - Run: slices --version 2026-05-14 17:29:47.818976 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-14 17:29:47.819241 CEST - Run: slices pubkey list --format text 2026-05-14 17:29:48.384207 CEST - Pubkey already registered 2026-05-14 17:29:48.384418 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-14 17:29:48.899267 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-14 17:29:48.899370 CEST - Check List Flavors 2026-05-14 17:29:48.899525 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-14 17:29:50.166565 CEST - Check List DiskImages 2026-05-14 17:29:50.166749 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-14 17:29:50.782063 CEST - Requesting resources 2026-05-14 17:29:50.782506 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-c38b2f85 2026-05-14 17:29:53.703113 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01krkhqjvvfvsb58ewwhz5ett7 2026-05-14 17:29:53.703239 CEST - Waiting until resource ready 2026-05-14 17:29:55.703639 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c38b2f85 tst 2026-05-14 17:29:56.369158 CEST - Status: IMAGING 2026-05-14 17:29:59.034947 CEST - Status: IMAGING 2026-05-14 17:30:01.700633 CEST - Status: STARTING 2026-05-14 17:30:04.416601 CEST - Status: STARTING 2026-05-14 17:30:07.183029 CEST - Status: STARTING 2026-05-14 17:30:09.898912 CEST - Status: STARTING 2026-05-14 17:30:12.614915 CEST - Status: STARTING 2026-05-14 17:30:15.330720 CEST - Status: STARTING 2026-05-14 17:30:18.046886 CEST - Status: STARTING 2026-05-14 17:30:20.762890 CEST - Status: STARTING 2026-05-14 17:30:23.479519 CEST - Status: STARTING 2026-05-14 17:30:26.196061 CEST - Status: STARTING 2026-05-14 17:30:28.912632 CEST - Status: STARTING 2026-05-14 17:30:31.628556 CEST - Status: STARTING 2026-05-14 17:30:34.294214 CEST - Status: STARTING 2026-05-14 17:30:36.960447 CEST - Status: STARTING 2026-05-14 17:30:39.626238 CEST - Status: STARTING 2026-05-14 17:30:42.292022 CEST - Status: STARTING 2026-05-14 17:30:44.958331 CEST - Status: STARTING 2026-05-14 17:30:47.774396 CEST - Status: STARTING 2026-05-14 17:30:50.440561 CEST - Status: STARTING 2026-05-14 17:30:53.106904 CEST - Status: STARTING 2026-05-14 17:30:55.772533 CEST - Status: STARTING 2026-05-14 17:30:58.438376 CEST - Status: STARTING 2026-05-14 17:31:01.104244 CEST - Status: STARTING 2026-05-14 17:31:03.770000 CEST - Status: STARTING 2026-05-14 17:31:06.435724 CEST - Status: STARTING 2026-05-14 17:31:09.101785 CEST - Status: STARTING 2026-05-14 17:31:11.767566 CEST - Status: STARTING 2026-05-14 17:31:14.433228 CEST - Status: STARTING 2026-05-14 17:31:17.098901 CEST - Status: STARTING 2026-05-14 17:31:19.764741 CEST - Status: STARTING 2026-05-14 17:31:22.430535 CEST - Status: STARTING 2026-05-14 17:31:25.096356 CEST - Status: STARTING 2026-05-14 17:31:27.812812 CEST - Status: STARTING 2026-05-14 17:31:30.529440 CEST - Status: STARTING 2026-05-14 17:31:33.295891 CEST - Status: STARTING 2026-05-14 17:31:36.011964 CEST - Status: STARTING 2026-05-14 17:31:38.677698 CEST - Status: STARTING 2026-05-14 17:31:41.343425 CEST - Status: STARTING 2026-05-14 17:31:44.059644 CEST - Status: STARTING 2026-05-14 17:31:46.725612 CEST - Status: STARTING 2026-05-14 17:31:49.391345 CEST - Status: STARTING 2026-05-14 17:31:52.107570 CEST - Status: STARTING 2026-05-14 17:31:54.773607 CEST - Status: STARTING 2026-05-14 17:31:57.439231 CEST - Status: STARTING 2026-05-14 17:32:00.155147 CEST - Status: STARTING 2026-05-14 17:32:02.821009 CEST - Status: STARTING 2026-05-14 17:32:05.486870 CEST - Status: STARTING 2026-05-14 17:32:08.152848 CEST - Status: STARTING 2026-05-14 17:32:10.818543 CEST - Status: STARTING 2026-05-14 17:32:13.484385 CEST - Status: STARTING 2026-05-14 17:32:16.200344 CEST - Status: STARTING 2026-05-14 17:32:18.866129 CEST - Status: STARTING 2026-05-14 17:32:21.531815 CEST - Status: STARTING 2026-05-14 17:32:24.248017 CEST - Status: STARTING 2026-05-14 17:32:26.913993 CEST - Status: STARTING 2026-05-14 17:32:29.579829 CEST - Status: STARTING 2026-05-14 17:32:32.245574 CEST - Status: STARTING 2026-05-14 17:32:34.961540 CEST - Status: STARTING 2026-05-14 17:32:37.677423 CEST - Status: STARTING 2026-05-14 17:32:40.343187 CEST - Status: STARTING 2026-05-14 17:32:43.009014 CEST - Status: STARTING 2026-05-14 17:32:45.675078 CEST - Status: STARTING 2026-05-14 17:32:48.340939 CEST - Status: UP 2026-05-14 17:32:48.340998 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01krkhqhtne9jbpnfnxcmvmz6q 2026-05-14 17:32:48.341037 CEST - Validate resources 2026-05-14 17:32:49.007822 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/5c22abea-54ba-4c16-b6e0-cb8f75d8b212/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-c38b2f85 tst 2026-05-14 17:32:49.007909 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/5c22abea-54ba-4c16-b6e0-cb8f75d8b212/list-resources.json': [ { "cluster_id": "taurus-9", "created_at": "2026-05-14T15:29:53.526020Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01krkhqhtne9jbpnfnxcmvmz6q", "expires_at": "2026-05-14T17:29:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01krkhqjvvfvsb58ewwhz5ett7", "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-9.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-14 17:32:49.007931 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-14 17:32:49.007961 CEST - Check if resources are registered in experiment 2026-05-14 17:32:49.008100 CEST - Run: slices experiment list-resources --format json tst-c38b2f85 2026-05-14 17:32:49.623376 CEST - Status (on expauth): UP 2026-05-14 17:32:49.623516 CEST - Testing extend expires_at (all resources in experiment) 2026-05-14 17:32:49.623655 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-c38b2f85 2026-05-14 17:32:54.799904 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c38b2f85 tst 2026-05-14 17:32:55.565437 CEST - Testing extend expires_at (single resource in experiment) 2026-05-14 17:32:55.565612 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-c38b2f85 2026-05-14 17:33:00.742357 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-c38b2f85 tst 2026-05-14 17:33:01.408144 CEST - Testing ssh login 2026-05-14 17:33:01.419011 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-c38b2f85 tst 2026-05-14 17:33:02.084358 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-c38b2f85 tst 2026-05-14 17:33:02.750557 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/5c22abea-54ba-4c16-b6e0-cb8f75d8b212/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-c38b2f85 tst 2026-05-14 17:33:02.750632 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/5c22abea-54ba-4c16-b6e0-cb8f75d8b212/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-14 17:33:02.750654 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/5c22abea-54ba-4c16-b6e0-cb8f75d8b212/bi_ssh_serverkey.txt' 2026-05-14 17:33:02.757045 CEST - Destroying tst-c38b2f85 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 1379, 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 1012, 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 942, 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-14 17:33:02.757206 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-c38b2f85 tst