container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #235
· 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 # [2795696.294011] solo systemd-journald[57]: Journal started20solo # [2795696.294052] solo systemd-journald[57]: Runtime Journal (/run/log/journal/00cb08eddf754dfaa55971604bc41f4f) is 8M, max 4G, 3.9G free.21solo # [2795696.326260] solo systemd[1]: Finished Apply Kernel Variables.22solo # [2795696.337253] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23solo # [2795696.352916] solo systemd[1]: Starting Flush Journal to Persistent Storage...24solo # [2795696.354043] solo systemd[1]: Starting Create Static Device Nodes in /dev...25solo # [2795696.361401] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/00cb08eddf754dfaa55971604bc41f4f is 2.541ms for 6 entries.26solo # [2795696.361401] solo systemd-journald[57]: System Journal (/var/log/journal/00cb08eddf754dfaa55971604bc41f4f) is 512B, max 4G, 3.9G free.27solo # [2795696.380273] solo systemd[1]: Finished Create Static Device Nodes in /dev.28solo # [2795696.380898] solo systemd[1]: Reached target Preparation for Local File Systems.29solo # [2795696.381013] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30solo # [2795696.390703] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [2795696.492340] solo systemd[1]: Finished Firewall.32solo # [2795697.337451] solo systemd[1]: Mounting /run/wrappers...33solo # [2795697.446810] solo systemd[1]: Mounted /run/wrappers.34solo # [2795697.447672] solo systemd[1]: Reached target Local File Systems.35solo # [2795697.448517] solo systemd[1]: Listening on Boot Loader Control Service Socket.36solo # [2795697.456419] solo systemd[1]: Starting Create SUID/SGID Wrappers...37solo # [2795697.456449] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38solo # [2795697.466320] solo systemd[1]: Starting Save Transient machine-id to Disk...39solo # [2795697.489744] solo systemd[1]: Starting Create System Files and Directories...40solo # [2795697.511815] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41solo # [2795697.512307] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42solo # [2795697.512708] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/00cb08eddf754dfaa55971604bc41f4f failed: Operation not permitted43solo # [2795697.513092] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44solo # [2795697.514226] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.KycbCa21eu/chsh': Operation not permitted45solo # [2795697.519121] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46solo # [2795697.519243] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47solo # [2795697.519526] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.48solo # [2795697.520602] solo systemd[1]: Finished Create System Files and Directories.49solo # [2795697.599672] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [2795697.600915] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [2795697.613324] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.52solo # [2795697.620915] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [2795697.622814] solo systemd[1]: Starting Update is Completed...54solo # [2795697.634096] solo systemd[1]: Finished Update is Completed.55solo # [2795697.634228] solo systemd[1]: Reached target System Initialization.56solo # [2795697.634323] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [2795697.634359] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [2795697.634375] solo systemd[1]: Reached target Timer Units.59solo # [2795697.634503] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [2795697.634738] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [2795697.634866] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [2795697.634888] solo systemd[1]: Reached target Socket Units.63solo # [2795697.634941] solo systemd[1]: Reached target Basic System.64solo # [2795697.645796] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [2795697.651824] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [2795697.653229] solo systemd[1]: Starting resolvconf update...67solo # [2795697.654469] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [2795697.669383] solo systemd[1]: Finished Import lastlog data into lastlog2 database.69solo # [2795697.669495] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.70solo # [2795697.671594] solo systemd[1]: Started Tinc Daemon - mesh.71solo # [2795697.672609] solo systemd[1]: Started tinc-auth.service.72solo # [2795697.679377] solo tincd[191]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [2795697.679799] solo tincd[191]: [INFO tincd] tincd starting, name=alpha74solo # [2795697.679799] solo tincd[191]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [2795697.679799] solo tincd[191]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [2795697.679799] solo tincd[191]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [2795697.679799] solo tincd[191]: [INFO tincd::net] Listening on [::]:65578solo # [2795697.680064] solo tincd[191]: [INFO tincd] Ready79solo # [2795697.764610] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844380solo # [2795697.765517] solo tinc-auth[192]: tinc-auth: listening (net=mesh)81solo # [2795697.795266] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.82solo # [2795697.796322] solo systemd[1]: Finished Save Transient machine-id to Disk.83solo # [2795697.796532] solo systemd[1]: nscd.service: Deactivated successfully.84solo # [2795697.796683] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).85solo # [2795697.798396] solo systemd[1]: Finished resolvconf update.86solo # [2795697.800592] solo systemd[1]: Reached target Preparation for Network.87solo # [2795697.801659] solo systemd[1]: Starting Address configuration of eth1...88solo # [2795697.802515] solo systemd[1]: Starting Extra networking commands....89solo # [2795697.803539] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...90solo # [2795697.829547] solo network-addresses-eth1-start[249]: adding address 192.168.1.1/24... done91solo # [2795697.833059] solo network-addresses-eth1-start[249]: adding address 2001:db8:1::1/64... done92solo # [2795697.837746] solo systemd[1]: Finished Address configuration of eth1.93solo # [2795697.880635] solo systemd[1]: Finished Extra networking commands..94solo # [2795697.880726] solo systemd[1]: Reached target Network.95solo # [2795698.223881] solo nsncd[251]: Oct 13 21:46:46.511 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [2795698.223907] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [2795698.223992] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [2795698.224170] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [2795698.230280] solo systemd[1]: Starting User Login Management...100solo # [2795698.231678] solo systemd[1]: Starting Permit User Sessions...101solo # [2795698.272985] solo systemd[1]: Finished Permit User Sessions.102solo # [2795698.274668] solo systemd[1]: Started Console Getty.103solo # [2795698.274715] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [2795698.274739] solo systemd[1]: Reached target Login Prompts.105solo # [2795700.189184] solo systemd-logind[319]: New seat seat0.106solo # [2795700.189516] solo systemd[1]: Started User Login Management.107solo # [2795700.200828] solo systemd[1]: Starting D-Bus System Message Bus...108solo # [2795700.210893] solo systemd[1]: Starting linger-users.service...109solo # [2795700.246298] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [2795700.246556] solo systemd[1]: Finished linger-users.service.111solo # [2795700.247715] solo systemd[1]: Reached target Multi-User System.112solo: (finished: waiting for unit tinc.mesh.service, in 5.67 seconds)113solo: waiting for unit tinc-auth.service114solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)115solo: waiting for TCP port 8443 on localhost116Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!117solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)118solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration119solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.03 seconds)120solo: 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'121solo: (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)122solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=3p7oU_qvxKp2CjdWXiBYKqWgP-2yptHljcMydT_m8gE -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil123solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=3p7oU_qvxKp2CjdWXiBYKqWgP-2yptHljcMydT_m8gE -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)124solo: must succeed: curl -fsS -H 'Authorization: Bearer DTLhz-an8mhcigUkog67EpqRm5v4qwtoxWTBh0yHG8w' http://127.0.0.1:8443/userinfo125solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer DTLhz-an8mhcigUkog67EpqRm5v4qwtoxWTBh0yHG8w' http://127.0.0.1:8443/userinfo, in 0.02 seconds)126(finished: run the VM test script, in 5.78 seconds)127test script finished in 5.84s128cleanup129kill NspawnMachine (pid 50)130Container solo terminated by signal KILL.131(finished: cleanup, in 0.22 seconds)132additionally exposed symbols:133 solo,134 vlan1,135 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