container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #92
· 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 # [84523.896447] solo systemd-journald[57]: Journal started18solo # [84523.896492] solo systemd-journald[57]: Runtime Journal (/run/log/journal/ecb1ef2a20b343fe8abc9771fe0c649a) is 8M, max 4G, 3.9G free.19solo # [84523.910153] solo systemd[1]: Finished Apply Kernel Variables.20solo # [84523.920799] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [84523.933165] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [84523.933943] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [84523.944543] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/ecb1ef2a20b343fe8abc9771fe0c649a is 1.920ms for 6 entries.24solo # [84523.944543] solo systemd-journald[57]: System Journal (/var/log/journal/ecb1ef2a20b343fe8abc9771fe0c649a) is 512B, max 4G, 3.9G free.25solo # [84523.963904] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [84523.965022] solo systemd[1]: Finished Flush Journal to Persistent Storage.27solo # [84523.965736] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [84523.965873] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [84524.088546] solo systemd[1]: Finished Firewall.30solo # [84524.900314] solo systemd[1]: Mounting /run/wrappers...31solo # [84524.939677] solo systemd[1]: Mounted /run/wrappers.32solo # [84524.941102] solo systemd[1]: Reached target Local File Systems.33solo # [84524.942555] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [84524.943944] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [84524.943991] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [84524.947206] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [84524.950517] solo systemd[1]: Starting Create System Files and Directories...38solo # [84524.971686] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [84524.972175] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [84524.972538] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/ecb1ef2a20b343fe8abc9771fe0c649a failed: Operation not permitted41solo # [84524.972929] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [84524.975545] solo suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.oMh1Bx0uh2/chsh': Operation not permitted43solo # [84524.975840] solo systemd[1]: Finished Create System Files and Directories.44solo # [84525.024677] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.45solo # [84525.035887] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46solo # [84525.035991] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.47solo # [84525.057474] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.48solo # [84525.059735] solo systemd[1]: Finished Save Transient machine-id to Disk.49solo # [84525.062585] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [84525.063509] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [84525.083156] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.52solo # [84525.087197] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [84525.088517] solo systemd[1]: Starting Update is Completed...54solo # [84525.103132] solo systemd[1]: Finished Update is Completed.55solo # [84525.103443] solo systemd[1]: Reached target System Initialization.56solo # [84525.103584] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [84525.103629] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [84525.103659] solo systemd[1]: Reached target Timer Units.59solo # [84525.103863] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [84525.104247] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [84525.104443] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [84525.104475] solo systemd[1]: Reached target Socket Units.63solo # [84525.104529] solo systemd[1]: Reached target Basic System.64solo # [84525.106206] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [84525.107614] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [84525.108334] solo systemd[1]: Starting resolvconf update...67solo # [84525.110084] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [84525.126650] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [84525.128773] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [84525.129904] solo systemd[1]: Started tinc-auth.service.71solo # [84525.131782] solo systemd[1]: Finished Import lastlog data into lastlog2 database.72solo # [84525.140725] solo tincd[191]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [84525.141119] solo tincd[191]: [INFO tincd] tincd starting, name=alpha74solo # [84525.141119] solo tincd[191]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [84525.141119] solo tincd[191]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [84525.141119] solo tincd[191]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [84525.141119] solo tincd[191]: [INFO tincd::net] Listening on [::]:65578solo # [84525.141255] solo tincd[191]: [INFO tincd] Ready79solo # [84525.157177] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844380solo # [84525.157688] solo tinc-auth[192]: tinc-auth: listening (net=mesh)81solo # [84525.185768] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [84525.204335] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [84525.208254] solo systemd[1]: Finished resolvconf update.84solo # [84525.209137] solo systemd[1]: Reached target Preparation for Network.85solo # [84525.210322] solo systemd[1]: Starting Address configuration of eth1...86solo # [84525.211442] solo systemd[1]: Starting Extra networking commands....87solo # [84525.212592] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...88solo # [84525.232576] solo network-addresses-eth1-start[249]: adding address 192.168.1.1/24... done89solo # [84525.235825] solo network-addresses-eth1-start[249]: adding address 2001:db8:1::1/64... done90solo # [84525.240612] solo systemd[1]: Finished Address configuration of eth1.91solo # [84525.296940] solo systemd[1]: Finished Extra networking commands..92solo # [84525.297126] solo systemd[1]: Reached target Network.93solo # [84525.439108] solo nsncd[251]: Sep 06 06:08:06.568 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [84525.439238] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [84525.439345] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [84525.439438] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [84525.444843] solo systemd[1]: Starting User Login Management...98solo # [84525.446129] solo systemd[1]: Starting Permit User Sessions...99solo # [84525.476104] solo systemd[1]: Finished Permit User Sessions.100solo # [84525.485584] solo systemd[1]: Started Console Getty.101solo # [84525.485650] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [84525.485684] solo systemd[1]: Reached target Login Prompts.103solo # [84526.440033] solo systemd-logind[319]: New seat seat0.104solo # [84526.452736] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [84526.452848] solo systemd[1]: Started User Login Management.106solo # [84526.453903] solo systemd[1]: Starting linger-users.service...107solo # [84526.470495] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [84526.470830] solo systemd[1]: Finished linger-users.service.109solo # [84526.471109] solo systemd[1]: Reached target Multi-User System.110solo # [84526.843514] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...111solo # [84526.844869] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'112solo # [84526.844869] 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"113solo # [84526.845645] solo systemd[1]: Started D-Bus System Message Bus.114solo # [84526.846131] solo systemd[1]: Startup finished in 3.386s.115solo # [84526.851144] solo dbus-broker-launch[329]: Ready116solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)119solo: waiting for TCP port 8443 on localhost120Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!121solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)122solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration123solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)124solo: 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'125solo: (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)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=iMXdjLOLx0jSLPpINiEJ8CW-x_sSZuFg0j1EnHBmHpQ -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil127solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=iMXdjLOLx0jSLPpINiEJ8CW-x_sSZuFg0j1EnHBmHpQ -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)128solo: must succeed: curl -fsS -H 'Authorization: Bearer WQMIbD7p-iwXxvPcIjVbzJuigkIHFbcPpD1OKsuezRI' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer WQMIbD7p-iwXxvPcIjVbzJuigkIHFbcPpD1OKsuezRI' http://127.0.0.1:8443/userinfo, in 0.01 seconds)130(finished: run the VM test script, in 4.25 seconds)131test script finished in 4.28s132cleanup133kill NspawnMachine (pid 50)134Container solo terminated by signal KILL.135(finished: cleanup, in 0.22 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