container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #71
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Initializing machine ID from random generator.5Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 solo,9 vlan1,10 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_ssh11start all VMs12solo: systemd-nspawn running (pid 51)13solo: Waiting for journal at /build/vm-state-solo/var/log/journal...14(finished: start all VMs, in 0.01 seconds)15solo: waiting for unit tinc.mesh.service16nixos-nspawn(solo): TAP vde-tap1 not found; container will be isolated from VDE17nixos-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.18Note: 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.19░ Spawning container solo on /build/vm-state-solo.20solo # No journal files were found.21solo # No journal boot entry found for the specified boot (+0).22solo # No journal files were found.23solo # No journal boot entry found for the specified boot (+0).24solo # [10886370.213883] solo systemd-journald[54]: Journal started25solo # [10886370.213966] solo systemd-journald[54]: Runtime Journal (/run/log/journal/65b5ebda64a14661982f110179fdce0f) is 8M, max 2.5G, 2.5G free.26solo # [10886370.226367] solo systemd[1]: Listening on Journal Log Access Socket.27solo # [10886370.228854] solo systemd[1]: Starting Flush Journal to Persistent Storage...28solo # [10886370.298221] solo systemd[1]: Finished Apply Kernel Variables.29solo # [10886370.329868] solo systemd-journald[54]: Time spent on flushing to /var/log/journal/65b5ebda64a14661982f110179fdce0f is 4.098ms for 5 entries.30solo # [10886370.329868] solo systemd-journald[54]: System Journal (/var/log/journal/65b5ebda64a14661982f110179fdce0f) is 512B, max 4G, 3.9G free.31solo # [10886370.342358] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.32solo # [10886370.359597] solo systemd[1]: Starting Create Static Device Nodes in /dev...33solo # [10886370.381575] solo systemd[1]: Finished Flush Journal to Persistent Storage.34solo # [10886370.411212] solo systemd[1]: Finished Create Static Device Nodes in /dev.35solo # [10886370.412591] solo systemd[1]: Reached target Preparation for Local File Systems.36solo # [10886370.412773] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys37solo # [10886371.298203] solo systemd[1]: Mounting /run/wrappers...38solo # [10886371.478508] solo systemd[1]: Mounted /run/wrappers.39solo # [10886371.479978] solo systemd[1]: Reached target Local File Systems.40solo # [10886371.481225] solo systemd[1]: Listening on Boot Loader Control Service Socket.41solo # [10886371.510685] solo systemd[1]: Starting Create SUID/SGID Wrappers...42solo # [10886371.510756] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container43solo # [10886371.524909] solo systemd[1]: Starting Save Transient machine-id to Disk...44solo # [10886371.565399] solo systemd[1]: Starting Create System Files and Directories...45solo # [10886371.632110] solo systemd-tmpfiles[142]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted46solo # [10886371.632365] solo systemd-tmpfiles[142]: fchmod() of /var/log/journal failed: Operation not permitted47solo # [10886371.632528] solo systemd-tmpfiles[142]: fchmod() of /var/log/journal/65b5ebda64a14661982f110179fdce0f failed: Operation not permitted48solo # [10886371.632749] solo systemd-tmpfiles[142]: fchmod() of /run/log/journal failed: Operation not permitted49solo # [10886371.687375] solo suid-sgid-wrappers-start[149]: chmod: changing permissions of '/run/wrappers/wrappers.JFXpkdzOR6/chsh': Operation not permitted50solo # [10886371.717901] solo systemd[1]: Finished Create System Files and Directories.51solo # [10886371.969226] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE52solo # [10886371.969362] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.53solo # [10886371.969979] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.54solo # [10886372.069648] solo systemd[1]: Starting Rebuild Journal Catalog...55solo # [10886372.097142] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...56solo # [10886372.128152] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.57solo # [10886372.356615] solo systemd[1]: Finished Firewall.58solo # [10886372.486625] solo systemd[1]: Finished Rebuild Journal Catalog.59solo # [10886372.647122] solo systemd[1]: Starting Update is Completed...60solo # [10886372.766773] solo systemd[1]: Finished Update is Completed.61solo # [10886372.782167] solo systemd[1]: Reached target System Initialization.62solo # [10886372.783392] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container63solo # [10886372.783469] solo systemd[1]: Started Daily Cleanup of Temporary Directories.64solo # [10886372.783503] solo systemd[1]: Reached target Timer Units.65solo # [10886372.783701] solo systemd[1]: Listening on D-Bus System Message Bus Socket.66solo # [10886372.783935] solo systemd[1]: Listening on Nix Daemon Socket.67solo # [10886372.799640] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.68solo # [10886372.799723] solo systemd[1]: Reached target Socket Units.69solo # [10886372.799803] solo systemd[1]: Reached target Basic System.70solo # [10886372.833203] solo systemd[1]: Starting Import lastlog data into lastlog2 database...71solo # [10886372.847682] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...72solo # [10886372.877195] solo systemd[1]: Starting resolvconf update...73solo # [10886372.890173] solo systemd[1]: Starting Tinc Daemon - mesh...74solo # [10886373.056982] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.75solo # [10886373.097243] solo systemd[1]: Finished Save Transient machine-id to Disk.76solo # [10886373.174056] solo systemd[1]: Finished Import lastlog data into lastlog2 database.77solo # [10886373.248033] solo tinc.mesh-pre-start[185]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.78solo # [10886373.258156] solo systemd[1]: Started Tinc Daemon - mesh.79solo # [10886373.262018] solo systemd[1]: Started tinc-auth.service.80solo # [10886373.422030] solo tincd[187]: [INFO tincd] tincd 0.1.0 starting, debug level 081solo # [10886373.422779] solo tincd[187]: [INFO tincd] tincd starting, name=alpha82solo # [10886373.422833] solo tincd[187]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!83solo # [10886373.425654] solo tincd[187]: [INFO tincd] Device mode: Tun, interface: dummy84solo # [10886373.425654] solo tincd[187]: [INFO tincd::net] Listening on 0.0.0.0:65585solo # [10886373.425654] solo tincd[187]: [INFO tincd::net] Listening on [::]:65586solo # [10886373.425654] solo tincd[187]: [INFO tincd] Ready87solo # [10886373.553389] solo tinc-auth[188]: tinc-auth: IdP listening on 127.0.0.1:844388solo # [10886373.553389] solo tinc-auth[188]: tinc-auth: listening (net=mesh)89solo # [10886374.295095] solo systemd[1]: Started Name Service Cache Daemon (nsncd).90solo # [10886374.302328] solo nsncd[175]: Aug 30 21:12:00.872 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"91solo # [10886374.295195] solo systemd[1]: Reached target Host and Network Name Lookups.92solo # [10886374.295253] solo systemd[1]: Reached target User and Group Name Lookups.93solo # [10886374.300151] solo systemd[1]: Starting User Login Management...94solo # [10886374.701611] solo systemd[1]: Stopped target Host and Network Name Lookups.95solo # [10886374.701705] solo systemd[1]: Stopping Host and Network Name Lookups...96solo # [10886374.701763] solo systemd[1]: Stopped target User and Group Name Lookups.97solo # [10886374.701797] solo systemd[1]: Stopping User and Group Name Lookups...98solo # [10886374.702024] solo systemd[1]: Stopping Name Service Cache Daemon (nsncd)...99solo # [10886374.906508] solo systemd[1]: nscd.service: Deactivated successfully.100solo # [10886374.913498] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).101solo # [10886375.226372] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...102solo # [10886375.695089] solo resolvconf-start[263]: setfacl: /run/resolvconf: Operation not supported103solo # [10886375.685285] solo systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE104solo # [10886375.697531] solo nsncd[257]: Aug 30 21:12:02.270 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"105solo # [10886375.685416] solo systemd[1]: resolvconf.service: Failed with result 'exit-code'.106solo # [10886375.687069] solo systemd[1]: Failed to start resolvconf update.107solo # [10886375.688252] solo systemd[1]: Reached target Preparation for Network.108solo # [10886375.705280] solo systemd[1]: Starting Address configuration of eth1...109solo # [10886375.734236] solo systemd[1]: Starting Extra networking commands....110solo # [10886375.734473] solo systemd[1]: Started Name Service Cache Daemon (nsncd).111solo # [10886375.734635] solo systemd[1]: Reached target Host and Network Name Lookups.112solo # [10886375.734702] solo systemd[1]: Reached target User and Group Name Lookups.113solo # [10886376.225829] solo network-addresses-eth1-start[265]: adding address 192.168.1.1/24... done114solo # [10886376.231429] solo network-addresses-eth1-start[265]: adding address 2001:db8:1::1/64... done115solo # [10886376.279191] solo systemd[1]: Finished Address configuration of eth1.116solo # [10886376.545548] solo systemd[1]: Finished Extra networking commands..117solo # [10886376.545675] solo systemd[1]: Reached target Network.118solo # [10886376.549213] solo systemd[1]: Starting Permit User Sessions...119solo # [10886376.819961] solo systemd[1]: Finished Permit User Sessions.120solo # [10886376.828980] solo systemd[1]: Started Console Getty.121solo # [10886376.829201] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0122solo # [10886376.829224] solo systemd[1]: Reached target Login Prompts.123solo # [10886377.853191] solo systemd-logind[231]: New seat seat0.124solo # [10886377.853392] solo systemd[1]: Starting D-Bus System Message Bus...125solo # [10886377.853514] solo systemd[1]: Started User Login Management.126solo # [10886377.874371] solo systemd[1]: Starting linger-users.service...127solo: still waiting for container 'solo' to reach ready state...128solo # [10886378.163435] solo systemd[1]: linger-users.service: Deactivated successfully.129solo # [10886378.163744] solo systemd[1]: Finished linger-users.service.130solo # [10886378.163983] solo systemd[1]: Reached target Multi-User System.131solo # [10886379.496024] solo dbus-broker-launch[336]: Looking up NSS user entry for 'systemd-timesync'...132solo # [10886379.544021] solo dbus-broker-launch[336]: NSS returned no entry for 'systemd-timesync'133solo # [10886379.544021] solo dbus-broker-launch[336]: Invalid user-name in /nix/store/m3nbj2hjbwvb8z3ggp44ng6v8b2v5si6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"134solo # [10886379.544837] solo systemd[1]: Started D-Bus System Message Bus.135solo # [10886379.633903] solo dbus-broker-launch[336]: Ready136solo # [10886379.640669] solo systemd[1]: Startup finished in 10.101s.137solo: (finished: waiting for unit tinc.mesh.service, in 12.31 seconds)138solo: waiting for unit tinc-auth.service139solo: (finished: waiting for unit tinc-auth.service, in 0.10 seconds)140solo: waiting for TCP port 8443 on localhost141Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!142solo: (finished: waiting for TCP port 8443 on localhost, in 0.20 seconds)143solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration144solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.17 seconds)145solo: 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'146solo: (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.23 seconds)147solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=sJZAVIigJtP-_eYUXTtWyet1Y4_XLQkZZkqWKvm4SAo -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil148solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=sJZAVIigJtP-_eYUXTtWyet1Y4_XLQkZZkqWKvm4SAo -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.05 seconds)149solo: must succeed: curl -fsS -H 'Authorization: Bearer 9YiCr2D25ag3jJIbmthrFH_xk4bx5XNZZSG63BtA3MM' http://127.0.0.1:8443/userinfo150solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 9YiCr2D25ag3jJIbmthrFH_xk4bx5XNZZSG63BtA3MM' http://127.0.0.1:8443/userinfo, in 0.02 seconds)151(finished: run the VM test script, in 13.10 seconds)152test script finished in 14.85s153cleanup154kill NspawnMachine (pid 51)155Container solo terminated by signal KILL.156(finished: cleanup, in 0.33 seconds)