container-test-run-tinc-auth-container
checks.aarch64-linux.nixos-tinc-auth-container
· build #322
· raw
1tribuchet: building on eliza2Machine 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 # [70159.794837] solo systemd-journald[57]: Journal started18solo # [70159.794907] solo systemd-journald[57]: Runtime Journal (/run/log/journal/b2fa574b811a487b837edfce16ee3254) is 8M, max 4G, 3.9G free.19solo # [70159.813045] solo systemd[1]: Finished Apply Kernel Variables.20solo # [70159.826399] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [70159.841522] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [70159.842244] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [70159.853733] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/b2fa574b811a487b837edfce16ee3254 is 2.549ms for 6 entries.24solo # [70159.853733] solo systemd-journald[57]: System Journal (/var/log/journal/b2fa574b811a487b837edfce16ee3254) is 512B, max 4G, 3.9G free.25solo # [70159.859255] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [70159.859910] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [70159.860171] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [70159.880348] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [70159.960375] solo systemd[1]: Finished Firewall.30solo # [70160.792684] solo systemd[1]: Mounting /run/wrappers...31solo # [70160.849719] solo systemd[1]: Mounted /run/wrappers.32solo # [70160.850614] solo systemd[1]: Reached target Local File Systems.33solo # [70160.851858] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [70160.852961] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [70160.853002] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [70160.853887] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [70160.854714] solo systemd[1]: Starting Create System Files and Directories...38solo # [70160.874376] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [70160.874736] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [70160.875001] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/b2fa574b811a487b837edfce16ee3254 failed: Operation not permitted41solo # [70160.875283] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [70160.877149] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.HWcOGO80GL/chsh': Operation not permitted43solo # [70160.880221] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [70160.880338] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [70160.880549] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [70160.881993] solo systemd[1]: Finished Create System Files and Directories.47solo # [70160.904502] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [70160.905622] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [70160.928237] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.50solo # [70160.929625] solo systemd[1]: Finished Save Transient machine-id to Disk.51solo # [70160.929917] solo systemd[1]: Finished Rebuild Journal Catalog.52solo # [70160.935492] solo systemd[1]: Starting Update is Completed...53solo # [70160.936936] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.54solo # [70160.947525] solo systemd[1]: Finished Update is Completed.55solo # [70160.948578] solo systemd[1]: Reached target System Initialization.56solo # [70160.948671] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [70160.948708] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [70160.948731] solo systemd[1]: Reached target Timer Units.59solo # [70160.948856] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [70160.949074] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [70160.949186] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [70160.949207] solo systemd[1]: Reached target Socket Units.63solo # [70160.949241] solo systemd[1]: Reached target Basic System.64solo # [70160.950673] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [70160.951873] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [70160.952842] solo systemd[1]: Starting resolvconf update...67solo # [70160.953701] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [70160.969263] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [70160.971434] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [70160.972620] solo systemd[1]: Started tinc-auth.service.71solo # [70160.972980] solo systemd[1]: Finished Import lastlog data into lastlog2 database.72solo # [70160.981794] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [70160.982181] solo tincd[189]: [INFO tincd] tincd starting, name=alpha74solo # [70160.982181] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [70160.982181] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [70160.982181] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [70160.982181] solo tincd[189]: [INFO tincd::net] Listening on [::]:65578solo # [70160.982293] solo tincd[189]: [INFO tincd] Ready79solo # [70161.029084] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [70161.029369] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [70161.032287] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [70161.036869] solo systemd[1]: Finished resolvconf update.83solo # [70161.037045] solo systemd[1]: Reached target Preparation for Network.84solo # [70161.038269] solo systemd[1]: Starting Address configuration of eth1...85solo # [70161.039392] solo systemd[1]: Starting Extra networking commands....86solo # [70161.057538] solo network-addresses-eth1-start[246]: adding address 192.168.1.1/24... done87solo # [70161.060430] solo network-addresses-eth1-start[246]: adding address 2001:db8:1::1/64... done88solo # [70161.067764] solo systemd[1]: Finished Address configuration of eth1.89solo # [70161.095900] solo tinc-auth[190]: tinc-auth: IdP listening on 127.0.0.1:844390solo # [70161.096621] solo tinc-auth[190]: tinc-auth: listening (net=mesh)91solo # [70161.117888] solo systemd[1]: Finished Extra networking commands..92solo # [70161.118065] solo systemd[1]: Reached target Network.93solo # [70161.188821] solo systemd[1]: Started Name Service Cache Daemon (nsncd).94solo # [70161.188899] solo systemd[1]: Reached target Host and Network Name Lookups.95solo # [70161.189073] solo nsncd[242]: Nov 08 11:33:20.488 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [70161.188954] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [70161.190638] solo systemd[1]: Starting User Login Management...98solo # [70161.191652] solo systemd[1]: Starting Permit User Sessions...99solo # [70161.202567] solo systemd[1]: Finished Permit User Sessions.100solo # [70161.203806] solo systemd[1]: Started Console Getty.101solo # [70161.203848] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [70161.203870] solo systemd[1]: Reached target Login Prompts.103solo # [70161.866916] solo systemd-logind[327]: New seat seat0.104solo # [70161.868655] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [70161.868798] solo systemd[1]: Started User Login Management.106solo # [70161.869853] solo systemd[1]: Starting linger-users.service...107solo # [70161.883255] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [70161.883481] solo systemd[1]: Finished linger-users.service.109solo # [70161.883673] solo systemd[1]: Reached target Multi-User System.110solo # [70162.152692] solo dbus-broker-launch[337]: Looking up NSS user entry for 'systemd-timesync'...111solo # [70162.153234] solo dbus-broker-launch[337]: NSS returned no entry for 'systemd-timesync'112solo # [70162.153234] solo dbus-broker-launch[337]: Invalid user-name in /nix/store/1zvrw99h8sd5sv9xxag7mf661rmwbrg6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"113solo # [70162.153755] solo systemd[1]: Started D-Bus System Message Bus.114solo # [70162.154015] solo systemd[1]: Startup finished in 2.736s.115solo # [70162.161241] solo dbus-broker-launch[337]: Ready116solo: (finished: waiting for unit tinc.mesh.service, in 3.65 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)119solo: waiting for TCP port 8443 on localhost120Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!121solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)122solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration123solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)124solo: must succeed: curl -fsS -o /dev/null -w '%{redirect_url}' 'http://127.0.0.1:8443/authorize?response_type=code&client_id=app&redirect_uri=http%3A%2F%2Fapp.example%2Fcb&state=s'125solo: (finished: must succeed: curl -fsS -o /dev/null -w '%{redirect_url}' 'http://127.0.0.1:8443/authorize?response_type=code&client_id=app&redirect_uri=http%3A%2F%2Fapp.example%2Fcb&state=s', in 0.02 seconds)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=LJ_8czflNpzzLAdiDAn3Rq1X0Ts-jqZYl9XXAhnsNFI -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil127solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=LJ_8czflNpzzLAdiDAn3Rq1X0Ts-jqZYl9XXAhnsNFI -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)128solo: must succeed: curl -fsS -H 'Authorization: Bearer bktNaMESp7jr0l5wNVCYgT4F4RI_iehq4LNcyqw-VcQ' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer bktNaMESp7jr0l5wNVCYgT4F4RI_iehq4LNcyqw-VcQ' http://127.0.0.1:8443/userinfo, in 0.02 seconds)130(finished: run the VM test script, in 3.75 seconds)131test script finished in 3.79s132cleanup133kill NspawnMachine (pid 50)134Container solo terminated by signal KILL.135(finished: cleanup, in 0.21 seconds)136additionally exposed symbols:137 solo,138 vlan1,139 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