container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #108
· 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 # No journal boot entry found for the specified boot (+0).18solo # [ 9469.548857] solo systemd-journald[57]: Journal started19solo # [ 9469.548903] solo systemd-journald[57]: Runtime Journal (/run/log/journal/1c22d8ff842f4ca2b61fcdd6fea23e41) is 8M, max 4G, 3.9G free.20solo # [ 9469.579719] solo systemd[1]: Finished Apply Kernel Variables.21solo # [ 9469.593208] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22solo # [ 9469.605335] solo systemd[1]: Starting Flush Journal to Persistent Storage...23solo # [ 9469.606364] solo systemd[1]: Starting Create Static Device Nodes in /dev...24solo # [ 9469.641864] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/1c22d8ff842f4ca2b61fcdd6fea23e41 is 2.446ms for 6 entries.25solo # [ 9469.641864] solo systemd-journald[57]: System Journal (/var/log/journal/1c22d8ff842f4ca2b61fcdd6fea23e41) is 512B, max 4G, 3.9G free.26solo # [ 9469.647834] solo systemd[1]: Finished Create Static Device Nodes in /dev.27solo # [ 9469.648552] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [ 9469.648680] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [ 9469.683937] solo systemd[1]: Finished Flush Journal to Persistent Storage.30solo # [ 9469.713762] solo systemd[1]: Finished Firewall.31solo # [ 9470.573148] solo systemd[1]: Mounting /run/wrappers...32solo # [ 9470.611710] solo systemd[1]: Mounted /run/wrappers.33solo # [ 9470.615801] solo systemd[1]: Reached target Local File Systems.34solo # [ 9470.617132] solo systemd[1]: Listening on Boot Loader Control Service Socket.35solo # [ 9470.618527] solo systemd[1]: Starting Create SUID/SGID Wrappers...36solo # [ 9470.618573] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37solo # [ 9470.620066] solo systemd[1]: Starting Save Transient machine-id to Disk...38solo # [ 9470.621175] solo systemd[1]: Starting Create System Files and Directories...39solo # [ 9470.640261] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [ 9470.640691] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [ 9470.641124] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/1c22d8ff842f4ca2b61fcdd6fea23e41 failed: Operation not permitted42solo # [ 9470.641496] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [ 9470.643858] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.IcGTHHwMar/chsh': Operation not permitted44solo # [ 9470.648520] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45solo # [ 9470.648618] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46solo # [ 9470.649478] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.47solo # [ 9470.649951] solo systemd[1]: Finished Create System Files and Directories.48solo # [ 9470.669733] solo systemd[1]: Starting Rebuild Journal Catalog...49solo # [ 9470.670504] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...50solo # [ 9470.682632] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.51solo # [ 9470.689881] solo systemd[1]: Finished Rebuild Journal Catalog.52solo # [ 9470.690969] solo systemd[1]: Starting Update is Completed...53solo # [ 9470.702387] solo systemd[1]: Finished Update is Completed.54solo # [ 9470.702491] solo systemd[1]: Reached target System Initialization.55solo # [ 9470.702571] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container56solo # [ 9470.702619] solo systemd[1]: Started Daily Cleanup of Temporary Directories.57solo # [ 9470.702637] solo systemd[1]: Reached target Timer Units.58solo # [ 9470.702740] solo systemd[1]: Listening on D-Bus System Message Bus Socket.59solo # [ 9470.702925] solo systemd[1]: Listening on Nix Daemon Socket.60solo # [ 9470.703033] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.61solo # [ 9470.703046] solo systemd[1]: Reached target Socket Units.62solo # [ 9470.703074] solo systemd[1]: Reached target Basic System.63solo # [ 9470.704376] solo systemd[1]: Starting Import lastlog data into lastlog2 database...64solo # [ 9470.705797] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...65solo # [ 9470.706651] solo systemd[1]: Starting resolvconf update...66solo # [ 9470.707328] solo systemd[1]: Starting Tinc Daemon - mesh...67solo # [ 9470.724283] solo systemd[1]: Finished Import lastlog data into lastlog2 database.68solo # [ 9470.725415] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [ 9470.727322] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [ 9470.728134] solo systemd[1]: Started tinc-auth.service.71solo # [ 9470.736778] solo tincd[192]: [INFO tincd] tincd 0.1.0 starting, debug level 072solo # [ 9470.737030] solo tincd[192]: [INFO tincd] tincd starting, name=alpha73solo # [ 9470.737030] solo tincd[192]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!74solo # [ 9470.737030] solo tincd[192]: [INFO tincd] Device mode: Tun, interface: dummy75solo # [ 9470.737083] solo tincd[192]: [INFO tincd::net] Listening on 0.0.0.0:65576solo # [ 9470.737120] solo tincd[192]: [INFO tincd::net] Listening on [::]:65577solo # [ 9470.737213] solo tincd[192]: [INFO tincd] Ready78solo # [ 9470.771277] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.79solo # [ 9470.772975] solo systemd[1]: Finished Save Transient machine-id to Disk.80solo # [ 9470.792614] solo systemd[1]: nscd.service: Deactivated successfully.81solo # [ 9470.792772] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).82solo # [ 9470.795488] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...83solo # [ 9470.810763] solo systemd[1]: Finished resolvconf update.84solo # [ 9470.810915] solo systemd[1]: Reached target Preparation for Network.85solo # [ 9470.812028] solo systemd[1]: Starting Address configuration of eth1...86solo # [ 9470.813016] solo systemd[1]: Starting Extra networking commands....87solo # [ 9470.815938] solo tinc-auth[193]: tinc-auth: IdP listening on 127.0.0.1:844388solo # [ 9470.816322] solo tinc-auth[193]: tinc-auth: listening (net=mesh)89solo # [ 9470.831154] solo network-addresses-eth1-start[245]: adding address 192.168.1.1/24... done90solo # [ 9470.834011] solo network-addresses-eth1-start[245]: adding address 2001:db8:1::1/64... done91solo # [ 9470.838935] solo systemd[1]: Finished Address configuration of eth1.92solo # [ 9470.887159] solo systemd[1]: Finished Extra networking commands..93solo # [ 9470.887337] solo systemd[1]: Reached target Network.94solo # [ 9471.028162] solo nsncd[236]: Sep 06 09:42:28.989 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95solo # [ 9471.028261] solo systemd[1]: Started Name Service Cache Daemon (nsncd).96solo # [ 9471.028353] solo systemd[1]: Reached target Host and Network Name Lookups.97solo # [ 9471.028458] solo systemd[1]: Reached target User and Group Name Lookups.98solo # [ 9471.030980] solo systemd[1]: Starting User Login Management...99solo # [ 9471.032488] solo systemd[1]: Starting Permit User Sessions...100solo # [ 9471.044264] solo systemd[1]: Finished Permit User Sessions.101solo # [ 9471.046171] solo systemd[1]: Started Console Getty.102solo # [ 9471.046224] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0103solo # [ 9471.046252] solo systemd[1]: Reached target Login Prompts.104solo # [ 9472.123950] solo systemd-logind[319]: New seat seat0.105solo # [ 9472.124427] solo systemd[1]: Started User Login Management.106solo # [ 9472.144299] solo systemd[1]: Starting D-Bus System Message Bus...107solo # [ 9472.145779] solo systemd[1]: Starting linger-users.service...108solo # [ 9472.172933] solo systemd[1]: linger-users.service: Deactivated successfully.109solo # [ 9472.173245] solo systemd[1]: Finished linger-users.service.110solo # [ 9472.173582] solo systemd[1]: Reached target Multi-User System.111solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)112solo: waiting for unit tinc-auth.service113solo: (finished: waiting for unit tinc-auth.service, in 0.01 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.02 seconds)121solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=fMumb27EEuWkAFAUGslth8TdDzy4Yz1GqEYdcY6Vpik -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=fMumb27EEuWkAFAUGslth8TdDzy4Yz1GqEYdcY6Vpik -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 tgnkTIEhOvFpdZeY7leoGKl2EYPwIJsGzYJ-vh6Nhh4' http://127.0.0.1:8443/userinfo124solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer tgnkTIEhOvFpdZeY7leoGKl2EYPwIJsGzYJ-vh6Nhh4' http://127.0.0.1:8443/userinfo, in 0.01 seconds)125(finished: run the VM test script, in 4.24 seconds)126solo # [ 9472.687912] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...127solo # [ 9472.689405] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'128solo # [ 9472.689405] 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"129solo # [ 9472.690480] solo systemd[1]: Started D-Bus System Message Bus.130solo # [ 9472.690912] solo systemd[1]: Startup finished in 3.569s.131solo # [ 9472.695563] solo dbus-broker-launch[329]: Ready132test script finished in 4.40s133cleanup134kill NspawnMachine (pid 50)135Container solo terminated by signal KILL.136(finished: cleanup, in 0.22 seconds)137additionally exposed symbols:138 solo,139 vlan1,140 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