nixbot

builds

succeeded container-test-run-tinc-auth-container checks.x86_64-linux.nixos-tinc-auth-container · build #89 · 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 # [83943.611733] solo systemd-journald[57]: Journal started18solo # [83943.611777] solo systemd-journald[57]: Runtime Journal (/run/log/journal/06490124ae364ef2b54f8b0a94349b20) is 8M, max 4G, 3.9G free.19solo # [83943.620882] solo systemd[1]: Finished Apply Kernel Variables.20solo # [83943.641072] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [83943.655155] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [83943.655872] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [83943.665194] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/06490124ae364ef2b54f8b0a94349b20 is 3.264ms for 6 entries.24solo # [83943.665194] solo systemd-journald[57]: System Journal (/var/log/journal/06490124ae364ef2b54f8b0a94349b20) is 512B, max 4G, 3.9G free.25solo # [83943.674155] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [83943.674922] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [83943.675045] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [83943.693887] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [83943.815728] solo systemd[1]: Finished Firewall.30solo # [83944.608911] solo systemd[1]: Mounting /run/wrappers...31solo # [83944.642104] solo systemd[1]: Mounted /run/wrappers.32solo # [83944.643301] solo systemd[1]: Reached target Local File Systems.33solo # [83944.644638] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [83944.646311] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [83944.646342] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [83944.647389] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [83944.648266] solo systemd[1]: Starting Create System Files and Directories...38solo # [83944.668781] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [83944.669239] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [83944.669646] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/06490124ae364ef2b54f8b0a94349b20 failed: Operation not permitted41solo # [83944.670045] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [83944.675533] solo suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.Vmct1BHRiH/chsh': Operation not permitted43solo # [83944.675661] solo systemd[1]: Finished Create System Files and Directories.44solo # [83944.688729] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45solo # [83944.688843] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46solo # [83944.689072] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.47solo # [83944.693842] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [83944.695070] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [83944.709117] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [83944.717180] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [83944.718443] solo systemd[1]: Starting Update is Completed...52solo # [83944.729742] solo systemd[1]: Finished Update is Completed.53solo # [83944.729907] solo systemd[1]: Reached target System Initialization.54solo # [83944.730197] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [83944.730228] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [83944.730246] solo systemd[1]: Reached target Timer Units.57solo # [83944.730380] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [83944.730558] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [83944.730663] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [83944.730679] solo systemd[1]: Reached target Socket Units.61solo # [83944.730711] solo systemd[1]: Reached target Basic System.62solo # [83944.732143] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [83944.734558] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [83944.735374] solo systemd[1]: Starting resolvconf update...65solo # [83944.736152] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [83944.754712] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.67solo # [83944.754902] solo systemd[1]: Finished Import lastlog data into lastlog2 database.68solo # [83944.764181] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [83944.765325] solo systemd[1]: Started tinc-auth.service.70solo # [83944.774138] solo tincd[191]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [83944.774766] solo tincd[191]: [INFO tincd] tincd starting, name=alpha72solo # [83944.774766] solo tincd[191]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [83944.774766] solo tincd[191]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [83944.774900] solo tincd[191]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [83944.774968] solo tincd[191]: [INFO tincd::net] Listening on [::]:65576solo # [83944.775183] solo tincd[191]: [INFO tincd] Ready77solo # [83944.827812] solo systemd[1]: Finished resolvconf update.78solo # [83944.828642] solo systemd[1]: Reached target Preparation for Network.79solo # [83944.829957] solo systemd[1]: Starting Address configuration of eth1...80solo # [83944.831048] solo systemd[1]: Starting Extra networking commands....81solo # [83944.860816] solo network-addresses-eth1-start[239]: adding address 192.168.1.1/24... done82solo # [83944.866801] solo network-addresses-eth1-start[239]: adding address 2001:db8:1::1/64... done83solo # [83944.883902] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844384solo # [83944.884528] solo tinc-auth[192]: tinc-auth: listening (net=mesh)85solo # [83944.889016] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.86solo # [83944.892458] solo systemd[1]: Finished Save Transient machine-id to Disk.87solo # [83944.892833] solo systemd[1]: nscd.service: Deactivated successfully.88solo # [83944.893135] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).89solo # [83944.895588] solo systemd[1]: Finished Address configuration of eth1.90solo # [83944.904021] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...91solo # [83944.921931] solo systemd[1]: Finished Extra networking commands..92solo # [83944.922040] solo systemd[1]: Reached target Network.93solo # [83945.092363] solo nsncd[296]: Sep 06 05:58:26.221 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [83945.092377] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [83945.092438] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [83945.092497] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [83945.094611] solo systemd[1]: Starting User Login Management...98solo # [83945.096081] solo systemd[1]: Starting Permit User Sessions...99solo # [83945.108437] solo systemd[1]: Finished Permit User Sessions.100solo # [83945.110270] solo systemd[1]: Started Console Getty.101solo # [83945.110300] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [83945.110317] solo systemd[1]: Reached target Login Prompts.103solo # [83946.389343] solo systemd-logind[319]: New seat seat0.104solo # [83946.393988] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [83946.394079] solo systemd[1]: Started User Login Management.106solo # [83946.395112] solo systemd[1]: Starting linger-users.service...107solo # [83946.452582] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [83946.453037] solo systemd[1]: Finished linger-users.service.109solo # [83946.453435] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 4.16 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)113solo: waiting for TCP port 8443 on localhost114Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!115solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)116solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration117solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)118solo: 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'119solo: (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.01 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=UdRrzKMQmNb5BIxYBIB5uHIjU0iA-hl25Fn-sEYzgRA -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil121solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=UdRrzKMQmNb5BIxYBIB5uHIjU0iA-hl25Fn-sEYzgRA -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer gWIkIed4DjkCxyaDL9Il0uu2e59zO7SSUL2s1GDsWwg' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer gWIkIed4DjkCxyaDL9Il0uu2e59zO7SSUL2s1GDsWwg' http://127.0.0.1:8443/userinfo, in 0.02 seconds)124(finished: run the VM test script, in 4.26 seconds)125solo # [83946.769968] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...126solo # [83946.771024] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'127solo # [83946.771024] 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"128solo # [83946.771802] solo systemd[1]: Started D-Bus System Message Bus.129solo # [83946.772322] solo systemd[1]: Startup finished in 3.556s.130solo # [83946.777737] solo dbus-broker-launch[329]: Ready131test script finished in 4.31s132cleanup133kill NspawnMachine (pid 50)134Container solo terminated by signal KILL.135(finished: cleanup, in 0.17 seconds)136additionally exposed symbols:137 solo,138 vlan1,139 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