build-x86-01: building 1al5ayk021s5dcm7mclcrdnxakkh691p-container-test-run-authelia.drv additionally exposed symbols: server, start_all, machines, driver, Machine, wait_for_signal Starting server ░ Spawning container server on /build/tmpss5sh1z5/server. <<< NixOS Stage 2 >>> booting system configuration /nix/store/3na2j65zygdbgw9fbix5pvqj2ibjcqfc-nixos-system-server-test running activation script... setting up /etc... 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.5 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture x86-64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (x86_64) - console >>> + systemd-run /bin/sh -c '/nix/store/p7ip75rls2g87d1yy4568djpa244c7ww-coreutils-9.11/bin/sleep 999999999 && echo 1353f206-9e59-4d07-b093-8aca204e5df0' Running as unit: run-p503-i33444764.service; invocation ID: 43ef10fbbd7c4134b399fdfb4f18b0a2 To attach to container server run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*1353f206-9e59-4d07-b093-8aca204e5df0') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/9qkpw9669q6w9nl6bmh2k35nq76i52nf-python3-3.13.18/bin/python3.13 /nix/store/j1cmqbjd2l8jbh7bv471ypclp2zhbaq4-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 1353f206-9e59-4d07-b093-8aca204e5df0 + systemctl --no-pager show authelia-authelia.service server: waiting for success: curl -sf http://127.0.0.1:9091/api/health + curl -sf http://127.0.0.1:9091/api/health (finished: waiting for success: curl -sf http://127.0.0.1:9091/api/health, in 0.01 seconds) + test -f /run/authelia-authelia/users.json + cat /run/authelia-authelia/users.json + test -f /run/authelia-authelia/oidc.json + cat /run/authelia-authelia/oidc.json + systemctl --no-pager show caddy.service server: waiting for success: curl -sf https://auth.test.clan/api/health + curl -sf https://auth.test.clan/api/health (finished: waiting for success: curl -sf https://auth.test.clan/api/health, in 0.02 seconds) server: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration + curl -sf https://auth.test.clan/.well-known/openid-configuration (finished: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration, in 0.02 seconds) + systemctl --no-pager show punchcard-punchcard.service server: waiting for success: curl -sf https://punchcard.test.clan/login + curl -sf https://punchcard.test.clan/login (finished: waiting for success: curl -sf https://punchcard.test.clan/login, in 0.02 seconds) + cat /run/secrets/authelia-user-bob/password + curl -s -o /dev/null -w '%{redirect_url}' -c /tmp/pc-cookies https://punchcard.test.clan/login/start + curl -sf -X POST https://auth.test.clan/api/firstfactor -H 'Content-Type: application/json' -c /tmp/auth-cookies -d '{"username": "bob", "password": "shakable-grope-repugnant-culprit-affirm-slicer-kudos", "keepMeLoggedIn": false}' + curl -s -o /dev/null -w '%{redirect_url}' -b /tmp/auth-cookies -c /tmp/auth-cookies 'https://auth.test.clan/api/oidc/authorization?client_id=punchcard-punchcard&code_challenge=_xLC04YtPNwrKJZ3E5A0vyCuWNShcDTH1sil3nh36eo&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fpunchcard.test.clan%2Fcallback&response_type=code&scope=openid+profile+email&state=cuxtZIvb0ZblyawMxuusG5L4oJ_nAFZIN6vyR96fQu8%3D' + curl -s -o /dev/null -w '%{http_code}' -c /tmp/pc-cookies -b /tmp/pc-cookies 'https://punchcard.test.clan/callback?code=authelia_ac_biP7XoLdZaxKloHFRhcmkoU3CNO-oaU8C3b2DjYq7SI.Pmjzy6iVi2tIAVuqdfEU4KyBgGKjECufBIZCUKcDqhU&iss=https%3A%2F%2Fauth.test.clan&scope=openid+profile+email&state=cuxtZIvb0ZblyawMxuusG5L4oJ_nAFZIN6vyR96fQu8%3D' + curl -s -L -o /dev/null -w '%{http_code}' -b /tmp/pc-cookies -c /tmp/pc-cookies https://punchcard.test.clan/ Container server terminated by signal KILL.