Run Test: slices-bi-singlenode-login 2026-05-13 17:38:28.356950 CEST - Run: /usr/local/bin/uv pip install --upgrade slices-cli --extra-index-url=https://doc.slices-ri.eu/pypi/ 2026-05-13 17:38:31.628486 CEST - Run: slices --version 2026-05-13 17:38:31.843049 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-13 17:38:31.843343 CEST - Run: slices pubkey list --format text 2026-05-13 17:38:32.408524 CEST - Pubkey already registered 2026-05-13 17:38:32.408836 CEST - Run: slices bi infrastructure list --format csv --all --refresh 2026-05-13 17:38:32.974240 CEST - Refreshed infrastructure list. Total: 22 entries. 2026-05-13 17:38:32.974389 CEST - Check List Flavors 2026-05-13 17:38:32.974625 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 flavor list -f json 2026-05-13 17:38:34.191749 CEST - Check List DiskImages 2026-05-13 17:38:34.191963 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 diskimage list -f json 2026-05-13 17:38:34.807428 CEST - Requesting resources 2026-05-13 17:38:34.807923 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 create tst --image debian11-min --flavor taurus --duration 2h --experiment tst-29ccfd92 2026-05-13 17:38:37.578641 CEST - Resource ID: r_fr-lyon1-bi-baremetal1_01krgztvf3ej0bgz4cre312zht 2026-05-13 17:38:37.578782 CEST - Waiting until resource ready 2026-05-13 17:38:39.579191 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-29ccfd92 tst 2026-05-13 17:38:40.295130 CEST - Status: IMAGING 2026-05-13 17:38:43.011476 CEST - Status: IMAGING 2026-05-13 17:38:45.728108 CEST - Status: STARTING 2026-05-13 17:38:48.394215 CEST - Status: STARTING 2026-05-13 17:38:51.110380 CEST - Status: STARTING 2026-05-13 17:38:53.826444 CEST - Status: STARTING 2026-05-13 17:38:56.542436 CEST - Status: STARTING 2026-05-13 17:38:59.208308 CEST - Status: STARTING 2026-05-13 17:39:01.924494 CEST - Status: STARTING 2026-05-13 17:39:04.640603 CEST - Status: STARTING 2026-05-13 17:39:07.356505 CEST - Status: STARTING 2026-05-13 17:39:10.072853 CEST - Status: STARTING 2026-05-13 17:39:12.788833 CEST - Status: STARTING 2026-05-13 17:39:15.505072 CEST - Status: STARTING 2026-05-13 17:39:18.221303 CEST - Status: STARTING 2026-05-13 17:39:20.937633 CEST - Status: STARTING 2026-05-13 17:39:23.653771 CEST - Status: STARTING 2026-05-13 17:39:26.369740 CEST - Status: STARTING 2026-05-13 17:39:29.085800 CEST - Status: STARTING 2026-05-13 17:39:31.801756 CEST - Status: STARTING 2026-05-13 17:39:34.467670 CEST - Status: STARTING 2026-05-13 17:39:37.183664 CEST - Status: STARTING 2026-05-13 17:39:39.899619 CEST - Status: STARTING 2026-05-13 17:39:42.615768 CEST - Status: STARTING 2026-05-13 17:39:45.331775 CEST - Status: STARTING 2026-05-13 17:39:48.047675 CEST - Status: STARTING 2026-05-13 17:39:50.763722 CEST - Status: STARTING 2026-05-13 17:39:53.479863 CEST - Status: STARTING 2026-05-13 17:39:56.195920 CEST - Status: STARTING 2026-05-13 17:39:58.912337 CEST - Status: STARTING 2026-05-13 17:40:01.578532 CEST - Status: STARTING 2026-05-13 17:40:04.244703 CEST - Status: STARTING 2026-05-13 17:40:06.961284 CEST - Status: STARTING 2026-05-13 17:40:09.727632 CEST - Status: STARTING 2026-05-13 17:40:12.443690 CEST - Status: STARTING 2026-05-13 17:40:15.159672 CEST - Status: STARTING 2026-05-13 17:40:17.876732 CEST - Status: STARTING 2026-05-13 17:40:20.593749 CEST - Status: STARTING 2026-05-13 17:40:23.360261 CEST - Status: STARTING 2026-05-13 17:40:26.177095 CEST - Status: STARTING 2026-05-13 17:40:28.943347 CEST - Status: STARTING 2026-05-13 17:40:31.659489 CEST - Status: STARTING 2026-05-13 17:40:34.375508 CEST - Status: STARTING 2026-05-13 17:40:37.192517 CEST - Status: STARTING 2026-05-13 17:40:39.958924 CEST - Status: STARTING 2026-05-13 17:40:42.675224 CEST - Status: STARTING 2026-05-13 17:40:45.391532 CEST - Status: STARTING 2026-05-13 17:40:48.207895 CEST - Status: STARTING 2026-05-13 17:40:50.924095 CEST - Status: STARTING 2026-05-13 17:40:53.589938 CEST - Status: STARTING 2026-05-13 17:40:56.255732 CEST - Status: STARTING 2026-05-13 17:40:59.021862 CEST - Status: STARTING 2026-05-13 17:41:01.738112 CEST - Status: STARTING 2026-05-13 17:41:04.454213 CEST - Status: STARTING 2026-05-13 17:41:07.220669 CEST - Status: STARTING 2026-05-13 17:41:09.987249 CEST - Status: STARTING 2026-05-13 17:41:12.753924 CEST - Status: STARTING 2026-05-13 17:41:15.419997 CEST - Status: STARTING 2026-05-13 17:41:18.136385 CEST - Status: STARTING 2026-05-13 17:41:20.852584 CEST - Status: STARTING 2026-05-13 17:41:23.518417 CEST - Status: STARTING 2026-05-13 17:41:26.234615 CEST - Status: UP 2026-05-13 17:41:26.234702 CEST - Experiment ID: exp_expauth.ilabt.imec.be_01krgzttftenmbvv1z6mxb6w8q 2026-05-13 17:41:26.234744 CEST - Validate resources 2026-05-13 17:41:26.951775 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/89798ca5-3725-4988-bb22-dcf7bcc1c21a/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-29ccfd92 tst 2026-05-13 17:41:26.951865 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/89798ca5-3725-4988-bb22-dcf7bcc1c21a/list-resources.json': [ { "cluster_id": "taurus-10", "created_at": "2026-05-13T15:38:37.406845Z", "disk_image_id": "image_fr-lyon1-bi-baremetal1_0kx4kze8x8b5avj3vx2266mv04", "experiment_id": "exp_expauth.ilabt.imec.be_01krgzttftenmbvv1z6mxb6w8q", "expires_at": "2026-05-13T17:38:00Z", "flavor_id": "flavor_fr-lyon1-bi-baremetal1_77w548gf80b44a4yh7cxmjscef", "friendly_name": "tst", "id": "r_fr-lyon1-bi-baremetal1_01krgztvf3ej0bgz4cre312zht", "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-10.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-13 17:41:26.951889 CEST - Error in test step 'Validate resources': "slices bi list-resources" returned resource without private IPv4 address, but the test requested one. 2026-05-13 17:41:26.951915 CEST - Check if resources are registered in experiment 2026-05-13 17:41:26.952043 CEST - Run: slices experiment list-resources --format json tst-29ccfd92 2026-05-13 17:41:27.567894 CEST - Status (on expauth): UP 2026-05-13 17:41:27.568040 CEST - Testing extend expires_at (all resources in experiment) 2026-05-13 17:41:27.568171 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend --duration 3h --experiment tst-29ccfd92 2026-05-13 17:41:32.595242 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-29ccfd92 tst 2026-05-13 17:41:33.310939 CEST - Testing extend expires_at (single resource in experiment) 2026-05-13 17:41:33.311133 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 extend tst --duration 4h --experiment tst-29ccfd92 2026-05-13 17:41:38.086052 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 list-resources --format json --experiment tst-29ccfd92 tst 2026-05-13 17:41:38.751756 CEST - Testing ssh login 2026-05-13 17:41:38.762240 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy on --show ssh_config --experiment tst-29ccfd92 tst 2026-05-13 17:41:39.428017 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 ssh --no-exec --proxy off --show server_pubkey_openssh --experiment tst-29ccfd92 tst 2026-05-13 17:41:40.145200 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/89798ca5-3725-4988-bb22-dcf7bcc1c21a/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-29ccfd92 tst 2026-05-13 17:41:40.145289 CEST - Content of log file '/opt/slices-monitor-worker/slices_monitor_tests/89798ca5-3725-4988-bb22-dcf7bcc1c21a/bi_ssh_serverkey_STDERR.txt': No hostkeys in SSH info 2026-05-13 17:41:40.145311 CEST - Error in test step 'Check SSH pubkey (resource)': [Errno 2] No such file or directory: '/opt/slices-monitor-worker/slices_monitor_tests/89798ca5-3725-4988-bb22-dcf7bcc1c21a/bi_ssh_serverkey.txt' 2026-05-13 17:41:40.152562 CEST - Destroying tst-29ccfd92 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-13 17:41:40.152805 CEST - Run: slices bi --infra fr-lyon1-bi-baremetal1 destroy --experiment tst-29ccfd92 tst