nixbot

builds

succeeded container-test-run-tinc-auth-container checks.x86_64-linux.nixos-tinc-auth-container · build #75 · raw

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.02 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.09 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 # No journal files were found.25solo # No journal boot entry found for the specified boot (+0).26solo # No journal files were found.27solo # No journal boot entry found for the specified boot (+0).28solo # No journal files were found.29solo # No journal boot entry found for the specified boot (+0).30solo # [10887185.194054] solo systemd-journald[54]: Journal started31solo # [10887185.194139] solo systemd-journald[54]: Runtime Journal (/run/log/journal/155c200e38bf4995846b9892ab62f55f) is 8M, max 2.5G, 2.5G free.32solo # [10887185.203157] solo systemd[1]: Starting Flush Journal to Persistent Storage...33solo # [10887185.262574] solo systemd-journald[54]: Time spent on flushing to /var/log/journal/155c200e38bf4995846b9892ab62f55f is 84.403ms for 3 entries.34solo # [10887185.262574] solo systemd-journald[54]: System Journal (/var/log/journal/155c200e38bf4995846b9892ab62f55f) is 4.5K, max 4G, 3.9G free.35solo # [10887185.281228] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.36solo # [10887186.038922] solo systemd[1]: Starting Create Static Device Nodes in /dev...37solo # [10887186.100617] solo systemd[1]: Finished Flush Journal to Persistent Storage.38solo # [10887186.133423] solo systemd[1]: Finished Create Static Device Nodes in /dev.39solo # [10887186.165227] solo systemd[1]: Reached target Preparation for Local File Systems.40solo # [10887186.176208] solo systemd[1]: Mounting /run/wrappers...41solo # [10887186.176276] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys42solo # [10887186.624126] solo systemd[1]: Mounted /run/wrappers.43solo # [10887186.625689] solo systemd[1]: Reached target Local File Systems.44solo # [10887186.627555] solo systemd[1]: Listening on Boot Loader Control Service Socket.45solo # [10887186.634958] solo systemd[1]: Starting Create SUID/SGID Wrappers...46solo # [10887186.635042] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container47solo # [10887186.711355] solo systemd[1]: Starting Save Transient machine-id to Disk...48solo # [10887186.750237] solo systemd[1]: Starting Create System Files and Directories...49solo # [10887187.029128] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE50solo # [10887187.094785] solo suid-sgid-wrappers-start[100]: chmod: changing permissions of '/run/wrappers/wrappers.hzA7UrJNbY/chsh': Operation not permitted51solo # [10887187.029259] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.52solo # [10887187.059354] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.53solo # [10887187.061050] solo systemd-tmpfiles[88]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted54solo # [10887187.061358] solo systemd-tmpfiles[88]: fchmod() of /var/log/journal failed: Operation not permitted55solo # [10887187.061550] solo systemd-tmpfiles[88]: fchmod() of /var/log/journal/155c200e38bf4995846b9892ab62f55f failed: Operation not permitted56solo # [10887187.061797] solo systemd-tmpfiles[88]: fchmod() of /run/log/journal failed: Operation not permitted57solo # [10887187.167211] solo systemd[1]: Finished Create System Files and Directories.58solo # [10887187.315239] solo systemd[1]: Starting Rebuild Journal Catalog...59solo # [10887187.483031] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...60solo # [10887187.670536] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.61solo # [10887187.921768] solo systemd[1]: Finished Rebuild Journal Catalog.62solo # [10887187.940214] solo systemd[1]: Starting Update is Completed...63solo # [10887188.155634] solo systemd[1]: Finished Update is Completed.64solo # [10887188.155830] solo systemd[1]: Reached target System Initialization.65solo # [10887188.155961] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container66solo # [10887188.156043] solo systemd[1]: Started Daily Cleanup of Temporary Directories.67solo # [10887188.156079] solo systemd[1]: Reached target Timer Units.68solo # [10887188.156250] solo systemd[1]: Listening on D-Bus System Message Bus Socket.69solo # [10887188.156497] solo systemd[1]: Listening on Nix Daemon Socket.70solo # [10887188.156642] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.71solo # [10887188.156682] solo systemd[1]: Reached target Socket Units.72solo # [10887188.156733] solo systemd[1]: Reached target Basic System.73solo # [10887188.162696] solo systemd[1]: Starting Import lastlog data into lastlog2 database...74solo # [10887188.168805] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...75solo # [10887188.184274] solo systemd[1]: Starting resolvconf update...76solo # [10887188.410213] solo systemd[1]: Starting Tinc Daemon - mesh...77solo # [10887188.520480] solo tinc.mesh-pre-start[166]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.78solo # [10887188.532488] solo systemd[1]: Started Tinc Daemon - mesh.79solo # [10887188.586914] solo systemd[1]: Started tinc-auth.service.80solo # [10887188.646111] solo systemd[1]: Finished Import lastlog data into lastlog2 database.81solo # [10887188.737616] solo tinc-auth[173]: tinc-auth: refusing to serve the IdP: cannot verify 127.0.0.1 against tincd: Could not open pid file /run/tinc.mesh.pid: No such file or directory (os error 2)82solo # [10887188.777214] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.83solo: still waiting for container 'solo' to reach ready state...84solo # [10887188.810390] solo tincd[168]: [INFO tincd] tincd 0.1.0 starting, debug level 085solo # [10887188.819018] solo tincd[168]: [INFO tincd] tincd starting, name=alpha86solo # [10887188.819324] solo tincd[168]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!87solo # [10887188.819536] solo tincd[168]: [INFO tincd] Device mode: Tun, interface: dummy88solo # [10887188.827015] solo tincd[168]: [INFO tincd::net] Listening on 0.0.0.0:65589solo # [10887188.827015] solo tincd[168]: [INFO tincd::net] Listening on [::]:65590solo # [10887188.829684] solo systemd[1]: tinc-auth.service: Main process exited, code=exited, status=1/FAILURE91solo # [10887188.830358] solo tincd[168]: [INFO tincd] Ready92solo # [10887188.829840] solo systemd[1]: tinc-auth.service: Failed with result 'exit-code'.93solo # [10887188.837843] solo systemd[1]: Finished Save Transient machine-id to Disk.94solo # [10887189.066219] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [10887189.069310] solo nsncd[147]: Aug 30 21:25:35.639 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [10887189.066316] solo systemd[1]: Reached target Host and Network Name Lookups.97solo # [10887189.066392] solo systemd[1]: Reached target User and Group Name Lookups.98solo # [10887189.087318] solo systemd[1]: Starting User Login Management...99solo # [10887189.202295] solo systemd[1]: Finished Firewall.100solo # [10887189.375596] solo systemd[1]: Stopped target Host and Network Name Lookups.101solo # [10887189.375688] solo systemd[1]: Stopping Host and Network Name Lookups...102solo # [10887189.375740] solo systemd[1]: Stopped target User and Group Name Lookups.103solo # [10887189.375775] solo systemd[1]: Stopping User and Group Name Lookups...104solo # [10887189.375995] solo systemd[1]: Stopping Name Service Cache Daemon (nsncd)...105solo # [10887189.423038] solo systemd[1]: nscd.service: Deactivated successfully.106solo # [10887189.438329] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).107solo # [10887189.456236] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...108solo # [10887189.550267] solo resolvconf-start[258]: setfacl: /run/resolvconf: Operation not supported109solo # [10887189.552900] solo systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE110solo # [10887189.553082] solo systemd[1]: resolvconf.service: Failed with result 'exit-code'.111solo # [10887189.553475] solo systemd[1]: Failed to start resolvconf update.112solo # [10887189.553636] solo systemd[1]: Reached target Preparation for Network.113solo # [10887189.556097] solo systemd[1]: Starting Address configuration of eth1...114solo # [10887189.561218] solo systemd[1]: Starting Extra networking commands....115solo # [10887189.787122] solo network-addresses-eth1-start[260]: adding address 192.168.1.1/24... done116solo # [10887189.858917] solo systemd[1]: tinc-auth.service: Scheduled restart job, restart counter is at 1.117solo # [10887189.901933] solo systemd[1]: Started tinc-auth.service.118solo # [10887190.018144] solo tinc-auth[274]: tinc-auth: IdP listening on 127.0.0.1:8443119solo # [10887190.018695] solo tinc-auth[274]: tinc-auth: listening (net=mesh)120solo # [10887190.264876] solo network-addresses-eth1-start[260]: adding address 2001:db8:1::1/64... done121solo # [10887190.271702] solo systemd[1]: Finished Address configuration of eth1.122solo # [10887190.286173] solo systemd[1]: Started Name Service Cache Daemon (nsncd).123solo # [10887190.286272] solo systemd[1]: Reached target Host and Network Name Lookups.124solo # [10887190.286338] solo systemd[1]: Reached target User and Group Name Lookups.125solo # [10887190.295697] solo nsncd[246]: Aug 30 21:25:36.862 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"126solo # [10887191.311137] solo systemd[1]: Finished Extra networking commands..127solo # [10887191.311994] solo systemd[1]: Reached target Network.128solo # [10887191.319653] solo systemd[1]: Starting Permit User Sessions...129solo # [10887191.481746] solo systemd[1]: Finished Permit User Sessions.130solo # [10887191.595613] solo systemd[1]: Started Console Getty.131solo # [10887191.595720] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0132solo # [10887191.595751] solo systemd[1]: Reached target Login Prompts.133solo: still waiting for container 'solo' to reach ready state...134solo # [10887199.495722] solo systemd-logind[209]: New seat seat0.135solo # [10887199.495983] solo systemd[1]: Started User Login Management.136solo # [10887199.552215] solo systemd[1]: Starting D-Bus System Message Bus...137solo # [10887199.555497] solo systemd[1]: Starting linger-users.service...138solo # [10887199.764862] solo systemd[1]: linger-users.service: Deactivated successfully.139solo # [10887199.788545] solo systemd[1]: Finished linger-users.service.140solo # [10887199.788887] solo systemd[1]: Reached target Multi-User System.141solo # [10887202.182057] solo dbus-broker-launch[338]: Looking up NSS user entry for 'systemd-timesync'...142solo # [10887202.190037] solo dbus-broker-launch[338]: NSS returned no entry for 'systemd-timesync'143solo # [10887202.190037] solo dbus-broker-launch[338]: Invalid user-name in /nix/store/m3nbj2hjbwvb8z3ggp44ng6v8b2v5si6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"144solo # [10887202.192750] solo systemd[1]: Started D-Bus System Message Bus.145solo # [10887202.272512] solo dbus-broker-launch[338]: Ready146solo # [10887202.293975] solo systemd[1]: Startup finished in 19.947s.147solo: (finished: waiting for unit tinc.mesh.service, in 24.03 seconds)148solo: waiting for unit tinc-auth.service149solo: (finished: waiting for unit tinc-auth.service, in 0.07 seconds)150solo: waiting for TCP port 8443 on localhost151Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!152solo: (finished: waiting for TCP port 8443 on localhost, in 0.09 seconds)153solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration154solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.17 seconds)155solo: 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'156solo: (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.05 seconds)157solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=T8M9W1Sam5jH1nv1BlmcEpKxTE5wkxR8QFJxtiFPNeQ -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil158solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=T8M9W1Sam5jH1nv1BlmcEpKxTE5wkxR8QFJxtiFPNeQ -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.07 seconds)159solo: must succeed: curl -fsS -H 'Authorization: Bearer A1xwxlE2-1Ce9JGHOvG01JBEs4uuT5kVpuHXX6xaE7o' http://127.0.0.1:8443/userinfo160solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer A1xwxlE2-1Ce9JGHOvG01JBEs4uuT5kVpuHXX6xaE7o' http://127.0.0.1:8443/userinfo, in 0.35 seconds)161(finished: run the VM test script, in 24.93 seconds)162test script finished in 26.94s163cleanup164kill NspawnMachine (pid 51)165Container solo terminated by signal KILL.166(finished: cleanup, in 0.32 seconds)