Run Test: slices-bi-singlenode-login 2026-05-15 08:33:11.181141 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-15 08:33:15.254467 CEST - Run: slices --version 2026-05-15 08:33:15.469039 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-15 08:33:15.469312 CEST - Run: slices pubkey list --format text 2026-05-15 08:33:16.034434 CEST - Pubkey already registered 2026-05-15 08:33:16.034711 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-15 08:33:16.599870 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-15 08:33:16.599979 CEST - Check List Flavors 2026-05-15 08:33:16.600147 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-15 08:33:17.767066 CEST - Check List DiskImages 2026-05-15 08:33:17.767268 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-15 08:33:18.382779 CEST - Requesting resources 2026-05-15 08:33:18.383251 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-b239fa73 2026-05-15 08:33:21.654854 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01krn5dwa1f50rtd85h9k4vpwv 2026-05-15 08:33:21.655023 CEST - Waiting until resource ready 2026-05-15 08:33:23.655515 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-b239fa73 tst 2026-05-15 08:33:24.321272 CEST - Status: IMAGING 2026-05-15 08:33:27.087683 CEST - Status: IMAGING 2026-05-15 08:33:29.753396 CEST - Status: STARTING 2026-05-15 08:33:32.519499 CEST - Status: STARTING 2026-05-15 08:33:35.235530 CEST - Status: STARTING 2026-05-15 08:33:37.951490 CEST - Status: STARTING 2026-05-15 08:33:40.617237 CEST - Status: STARTING 2026-05-15 08:33:43.283022 CEST - Status: STARTING 2026-05-15 08:33:45.948513 CEST - Status: STARTING 2026-05-15 08:33:48.664500 CEST - Status: STARTING 2026-05-15 08:33:51.431193 CEST - Status: STARTING 2026-05-15 08:33:54.197558 CEST - Status: STARTING 2026-05-15 08:33:56.863339 CEST - Status: STARTING 2026-05-15 08:33:59.529172 CEST - Status: STARTING 2026-05-15 08:34:02.245361 CEST - Status: STARTING 2026-05-15 08:34:04.961275 CEST - Status: STARTING 2026-05-15 08:34:07.626936 CEST - Status: STARTING 2026-05-15 08:34:10.292820 CEST - Status: STARTING 2026-05-15 08:34:12.958637 CEST - Status: STARTING 2026-05-15 08:34:15.624394 CEST - Status: STARTING 2026-05-15 08:34:18.290543 CEST - Status: STARTING 2026-05-15 08:34:21.006674 CEST - Status: STARTING 2026-05-15 08:34:23.672465 CEST - Status: STARTING 2026-05-15 08:34:27.391043 CEST - Status: STARTING 2026-05-15 08:34:30.056763 CEST - Status: STARTING 2026-05-15 08:34:32.722640 CEST - Status: STARTING 2026-05-15 08:34:35.388554 CEST - Status: STARTING 2026-05-15 08:34:38.054363 CEST - Status: STARTING 2026-05-15 08:34:40.720081 CEST - Status: STARTING 2026-05-15 08:34:43.385774 CEST - Status: STARTING 2026-05-15 08:34:46.101987 CEST - Status: STARTING 2026-05-15 08:34:48.868340 CEST - Status: STARTING 2026-05-15 08:34:51.534139 CEST - Status: STARTING 2026-05-15 08:34:54.250448 CEST - Status: STARTING 2026-05-15 08:34:57.016851 CEST - Status: STARTING 2026-05-15 08:34:59.683073 CEST - Status: STARTING 2026-05-15 08:35:02.348887 CEST - Status: STARTING 2026-05-15 08:35:05.114939 CEST - Status: STARTING 2026-05-15 08:35:07.830972 CEST - Status: STARTING 2026-05-15 08:35:10.547139 CEST - Status: STARTING 2026-05-15 08:35:13.213605 CEST - Status: STARTING 2026-05-15 08:35:15.980198 CEST - Status: STARTING 2026-05-15 08:35:18.696315 CEST - Status: STARTING 2026-05-15 08:35:21.412388 CEST - Status: STARTING 2026-05-15 08:35:24.128493 CEST - Status: STARTING 2026-05-15 08:35:26.794304 CEST - Status: STARTING 2026-05-15 08:35:29.460244 CEST - Status: STARTING 2026-05-15 08:35:32.176340 CEST - Status: STARTING 2026-05-15 08:35:34.842234 CEST - Status: STARTING 2026-05-15 08:35:37.507992 CEST - Status: STARTING 2026-05-15 08:35:40.173861 CEST - Status: STARTING 2026-05-15 08:35:42.839864 CEST - Status: STARTING 2026-05-15 08:35:45.505707 CEST - Status: STARTING 2026-05-15 08:35:48.171397 CEST - Status: STARTING 2026-05-15 08:35:50.887471 CEST - Status: STARTING 2026-05-15 08:35:53.603746 CEST - Status: STARTING 2026-05-15 08:35:56.269525 CEST - Status: STARTING 2026-05-15 08:35:58.935218 CEST - Status: STARTING 2026-05-15 08:36:01.601021 CEST - Status: STARTING 2026-05-15 08:36:04.266938 CEST - Status: STARTING 2026-05-15 08:36:06.932643 CEST - Status: STARTING 2026-05-15 08:36:09.598667 CEST - Status: STARTING 2026-05-15 08:36:12.314762 CEST - Status: STARTING 2026-05-15 08:36:14.980664 CEST - Status: STARTING 2026-05-15 08:36:17.696819 CEST - Status: STARTING 2026-05-15 08:36:20.362681 CEST - Status: UP 2026-05-15 08:36:20.362757 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01krn5dv3yfsqtswq1hkkfaspw 2026-05-15 08:36:20.362800 CEST - Validate resources 2026-05-15 08:36:21.029960 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/1e359b1e-e067-4781-9244-94e0126b04dd/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-b239fa73 tst 2026-05-15 08:36:21.030048 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/1e359b1e-e067-4781-9244-94e0126b04dd/list-resources.json': [ { "cluster_id": "taurus-13", "created_at": "2026-05-15T06:33:21.468726Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01krn5dv3yfsqtswq1hkkfaspw", "expires_at": "2026-05-15T08:33:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01krn5dwa1f50rtd85h9k4vpwv", "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-13.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-15 08:36:21.030072 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-15 08:36:21.030097 CEST - Check if resources are registered in experiment 2026-05-15 08:36:21.030223 CEST - Run: slices experiment list-resources --format json tst-b239fa73 2026-05-15 08:36:21.645383 CEST - Status (on expauth): UP 2026-05-15 08:36:21.645562 CEST - Testing extend expires_at (all resources in experiment) 2026-05-15 08:36:21.645705 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-b239fa73 2026-05-15 08:36:26.872006 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-b239fa73 tst 2026-05-15 08:36:27.587651 CEST - Testing extend expires_at (single resource in experiment) 2026-05-15 08:36:27.587846 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-b239fa73 2026-05-15 08:36:33.767437 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-b239fa73 tst 2026-05-15 08:36:34.483454 CEST - Testing ssh login 2026-05-15 08:36:34.494388 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-b239fa73 tst 2026-05-15 08:36:35.210089 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-b239fa73 tst 2026-05-15 08:36:35.926585 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/1e359b1e-e067-4781-9244-94e0126b04dd/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-b239fa73 tst 2026-05-15 08:36:35.926661 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/1e359b1e-e067-4781-9244-94e0126b04dd/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-15 08:36:35.926682 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/1e359b1e-e067-4781-9244-94e0126b04dd/bi_ssh_serverkey.txt' 2026-05-15 08:36:35.933137 CEST - Destroying tst-b239fa73 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-15 08:36:35.933292 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-b239fa73 tst