container-test-run-tinc-auth-authelia
checks.x86_64-linux.nixos-tinc-authelia
· build #67
· 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 # [934912.998473] solo systemd-journald[57]: Journal started18solo # [934912.998513] solo systemd-journald[57]: Runtime Journal (/run/log/journal/66775825e1d34a639954f261bbeb3da4) is 8M, max 4G, 3.9G free.19solo # [934913.004826] solo systemd[1]: Finished Apply Kernel Variables.20solo # [934913.014479] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [934913.025779] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [934913.026571] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [934913.061912] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/66775825e1d34a639954f261bbeb3da4 is 1.461ms for 6 entries.24solo # [934913.061912] solo systemd-journald[57]: System Journal (/var/log/journal/66775825e1d34a639954f261bbeb3da4) is 512B, max 4G, 3.9G free.25solo # [934913.073243] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [934913.073434] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [934913.073522] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [934913.084046] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [934913.152732] solo systemd[1]: Finished Firewall.30solo # [934913.994979] solo systemd[1]: Mounting /run/wrappers...31solo # [934914.012766] solo systemd[1]: Mounted /run/wrappers.32solo # [934914.013429] solo systemd[1]: Reached target Local File Systems.33solo # [934914.014177] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [934914.015283] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [934914.015314] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [934914.017009] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [934914.017691] solo systemd[1]: Starting Create System Files and Directories...38solo # [934914.036312] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [934914.039267] solo systemd[1]: Finished Create System Files and Directories.40solo # [934914.051481] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [934914.053304] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [934914.064996] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [934914.072917] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [934914.073978] solo systemd[1]: Starting Update is Completed...45solo # [934914.084246] solo systemd[1]: Finished Update is Completed.46solo # [934914.125835] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.47solo # [934914.152761] solo systemd[1]: Finished Create SUID/SGID Wrappers.48solo # [934914.154831] solo systemd[1]: Reached target System Initialization.49solo # [934914.154960] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container50solo # [934914.155041] solo systemd[1]: Started Daily Cleanup of Temporary Directories.51solo # [934914.155052] solo systemd[1]: Reached target Timer Units.52solo # [934914.155195] solo systemd[1]: Listening on D-Bus System Message Bus Socket.53solo # [934914.155409] solo systemd[1]: Listening on Nix Daemon Socket.54solo # [934914.155507] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.55solo # [934914.155560] solo systemd[1]: Listening on tinc-auth.socket.56solo # [934914.155572] solo systemd[1]: Reached target Socket Units.57solo # [934914.155601] solo systemd[1]: Reached target Basic System.58solo # [934914.157542] solo systemd[1]: Starting Import lastlog data into lastlog2 database...59solo # [934914.158663] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...60solo # [934914.159599] solo systemd[1]: Starting resolvconf update...61solo # [934914.160641] solo systemd[1]: Starting Tinc Daemon - mesh...62solo # [934914.182817] solo tinc.mesh-pre-start[233]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.63solo # [934914.182810] solo systemd[1]: Finished Import lastlog data into lastlog2 database.64solo # [934914.184676] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [934914.185913] solo systemd[1]: Started tinc-auth.service.66solo # [934914.193453] solo tincd[236]: [INFO tincd] tincd 0.1.0 starting, debug level 067solo # [934914.193675] solo tincd[236]: [INFO tincd] tincd starting, name=alpha68solo # [934914.193675] solo tincd[236]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!69solo # [934914.193710] solo tincd[236]: [INFO tincd] Device mode: Tun, interface: dummy70solo # [934914.193773] solo tincd[236]: [INFO tincd::net] Listening on 0.0.0.0:65571solo # [934914.193813] solo tincd[236]: [INFO tincd::net] Listening on [::]:65572solo # [934914.193933] solo tincd[236]: [INFO tincd] Ready73solo # [934914.195767] solo tinc-auth[237]: tinc-auth: listening (net=mesh)74solo # [934914.224309] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.75solo # [934914.225165] solo systemd[1]: Finished Save Transient machine-id to Disk.76solo # [934914.247334] solo systemd[1]: nscd.service: Deactivated successfully.77solo # [934914.247482] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).78solo # [934914.250058] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...79solo # [934914.281265] solo systemd[1]: Finished resolvconf update.80solo # [934914.281514] solo systemd[1]: Reached target Preparation for Network.81solo # [934914.282481] solo systemd[1]: Starting Address configuration of eth1...82solo # [934914.283485] solo systemd[1]: Starting Extra networking commands....83solo # [934914.302774] solo network-addresses-eth1-start[297]: adding address 192.168.1.1/24... done84solo # [934914.307047] solo network-addresses-eth1-start[297]: adding address 2001:db8:1::1/64... done85solo # [934914.311125] solo systemd[1]: Finished Address configuration of eth1.86solo # [934914.367914] solo systemd[1]: Finished Extra networking commands..87solo # [934914.368595] solo systemd[1]: Reached target Network.88solo # [934914.368672] solo systemd[1]: Reached target Network is Online.89solo # [934914.407878] solo systemd[1]: Starting Authelia authentication and authorization server...90solo # [934914.510617] solo nsncd[290]: Aug 25 08:51:45.156 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"91solo # [934914.510649] solo systemd[1]: Started Name Service Cache Daemon (nsncd).92solo # [934914.510752] solo systemd[1]: Reached target Host and Network Name Lookups.93solo # [934914.510861] solo systemd[1]: Reached target User and Group Name Lookups.94solo # [934914.513422] solo systemd[1]: Starting User Login Management...95solo # [934914.514771] solo systemd[1]: Starting Permit User Sessions...96solo # [934914.550966] solo systemd[1]: Finished Permit User Sessions.97solo # [934914.554342] solo systemd[1]: Started Console Getty.98solo # [934914.554375] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty099solo # [934914.554393] solo systemd[1]: Reached target Login Prompts.100solo # [934915.526547] solo systemd-logind[367]: New seat seat0.101solo # [934915.527311] solo systemd[1]: Started User Login Management.102solo # [934915.529473] solo systemd[1]: Starting D-Bus System Message Bus...103solo # [934915.530741] solo systemd[1]: Starting linger-users.service...104solo # [934915.546266] solo systemd[1]: linger-users.service: Deactivated successfully.105solo # [934915.546616] solo systemd[1]: Finished linger-users.service.106solo # [934915.929725] solo authelia[355]: Configuration parsed and loaded with warnings:107solo # [934915.929725] 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 # [934915.929725] 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 # [934915.952995] solo dbus-broker-launch[377]: Looking up NSS user entry for 'systemd-timesync'...110solo # [934915.954500] solo dbus-broker-launch[377]: NSS returned no entry for 'systemd-timesync'111solo # [934915.954500] 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 # [934915.955572] solo systemd[1]: Started D-Bus System Message Bus.113solo # [934915.961885] solo dbus-broker-launch[377]: Ready114solo: (finished: waiting for unit tinc.mesh.service, in 5.16 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 # [934917.216609] solo systemd[1]: Started Authelia authentication and authorization server.128solo # [934917.216907] solo systemd[1]: Reached target Multi-User System.129solo # [934917.217243] solo systemd[1]: Startup finished in 4.561s.130solo # [934917.270400] solo authelia[484]: time="2026-08-25T08:51:47Z" level=debug msg="Loaded Configuration Sources" files="[/nix/store/3gz584dm4askaw8wrzz850rdld5pg1qk-config.yml]" filters="[]"131solo # [934917.270400] solo authelia[484]: time="2026-08-25T08:51:47Z" level=debug msg="Logging Initialized" fields.level=debug file= format=json keep_stdout=false132solo # [934917.271872] solo authelia[484]: time="2026-08-25T08:51:47Z" level=debug msg="Process user information" gid=999 uid=999 username=authelia-mesh133solo # [934917.273341] solo authelia[484]: time="2026-08-25T08:51:47Z" 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 # [934917.273341] solo authelia[484]: time="2026-08-25T08:51:47Z" 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 # [934917.273499] solo authelia[484]: time="2026-08-25T08:51:47Z" level=info msg="Authelia v4.39.20-nixpkgs is starting"136solo # [934917.273499] solo authelia[484]: time="2026-08-25T08:51:47Z" level=info msg="Log severity set to debug"137solo # [934917.298780] solo authelia[484]: {"level":"info","msg":"Storage schema is being checked for updates","time":"2026-08-25T08:51:47Z"}138solo # [934917.300419] solo authelia[484]: {"level":"info","msg":"Storage schema migration from 0 to 24 is being attempted","time":"2026-08-25T08:51:47Z"}139solo # [934917.301334] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 0 to 1","time":"2026-08-25T08:51:47Z"}140solo # [934917.303193] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 1 to 2","time":"2026-08-25T08:51:47Z"}141solo # [934917.303941] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 2 to 3","time":"2026-08-25T08:51:47Z"}142solo # [934917.305244] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 3 to 4","time":"2026-08-25T08:51:47Z"}143solo # [934917.313127] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 4 to 5","time":"2026-08-25T08:51:47Z"}144solo # [934917.314064] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 5 to 6","time":"2026-08-25T08:51:47Z"}145solo # [934917.323603] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 6 to 7","time":"2026-08-25T08:51:47Z"}146solo # [934917.323701] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 7 to 8","time":"2026-08-25T08:51:47Z"}147solo # [934917.323701] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 8 to 9","time":"2026-08-25T08:51:47Z"}148solo # [934917.323961] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 9 to 10","time":"2026-08-25T08:51:47Z"}149solo # [934917.324210] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 10 to 11","time":"2026-08-25T08:51:47Z"}150solo # [934917.324440] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 11 to 12","time":"2026-08-25T08:51:47Z"}151solo # [934917.324517] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 12 to 13","time":"2026-08-25T08:51:47Z"}152solo # [934917.324948] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 13 to 14","time":"2026-08-25T08:51:47Z"}153solo # [934917.325031] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 14 to 15","time":"2026-08-25T08:51:47Z"}154solo # [934917.327127] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 15 to 16","time":"2026-08-25T08:51:47Z"}155solo # [934917.327944] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 16 to 17","time":"2026-08-25T08:51:47Z"}156solo # [934917.328107] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 17 to 18","time":"2026-08-25T08:51:47Z"}157solo # [934917.328402] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 18 to 19","time":"2026-08-25T08:51:47Z"}158solo # [934917.328608] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 19 to 20","time":"2026-08-25T08:51:47Z"}159solo # [934917.328645] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 20 to 21","time":"2026-08-25T08:51:47Z"}160solo # [934917.328919] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 21 to 22","time":"2026-08-25T08:51:47Z"}161solo # [934917.328960] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 22 to 23","time":"2026-08-25T08:51:47Z"}162solo # [934917.330908] solo authelia[484]: {"level":"debug","msg":"Storage schema migrated from version 23 to 24","time":"2026-08-25T08:51:47Z"}163solo # [934917.330965] solo authelia[484]: {"level":"info","msg":"Storage schema migration from 0 to 24 is complete","time":"2026-08-25T08:51:47Z"}164solo # [934917.333005] solo authelia[484]: {"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-25T08:51:47Z"}165solo # [934917.333035] solo authelia[484]: {"level":"debug","msg":"webauthn-metadata provider: startup check skipped as it is disabled","time":"2026-08-25T08:51:47Z"}166solo # [934917.344262] solo authelia[484]: {"level":"info","msg":"Startup complete","time":"2026-08-25T08:51:47Z"}167solo # [934917.344355] solo authelia[484]: {"level":"info","msg":"Listening for non-TLS connections on '127.0.0.1:9091' path '/'","server":"main","service":"server","time":"2026-08-25T08:51:47Z"}168solo # [934917.472878] solo authelia[484]: {"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-25T08:51:48Z"}169solo # [934917.473240] solo authelia[484]: {"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-25T08:51:48Z"}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=2t7CZcFKl6eWsMBrwU8lG0xbzC2neq6N' http://auth.mesh.test:9091/api/state174solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=2t7CZcFKl6eWsMBrwU8lG0xbzC2neq6N' http://auth.mesh.test:9091/api/state, in 0.02 seconds)175solo: must succeed: curl -fsS -H 'Cookie: authelia_session=2t7CZcFKl6eWsMBrwU8lG0xbzC2neq6N' http://auth.mesh.test:9091/api/user/info176solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=2t7CZcFKl6eWsMBrwU8lG0xbzC2neq6N' 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.30 seconds)181test script finished in 5.37s182cleanup183kill NspawnMachine (pid 50)184Container solo terminated by signal KILL.185(finished: cleanup, in 0.21 seconds)186additionally exposed symbols:187 solo,188 vlan1,189 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_ssh