container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #100
· 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 # [ 3571.304429] solo systemd-journald[57]: Journal started18solo # [ 3571.304471] solo systemd-journald[57]: Runtime Journal (/run/log/journal/99f4815503554636806f7e3ce75e1dc8) is 8M, max 4G, 3.9G free.19solo # [ 3571.311576] solo systemd[1]: Finished Apply Kernel Variables.20solo # [ 3571.320708] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [ 3571.332279] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [ 3571.333521] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [ 3571.342035] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/99f4815503554636806f7e3ce75e1dc8 is 1.311ms for 6 entries.24solo # [ 3571.342035] solo systemd-journald[57]: System Journal (/var/log/journal/99f4815503554636806f7e3ce75e1dc8) is 512B, max 4G, 3.9G free.25solo # [ 3571.350365] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [ 3571.350525] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [ 3571.350624] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [ 3571.364234] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [ 3571.463436] solo systemd[1]: Finished Firewall.30solo # [ 3572.319079] solo systemd[1]: Mounting /run/wrappers...31solo # [ 3572.363769] solo systemd[1]: Mounted /run/wrappers.32solo # [ 3572.364884] solo systemd[1]: Reached target Local File Systems.33solo # [ 3572.366417] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [ 3572.367923] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [ 3572.367980] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [ 3572.369315] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [ 3572.370635] solo systemd[1]: Starting Create System Files and Directories...38solo # [ 3572.388158] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [ 3572.388570] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [ 3572.388903] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/99f4815503554636806f7e3ce75e1dc8 failed: Operation not permitted41solo # [ 3572.389260] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [ 3572.390260] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.EAXy15aghS/chsh': Operation not permitted43solo # [ 3572.401351] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [ 3572.401522] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [ 3572.401750] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [ 3572.402606] solo systemd[1]: Finished Create System Files and Directories.47solo # [ 3572.419879] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [ 3572.420978] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [ 3572.436758] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [ 3572.459346] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.51solo # [ 3572.460842] solo systemd[1]: Finished Save Transient machine-id to Disk.52solo # [ 3572.461106] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [ 3572.464886] solo systemd[1]: Starting Update is Completed...54solo # [ 3572.474952] solo systemd[1]: Finished Update is Completed.55solo # [ 3572.475062] solo systemd[1]: Reached target System Initialization.56solo # [ 3572.475139] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [ 3572.475160] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [ 3572.475172] solo systemd[1]: Reached target Timer Units.59solo # [ 3572.475271] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [ 3572.475513] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [ 3572.475611] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [ 3572.475624] solo systemd[1]: Reached target Socket Units.63solo # [ 3572.475652] solo systemd[1]: Reached target Basic System.64solo # [ 3572.477113] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [ 3572.478122] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [ 3572.478968] solo systemd[1]: Starting resolvconf update...67solo # [ 3572.479722] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [ 3572.494633] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [ 3572.495187] solo systemd[1]: Finished Import lastlog data into lastlog2 database.70solo # [ 3572.496081] solo systemd[1]: Started Tinc Daemon - mesh.71solo # [ 3572.497684] solo systemd[1]: Started tinc-auth.service.72solo # [ 3572.505389] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [ 3572.505988] solo tincd[190]: [INFO tincd] tincd starting, name=alpha74solo # [ 3572.506077] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [ 3572.506213] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [ 3572.506352] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [ 3572.506391] solo tincd[190]: [INFO tincd::net] Listening on [::]:65578solo # [ 3572.506682] solo tincd[190]: [INFO tincd] Ready79solo # [ 3572.551000] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [ 3572.551252] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [ 3572.580900] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [ 3572.581186] solo systemd[1]: Finished resolvconf update.83solo # [ 3572.581974] solo systemd[1]: Reached target Preparation for Network.84solo # [ 3572.583285] solo systemd[1]: Starting Address configuration of eth1...85solo # [ 3572.584290] solo systemd[1]: Starting Extra networking commands....86solo # [ 3572.603477] solo network-addresses-eth1-start[244]: adding address 192.168.1.1/24... done87solo # [ 3572.606529] solo network-addresses-eth1-start[244]: adding address 2001:db8:1::1/64... done88solo # [ 3572.610678] solo systemd[1]: Finished Address configuration of eth1.89solo # [ 3572.614576] solo tinc-auth[194]: tinc-auth: IdP listening on 127.0.0.1:844390solo # [ 3572.615088] solo tinc-auth[194]: tinc-auth: listening (net=mesh)91solo # [ 3572.675228] solo systemd[1]: Finished Extra networking commands..92solo # [ 3572.675425] solo systemd[1]: Reached target Network.93solo # [ 3572.767742] solo nsncd[240]: Sep 06 08:04:10.729 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [ 3572.767971] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [ 3572.768067] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [ 3572.768131] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [ 3572.769721] solo systemd[1]: Starting User Login Management...98solo # [ 3572.770920] solo systemd[1]: Starting Permit User Sessions...99solo # [ 3572.780933] solo systemd[1]: Finished Permit User Sessions.100solo # [ 3572.782193] solo systemd[1]: Started Console Getty.101solo # [ 3572.782218] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [ 3572.782231] solo systemd[1]: Reached target Login Prompts.103solo # [ 3573.809168] solo systemd-logind[319]: New seat seat0.104solo # [ 3573.809545] solo systemd[1]: Started User Login Management.105solo # [ 3573.811613] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [ 3573.813131] solo systemd[1]: Starting linger-users.service...107solo # [ 3573.848775] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [ 3573.849094] solo systemd[1]: Finished linger-users.service.109solo # [ 3573.849447] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)113solo: waiting for TCP port 8443 on localhost114Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!115solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)116solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration117solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)118solo: 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'119solo # [ 3574.425376] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...120solo # [ 3574.426452] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'121solo # [ 3574.426452] solo dbus-broker-launch[329]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"122solo # [ 3574.427298] solo systemd[1]: Started D-Bus System Message Bus.123solo # [ 3574.427552] solo systemd[1]: Startup finished in 3.487s.124solo # [ 3574.433069] solo dbus-broker-launch[329]: Ready125solo: (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=vZ-Z4jiHIwb5igb0qJGkoz-veHF0pG7NWX3y_024AKY -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=vZ-Z4jiHIwb5igb0qJGkoz-veHF0pG7NWX3y_024AKY -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 3ZVdgi2uFLE2CmtrYnXj25YojBtbPhUrmSV3bpJYiLw' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 3ZVdgi2uFLE2CmtrYnXj25YojBtbPhUrmSV3bpJYiLw' http://127.0.0.1:8443/userinfo, in 0.02 seconds)130(finished: run the VM test script, in 4.24 seconds)131test script finished in 4.33s132cleanup133kill NspawnMachine (pid 50)134(finished: cleanup, in 0.17 seconds)135additionally exposed symbols:136 solo,137 vlan1,138 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_ssh139Container solo terminated by signal KILL.