container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #142
· raw
1tribuchet: building on jamie2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.01 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 # No journal files were found.18solo # No journal boot entry found for the specified boot (+0).19solo # [90735.563244] solo systemd-journald[57]: Journal started20solo # [90735.563291] solo systemd-journald[57]: Runtime Journal (/run/log/journal/43f13fa7e3034d68a436a190410c4ded) is 8M, max 4G, 3.9G free.21solo # [90735.569490] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22solo # [90735.581273] solo systemd[1]: Starting Flush Journal to Persistent Storage...23solo # [90735.581995] solo systemd[1]: Starting Create Static Device Nodes in /dev...24solo # [90735.616918] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/43f13fa7e3034d68a436a190410c4ded is 1.301ms for 5 entries.25solo # [90735.616918] solo systemd-journald[57]: System Journal (/var/log/journal/43f13fa7e3034d68a436a190410c4ded) is 512B, max 4G, 3.9G free.26solo # [90735.623731] solo systemd[1]: Finished Create Static Device Nodes in /dev.27solo # [90735.624372] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [90735.624481] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [90735.624749] solo systemd[1]: Finished Flush Journal to Persistent Storage.30solo # [90735.723294] solo systemd[1]: Finished Firewall.31solo # [90736.557716] solo systemd[1]: Mounting /run/wrappers...32solo # [90736.576364] solo systemd[1]: Mounted /run/wrappers.33solo # [90736.577049] solo systemd[1]: Reached target Local File Systems.34solo # [90736.577780] solo systemd[1]: Listening on Boot Loader Control Service Socket.35solo # [90736.579190] solo systemd[1]: Starting Create SUID/SGID Wrappers...36solo # [90736.579235] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37solo # [90736.580551] solo systemd[1]: Starting Save Transient machine-id to Disk...38solo # [90736.581746] solo systemd[1]: Starting Create System Files and Directories...39solo # [90736.601757] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [90736.602183] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [90736.602501] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/43f13fa7e3034d68a436a190410c4ded failed: Operation not permitted42solo # [90736.602834] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [90736.611340] solo systemd[1]: Finished Create System Files and Directories.44solo # [90736.611697] solo suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.Zveetwdi9o/chsh': Operation not permitted45solo # [90736.622107] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46solo # [90736.622199] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47solo # [90736.622330] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.48solo # [90736.624062] solo systemd[1]: Starting Rebuild Journal Catalog...49solo # [90736.624816] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...50solo # [90736.645194] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.51solo # [90736.653366] solo systemd[1]: Finished Rebuild Journal Catalog.52solo # [90736.654467] solo systemd[1]: Starting Update is Completed...53solo # [90736.664805] solo systemd[1]: Finished Update is Completed.54solo # [90736.667382] solo systemd[1]: Reached target System Initialization.55solo # [90736.667589] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container56solo # [90736.667611] solo systemd[1]: Started Daily Cleanup of Temporary Directories.57solo # [90736.667626] solo systemd[1]: Reached target Timer Units.58solo # [90736.667722] solo systemd[1]: Listening on D-Bus System Message Bus Socket.59solo # [90736.667942] solo systemd[1]: Listening on Nix Daemon Socket.60solo # [90736.668054] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.61solo # [90736.668070] solo systemd[1]: Reached target Socket Units.62solo # [90736.668099] solo systemd[1]: Reached target Basic System.63solo # [90736.669292] solo systemd[1]: Starting Import lastlog data into lastlog2 database...64solo # [90736.670328] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...65solo # [90736.671126] solo systemd[1]: Starting resolvconf update...66solo # [90736.671868] solo systemd[1]: Starting Tinc Daemon - mesh...67solo # [90736.688362] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [90736.689599] solo systemd[1]: Finished Import lastlog data into lastlog2 database.69solo # [90736.690547] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [90736.692354] solo systemd[1]: Started tinc-auth.service.71solo # [90736.700388] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 072solo # [90736.700861] solo tincd[189]: [INFO tincd] tincd starting, name=alpha73solo # [90736.700861] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!74solo # [90736.701017] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy75solo # [90736.701174] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65576solo # [90736.701217] solo tincd[189]: [INFO tincd::net] Listening on [::]:65577solo # [90736.701466] solo tincd[189]: [INFO tincd] Ready78solo # [90736.749942] solo systemd[1]: nscd.service: Deactivated successfully.79solo # [90736.750138] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).80solo # [90736.775297] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844381solo # [90736.775874] solo tinc-auth[192]: tinc-auth: listening (net=mesh)82solo # [90736.784792] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.83solo # [90736.789207] solo systemd[1]: Finished Save Transient machine-id to Disk.84solo # [90736.792480] solo systemd[1]: Finished resolvconf update.85solo # [90736.794619] solo systemd[1]: Reached target Preparation for Network.86solo # [90736.796315] solo systemd[1]: Starting Address configuration of eth1...87solo # [90736.797729] solo systemd[1]: Starting Extra networking commands....88solo # [90736.799326] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...89solo # [90736.818288] solo network-addresses-eth1-start[249]: adding address 192.168.1.1/24... done90solo # [90736.821021] solo network-addresses-eth1-start[249]: adding address 2001:db8:1::1/64... done91solo # [90736.825554] solo systemd[1]: Finished Address configuration of eth1.92solo # [90736.880776] solo systemd[1]: Finished Extra networking commands..93solo # [90736.881489] solo systemd[1]: Reached target Network.94solo # [90737.004073] solo nsncd[251]: Sep 07 08:16:54.965 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95solo # [90737.004282] solo systemd[1]: Started Name Service Cache Daemon (nsncd).96solo # [90737.004373] solo systemd[1]: Reached target Host and Network Name Lookups.97solo # [90737.004465] solo systemd[1]: Reached target User and Group Name Lookups.98solo # [90737.006722] solo systemd[1]: Starting User Login Management...99solo # [90737.008092] solo systemd[1]: Starting Permit User Sessions...100solo # [90737.026282] solo systemd[1]: Finished Permit User Sessions.101solo # [90737.027766] solo systemd[1]: Started Console Getty.102solo # [90737.027797] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0103solo # [90737.027813] solo systemd[1]: Reached target Login Prompts.104solo # [90738.066507] solo systemd-logind[319]: New seat seat0.105solo # [90738.068790] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [90738.068955] solo systemd[1]: Started User Login Management.107solo # [90738.070518] solo systemd[1]: Starting linger-users.service...108solo # [90738.103135] solo systemd[1]: linger-users.service: Deactivated successfully.109solo # [90738.103558] solo systemd[1]: Finished linger-users.service.110solo # [90738.103975] solo systemd[1]: Reached target Multi-User System.111solo: (finished: waiting for unit tinc.mesh.service, in 4.66 seconds)112solo: waiting for unit tinc-auth.service113solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)114solo: waiting for TCP port 8443 on localhost115Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!116solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)117solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration118solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)119solo: 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'120solo: (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.03 seconds)121solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=93tVCnvuU3RVki5d8b7aVE6iCltwrmLdrHnId_N7wtc -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil122solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=93tVCnvuU3RVki5d8b7aVE6iCltwrmLdrHnId_N7wtc -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)123solo: must succeed: curl -fsS -H 'Authorization: Bearer NH5fErJwbn9lJXxreO6j0WlmmDujzZS6TWIH7n3C11I' http://127.0.0.1:8443/userinfo124solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer NH5fErJwbn9lJXxreO6j0WlmmDujzZS6TWIH7n3C11I' http://127.0.0.1:8443/userinfo, in 0.01 seconds)125(finished: run the VM test script, in 4.76 seconds)126test script finished in 4.80s127cleanup128kill NspawnMachine (pid 50)129Container solo terminated by signal KILL.130(finished: cleanup, in 0.22 seconds)131additionally exposed symbols:132 solo,133 vlan1,134 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