container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #196
· 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 # [806384.494846] solo systemd-journald[57]: Journal started20solo # [806384.494946] solo systemd-journald[57]: Runtime Journal (/run/log/journal/46dc80e78ea448bdbbd309680897e314) is 8M, max 4G, 3.9G free.21solo # [806384.512439] solo systemd[1]: Finished Apply Kernel Variables.22solo # [806384.527527] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23solo # [806384.544854] solo systemd[1]: Starting Flush Journal to Persistent Storage...24solo # [806384.545825] solo systemd[1]: Starting Create Static Device Nodes in /dev...25solo # [806384.556326] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/46dc80e78ea448bdbbd309680897e314 is 1.628ms for 6 entries.26solo # [806384.556326] solo systemd-journald[57]: System Journal (/var/log/journal/46dc80e78ea448bdbbd309680897e314) is 512B, max 4G, 3.9G free.27solo # [806384.564548] solo systemd[1]: Finished Create Static Device Nodes in /dev.28solo # [806384.564754] solo systemd[1]: Reached target Preparation for Local File Systems.29solo # [806384.564875] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30solo # [806384.577497] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [806384.643962] solo systemd[1]: Finished Firewall.32solo # [806385.502310] solo systemd[1]: Mounting /run/wrappers...33solo # [806385.531433] solo systemd[1]: Mounted /run/wrappers.34solo # [806385.533046] solo systemd[1]: Reached target Local File Systems.35solo # [806385.534492] solo systemd[1]: Listening on Boot Loader Control Service Socket.36solo # [806385.535943] solo systemd[1]: Starting Create SUID/SGID Wrappers...37solo # [806385.535992] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38solo # [806385.537083] solo systemd[1]: Starting Save Transient machine-id to Disk...39solo # [806385.538031] solo systemd[1]: Starting Create System Files and Directories...40solo # [806385.557476] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41solo # [806385.557938] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42solo # [806385.558253] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/46dc80e78ea448bdbbd309680897e314 failed: Operation not permitted43solo # [806385.558595] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44solo # [806385.561550] solo systemd[1]: Finished Create System Files and Directories.45solo # [806385.565107] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.grU18h1CAB/chsh': Operation not permitted46solo # [806385.587810] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47solo # [806385.587922] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [806385.588129] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [806385.590859] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [806385.592016] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [806385.611360] solo systemd[1]: Finished Rebuild Journal Catalog.52solo # [806385.613684] solo systemd[1]: Starting Update is Completed...53solo # [806385.640846] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.54solo # [806385.644291] solo systemd[1]: Finished Save Transient machine-id to Disk.55solo # [806385.648968] solo systemd[1]: Finished Update is Completed.56solo # [806385.651329] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.57solo # [806385.659448] solo systemd[1]: Reached target System Initialization.58solo # [806385.659535] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container59solo # [806385.659590] solo systemd[1]: Started Daily Cleanup of Temporary Directories.60solo # [806385.659607] solo systemd[1]: Reached target Timer Units.61solo # [806385.659720] solo systemd[1]: Listening on D-Bus System Message Bus Socket.62solo # [806385.659876] solo systemd[1]: Listening on Nix Daemon Socket.63solo # [806385.659981] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.64solo # [806385.659994] solo systemd[1]: Reached target Socket Units.65solo # [806385.660028] solo systemd[1]: Reached target Basic System.66solo # [806385.661547] solo systemd[1]: Starting Import lastlog data into lastlog2 database...67solo # [806385.662585] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...68solo # [806385.663353] solo systemd[1]: Starting resolvconf update...69solo # [806385.664344] solo systemd[1]: Starting Tinc Daemon - mesh...70solo # [806385.711999] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.71solo # [806385.714133] solo systemd[1]: Started Tinc Daemon - mesh.72solo # [806385.715569] solo systemd[1]: Started tinc-auth.service.73solo # [806385.716776] solo systemd[1]: Finished Import lastlog data into lastlog2 database.74solo # [806385.725070] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 075solo # [806385.725672] solo tincd[190]: [INFO tincd] tincd starting, name=alpha76solo # [806385.725672] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!77solo # [806385.725811] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy78solo # [806385.725994] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65579solo # [806385.726062] solo tincd[190]: [INFO tincd::net] Listening on [::]:65580solo # [806385.726347] solo tincd[190]: [INFO tincd] Ready81solo # [806385.746661] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844382solo # [806385.747452] solo tinc-auth[192]: tinc-auth: listening (net=mesh)83solo # [806385.773169] solo systemd[1]: nscd.service: Deactivated successfully.84solo # [806385.773334] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).85solo # [806385.776356] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...86solo # [806385.777736] solo systemd[1]: Finished resolvconf update.87solo # [806385.777849] solo systemd[1]: Reached target Preparation for Network.88solo # [806385.778970] solo systemd[1]: Starting Address configuration of eth1...89solo # [806385.779994] solo systemd[1]: Starting Extra networking commands....90solo # [806385.796740] solo network-addresses-eth1-start[250]: adding address 192.168.1.1/24... done91solo # [806385.798988] solo network-addresses-eth1-start[250]: adding address 2001:db8:1::1/64... done92solo # [806385.803146] solo systemd[1]: Finished Address configuration of eth1.93solo # [806385.877239] solo systemd[1]: Finished Extra networking commands..94solo # [806385.877474] solo systemd[1]: Reached target Network.95solo # [806385.973428] solo nsncd[248]: Sep 20 21:11:34.260 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [806385.973647] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [806385.973713] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [806385.973785] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [806385.978030] solo systemd[1]: Starting User Login Management...100solo # [806385.979129] solo systemd[1]: Starting Permit User Sessions...101solo # [806385.993664] solo systemd[1]: Finished Permit User Sessions.102solo # [806385.994831] solo systemd[1]: Started Console Getty.103solo # [806385.994860] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [806385.994875] solo systemd[1]: Reached target Login Prompts.105solo # [806387.763198] solo systemd-logind[311]: New seat seat0.106solo # [806387.765644] solo systemd[1]: Starting D-Bus System Message Bus...107solo # [806387.765853] solo systemd[1]: Started User Login Management.108solo # [806387.769591] solo systemd[1]: Starting linger-users.service...109solo # [806387.795294] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [806387.795691] solo systemd[1]: Finished linger-users.service.111solo # [806387.796057] solo systemd[1]: Reached target Multi-User System.112solo # [806388.095807] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...113solo # [806388.099721] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'114solo # [806388.099721] solo dbus-broker-launch[329]: Invalid user-name in /nix/store/hqx9wccli69v71837syk198lrh4yqxg5-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"115solo # [806388.100727] solo systemd[1]: Started D-Bus System Message Bus.116solo # [806388.101358] solo systemd[1]: Startup finished in 4.153s.117solo # [806388.107837] solo dbus-broker-launch[329]: Ready118solo: (finished: waiting for unit tinc.mesh.service, in 5.16 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=S0Ww-IlzGa6hrbzsh1f4sCPXtzNzqkdXw7nAbu3eUO8 -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=S0Ww-IlzGa6hrbzsh1f4sCPXtzNzqkdXw7nAbu3eUO8 -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 9zoeK1f5z0zHGT-j9se85X1veAXU4sbRiZhDBx_zEw0' http://127.0.0.1:8443/userinfo131solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 9zoeK1f5z0zHGT-j9se85X1veAXU4sbRiZhDBx_zEw0' http://127.0.0.1:8443/userinfo, in 0.02 seconds)132(finished: run the VM test script, in 5.27 seconds)133test script finished in 5.54s134cleanup135kill 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