container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #159
· 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 # [138674.347157] solo systemd-journald[57]: Journal started18solo # [138674.347200] solo systemd-journald[57]: Runtime Journal (/run/log/journal/acd66ce61f3e49a58204a6536ff46a4b) is 8M, max 4G, 3.9G free.19solo # [138674.353660] solo systemd[1]: Finished Apply Kernel Variables.20solo # [138674.366656] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [138674.378068] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [138674.378792] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [138674.386994] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/acd66ce61f3e49a58204a6536ff46a4b is 1.509ms for 6 entries.24solo # [138674.386994] solo systemd-journald[57]: System Journal (/var/log/journal/acd66ce61f3e49a58204a6536ff46a4b) is 512B, max 4G, 3.9G free.25solo # [138674.392844] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [138674.393414] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [138674.393518] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [138674.409393] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [138674.509366] solo systemd[1]: Finished Firewall.30solo # [138675.364337] solo systemd[1]: Mounting /run/wrappers...31solo # [138675.384938] solo systemd[1]: Mounted /run/wrappers.32solo # [138675.385948] solo systemd[1]: Reached target Local File Systems.33solo # [138675.386805] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [138675.387928] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [138675.387960] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [138675.388728] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [138675.389534] solo systemd[1]: Starting Create System Files and Directories...38solo # [138675.407733] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [138675.408156] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [138675.408444] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/acd66ce61f3e49a58204a6536ff46a4b failed: Operation not permitted41solo # [138675.408768] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [138675.410989] solo systemd[1]: Finished Create System Files and Directories.43solo # [138675.417441] solo suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.8XW4QZN0wy/chsh': Operation not permitted44solo # [138675.423484] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45solo # [138675.423583] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46solo # [138675.423715] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.47solo # [138675.425477] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [138675.426372] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [138675.477105] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [138675.489011] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [138675.490369] solo systemd[1]: Starting Update is Completed...52solo # [138675.499785] solo systemd[1]: Finished Update is Completed.53solo # [138675.499921] solo systemd[1]: Reached target System Initialization.54solo # [138675.499981] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [138675.500120] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [138675.500136] solo systemd[1]: Reached target Timer Units.57solo # [138675.500241] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [138675.500413] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [138675.500506] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [138675.500517] solo systemd[1]: Reached target Socket Units.61solo # [138675.500544] solo systemd[1]: Reached target Basic System.62solo # [138675.501580] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [138675.502490] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [138675.503231] solo systemd[1]: Starting resolvconf update...65solo # [138675.503974] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [138675.528993] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.67solo # [138675.529338] solo systemd[1]: Finished Import lastlog data into lastlog2 database.68solo # [138675.530872] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [138675.533421] solo systemd[1]: Started tinc-auth.service.70solo # [138675.539179] solo tincd[188]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [138675.539551] solo tincd[188]: [INFO tincd] tincd starting, name=alpha72solo # [138675.539573] solo tincd[188]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [138675.539792] solo tincd[188]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [138675.539955] solo tincd[188]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [138675.539981] solo tincd[188]: [INFO tincd::net] Listening on [::]:65576solo # [138675.540268] solo tincd[188]: [INFO tincd] Ready77solo # [138675.572994] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844378solo # [138675.573378] solo tinc-auth[192]: tinc-auth: listening (net=mesh)79solo # [138675.595521] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.80solo # [138675.622264] solo systemd[1]: Finished Save Transient machine-id to Disk.81solo # [138675.649016] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [138675.649312] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [138675.653385] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...84solo # [138675.669502] solo systemd[1]: Finished resolvconf update.85solo # [138675.669737] solo systemd[1]: Reached target Preparation for Network.86solo # [138675.671174] solo systemd[1]: Starting Address configuration of eth1...87solo # [138675.672789] solo systemd[1]: Starting Extra networking commands....88solo # [138675.691501] solo network-addresses-eth1-start[251]: adding address 192.168.1.1/24... done89solo # [138675.696148] solo network-addresses-eth1-start[251]: adding address 2001:db8:1::1/64... done90solo # [138675.701210] solo systemd[1]: Finished Address configuration of eth1.91solo # [138675.750632] solo systemd[1]: Finished Extra networking commands..92solo # [138675.750801] solo systemd[1]: Reached target Network.93solo # [138675.925395] solo nsncd[242]: Sep 07 21:35:53.887 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [138675.925629] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [138675.925718] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [138675.925804] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [138675.928356] solo systemd[1]: Starting User Login Management...98solo # [138675.929780] solo systemd[1]: Starting Permit User Sessions...99solo # [138675.939860] solo systemd[1]: Finished Permit User Sessions.100solo # [138675.940912] solo systemd[1]: Started Console Getty.101solo # [138675.940936] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [138675.940949] solo systemd[1]: Reached target Login Prompts.103solo # [138677.352240] solo systemd-logind[319]: New seat seat0.104solo # [138677.352681] solo systemd[1]: Started User Login Management.105solo # [138677.357471] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [138677.358972] solo systemd[1]: Starting linger-users.service...107solo # [138677.376778] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [138677.377143] solo systemd[1]: Finished linger-users.service.109solo # [138677.377491] solo systemd[1]: Reached target Multi-User System.110solo # [138677.833383] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...111solo # [138677.834878] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'112solo # [138677.834878] 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"113solo # [138677.835743] solo systemd[1]: Started D-Bus System Message Bus.114solo # [138677.836222] solo systemd[1]: Startup finished in 3.834s.115solo # [138677.842342] solo dbus-broker-launch[329]: Ready116solo: (finished: waiting for unit tinc.mesh.service, in 4.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.02 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.01 seconds)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Ytlcq-1VEc1cdUNknzhbUg3uq0xf87vOXBFHogl0rz4 -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=Ytlcq-1VEc1cdUNknzhbUg3uq0xf87vOXBFHogl0rz4 -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 5HjZDo4ArA88n16EDZkCIESWoBqL3xRDo3kB1ggf6bc' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 5HjZDo4ArA88n16EDZkCIESWoBqL3xRDo3kB1ggf6bc' http://127.0.0.1:8443/userinfo, in 0.01 seconds)130(finished: run the VM test script, in 4.75 seconds)131test script finished in 4.92s132cleanup133kill 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