container-test-run-authelia
checks.x86_64-linux.authelia
· build #68
· raw
1additionally exposed symbols:2 server,3 start_all, machines, driver, Machine, wait_for_signal4Starting server567<<< NixOS Stage 2 >>>89booting system configuration /nix/store/kc7avs35z2nhaz3yrshjq650dhz3s8hh-nixos-system-server-test10running activation script...11setting up /etc...122: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100013 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 014setting up age secrets...15starting systemd...16systemd 260.2 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)17Detected virtualization systemd-nspawn.18Detected architecture x86-64.19Detected first boot.20Initializing machine ID from container UUID.21Applying preset policy.22Populated /etc with preset unit settings.23Queued start job for default target Multi-User System.24252627<<< Welcome to NixOS test (x86_64) - console >>>28+ systemd-run /bin/sh -c '/nix/store/gph17gb73p6qbrqqjnypfjj5npf0ldyx-coreutils-9.11/bin/sleep 999999999 && echo 12eb3d2c-8b7d-44d4-9e6c-472b7d1ee7bf'29Running as unit: run-p503-i86763610.service; invocation ID: 49bb5f6a7d324caa83d81307a470d28d30To attach to container server run on the same machine that runs the test:31 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*12eb3d2c-8b7d-44d4-9e6c-472b7d1ee7bf') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3233To inject external network and continue test, run:34sudo /nix/store/xqnbm0vgqcq9b1b54c80qj9s0qhbwa08-python3-3.13.15/bin/python3.13 /nix/store/8299j9wl2ypxlnv8by75hp9lw3a7v2pr-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 12eb3d2c-8b7d-44d4-9e6c-472b7d1ee7bf35+ systemctl --no-pager show authelia-authelia.service36server: waiting for success: curl -sf http://127.0.0.1:9091/api/health37+ curl -sf http://127.0.0.1:9091/api/health38(finished: waiting for success: curl -sf http://127.0.0.1:9091/api/health, in 0.01 seconds)39+ test -f /run/authelia-authelia/users.json40+ cat /run/authelia-authelia/users.json41+ test -f /run/authelia-authelia/oidc.json42+ cat /run/authelia-authelia/oidc.json43+ systemctl --no-pager show caddy.service44server: waiting for success: curl -sf https://auth.test.clan/api/health45+ curl -sf https://auth.test.clan/api/health46(finished: waiting for success: curl -sf https://auth.test.clan/api/health, in 0.02 seconds)47server: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration48+ curl -sf https://auth.test.clan/.well-known/openid-configuration49(finished: waiting for success: curl -sf https://auth.test.clan/.well-known/openid-configuration, in 0.02 seconds)50+ systemctl --no-pager show punchcard-punchcard.service51server: waiting for success: curl -sf https://punchcard.test.clan/login52+ curl -sf https://punchcard.test.clan/login53(finished: waiting for success: curl -sf https://punchcard.test.clan/login, in 0.02 seconds)54+ cat /run/secrets/authelia-user-bob/password55+ curl -s -o /dev/null -w '%{redirect_url}' -c /tmp/pc-cookies https://punchcard.test.clan/login/start56+ curl -sf -X POST https://auth.test.clan/api/firstfactor -H 'Content-Type: application/json' -c /tmp/auth-cookies -d '{"username": "bob", "password": "disclose-catwalk-underline-luckily-thong-affidavit-shortly", "keepMeLoggedIn": false}'57+ 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=4bIfHRDZrC61h2aIwE90Z4U36iVvTsexSDsBkNNyaXA&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fpunchcard.test.clan%2Fcallback&response_type=code&scope=openid+profile+email&state=ybK5Bu2dECCtjplzUj56rD0piyNbIi9KR4WIo44Ge8s%3D'58+ curl -s -o /dev/null -w '%{http_code}' -c /tmp/pc-cookies -b /tmp/pc-cookies 'https://punchcard.test.clan/callback?code=authelia_ac_libfoLEVNkflrHiBWfPwVNhumV4C2tqqhZKvTsWDfYY.eAwlwjA3hl7IgRyBWymwPMVPYOFvhPHFRtoIrZYShyY&iss=https%3A%2F%2Fauth.test.clan&scope=openid+profile+email&state=ybK5Bu2dECCtjplzUj56rD0piyNbIi9KR4WIo44Ge8s%3D'59+ curl -s -L -o /dev/null -w '%{http_code}' -b /tmp/pc-cookies -c /tmp/pc-cookies https://punchcard.test.clan/60