container-test-run-authelia
checks.x86_64-linux.authelia
· build #289
· raw
1build-x86-01: building k0ycsn8vaa1an9v3gx3b3mj3kr6caipl-container-test-run-authelia.drv2additionally exposed symbols:3 server,4 start_all, machines, driver, Machine, wait_for_signal5Starting server6░ Spawning container server on /build/tmp04d2izrj/server.78<<< NixOS Stage 2 >>>910booting system configuration /nix/store/470i6c6jbzznmcvccrigs43bl0f7w7i0-nixos-system-server-test11running activation script...12setting up /etc...132: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100014 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 015setting up age secrets...16starting systemd...17systemd 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)18Detected virtualization systemd-nspawn.19Detected architecture x86-64.20Detected first boot.21Initializing machine ID from container UUID.22Applying preset policy.23Populated /etc with preset unit settings.24Queued start job for default target Multi-User System.25262728<<< Welcome to NixOS test (x86_64) - console >>>29+ systemd-run /bin/sh -c '/nix/store/bhv6xyvqw6gjs3j488gi1z6wdv18bdpa-coreutils-9.11/bin/sleep 999999999 && echo 6dac5763-5fa7-41f0-8406-4f75f9a33b70'30Running as unit: run-p506-i3686617.service; invocation ID: 8c9c3af4e51e44bea2383d78cb57e88d31To attach to container server run on the same machine that runs the test:32 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*6dac5763-5fa7-41f0-8406-4f75f9a33b70') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3334To inject external network and continue test, run:35sudo /nix/store/jy00n3jp5xj8s40n1fbldmkcr5n7avxc-python3-3.13.15/bin/python3.13 /nix/store/410clzrdvksxqd6ldmmbsf7z00208kgj-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 6dac5763-5fa7-41f0-8406-4f75f9a33b7036+ systemctl --no-pager show authelia-authelia.service37server: waiting for success: curl -sf http://127.0.0.1:9091/api/health38+ curl -sf http://127.0.0.1:9091/api/health39(finished: waiting for success: curl -sf http://127.0.0.1:9091/api/health, in 0.02 seconds)40+ test -f /run/authelia-authelia/users.json41+ cat /run/authelia-authelia/users.json42+ test -f /run/authelia-authelia/oidc.json43+ cat /run/authelia-authelia/oidc.json44+ systemctl --no-pager show caddy.service45server: waiting for success: curl -sf https://auth.test.clan/api/health46+ curl -sf https://auth.test.clan/api/health47(finished: waiting for success: curl -sf https://auth.test.clan/api/health, in 0.07 seconds)48server: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration49+ curl -sf https://auth.test.clan/.well-known/openid-configuration50(finished: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration, in 0.05 seconds)51+ systemctl --no-pager show punchcard-punchcard.service52server: waiting for success: curl -sf https://punchcard.test.clan/login53+ curl -sf https://punchcard.test.clan/login54(finished: waiting for success: curl -sf https://punchcard.test.clan/login, in 0.05 seconds)55+ cat /run/secrets/authelia-user-bob/password56+ curl -s -o /dev/null -w '%{redirect_url}' -c /tmp/pc-cookies https://punchcard.test.clan/login/start57+ curl -sf -X POST https://auth.test.clan/api/firstfactor -H 'Content-Type: application/json' -c /tmp/auth-cookies -d '{"username": "bob", "password": "satisfy-limit-shallow-anytime-flavorful-tables-borax", "keepMeLoggedIn": false}'58+ 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=CbTCO-jnW2zm7JND274rYNJ-G69xTlcQIXx1BgGQ-Uw&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fpunchcard.test.clan%2Fcallback&response_type=code&scope=openid+profile+email&state=7lrJmBve1lTMeGzqSmqp12iTPeY7NX56bJrV-inkNe8%3D'59+ curl -s -o /dev/null -w '%{http_code}' -c /tmp/pc-cookies -b /tmp/pc-cookies 'https://punchcard.test.clan/callback?code=authelia_ac_IPGtkf0Ac3DzX1YDOuiuPcpWFhZYsBzwScjxJ4vCoqM.QA_q1-mSsc-sGxZq6mXgJmvz5A4A_a2LpMpd-0Yq5tc&iss=https%3A%2F%2Fauth.test.clan&scope=openid+profile+email&state=7lrJmBve1lTMeGzqSmqp12iTPeY7NX56bJrV-inkNe8%3D'60+ curl -s -L -o /dev/null -w '%{http_code}' -b /tmp/pc-cookies -c /tmp/pc-cookies https://punchcard.test.clan/61Container server terminated by signal KILL.