container-test-run-tinc-auth-authelia
checks.x86_64-linux.nixos-tinc-authelia
· build #262
· 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 # [95102.866778] solo systemd-journald[57]: Journal started18solo # [95102.866818] solo systemd-journald[57]: Runtime Journal (/run/log/journal/a9af4ae081674db8b82be1375674e215) is 8M, max 4G, 3.9G free.19solo # [95102.875396] solo systemd[1]: Finished Apply Kernel Variables.20solo # [95102.887857] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [95102.900054] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [95102.900767] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [95102.937008] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/a9af4ae081674db8b82be1375674e215 is 1.678ms for 6 entries.24solo # [95102.937008] solo systemd-journald[57]: System Journal (/var/log/journal/a9af4ae081674db8b82be1375674e215) is 512B, max 4G, 3.9G free.25solo # [95102.949781] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [95102.950404] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [95102.950497] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [95102.962038] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [95103.020021] solo systemd[1]: Finished Firewall.30solo # [95103.870422] solo systemd[1]: Mounting /run/wrappers...31solo # [95103.901692] solo systemd[1]: Mounted /run/wrappers.32solo # [95103.902289] solo systemd[1]: Reached target Local File Systems.33solo # [95103.902983] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [95103.903895] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [95103.903929] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [95103.904738] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [95103.905462] solo systemd[1]: Starting Create System Files and Directories...38solo # [95103.922467] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [95103.922998] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [95103.923348] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/a9af4ae081674db8b82be1375674e215 failed: Operation not permitted41solo # [95103.923700] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [95103.925181] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.TLKHgZBY0p/chsh': Operation not permitted43solo # [95103.934017] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [95103.934128] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [95103.934321] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [95103.934751] solo systemd[1]: Finished Create System Files and Directories.47solo # [95103.953967] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [95103.954765] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [95103.966135] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [95103.973357] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [95103.974600] solo systemd[1]: Starting Update is Completed...52solo # [95103.996595] solo systemd[1]: Finished Update is Completed.53solo # [95103.996746] solo systemd[1]: Reached target System Initialization.54solo # [95103.996812] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [95103.996839] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [95103.996853] solo systemd[1]: Reached target Timer Units.57solo # [95103.996956] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [95103.997184] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [95103.997283] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [95103.997334] solo systemd[1]: Listening on tinc-auth.socket.61solo # [95103.997348] solo systemd[1]: Reached target Socket Units.62solo # [95103.997376] solo systemd[1]: Reached target Basic System.63solo # [95103.998526] solo systemd[1]: Starting Import lastlog data into lastlog2 database...64solo # [95103.999542] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...65solo # [95104.000311] solo systemd[1]: Starting resolvconf update...66solo # [95104.000893] solo systemd[1]: Starting Tinc Daemon - mesh...67solo # [95104.012978] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [95104.014550] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [95104.015426] solo systemd[1]: Started tinc-auth.service.70solo # [95104.015687] solo systemd[1]: Finished Import lastlog data into lastlog2 database.71solo # [95104.021880] solo tincd[188]: [INFO tincd] tincd 0.1.0 starting, debug level 072solo # [95104.022103] solo tincd[188]: [INFO tincd] tincd starting, name=alpha73solo # [95104.022103] solo tincd[188]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!74solo # [95104.022103] solo tincd[188]: [INFO tincd] Device mode: Tun, interface: dummy75solo # [95104.022184] solo tincd[188]: [INFO tincd::net] Listening on 0.0.0.0:65576solo # [95104.022184] solo tincd[188]: [INFO tincd::net] Listening on [::]:65577solo # [95104.022253] solo tincd[188]: [INFO tincd] Ready78solo # [95104.022306] solo tinc-auth[190]: tinc-auth: listening (net=mesh)79solo # [95104.065541] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [95104.065696] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [95104.067927] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [95104.087139] solo systemd[1]: Finished resolvconf update.83solo # [95104.087240] solo systemd[1]: Reached target Preparation for Network.84solo # [95104.088142] solo systemd[1]: Starting Address configuration of eth1...85solo # [95104.089014] solo systemd[1]: Starting Extra networking commands....86solo # [95104.109436] solo network-addresses-eth1-start[249]: adding address 192.168.1.1/24... done87solo # [95104.111887] solo network-addresses-eth1-start[249]: adding address 2001:db8:1::1/64... done88solo # [95104.117492] solo systemd[1]: Finished Address configuration of eth1.89solo # [95104.153769] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90solo # [95104.154493] solo systemd[1]: Finished Save Transient machine-id to Disk.91solo # [95104.154689] solo systemd[1]: Finished Extra networking commands..92solo # [95104.155597] solo systemd[1]: Reached target Network.93solo # [95104.155661] solo systemd[1]: Reached target Network is Online.94solo # [95104.157258] solo systemd[1]: Starting Authelia authentication and authorization server...95solo # [95104.421397] solo nsncd[241]: Oct 27 12:20:20.466 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [95104.421503] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [95104.421553] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [95104.421590] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [95104.422816] solo systemd[1]: Starting User Login Management...100solo # [95104.423460] solo systemd[1]: Starting Permit User Sessions...101solo # [95104.432388] solo systemd[1]: Finished Permit User Sessions.102solo # [95104.435633] solo systemd[1]: Started Console Getty.103solo # [95104.435689] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [95104.435716] solo systemd[1]: Reached target Login Prompts.105solo # [95105.891990] solo systemd-logind[320]: New seat seat0.106solo # [95105.892743] solo systemd[1]: Started User Login Management.107solo # [95105.895243] solo systemd[1]: Starting D-Bus System Message Bus...108solo # [95105.896650] solo systemd[1]: Starting linger-users.service...109solo # [95105.907909] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [95105.908308] solo systemd[1]: Finished linger-users.service.111solo # [95106.262197] solo authelia[308]: Configuration parsed and loaded with warnings:112solo # [95106.262197] solo authelia[308]: - access_control: no rules have been specified so the 'default_policy' of 'one_factor' is going to be applied to all requests113solo # [95106.262197] solo authelia[308]: - 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 messages114solo # [95106.480608] solo dbus-broker-launch[330]: Looking up NSS user entry for 'systemd-timesync'...115solo # [95106.481563] solo dbus-broker-launch[330]: NSS returned no entry for 'systemd-timesync'116solo # [95106.481563] solo dbus-broker-launch[330]: Invalid user-name in /nix/store/qswzz78v188xy4mf1w5mdjcfxyl2j1jm-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"117solo # [95106.482036] solo systemd[1]: Started D-Bus System Message Bus.118solo # [95106.486995] solo dbus-broker-launch[330]: Ready119solo: (finished: waiting for unit tinc.mesh.service, in 6.15 seconds)120solo: waiting for unit tinc-auth.service121solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)122solo: waiting for unit authelia-mesh.service123solo: (finished: waiting for unit authelia-mesh.service, in 0.01 seconds)124solo: waiting for TCP port 9091 on localhost125Connection to localhost (127.0.0.1) 9091 port [tcp/xmltec-xmlmail] succeeded!126solo: (finished: waiting for TCP port 9091 on localhost, in 0.01 seconds)127??? Warning (UserWarning): wait_until_succeeds(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead.128 File "/nix/store/fv4yr9c0f9kyrfc00100i4rlshiiidbd-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39129solo: 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/network130??? Warning (UserWarning): execute(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead.131 File "/nix/store/fv4yr9c0f9kyrfc00100i4rlshiiidbd-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39132solo # [95107.962243] solo systemd[1]: Started Authelia authentication and authorization server.133solo # [95107.962382] solo systemd[1]: Reached target Multi-User System.134solo # [95107.962525] solo systemd[1]: Startup finished in 5.465s.135solo # [95107.997707] solo authelia[375]: time="2026-10-27T12:20:24Z" level=debug msg="Loaded Configuration Sources" files="[/nix/store/sxafs4dhjngk2wxfiglsvc8q71sv62gn-config.yml]" filters="[]"136solo # [95107.997707] solo authelia[375]: time="2026-10-27T12:20:24Z" level=debug msg="Logging Initialized" fields.level=debug file= format=json keep_stdout=false137solo # [95107.999087] solo authelia[375]: time="2026-10-27T12:20:24Z" level=debug msg="Process user information" gid=999 uid=999 username=authelia-mesh138solo # [95108.000496] solo authelia[375]: time="2026-10-27T12:20:24Z" 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"139solo # [95108.000553] solo authelia[375]: time="2026-10-27T12:20:24Z" 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"140solo # [95108.000553] solo authelia[375]: time="2026-10-27T12:20:24Z" level=info msg="Authelia v4.39.20-nixpkgs is starting"141solo # [95108.000553] solo authelia[375]: time="2026-10-27T12:20:24Z" level=info msg="Log severity set to debug"142solo # [95108.016019] solo authelia[375]: {"level":"info","msg":"Storage schema is being checked for updates","time":"2026-10-27T12:20:24Z"}143solo # [95108.016743] solo authelia[375]: {"level":"info","msg":"Storage schema migration from 0 to 24 is being attempted","time":"2026-10-27T12:20:24Z"}144solo # [95108.017228] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 0 to 1","time":"2026-10-27T12:20:24Z"}145solo # [95108.018196] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 1 to 2","time":"2026-10-27T12:20:24Z"}146solo # [95108.018604] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 2 to 3","time":"2026-10-27T12:20:24Z"}147solo # [95108.019237] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 3 to 4","time":"2026-10-27T12:20:24Z"}148solo # [95108.023566] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 4 to 5","time":"2026-10-27T12:20:24Z"}149solo # [95108.024454] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 5 to 6","time":"2026-10-27T12:20:24Z"}150solo # [95108.033077] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 6 to 7","time":"2026-10-27T12:20:24Z"}151solo # [95108.033174] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 7 to 8","time":"2026-10-27T12:20:24Z"}152solo # [95108.033197] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 8 to 9","time":"2026-10-27T12:20:24Z"}153solo # [95108.033448] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 9 to 10","time":"2026-10-27T12:20:24Z"}154solo # [95108.033678] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 10 to 11","time":"2026-10-27T12:20:24Z"}155solo # [95108.033903] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 11 to 12","time":"2026-10-27T12:20:24Z"}156solo # [95108.033984] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 12 to 13","time":"2026-10-27T12:20:24Z"}157solo # [95108.034429] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 13 to 14","time":"2026-10-27T12:20:24Z"}158solo # [95108.034502] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 14 to 15","time":"2026-10-27T12:20:24Z"}159solo # [95108.036310] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 15 to 16","time":"2026-10-27T12:20:24Z"}160solo # [95108.037142] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 16 to 17","time":"2026-10-27T12:20:24Z"}161solo # [95108.037274] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 17 to 18","time":"2026-10-27T12:20:24Z"}162solo # [95108.037565] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 18 to 19","time":"2026-10-27T12:20:24Z"}163solo: (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)164solo # [95108.037750] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 19 to 20","time":"2026-10-27T12:20:24Z"}165solo: must succeed: grep -oPi '(?<=set-cookie: )authelia_session=[^;]+' /tmp/headers166solo # [95108.037947] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 20 to 21","time":"2026-10-27T12:20:24Z"}167solo # [95108.038059] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 21 to 22","time":"2026-10-27T12:20:24Z"}168solo # [95108.038080] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 22 to 23","time":"2026-10-27T12:20:24Z"}169solo # [95108.039914] solo authelia[375]: {"level":"debug","msg":"Storage schema migrated from version 23 to 24","time":"2026-10-27T12:20:24Z"}170solo # [95108.039936] solo authelia[375]: {"level":"info","msg":"Storage schema migration from 0 to 24 is complete","time":"2026-10-27T12:20:24Z"}171solo # [95108.041570] solo authelia[375]: {"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-10-27T12:20:24Z"}172solo # [95108.041570] solo authelia[375]: {"level":"debug","msg":"webauthn-metadata provider: startup check skipped as it is disabled","time":"2026-10-27T12:20:24Z"}173solo # [95108.056335] solo authelia[375]: {"level":"info","msg":"Startup complete","time":"2026-10-27T12:20:24Z"}174solo # [95108.056414] solo authelia[375]: {"level":"info","msg":"Listening for non-TLS connections on '127.0.0.1:9091' path '/'","server":"main","service":"server","time":"2026-10-27T12:20:24Z"}175solo # [95108.244417] solo authelia[375]: {"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-10-27T12:20:24Z"}176solo # [95108.244543] solo authelia[375]: {"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-10-27T12:20:24Z"}177solo: (finished: must succeed: grep -oPi '(?<=set-cookie: )authelia_session=[^;]+' /tmp/headers, in 0.01 seconds)178solo: must succeed: curl -fsS -H 'Cookie: authelia_session=j#jM6zJwYmi6jWw5%aBowi7G9*y3kNXN' http://auth.mesh.test:9091/api/state179solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=j#jM6zJwYmi6jWw5%aBowi7G9*y3kNXN' http://auth.mesh.test:9091/api/state, in 0.01 seconds)180solo: must succeed: curl -fsS -H 'Cookie: authelia_session=j#jM6zJwYmi6jWw5%aBowi7G9*y3kNXN' http://auth.mesh.test:9091/api/user/info181solo: (finished: must succeed: curl -fsS -H 'Cookie: authelia_session=j#jM6zJwYmi6jWw5%aBowi7G9*y3kNXN' http://auth.mesh.test:9091/api/user/info, in 0.01 seconds)182solo: 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/network183curl: (22) The requested URL returned error: 401184solo: (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.01 seconds)185(finished: run the VM test script, in 6.25 seconds)186test script finished in 6.30s187cleanup188kill NspawnMachine (pid 50)189Container solo terminated by signal KILL.190(finished: cleanup, in 0.17 seconds)191additionally exposed symbols:192 solo,193 vlan1,194 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