container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #294
· raw
1tribuchet: building on jamie2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.01 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 # [126704.810940] solo systemd-journald[57]: Journal started20solo # [126704.810987] solo systemd-journald[57]: Runtime Journal (/run/log/journal/2e9f4ffc73f34d0cb6402c6b8c3b4da3) is 8M, max 4G, 3.9G free.21solo # [126704.816438] solo systemd[1]: Finished Apply Kernel Variables.22solo # [126704.832309] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23solo # [126704.869245] solo systemd[1]: Starting Flush Journal to Persistent Storage...24solo # [126704.869987] solo systemd[1]: Starting Create Static Device Nodes in /dev...25solo # [126704.879443] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/2e9f4ffc73f34d0cb6402c6b8c3b4da3 is 1.781ms for 6 entries.26solo # [126704.879443] solo systemd-journald[57]: System Journal (/var/log/journal/2e9f4ffc73f34d0cb6402c6b8c3b4da3) is 512B, max 4G, 3.9G free.27solo # [126704.894504] solo systemd[1]: Finished Flush Journal to Persistent Storage.28solo # [126704.894923] solo systemd[1]: Finished Create Static Device Nodes in /dev.29solo # [126704.896472] solo systemd[1]: Reached target Preparation for Local File Systems.30solo # [126704.896625] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31solo # [126705.016777] solo systemd[1]: Finished Firewall.32solo # [126705.811671] solo systemd[1]: Mounting /run/wrappers...33solo # [126705.839449] solo systemd[1]: Mounted /run/wrappers.34solo # [126705.840432] solo systemd[1]: Reached target Local File Systems.35solo # [126705.841249] solo systemd[1]: Listening on Boot Loader Control Service Socket.36solo # [126705.842202] solo systemd[1]: Starting Create SUID/SGID Wrappers...37solo # [126705.842233] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38solo # [126705.843028] solo systemd[1]: Starting Save Transient machine-id to Disk...39solo # [126705.843820] solo systemd[1]: Starting Create System Files and Directories...40solo # [126705.862965] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41solo # [126705.863403] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42solo # [126705.863713] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/2e9f4ffc73f34d0cb6402c6b8c3b4da3 failed: Operation not permitted43solo # [126705.864050] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44solo # [126705.867397] solo systemd[1]: Finished Create System Files and Directories.45solo # [126705.867503] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.pV1AcIjzqC/chsh': Operation not permitted46solo # [126705.880717] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47solo # [126705.880816] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [126705.881035] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [126705.883503] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [126705.884922] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [126705.897630] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.52solo # [126705.905539] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [126705.907378] solo systemd[1]: Starting Update is Completed...54solo # [126705.932423] solo systemd[1]: Finished Update is Completed.55solo # [126705.932583] solo systemd[1]: Reached target System Initialization.56solo # [126705.932650] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [126705.932675] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [126705.932691] solo systemd[1]: Reached target Timer Units.59solo # [126705.932796] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [126705.932991] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [126705.933104] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [126705.933117] solo systemd[1]: Reached target Socket Units.63solo # [126705.933147] solo systemd[1]: Reached target Basic System.64solo # [126705.939451] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [126705.940461] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [126705.941228] solo systemd[1]: Starting resolvconf update...67solo # [126705.942114] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [126705.973252] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.69solo # [126705.974245] solo systemd[1]: Finished Save Transient machine-id to Disk.70solo # [126705.981359] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.71solo # [126705.983444] solo systemd[1]: Started Tinc Daemon - mesh.72solo # [126705.983726] solo systemd[1]: Finished Import lastlog data into lastlog2 database.73solo # [126705.989766] solo systemd[1]: Started tinc-auth.service.74solo # [126705.996920] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 075solo # [126705.997524] solo tincd[189]: [INFO tincd] tincd starting, name=alpha76solo # [126705.997524] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!77solo # [126705.997524] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy78solo # [126705.997524] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65579solo # [126705.997524] solo tincd[189]: [INFO tincd::net] Listening on [::]:65580solo # [126705.997524] solo tincd[189]: [INFO tincd] Ready81solo # [126706.019519] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844382solo # [126706.020187] solo tinc-auth[192]: tinc-auth: listening (net=mesh)83solo # [126706.046793] solo systemd[1]: nscd.service: Deactivated successfully.84solo # [126706.046956] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).85solo # [126706.049850] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...86solo # [126706.050864] solo systemd[1]: Finished resolvconf update.87solo # [126706.051030] solo systemd[1]: Reached target Preparation for Network.88solo # [126706.051831] solo systemd[1]: Starting Address configuration of eth1...89solo # [126706.052611] solo systemd[1]: Starting Extra networking commands....90solo # [126706.095233] solo network-addresses-eth1-start[258]: adding address 192.168.1.1/24... done91solo # [126706.098958] solo network-addresses-eth1-start[258]: adding address 2001:db8:1::1/64... done92solo # [126706.105132] solo systemd[1]: Finished Address configuration of eth1.93solo # [126706.143610] solo systemd[1]: Finished Extra networking commands..94solo # [126706.143907] solo systemd[1]: Reached target Network.95solo # [126706.259222] solo systemd[1]: Started Name Service Cache Daemon (nsncd).96solo # [126706.259442] solo nsncd[256]: Oct 27 21:07:02.303 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"97solo # [126706.259305] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [126706.259381] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [126706.263121] solo systemd[1]: Starting User Login Management...100solo # [126706.264538] solo systemd[1]: Starting Permit User Sessions...101solo # [126706.275506] solo systemd[1]: Finished Permit User Sessions.102solo # [126706.277178] solo systemd[1]: Started Console Getty.103solo # [126706.277237] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [126706.277269] solo systemd[1]: Reached target Login Prompts.105solo # [126707.678123] solo systemd-logind[327]: New seat seat0.106solo # [126707.682151] solo systemd[1]: Starting D-Bus System Message Bus...107solo # [126707.682257] solo systemd[1]: Started User Login Management.108solo # [126707.683180] solo systemd[1]: Starting linger-users.service...109solo # [126707.697219] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [126707.697432] solo systemd[1]: Finished linger-users.service.111solo # [126707.697566] solo systemd[1]: Reached target Multi-User System.112solo # [126708.111800] solo dbus-broker-launch[337]: Looking up NSS user entry for 'systemd-timesync'...113solo # [126708.113170] solo dbus-broker-launch[337]: NSS returned no entry for 'systemd-timesync'114solo # [126708.113170] solo dbus-broker-launch[337]: Invalid user-name in /nix/store/fblgdbfb13hdvyz56as1qyxdpwqj8cvk-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"115solo # [126708.114219] solo systemd[1]: Started D-Bus System Message Bus.116solo # [126708.114537] solo systemd[1]: Startup finished in 3.867s.117solo # [126708.120754] solo dbus-broker-launch[337]: Ready118solo: (finished: waiting for unit tinc.mesh.service, in 4.65 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.02 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.02 seconds)128solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=_I7OCpLAtL7nKa3jWVKIrv8UtcboZnmXxWkQFPNhGk8 -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=_I7OCpLAtL7nKa3jWVKIrv8UtcboZnmXxWkQFPNhGk8 -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 jmlzZ97DOIoL0aOg4LejEwzlsm2elxawJqkciA8Qkyc' http://127.0.0.1:8443/userinfo131solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer jmlzZ97DOIoL0aOg4LejEwzlsm2elxawJqkciA8Qkyc' http://127.0.0.1:8443/userinfo, in 0.01 seconds)132(finished: run the VM test script, in 4.76 seconds)133test script finished in 4.90s134cleanup135kill NspawnMachine (pid 50)136Container solo terminated by signal KILL.137(finished: cleanup, in 0.22 seconds)138additionally exposed symbols:139 solo,140 vlan1,141 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