Run Test: slices-bi-singlenode-login 2026-05-09 08:24:18.963891 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-09 08:24:22.085439 CEST - Run: slices --version 2026-05-09 08:24:22.300020 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-09 08:24:22.300361 CEST - Run: slices pubkey list --format text 2026-05-09 08:24:22.865550 CEST - Pubkey already registered 2026-05-09 08:24:22.865833 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-09 08:24:23.431077 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-09 08:24:23.431211 CEST - Check List Flavors 2026-05-09 08:24:23.431412 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-09 08:24:24.498020 CEST - Check List DiskImages 2026-05-09 08:24:24.498222 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-09 08:24:25.113747 CEST - Requesting resources 2026-05-09 08:24:25.114241 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-3a8a5ee4 2026-05-09 08:24:27.534159 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01kr5ph8raeb9sbnmb4r03rymn 2026-05-09 08:24:27.534297 CEST - Waiting until resource ready 2026-05-09 08:24:29.534763 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-3a8a5ee4 tst 2026-05-09 08:24:30.250329 CEST - Status: IMAGING 2026-05-09 08:24:32.966488 CEST - Status: IMAGING 2026-05-09 08:24:35.632539 CEST - Status: IMAGING 2026-05-09 08:24:38.298546 CEST - Status: STARTING 2026-05-09 08:24:41.014741 CEST - Status: STARTING 2026-05-09 08:24:43.680783 CEST - Status: STARTING 2026-05-09 08:24:46.346662 CEST - Status: STARTING 2026-05-09 08:24:49.012637 CEST - Status: STARTING 2026-05-09 08:24:51.728868 CEST - Status: STARTING 2026-05-09 08:24:54.394939 CEST - Status: STARTING 2026-05-09 08:24:57.060994 CEST - Status: STARTING 2026-05-09 08:24:59.727081 CEST - Status: STARTING 2026-05-09 08:25:02.443340 CEST - Status: STARTING 2026-05-09 08:25:05.159316 CEST - Status: STARTING 2026-05-09 08:25:07.825332 CEST - Status: STARTING 2026-05-09 08:25:10.491277 CEST - Status: STARTING 2026-05-09 08:25:13.157375 CEST - Status: STARTING 2026-05-09 08:25:15.873415 CEST - Status: STARTING 2026-05-09 08:25:18.539535 CEST - Status: STARTING 2026-05-09 08:25:21.205433 CEST - Status: STARTING 2026-05-09 08:25:23.871566 CEST - Status: STARTING 2026-05-09 08:25:26.587617 CEST - Status: STARTING 2026-05-09 08:25:29.303589 CEST - Status: STARTING 2026-05-09 08:25:32.019890 CEST - Status: STARTING 2026-05-09 08:25:34.735974 CEST - Status: STARTING 2026-05-09 08:25:37.451916 CEST - Status: STARTING 2026-05-09 08:25:40.119256 CEST - Status: STARTING 2026-05-09 08:25:42.789522 CEST - Status: STARTING 2026-05-09 08:25:45.456651 CEST - Status: STARTING 2026-05-09 08:25:48.175592 CEST - Status: STARTING 2026-05-09 08:25:50.842095 CEST - Status: STARTING 2026-05-09 08:25:53.508088 CEST - Status: STARTING 2026-05-09 08:25:56.173875 CEST - Status: STARTING 2026-05-09 08:25:58.840075 CEST - Status: STARTING 2026-05-09 08:26:01.505940 CEST - Status: STARTING 2026-05-09 08:26:04.171757 CEST - Status: STARTING 2026-05-09 08:26:06.837546 CEST - Status: STARTING 2026-05-09 08:26:09.503213 CEST - Status: STARTING 2026-05-09 08:26:12.169290 CEST - Status: STARTING 2026-05-09 08:26:14.885350 CEST - Status: STARTING 2026-05-09 08:26:17.551035 CEST - Status: STARTING 2026-05-09 08:26:20.216865 CEST - Status: STARTING 2026-05-09 08:26:22.882777 CEST - Status: STARTING 2026-05-09 08:26:25.598756 CEST - Status: STARTING 2026-05-09 08:26:28.264544 CEST - Status: STARTING 2026-05-09 08:26:30.930685 CEST - Status: STARTING 2026-05-09 08:26:33.596562 CEST - Status: STARTING 2026-05-09 08:26:36.262526 CEST - Status: STARTING 2026-05-09 08:26:38.928756 CEST - Status: STARTING 2026-05-09 08:26:41.594691 CEST - Status: STARTING 2026-05-09 08:26:44.260392 CEST - Status: STARTING 2026-05-09 08:26:46.926139 CEST - Status: STARTING 2026-05-09 08:26:49.591815 CEST - Status: STARTING 2026-05-09 08:26:52.257679 CEST - Status: STARTING 2026-05-09 08:26:54.923432 CEST - Status: STARTING 2026-05-09 08:26:57.589543 CEST - Status: STARTING 2026-05-09 08:27:00.255348 CEST - Status: STARTING 2026-05-09 08:27:02.921097 CEST - Status: STARTING 2026-05-09 08:27:05.586981 CEST - Status: STARTING 2026-05-09 08:27:08.252751 CEST - Status: STARTING 2026-05-09 08:27:10.918499 CEST - Status: STARTING 2026-05-09 08:27:13.584312 CEST - Status: STARTING 2026-05-09 08:27:16.250264 CEST - Status: STARTING 2026-05-09 08:27:18.966346 CEST - Status: UP 2026-05-09 08:27:18.966407 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01kr5ph7vmetp9cgreg90f7jwh 2026-05-09 08:27:18.966465 CEST - Validate resources 2026-05-09 08:27:19.634012 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6c1fbe55-7ad0-4d5f-b020-c9b3b2d505e8/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-3a8a5ee4 tst 2026-05-09 08:27:19.634116 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6c1fbe55-7ad0-4d5f-b020-c9b3b2d505e8/list-resources.json': [ { "cluster_id": "taurus-11", "created_at": "2026-05-09T06:24:27.398333Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01kr5ph7vmetp9cgreg90f7jwh", "expires_at": "2026-05-09T08:24:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01kr5ph8raeb9sbnmb4r03rymn", "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-09 08:27:19.634141 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-09 08:27:19.634171 CEST - Check if resources are registered in experiment 2026-05-09 08:27:19.634317 CEST - Run: slices experiment list-resources --format json tst-3a8a5ee4 2026-05-09 08:27:20.199736 CEST - Status (on expauth): UP 2026-05-09 08:27:20.199923 CEST - Testing extend expires_at (all resources in experiment) 2026-05-09 08:27:20.200070 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-3a8a5ee4 2026-05-09 08:27:25.125259 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-3a8a5ee4 tst 2026-05-09 08:27:25.790683 CEST - Testing extend expires_at (single resource in experiment) 2026-05-09 08:27:25.790876 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-3a8a5ee4 2026-05-09 08:27:30.616600 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-3a8a5ee4 tst 2026-05-09 08:27:31.282171 CEST - Testing ssh login 2026-05-09 08:27:31.291898 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-3a8a5ee4 tst 2026-05-09 08:27:31.957236 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-3a8a5ee4 tst 2026-05-09 08:27:32.623500 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6c1fbe55-7ad0-4d5f-b020-c9b3b2d505e8/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-3a8a5ee4 tst 2026-05-09 08:27:32.623610 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/6c1fbe55-7ad0-4d5f-b020-c9b3b2d505e8/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-09 08:27:32.623646 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/6c1fbe55-7ad0-4d5f-b020-c9b3b2d505e8/bi_ssh_serverkey.txt' 2026-05-09 08:27:32.629882 CEST - Destroying tst-3a8a5ee4 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-09 08:27:32.630074 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-3a8a5ee4 tst