Run Test: slices-bi-singlenode-login 2026-04-28 17:26:57.965852 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-04-28 17:27:01.236113 CEST - Run: slices --version 2026-04-28 17:27:01.450681 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-04-28 17:27:01.450947 CEST - Run: slices pubkey list --format text 2026-04-28 17:27:02.015912 CEST - Pubkey already registered 2026-04-28 17:27:02.016144 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-04-28 17:27:02.531056 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-04-28 17:27:02.531176 CEST - Check List Flavors 2026-04-28 17:27:02.531349 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-04-28 17:27:03.346903 CEST - Check List DiskImages 2026-04-28 17:27:03.347108 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-04-28 17:27:03.912119 CEST - Requesting resources 2026-04-28 17:27:03.912583 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-6ba98ebf 2026-04-28 17:27:05.579660 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01kqab6ypffy89afnezfbqgg1w 2026-04-28 17:27:05.579783 CEST - Waiting until resource ready 2026-04-28 17:27:07.580208 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-6ba98ebf tst 2026-04-28 17:27:08.245667 CEST - Status: IMAGING 2026-04-28 17:27:10.911298 CEST - Status: IMAGING 2026-04-28 17:27:13.576920 CEST - Status: STARTING 2026-04-28 17:27:16.242519 CEST - Status: STARTING 2026-04-28 17:27:18.908239 CEST - Status: STARTING 2026-04-28 17:27:21.574011 CEST - Status: STARTING 2026-04-28 17:27:24.239582 CEST - Status: STARTING 2026-04-28 17:27:26.905130 CEST - Status: STARTING 2026-04-28 17:27:29.570664 CEST - Status: STARTING 2026-04-28 17:27:32.236247 CEST - Status: STARTING 2026-04-28 17:27:34.901817 CEST - Status: STARTING 2026-04-28 17:27:37.567414 CEST - Status: STARTING 2026-04-28 17:27:40.232944 CEST - Status: STARTING 2026-04-28 17:27:42.898334 CEST - Status: STARTING 2026-04-28 17:27:45.664160 CEST - Status: STARTING 2026-04-28 17:27:48.329852 CEST - Status: STARTING 2026-04-28 17:27:50.995494 CEST - Status: STARTING 2026-04-28 17:27:53.661093 CEST - Status: STARTING 2026-04-28 17:27:56.326673 CEST - Status: STARTING 2026-04-28 17:27:58.992273 CEST - Status: STARTING 2026-04-28 17:28:01.607784 CEST - Status: STARTING 2026-04-28 17:28:04.223159 CEST - Status: STARTING 2026-04-28 17:28:06.888750 CEST - Status: STARTING 2026-04-28 17:28:09.554241 CEST - Status: STARTING 2026-04-28 17:28:12.219763 CEST - Status: STARTING 2026-04-28 17:28:14.885526 CEST - Status: STARTING 2026-04-28 17:28:17.551147 CEST - Status: STARTING 2026-04-28 17:28:20.216803 CEST - Status: STARTING 2026-04-28 17:28:22.882430 CEST - Status: STARTING 2026-04-28 17:28:25.548097 CEST - Status: STARTING 2026-04-28 17:28:28.213764 CEST - Status: STARTING 2026-04-28 17:28:30.879185 CEST - Status: STARTING 2026-04-28 17:28:33.544763 CEST - Status: STARTING 2026-04-28 17:28:36.210433 CEST - Status: STARTING 2026-04-28 17:28:38.876121 CEST - Status: STARTING 2026-04-28 17:28:41.541727 CEST - Status: STARTING 2026-04-28 17:28:44.207259 CEST - Status: STARTING 2026-04-28 17:28:46.872955 CEST - Status: STARTING 2026-04-28 17:28:49.538493 CEST - Status: STARTING 2026-04-28 17:28:52.204099 CEST - Status: STARTING 2026-04-28 17:28:54.869662 CEST - Status: STARTING 2026-04-28 17:28:57.535314 CEST - Status: STARTING 2026-04-28 17:29:00.200998 CEST - Status: STARTING 2026-04-28 17:29:02.866617 CEST - Status: STARTING 2026-04-28 17:29:05.582308 CEST - Status: STARTING 2026-04-28 17:29:08.247992 CEST - Status: STARTING 2026-04-28 17:29:10.863441 CEST - Status: STARTING 2026-04-28 17:29:13.529127 CEST - Status: STARTING 2026-04-28 17:29:16.194741 CEST - Status: STARTING 2026-04-28 17:29:18.860315 CEST - Status: STARTING 2026-04-28 17:29:21.525888 CEST - Status: STARTING 2026-04-28 17:29:24.191430 CEST - Status: STARTING 2026-04-28 17:29:26.857125 CEST - Status: STARTING 2026-04-28 17:29:29.522597 CEST - Status: STARTING 2026-04-28 17:29:32.138059 CEST - Status: STARTING 2026-04-28 17:29:34.803550 CEST - Status: STARTING 2026-04-28 17:29:37.469130 CEST - Status: STARTING 2026-04-28 17:29:40.134939 CEST - Status: STARTING 2026-04-28 17:29:42.800451 CEST - Status: STARTING 2026-04-28 17:29:45.465943 CEST - Status: STARTING 2026-04-28 17:29:48.081288 CEST - Status: STARTING 2026-04-28 17:29:50.746976 CEST - Status: STARTING 2026-04-28 17:29:53.412593 CEST - Status: UP 2026-04-28 17:29:53.412744 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01kqab6y4hfctvg1t4jg4xfaz2 2026-04-28 17:29:53.412787 CEST - Validate resources 2026-04-28 17:29:54.029357 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6cd73a93-71be-4860-933d-57235718e7a2/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-6ba98ebf tst 2026-04-28 17:29:54.029444 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6cd73a93-71be-4860-933d-57235718e7a2/list-resources.json': [ { "cluster_id": "taurus-1", "created_at": "2026-04-28T15:27:05.419887Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01kqab6y4hfctvg1t4jg4xfaz2", "expires_at": "2026-04-28T17:27:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01kqab6ypffy89afnezfbqgg1w", "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-1.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-04-28 17:29:54.029467 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-04-28 17:29:54.029492 CEST - Check if resources are registered in experiment 2026-04-28 17:29:54.029615 CEST - Run: slices experiment list-resources --format json tst-6ba98ebf 2026-04-28 17:29:54.594688 CEST - Status (on expauth): UP 2026-04-28 17:29:54.594831 CEST - Testing extend expires_at (all resources in experiment) 2026-04-28 17:29:54.594957 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-6ba98ebf 2026-04-28 17:29:58.717032 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-6ba98ebf tst 2026-04-28 17:29:59.382298 CEST - Testing extend expires_at (single resource in experiment) 2026-04-28 17:29:59.382468 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-6ba98ebf 2026-04-28 17:30:11.622496 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-6ba98ebf tst 2026-04-28 17:30:12.288199 CEST - Testing ssh login 2026-04-28 17:30:12.298523 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-6ba98ebf tst 2026-04-28 17:30:13.014323 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-6ba98ebf tst 2026-04-28 17:30:13.780813 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6cd73a93-71be-4860-933d-57235718e7a2/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-6ba98ebf tst 2026-04-28 17:30:13.780888 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6cd73a93-71be-4860-933d-57235718e7a2/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-04-28 17:30:13.780910 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/6cd73a93-71be-4860-933d-57235718e7a2/bi_ssh_serverkey.txt' 2026-04-28 17:30:13.787174 CEST - Destroying tst-6ba98ebf 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-04-28 17:30:13.787335 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-6ba98ebf tst