container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #255
· 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 # [88800.132919] solo systemd-journald[57]: Journal started18solo # [88800.132963] solo systemd-journald[57]: Runtime Journal (/run/log/journal/b22dc28114a34b5b899ea729ca897dfa) is 8M, max 4G, 3.9G free.19solo # [88800.159302] solo systemd[1]: Finished Apply Kernel Variables.20solo # [88800.176259] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [88800.199340] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [88800.200038] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [88800.207973] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/b22dc28114a34b5b899ea729ca897dfa is 1.408ms for 6 entries.24solo # [88800.207973] solo systemd-journald[57]: System Journal (/var/log/journal/b22dc28114a34b5b899ea729ca897dfa) is 512B, max 4G, 3.9G free.25solo # [88800.221695] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [88800.222365] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [88800.222457] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [88800.244454] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [88800.309500] solo systemd[1]: Finished Firewall.30solo # [88801.147775] solo systemd[1]: Mounting /run/wrappers...31solo # [88801.183962] solo systemd[1]: Mounted /run/wrappers.32solo # [88801.185087] solo systemd[1]: Reached target Local File Systems.33solo # [88801.186518] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [88801.187901] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [88801.187928] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [88801.188906] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [88801.190135] solo systemd[1]: Starting Create System Files and Directories...38solo # [88801.206441] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.Gfo2LcHXgv/chsh': Operation not permitted39solo # [88801.207866] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [88801.208298] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [88801.208628] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/b22dc28114a34b5b899ea729ca897dfa failed: Operation not permitted42solo # [88801.208985] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [88801.245673] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [88801.245846] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [88801.246071] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [88801.246672] solo systemd[1]: Finished Create System Files and Directories.47solo # [88801.262089] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [88801.262885] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [88801.274442] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [88801.279941] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [88801.281027] solo systemd[1]: Starting Update is Completed...52solo # [88801.291757] solo systemd[1]: Finished Update is Completed.53solo # [88801.291876] solo systemd[1]: Reached target System Initialization.54solo # [88801.291937] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [88801.291957] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [88801.291972] solo systemd[1]: Reached target Timer Units.57solo # [88801.292066] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [88801.292225] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [88801.292316] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [88801.292328] solo systemd[1]: Reached target Socket Units.61solo # [88801.292353] solo systemd[1]: Reached target Basic System.62solo # [88801.293266] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [88801.294048] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [88801.294876] solo systemd[1]: Starting resolvconf update...65solo # [88801.295644] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [88801.315154] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [88801.316433] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [88801.317931] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [88801.318777] solo systemd[1]: Started tinc-auth.service.70solo # [88801.326643] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [88801.326992] solo tincd[189]: [INFO tincd] tincd starting, name=alpha72solo # [88801.327183] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [88801.327379] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [88801.327537] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [88801.327578] solo tincd[189]: [INFO tincd::net] Listening on [::]:65576solo # [88801.327850] solo tincd[189]: [INFO tincd] Ready77solo # [88801.371903] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.78solo # [88801.382665] solo tinc-auth[190]: tinc-auth: IdP listening on 127.0.0.1:844379solo # [88801.383256] solo tinc-auth[190]: tinc-auth: listening (net=mesh)80solo # [88801.405068] solo systemd[1]: Finished Save Transient machine-id to Disk.81solo # [88801.427064] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [88801.427264] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [88801.429399] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...84solo # [88801.436783] solo systemd[1]: Finished resolvconf update.85solo # [88801.436919] solo systemd[1]: Reached target Preparation for Network.86solo # [88801.437852] solo systemd[1]: Starting Address configuration of eth1...87solo # [88801.438792] solo systemd[1]: Starting Extra networking commands....88solo # [88801.455924] solo network-addresses-eth1-start[251]: adding address 192.168.1.1/24... done89solo # [88801.458794] solo network-addresses-eth1-start[251]: adding address 2001:db8:1::1/64... done90solo # [88801.463277] solo systemd[1]: Finished Address configuration of eth1.91solo # [88801.497597] solo systemd[1]: Finished Extra networking commands..92solo # [88801.497727] solo systemd[1]: Reached target Network.93solo # [88801.647088] solo nsncd[245]: Oct 27 10:35:17.691 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [88801.647158] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [88801.647202] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [88801.647251] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [88801.648526] solo systemd[1]: Starting User Login Management...98solo # [88801.651483] solo systemd[1]: Starting Permit User Sessions...99solo # [88801.680349] solo systemd[1]: Finished Permit User Sessions.100solo # [88801.682021] solo systemd[1]: Started Console Getty.101solo # [88801.682073] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [88801.682102] solo systemd[1]: Reached target Login Prompts.103solo # [88802.769721] solo systemd-logind[319]: New seat seat0.104solo # [88802.770026] solo systemd[1]: Started User Login Management.105solo # [88802.771917] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [88802.773293] solo systemd[1]: Starting linger-users.service...107solo # [88802.818100] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [88802.818393] solo systemd[1]: Finished linger-users.service.109solo # [88802.818734] 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.02 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: (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)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=7vt07pBfsGRAB9CpgKYWkzYxON5MLZHv0dEIokcwOgo -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil121solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=7vt07pBfsGRAB9CpgKYWkzYxON5MLZHv0dEIokcwOgo -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.01 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer jOVuJwWD9LNsI9SPDlQ_O_ArCSxO1Is3x2qGa4StfnU' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer jOVuJwWD9LNsI9SPDlQ_O_ArCSxO1Is3x2qGa4StfnU' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 4.23 seconds)125solo # [88803.367217] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...126solo # [88803.368287] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'127solo # [88803.368287] 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"128solo # [88803.368978] solo systemd[1]: Started D-Bus System Message Bus.129solo # [88803.369425] solo systemd[1]: Startup finished in 3.571s.130solo # [88803.375443] solo dbus-broker-launch[329]: Ready131test script finished in 4.37s132cleanup133kill 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