container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #261
· 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 # [90222.965013] solo systemd-journald[57]: Journal started18solo # [90222.965108] solo systemd-journald[57]: Runtime Journal (/run/log/journal/990af0ae1f984af8b70bb19227a3956f) is 8M, max 4G, 3.9G free.19solo # [90222.970254] solo systemd[1]: Finished Apply Kernel Variables.20solo # [90222.979306] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [90222.989930] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [90222.990547] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [90223.025900] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/990af0ae1f984af8b70bb19227a3956f is 1.410ms for 6 entries.24solo # [90223.025900] solo systemd-journald[57]: System Journal (/var/log/journal/990af0ae1f984af8b70bb19227a3956f) is 512B, max 4G, 3.9G free.25solo # [90223.031498] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [90223.032097] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [90223.032193] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [90223.046407] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [90223.106616] solo systemd[1]: Finished Firewall.30solo # [90223.961754] solo systemd[1]: Mounting /run/wrappers...31solo # [90224.013508] solo systemd[1]: Mounted /run/wrappers.32solo # [90224.014640] solo systemd[1]: Reached target Local File Systems.33solo # [90224.015996] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [90224.017565] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [90224.017609] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [90224.018892] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [90224.019859] solo systemd[1]: Starting Create System Files and Directories...38solo # [90224.064723] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [90224.065141] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [90224.065426] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/990af0ae1f984af8b70bb19227a3956f failed: Operation not permitted41solo # [90224.065745] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [90224.070916] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.Xf6FaXGT8L/chsh': Operation not permitted43solo # [90224.071535] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [90224.071704] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [90224.072089] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [90224.072734] solo systemd[1]: Finished Create System Files and Directories.47solo # [90224.091368] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [90224.092107] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [90224.106730] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [90224.118924] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.51solo # [90224.119460] solo systemd[1]: Finished Save Transient machine-id to Disk.52solo # [90224.119645] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [90224.121524] solo systemd[1]: Starting Update is Completed...54solo # [90224.162690] solo systemd[1]: Finished Update is Completed.55solo # [90224.162781] solo systemd[1]: Reached target System Initialization.56solo # [90224.162858] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [90224.162931] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [90224.162943] solo systemd[1]: Reached target Timer Units.59solo # [90224.163051] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [90224.163203] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [90224.163294] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [90224.163306] solo systemd[1]: Reached target Socket Units.63solo # [90224.163333] solo systemd[1]: Reached target Basic System.64solo # [90224.164490] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [90224.165315] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [90224.166308] solo systemd[1]: Starting resolvconf update...67solo # [90224.167476] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [90224.181207] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [90224.182766] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [90224.183622] solo systemd[1]: Started tinc-auth.service.71solo # [90224.183869] solo systemd[1]: Finished Import lastlog data into lastlog2 database.72solo # [90224.190413] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [90224.190751] solo tincd[190]: [INFO tincd] tincd starting, name=alpha74solo # [90224.190780] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [90224.190962] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [90224.191163] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [90224.191163] solo tincd[190]: [INFO tincd::net] Listening on [::]:65578solo # [90224.191374] solo tincd[190]: [INFO tincd] Ready79solo # [90224.232769] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [90224.232933] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [90224.235195] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [90224.266154] solo systemd[1]: Finished resolvconf update.83solo # [90224.266319] solo systemd[1]: Reached target Preparation for Network.84solo # [90224.267397] solo systemd[1]: Starting Address configuration of eth1...85solo # [90224.268179] solo systemd[1]: Starting Extra networking commands....86solo # [90224.285511] solo network-addresses-eth1-start[246]: adding address 192.168.1.1/24... done87solo # [90224.288093] solo network-addresses-eth1-start[246]: adding address 2001:db8:1::1/64... done88solo # [90224.292397] solo systemd[1]: Finished Address configuration of eth1.89solo # [90224.293748] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:844390solo # [90224.295460] solo tinc-auth[191]: tinc-auth: listening (net=mesh)91solo # [90224.329858] solo systemd[1]: Finished Extra networking commands..92solo # [90224.330383] solo systemd[1]: Reached target Network.93solo # [90224.409682] solo nsncd[241]: Oct 27 10:59:00.454 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [90224.409654] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [90224.409721] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [90224.409796] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [90224.411731] solo systemd[1]: Starting User Login Management...98solo # [90224.412847] solo systemd[1]: Starting Permit User Sessions...99solo # [90224.445723] solo systemd[1]: Finished Permit User Sessions.100solo # [90224.447211] solo systemd[1]: Started Console Getty.101solo # [90224.447254] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [90224.447276] solo systemd[1]: Reached target Login Prompts.103solo # [90225.270991] solo systemd-logind[327]: New seat seat0.104solo # [90225.273682] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [90225.273847] solo systemd[1]: Started User Login Management.106solo # [90225.275178] solo systemd[1]: Starting linger-users.service...107solo # [90225.287419] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [90225.287756] solo systemd[1]: Finished linger-users.service.109solo # [90225.288111] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 3.65 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.01 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.02 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.02 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=kqw5u3kPmju9-47aUKCNfv5eBevGBe-n4_quyxLenOE -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=kqw5u3kPmju9-47aUKCNfv5eBevGBe-n4_quyxLenOE -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.01 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer NHE6u4-UhgxN0xLg5eE4mJgY1psVXpr1h-vEnpq3zD8' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer NHE6u4-UhgxN0xLg5eE4mJgY1psVXpr1h-vEnpq3zD8' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 3.74 seconds)125test script finished in 3.78s126cleanup127kill NspawnMachine (pid 50)128solo # [90225.784818] solo dbus-broker-launch[337]: Looking up NSS user entry for 'systemd-timesync'...129solo # [90225.787578] solo dbus-broker-launch[337]: NSS returned no entry for 'systemd-timesync'130solo # [90225.787578] 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"131solo # [90225.788273] solo systemd[1]: Started D-Bus System Message Bus.132solo # [90225.788713] solo systemd[1]: Startup finished in 3.151s.133solo # [90225.796165] solo dbus-broker-launch[337]: Ready134(finished: cleanup, in 0.17 seconds)135additionally exposed symbols:136 solo,137 vlan1,138 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_ssh139Container solo terminated by signal KILL.