container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #221
· 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 # No journal files were found.20solo # No journal boot entry found for the specified boot (+0).21solo # [2621386.853280] solo systemd-journald[57]: Journal started22solo # [2621386.853346] solo systemd-journald[57]: Runtime Journal (/run/log/journal/84e65aa98db54cb8acb7433497b99151) is 8M, max 4G, 3.9G free.23solo # [2621386.888944] solo systemd[1]: Finished Apply Kernel Variables.24solo # [2621386.920844] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25solo # [2621386.981808] solo systemd[1]: Starting Flush Journal to Persistent Storage...26solo # [2621386.983423] solo systemd[1]: Starting Create Static Device Nodes in /dev...27solo # [2621386.995887] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/84e65aa98db54cb8acb7433497b99151 is 1.600ms for 6 entries.28solo # [2621386.995887] solo systemd-journald[57]: System Journal (/var/log/journal/84e65aa98db54cb8acb7433497b99151) is 512B, max 4G, 3.9G free.29solo # [2621387.011518] solo systemd[1]: Finished Flush Journal to Persistent Storage.30solo # [2621387.012178] solo systemd[1]: Finished Create Static Device Nodes in /dev.31solo # [2621387.014665] solo systemd[1]: Reached target Preparation for Local File Systems.32solo # [2621387.014826] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys33solo # [2621387.131631] solo systemd[1]: Finished Firewall.34solo # [2621388.039446] solo systemd[1]: Mounting /run/wrappers...35solo # [2621388.204273] solo systemd[1]: Mounted /run/wrappers.36solo # [2621388.205742] solo systemd[1]: Reached target Local File Systems.37solo # [2621388.207338] solo systemd[1]: Listening on Boot Loader Control Service Socket.38solo # [2621388.217968] solo systemd[1]: Starting Create SUID/SGID Wrappers...39solo # [2621388.218045] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40solo # [2621388.219597] solo systemd[1]: Starting Save Transient machine-id to Disk...41solo # [2621388.221378] solo systemd[1]: Starting Create System Files and Directories...42solo # [2621388.240884] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43solo # [2621388.241302] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted44solo # [2621388.241596] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/84e65aa98db54cb8acb7433497b99151 failed: Operation not permitted45solo # [2621388.241921] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46solo # [2621388.278919] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.b3YcbeuQoC/chsh': Operation not permitted47solo # [2621388.409400] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE48solo # [2621388.409896] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49solo # [2621388.431420] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.50solo # [2621388.432449] solo systemd[1]: Finished Create System Files and Directories.51solo # [2621388.565969] solo systemd[1]: Starting Rebuild Journal Catalog...52solo # [2621388.566822] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...53solo # [2621388.583766] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.54solo # [2621388.589302] solo systemd[1]: Finished Rebuild Journal Catalog.55solo # [2621388.590461] solo systemd[1]: Starting Update is Completed...56solo # [2621388.603078] solo systemd[1]: Finished Update is Completed.57solo # [2621388.603182] solo systemd[1]: Reached target System Initialization.58solo # [2621388.603264] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59solo # [2621388.603299] solo systemd[1]: Started Daily Cleanup of Temporary Directories.60solo # [2621388.603316] solo systemd[1]: Reached target Timer Units.61solo # [2621388.603416] solo systemd[1]: Listening on D-Bus System Message Bus Socket.62solo # [2621388.603584] solo systemd[1]: Listening on Nix Daemon Socket.63solo # [2621388.603683] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64solo # [2621388.603697] solo systemd[1]: Reached target Socket Units.65solo # [2621388.603722] solo systemd[1]: Reached target Basic System.66solo # [2621388.604856] solo systemd[1]: Starting Import lastlog data into lastlog2 database...67solo # [2621388.605862] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...68solo # [2621388.606818] solo systemd[1]: Starting resolvconf update...69solo # [2621388.618767] solo systemd[1]: Starting Tinc Daemon - mesh...70solo # [2621388.634826] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.71solo # [2621388.637250] solo systemd[1]: Started Tinc Daemon - mesh.72solo # [2621388.637552] solo systemd[1]: Finished Import lastlog data into lastlog2 database.73solo # [2621388.639218] solo systemd[1]: Started tinc-auth.service.74solo # [2621388.649668] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 075solo # [2621388.650182] solo tincd[189]: [INFO tincd] tincd starting, name=alpha76solo # [2621388.650213] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!77solo # [2621388.650445] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy78solo # [2621388.650722] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65579solo # [2621388.650824] solo tincd[189]: [INFO tincd::net] Listening on [::]:65580solo # [2621388.651110] solo tincd[189]: [INFO tincd] Ready81solo # [2621388.708132] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [2621388.708468] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [2621388.711133] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...84solo # [2621388.716389] solo systemd[1]: Finished resolvconf update.85solo # [2621388.719763] solo systemd[1]: Reached target Preparation for Network.86solo # [2621388.720985] solo systemd[1]: Starting Address configuration of eth1...87solo # [2621388.721924] solo systemd[1]: Starting Extra networking commands....88solo # [2621388.742586] solo network-addresses-eth1-start[244]: adding address 192.168.1.1/24... done89solo # [2621388.746051] solo network-addresses-eth1-start[244]: adding address 2001:db8:1::1/64... done90solo # [2621388.751090] solo systemd[1]: Finished Address configuration of eth1.91solo # [2621388.792363] solo systemd[1]: Finished Extra networking commands..92solo # [2621388.792567] solo systemd[1]: Reached target Network.93solo # [2621388.806223] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844394solo # [2621388.806639] solo tinc-auth[192]: tinc-auth: listening (net=mesh)95solo # [2621389.012115] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.96solo # [2621389.017259] solo systemd[1]: Finished Save Transient machine-id to Disk.97solo # [2621389.160336] solo nsncd[239]: Oct 11 21:21:37.447 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"98solo # [2621389.160468] solo systemd[1]: Started Name Service Cache Daemon (nsncd).99solo # [2621389.160554] solo systemd[1]: Reached target Host and Network Name Lookups.100solo # [2621389.160616] solo systemd[1]: Reached target User and Group Name Lookups.101solo # [2621389.193670] solo systemd[1]: Starting User Login Management...102solo # [2621389.194842] solo systemd[1]: Starting Permit User Sessions...103solo # [2621389.207115] solo systemd[1]: Finished Permit User Sessions.104solo # [2621389.208446] solo systemd[1]: Started Console Getty.105solo # [2621389.208473] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0106solo # [2621389.208487] solo systemd[1]: Reached target Login Prompts.107solo # [2621390.994447] solo systemd-logind[319]: New seat seat0.108solo # [2621390.994864] solo systemd[1]: Started User Login Management.109solo # [2621390.996961] solo systemd[1]: Starting D-Bus System Message Bus...110solo # [2621390.997797] solo systemd[1]: Starting linger-users.service...111solo # [2621391.037580] solo systemd[1]: linger-users.service: Deactivated successfully.112solo # [2621391.038050] solo systemd[1]: Finished linger-users.service.113solo # [2621391.038349] solo systemd[1]: Reached target Multi-User System.114solo: (finished: waiting for unit tinc.mesh.service, in 7.78 seconds)115solo: waiting for unit tinc-auth.service116solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)117solo: waiting for TCP port 8443 on localhost118Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!119solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)120solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration121solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.03 seconds)122solo: 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'123solo: (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)124solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=ucggX1WW8Nz7s0Ks63Mn8nO1UgC4v_oxVG_lKBKoW_A -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil125solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=ucggX1WW8Nz7s0Ks63Mn8nO1UgC4v_oxVG_lKBKoW_A -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)126solo: must succeed: curl -fsS -H 'Authorization: Bearer rfkNR5y-HncTPrEG9S3TGcE7tX9uKDXCpBESg_0wZJw' http://127.0.0.1:8443/userinfo127solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer rfkNR5y-HncTPrEG9S3TGcE7tX9uKDXCpBESg_0wZJw' http://127.0.0.1:8443/userinfo, in 0.01 seconds)128(finished: run the VM test script, in 7.88 seconds)129solo # [2621392.405387] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...130solo # [2621392.406493] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'131solo # [2621392.406493] 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"132solo # [2621392.407208] solo systemd[1]: Started D-Bus System Message Bus.133solo # [2621392.407533] solo systemd[1]: Startup finished in 6.862s.134solo # [2621392.412477] solo dbus-broker-launch[329]: Ready135test script finished in 8.80s136cleanup137kill NspawnMachine (pid 50)138Container solo terminated by signal KILL.139(finished: cleanup, in 0.26 seconds)140additionally exposed symbols:141 solo,142 vlan1,143 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