container-test-run-tinc-auth-authelia
checks.x86_64-linux.nixos-tinc-authelia
· build #37
· raw
1tribuchet: building on jamie2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)5Initializing machine ID from random generator.6Test will time out and terminate in 3600.0 seconds7run the VM test script8start all VMs9solo: systemd-nspawn running (pid 50)10solo: Waiting for journal at /build/vm-state-solo/var/log/journal...11(finished: start all VMs, in 0.00 seconds)12solo: waiting for unit tinc.mesh.service13nixos-nspawn(solo): TAP vde-tap1 not found; container will be isolated from VDE14nixos-nspawn(solo): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.15Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.16░ Spawning container solo on /build/vm-state-solo.17solo # [786401.740656] solo systemd-journald[57]: Journal started18solo # [786401.740699] solo systemd-journald[57]: Runtime Journal (/run/log/journal/00f38315455844338a8bb988b5ad4db3) is 8M, max 4G, 3.9G free.19solo # [786401.756331] solo systemd[1]: Finished Apply Kernel Variables.20solo # [786401.766069] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [786401.781378] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [786401.782226] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [786401.790734] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/00f38315455844338a8bb988b5ad4db3 is 1.512ms for 6 entries.24solo # [786401.790734] solo systemd-journald[57]: System Journal (/var/log/journal/00f38315455844338a8bb988b5ad4db3) is 512B, max 4G, 3.9G free.25solo # [786401.801344] solo systemd[1]: Finished Flush Journal to Persistent Storage.26solo # [786401.805195] solo systemd[1]: Finished Create Static Device Nodes in /dev.27solo # [786401.806729] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [786401.806854] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [786401.940569] solo systemd[1]: Finished Firewall.30solo # [786402.736324] solo systemd[1]: Mounting /run/wrappers...31solo # [786402.753930] solo systemd[1]: Mounted /run/wrappers.32solo # [786402.754707] solo systemd[1]: Reached target Local File Systems.33solo # [786402.755514] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [786402.761223] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [786402.761250] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [786402.762105] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [786402.762908] solo systemd[1]: Starting Create System Files and Directories...38solo # [786402.780776] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [786402.783149] solo systemd[1]: Finished Create System Files and Directories.40solo # [786402.835300] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.41solo # [786402.836063] solo systemd[1]: Finished Save Transient machine-id to Disk.42solo # [786402.838300] solo systemd[1]: Starting Rebuild Journal Catalog...43solo # [786402.839064] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...44solo # [786402.852164] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.45solo # [786402.858652] solo systemd[1]: Finished Rebuild Journal Catalog.46solo # [786402.859649] solo systemd[1]: Starting Update is Completed...47solo # [786402.873313] solo systemd[1]: Finished Update is Completed.48solo # [786402.884318] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.49solo # [786402.884821] solo systemd[1]: Finished Create SUID/SGID Wrappers.50solo # [786402.885640] solo systemd[1]: Reached target System Initialization.51solo # [786402.885757] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [786402.885805] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [786402.885828] solo systemd[1]: Reached target Timer Units.54solo # [786402.885955] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [786402.886188] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [786402.886288] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [786402.886338] solo systemd[1]: Listening on tinc-auth.socket.58solo # [786402.886351] solo systemd[1]: Reached target Socket Units.59solo # [786402.886377] solo systemd[1]: Reached target Basic System.60solo # [786402.887678] solo systemd[1]: Starting Import lastlog data into lastlog2 database...61solo # [786402.888625] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...62solo # [786402.889292] solo systemd[1]: Starting resolvconf update...63solo # [786402.890150] solo systemd[1]: Starting Tinc Daemon - mesh...64solo # [786402.907042] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.65solo # [786402.908051] solo systemd[1]: Finished Import lastlog data into lastlog2 database.66solo # [786402.908746] solo systemd[1]: Started Tinc Daemon - mesh.67solo # [786402.910384] solo systemd[1]: Started tinc-auth.service.68solo # [786402.918301] solo tinc-auth[241]: tinc-auth: listening (net=mesh)69solo # [786402.918785] solo tincd[238]: [INFO tincd] tincd 0.1.0 starting, debug level 070solo # [786402.919137] solo tincd[238]: [INFO tincd] tincd starting, name=alpha71solo # [786402.919173] solo tincd[238]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!72solo # [786402.919391] solo tincd[238]: [INFO tincd] Device mode: Tun, interface: dummy73solo # [786402.919543] solo tincd[238]: [INFO tincd::net] Listening on 0.0.0.0:65574solo # [786402.919576] solo tincd[238]: [INFO tincd::net] Listening on [::]:65575solo # [786402.919843] solo tincd[238]: [INFO tincd] Ready76solo # [786402.967974] solo systemd[1]: nscd.service: Deactivated successfully.77solo # [786402.968248] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).78solo # [786402.973876] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...79solo # [786402.978131] solo systemd[1]: Finished resolvconf update.80solo # [786402.978491] solo systemd[1]: Reached target Preparation for Network.81solo # [786402.979782] solo systemd[1]: Starting Address configuration of eth1...82solo # [786402.981150] solo systemd[1]: Starting Extra networking commands....83solo # [786403.000800] solo network-addresses-eth1-start[297]: adding address 192.168.1.1/24... done84solo # [786403.003659] solo network-addresses-eth1-start[297]: adding address 2001:db8:1::1/64... done85solo # [786403.010454] solo systemd[1]: Finished Address configuration of eth1.86solo # [786403.061542] solo systemd[1]: Finished Extra networking commands..87solo # [786403.063512] solo systemd[1]: Reached target Network.88solo # [786403.063566] solo systemd[1]: Reached target Network is Online.89solo # [786403.064999] solo systemd[1]: Starting Authelia authentication and authorization server...90solo # [786403.238398] solo nsncd[292]: Aug 23 15:36:33.884 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"91solo # [786403.238605] solo systemd[1]: Started Name Service Cache Daemon (nsncd).92solo # [786403.238701] solo systemd[1]: Reached target Host and Network Name Lookups.93solo # [786403.238793] solo systemd[1]: Reached target User and Group Name Lookups.94solo # [786403.241219] solo systemd[1]: Starting User Login Management...95solo # [786403.242536] solo systemd[1]: Starting Permit User Sessions...96solo # [786403.280761] solo systemd[1]: Finished Permit User Sessions.97solo # [786403.282565] solo systemd[1]: Started Console Getty.98solo # [786403.282622] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty099solo # [786403.282655] solo systemd[1]: Reached target Login Prompts.100solo # [786404.561126] solo systemd-logind[367]: New seat seat0.101solo # [786404.561442] solo systemd[1]: Started User Login Management.102solo # [786404.562852] solo systemd[1]: Starting D-Bus System Message Bus...103solo # [786404.563598] solo systemd[1]: Starting linger-users.service...104solo # [786404.576998] solo systemd[1]: linger-users.service: Deactivated successfully.105solo # [786404.577256] solo systemd[1]: Finished linger-users.service.106solo # [786404.814498] solo authelia[355]: Configuration parsed and loaded with warnings:107solo # [786404.814498] solo authelia[355]: - access_control: no rules have been specified so the 'default_policy' of 'one_factor' is going to be applied to all requests108solo # [786404.814498] solo authelia[355]: - session: option 'domain' is deprecated in v4.38.0 and has been replaced by a multi-domain configuration: this has automatically been mapped for you but you will need to adjust your configuration to remove this message and receive the latest messages109solo # [786404.956928] solo dbus-broker-launch[377]: Looking up NSS user entry for 'systemd-timesync'...110solo # [786404.958446] solo dbus-broker-launch[377]: NSS returned no entry for 'systemd-timesync'111solo # [786404.958481] solo dbus-broker-launch[377]: Invalid user-name in /nix/store/1y6rxvzzgfp8c9c6qcibp8bnhnjif3xb-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"112solo # [786404.959283] solo systemd[1]: Started D-Bus System Message Bus.113solo # [786404.965489] solo dbus-broker-launch[377]: Ready114solo: (finished: waiting for unit tinc.mesh.service, in 5.65 seconds)115solo: waiting for unit tinc-auth.service116solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)117solo: waiting for unit authelia-mesh.service118solo: (finished: waiting for unit authelia-mesh.service, in 0.02 seconds)119solo: waiting for TCP port 9091 on localhost120Connection to localhost (127.0.0.1) 9091 port [tcp/xmltec-xmlmail] succeeded!121solo: (finished: waiting for TCP port 9091 on localhost, in 0.01 seconds)122??? Warning (UserWarning): wait_until_succeeds(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead.123 File "/nix/store/zij9b46pjc9bsrqij0kqcb8kl96syfa3-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39124solo: waiting for success: curl -fsS -D /tmp/headers -H 'Content-Type: application/json' -H 'X-Original-URL: https://auth.mesh.test' -d '{}' http://auth.mesh.test:9091/api/firstfactor/network125??? Warning (UserWarning): execute(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead.126 File "/nix/store/zij9b46pjc9bsrqij0kqcb8kl96syfa3-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39127solo # [786406.295175] solo systemd[1]: Started Authelia authentication and authorization server.128solo # [786406.295534] solo systemd[1]: Reached target Multi-User System.129solo # [786406.295850] solo systemd[1]: Startup finished in 4.960s.130solo # [786406.343553] solo authelia[486]: time="2026-08-23T15:36:36Z" level=debug msg="Loaded Configuration Sources" files="[/nix/store/3gz584dm4askaw8wrzz850rdld5pg1qk-config.yml]" filters="[]"131solo # [786406.343553] solo authelia[486]: time="2026-08-23T15:36:36Z" level=debug msg="Logging Initialized" fields.level=debug file= format=json keep_stdout=false132solo # [786406.344617] solo authelia[486]: time="2026-08-23T15:36:36Z" level=debug msg="Process user information" gid=999 uid=999 username=authelia-mesh133solo # [786406.346385] solo authelia[486]: time="2026-08-23T15:36:36Z" level=warning msg="Configuration: access_control: no rules have been specified so the 'default_policy' of 'one_factor' is going to be applied to all requests"134solo # [786406.346385] solo authelia[486]: time="2026-08-23T15:36:36Z" level=warning msg="Configuration: session: option 'domain' is deprecated in v4.38.0 and has been replaced by a multi-domain configuration: this has automatically been mapped for you but you will need to adjust your configuration to remove this message and receive the latest messages"135solo # [786406.346462] solo authelia[486]: time="2026-08-23T15:36:36Z" level=info msg="Authelia v4.39.20-nixpkgs is starting"136solo # [786406.346462] solo authelia[486]: time="2026-08-23T15:36:36Z" level=info msg="Log severity set to debug"137solo # [786406.361405] solo authelia[486]: {"level":"info","msg":"Storage schema is being checked for updates","time":"2026-08-23T15:36:37Z"}138solo # [786406.362481] solo authelia[486]: {"level":"info","msg":"Storage schema migration from 0 to 24 is being attempted","time":"2026-08-23T15:36:37Z"}139solo # [786406.367104] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 0 to 1","time":"2026-08-23T15:36:37Z"}140solo # [786406.368087] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 1 to 2","time":"2026-08-23T15:36:37Z"}141solo # [786406.368485] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 2 to 3","time":"2026-08-23T15:36:37Z"}142solo # [786406.369442] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 3 to 4","time":"2026-08-23T15:36:37Z"}143solo # [786406.374014] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 4 to 5","time":"2026-08-23T15:36:37Z"}144solo # [786406.375595] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 5 to 6","time":"2026-08-23T15:36:37Z"}145solo # [786406.384269] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 6 to 7","time":"2026-08-23T15:36:37Z"}146solo # [786406.384355] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 7 to 8","time":"2026-08-23T15:36:37Z"}147solo # [786406.384397] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 8 to 9","time":"2026-08-23T15:36:37Z"}148solo # [786406.384640] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 9 to 10","time":"2026-08-23T15:36:37Z"}149solo # [786406.384894] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 10 to 11","time":"2026-08-23T15:36:37Z"}150solo # [786406.385134] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 11 to 12","time":"2026-08-23T15:36:37Z"}151solo # [786406.385227] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 12 to 13","time":"2026-08-23T15:36:37Z"}152solo # [786406.385648] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 13 to 14","time":"2026-08-23T15:36:37Z"}153solo # [786406.385736] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 14 to 15","time":"2026-08-23T15:36:37Z"}154solo # [786406.387770] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 15 to 16","time":"2026-08-23T15:36:37Z"}155solo # [786406.388606] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 16 to 17","time":"2026-08-23T15:36:37Z"}156solo # [786406.388740] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 17 to 18","time":"2026-08-23T15:36:37Z"}157solo # [786406.389047] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 18 to 19","time":"2026-08-23T15:36:37Z"}158solo # [786406.389259] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 19 to 20","time":"2026-08-23T15:36:37Z"}159solo # [786406.389310] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 20 to 21","time":"2026-08-23T15:36:37Z"}160solo # [786406.389570] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 21 to 22","time":"2026-08-23T15:36:37Z"}161solo # [786406.389610] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 22 to 23","time":"2026-08-23T15:36:37Z"}162solo # [786406.391484] solo authelia[486]: {"level":"debug","msg":"Storage schema migrated from version 23 to 24","time":"2026-08-23T15:36:37Z"}163solo # [786406.391537] solo authelia[486]: {"level":"info","msg":"Storage schema migration from 0 to 24 is complete","time":"2026-08-23T15:36:37Z"}164solo # [786406.393351] solo authelia[486]: {"error":"error occurred during dial: dial udp: lookup time.cloudflare.com: no such host","level":"warning","msg":"Could not determine the clock offset due to an error","time":"2026-08-23T15:36:37Z"}165solo # [786406.393351] solo authelia[486]: {"level":"debug","msg":"webauthn-metadata provider: startup check skipped as it is disabled","time":"2026-08-23T15:36:37Z"}166solo # [786406.407636] solo authelia[486]: {"level":"info","msg":"Startup complete","time":"2026-08-23T15:36:37Z"}167solo # [786406.407748] solo authelia[486]: {"level":"info","msg":"Listening for non-TLS connections on '127.0.0.1:9091' path '/'","server":"main","service":"server","time":"2026-08-23T15:36:37Z"}168solo # [786406.622553] solo authelia[486]: {"level":"debug","method":"POST","msg":"Mark 1FA authentication attempt made by user 'alpha'","path":"/api/firstfactor/network","remote_ip":"127.0.0.1","time":"2026-08-23T15:36:37Z"}169solo # [786406.622828] solo authelia[486]: {"level":"debug","method":"POST","msg":"Successful 1FA authentication attempt made by user 'alpha'","path":"/api/firstfactor/network","remote_ip":"127.0.0.1","time":"2026-08-23T15:36:37Z"}170solo: (finished: waiting for success: curl -fsS -D /tmp/headers -H 'Content-Type: application/json' -H 'X-Original-URL: https://auth.mesh.test' -d '{}' http://auth.mesh.test:9091/api/firstfactor/network, in 0.02 seconds)171solo: must succeed: grep -oPi '(?<=set-cookie: )authelia_session=[^;]+' /tmp/headers172solo: (finished: must succeed: grep -oPi '(?<=set-cookie: )authelia_session=[^;]+' /tmp/headers, in 0.01 seconds)173solo: must succeed: curl -fsS -H 'Cookie: authelia_session=svANQ8nz8RkmbEOGgBz4uhMPclE$IHMq' http://auth.mesh.test:9091/api/state174solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=svANQ8nz8RkmbEOGgBz4uhMPclE$IHMq' http://auth.mesh.test:9091/api/state, in 0.02 seconds)175solo: must succeed: curl -fsS -H 'Cookie: authelia_session=svANQ8nz8RkmbEOGgBz4uhMPclE$IHMq' http://auth.mesh.test:9091/api/user/info176solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=svANQ8nz8RkmbEOGgBz4uhMPclE$IHMq' http://auth.mesh.test:9091/api/user/info, in 0.02 seconds)177solo: must fail: curl -fsS --interface 127.0.0.2 -H 'Content-Type: application/json' -H 'X-Original-URL: https://auth.mesh.test' -d '{}' http://auth.mesh.test:9091/api/firstfactor/network178curl: (22) The requested URL returned error: 401179solo: (finished: must fail: curl -fsS --interface 127.0.0.2 -H 'Content-Type: application/json' -H 'X-Original-URL: https://auth.mesh.test' -d '{}' http://auth.mesh.test:9091/api/firstfactor/network, in 0.02 seconds)180(finished: run the VM test script, in 5.80 seconds)181test script finished in 5.87s182cleanup183kill NspawnMachine (pid 50)184(finished: cleanup, in 0.11 seconds)185additionally exposed symbols:186 solo,187 vlan1,188 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh189Container solo terminated by signal KILL.