nixbot

builds

succeeded container-test-run-tinc-auth-container checks.x86_64-linux.nixos-tinc-auth-container · build #120 · 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 files were found.18solo # No journal boot entry found for the specified boot (+0).19solo # [19860.817070] solo systemd-journald[57]: Journal started20solo # [19860.817112] solo systemd-journald[57]: Runtime Journal (/run/log/journal/31d68d2a18d54682b9b0c8d324e3d412) is 8M, max 4G, 3.9G free.21solo # [19860.827197] solo systemd[1]: Finished Apply Kernel Variables.22solo # [19860.845082] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23solo # [19860.859087] solo systemd[1]: Starting Flush Journal to Persistent Storage...24solo # [19860.859859] solo systemd[1]: Starting Create Static Device Nodes in /dev...25solo # [19860.867800] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/31d68d2a18d54682b9b0c8d324e3d412 is 2.785ms for 6 entries.26solo # [19860.867800] solo systemd-journald[57]: System Journal (/var/log/journal/31d68d2a18d54682b9b0c8d324e3d412) is 512B, max 4G, 3.9G free.27solo # [19860.882687] solo systemd[1]: Finished Create Static Device Nodes in /dev.28solo # [19860.883503] solo systemd[1]: Reached target Preparation for Local File Systems.29solo # [19860.883622] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30solo # [19860.897173] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [19861.056364] solo systemd[1]: Finished Firewall.32solo # [19861.837799] solo systemd[1]: Mounting /run/wrappers...33solo # [19861.873905] solo systemd[1]: Mounted /run/wrappers.34solo # [19861.875151] solo systemd[1]: Reached target Local File Systems.35solo # [19861.876507] solo systemd[1]: Listening on Boot Loader Control Service Socket.36solo # [19861.878250] solo systemd[1]: Starting Create SUID/SGID Wrappers...37solo # [19861.878297] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38solo # [19861.879623] solo systemd[1]: Starting Save Transient machine-id to Disk...39solo # [19861.880950] solo systemd[1]: Starting Create System Files and Directories...40solo # [19861.899251] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41solo # [19861.899663] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42solo # [19861.899979] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/31d68d2a18d54682b9b0c8d324e3d412 failed: Operation not permitted43solo # [19861.900343] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44solo # [19861.903383] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.fAZM6w95Up/chsh': Operation not permitted45solo # [19861.903993] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46solo # [19861.904094] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47solo # [19861.904240] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.48solo # [19861.904650] solo systemd[1]: Finished Create System Files and Directories.49solo # [19861.917636] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [19861.918399] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [19861.931806] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.52solo # [19861.938387] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [19861.939626] solo systemd[1]: Starting Update is Completed...54solo # [19861.949599] solo systemd[1]: Finished Update is Completed.55solo # [19861.949730] solo systemd[1]: Reached target System Initialization.56solo # [19861.953654] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [19861.953682] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [19861.953698] solo systemd[1]: Reached target Timer Units.59solo # [19861.953795] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [19861.953968] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [19861.954070] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [19861.954085] solo systemd[1]: Reached target Socket Units.63solo # [19861.954112] solo systemd[1]: Reached target Basic System.64solo # [19861.955460] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [19861.956559] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [19861.959611] solo systemd[1]: Starting resolvconf update...67solo # [19861.963427] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [19861.979815] solo tinc.mesh-pre-start[185]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [19861.996993] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.70solo # [19862.000563] solo systemd[1]: Finished Save Transient machine-id to Disk.71solo # [19862.002044] solo systemd[1]: Started Tinc Daemon - mesh.72solo # [19862.005023] solo systemd[1]: Started tinc-auth.service.73solo # [19862.010887] solo systemd[1]: Finished Import lastlog data into lastlog2 database.74solo # [19862.013127] solo tincd[207]: [INFO tincd] tincd 0.1.0 starting, debug level 075solo # [19862.013676] solo tincd[207]: [INFO tincd] tincd starting, name=alpha76solo # [19862.013676] solo tincd[207]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!77solo # [19862.013676] solo tincd[207]: [INFO tincd] Device mode: Tun, interface: dummy78solo # [19862.013676] solo tincd[207]: [INFO tincd::net] Listening on 0.0.0.0:65579solo # [19862.013676] solo tincd[207]: [INFO tincd::net] Listening on [::]:65580solo # [19862.013676] solo tincd[207]: [INFO tincd] Ready81solo # [19862.033651] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [19862.033868] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [19862.036516] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...84solo # [19862.049404] solo systemd[1]: Finished resolvconf update.85solo # [19862.049509] solo systemd[1]: Reached target Preparation for Network.86solo # [19862.050582] solo systemd[1]: Starting Address configuration of eth1...87solo # [19862.051531] solo systemd[1]: Starting Extra networking commands....88solo # [19862.066692] solo tinc-auth[214]: tinc-auth: IdP listening on 127.0.0.1:844389solo # [19862.067095] solo tinc-auth[214]: tinc-auth: listening (net=mesh)90solo # [19862.071080] solo network-addresses-eth1-start[245]: adding address 192.168.1.1/24... done91solo # [19862.073472] solo network-addresses-eth1-start[245]: adding address 2001:db8:1::1/64... done92solo # [19862.077874] solo systemd[1]: Finished Address configuration of eth1.93solo # [19862.135178] solo systemd[1]: Finished Extra networking commands..94solo # [19862.135343] solo systemd[1]: Reached target Network.95solo # [19862.281942] solo nsncd[239]: Sep 06 12:35:40.243 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [19862.281991] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [19862.282155] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [19862.282250] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [19862.285123] solo systemd[1]: Starting User Login Management...100solo # [19862.286909] solo systemd[1]: Starting Permit User Sessions...101solo # [19862.300636] solo systemd[1]: Finished Permit User Sessions.102solo # [19862.301737] solo systemd[1]: Started Console Getty.103solo # [19862.301764] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [19862.301777] solo systemd[1]: Reached target Login Prompts.105solo # [19863.707497] solo systemd-logind[319]: New seat seat0.106solo # [19863.707951] solo systemd[1]: Started User Login Management.107solo # [19863.710175] solo systemd[1]: Starting D-Bus System Message Bus...108solo # [19863.711808] solo systemd[1]: Starting linger-users.service...109solo # [19863.724369] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [19863.724732] solo systemd[1]: Finished linger-users.service.111solo # [19863.725105] solo systemd[1]: Reached target Multi-User System.112solo # [19864.113309] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...113solo # [19864.114420] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'114solo # [19864.114420] 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"115solo # [19864.115620] solo systemd[1]: Started D-Bus System Message Bus.116solo # [19864.116083] solo systemd[1]: Startup finished in 3.755s.117solo # [19864.121495] solo dbus-broker-launch[329]: Ready118solo: (finished: waiting for unit tinc.mesh.service, in 4.66 seconds)119solo: waiting for unit tinc-auth.service120solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)121solo: waiting for TCP port 8443 on localhost122Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!123solo: (finished: waiting for TCP port 8443 on localhost, in 0.04 seconds)124solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration125solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)126solo: 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'127solo: (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.03 seconds)128solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=U_Y4vjoqGa9vp13uxgVaJTFdVKMvlIgLYnvxyJCoths -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil129solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=U_Y4vjoqGa9vp13uxgVaJTFdVKMvlIgLYnvxyJCoths -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)130solo: must succeed: curl -fsS -H 'Authorization: Bearer LEXS7uS17jaA78klaQCsDqbb3j6inVaV-RseZVBxFPE' http://127.0.0.1:8443/userinfo131solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer LEXS7uS17jaA78klaQCsDqbb3j6inVaV-RseZVBxFPE' http://127.0.0.1:8443/userinfo, in 0.01 seconds)132(finished: run the VM test script, in 4.81 seconds)133test script finished in 4.83s134cleanup135kill NspawnMachine (pid 50)136(finished: cleanup, in 0.16 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_ssh141Container solo terminated by signal KILL.