container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #41
· 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 # [791624.088087] solo systemd-journald[57]: Journal started18solo # [791624.088139] solo systemd-journald[57]: Runtime Journal (/run/log/journal/e981d62d0d714bf389ffc2ff35bd03b9) is 8M, max 4G, 3.9G free.19solo # [791624.094515] solo systemd[1]: Finished Apply Kernel Variables.20solo # [791624.104451] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [791624.141451] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [791624.142341] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [791624.152433] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/e981d62d0d714bf389ffc2ff35bd03b9 is 1.838ms for 6 entries.24solo # [791624.152433] solo systemd-journald[57]: System Journal (/var/log/journal/e981d62d0d714bf389ffc2ff35bd03b9) is 512B, max 4G, 3.9G free.25solo # [791624.157707] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [791624.158356] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [791624.158463] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [791624.177934] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [791624.280167] solo systemd[1]: Finished Firewall.30solo # [791625.083595] solo systemd[1]: Mounting /run/wrappers...31solo # [791625.114753] solo systemd[1]: Mounted /run/wrappers.32solo # [791625.115508] solo systemd[1]: Reached target Local File Systems.33solo # [791625.116331] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [791625.117317] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [791625.117350] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [791625.118175] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [791625.118859] solo systemd[1]: Starting Create System Files and Directories...38solo # [791625.137942] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [791625.159608] solo systemd[1]: Finished Create System Files and Directories.40solo # [791625.172046] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [791625.172824] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [791625.237620] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.43solo # [791625.238576] solo systemd[1]: Finished Save Transient machine-id to Disk.44solo # [791625.241592] solo systemd[1]: Finished Rebuild Journal Catalog.45solo # [791625.241966] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.46solo # [791625.245375] solo systemd[1]: Starting Update is Completed...47solo # [791625.257721] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.48solo # [791625.257949] solo systemd[1]: Finished Create SUID/SGID Wrappers.49solo # [791625.260303] solo systemd[1]: Finished Update is Completed.50solo # [791625.260385] solo systemd[1]: Reached target System Initialization.51solo # [791625.260455] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [791625.260479] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [791625.260494] solo systemd[1]: Reached target Timer Units.54solo # [791625.260596] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [791625.260769] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [791625.260869] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [791625.260883] solo systemd[1]: Reached target Socket Units.58solo # [791625.260920] solo systemd[1]: Reached target Basic System.59solo # [791625.262198] solo systemd[1]: Starting Import lastlog data into lastlog2 database...60solo # [791625.263760] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...61solo # [791625.265886] solo systemd[1]: Starting resolvconf update...62solo # [791625.266585] solo systemd[1]: Starting Tinc Daemon - mesh...63solo # [791625.282404] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.64solo # [791625.284524] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [791625.284809] solo systemd[1]: Finished Import lastlog data into lastlog2 database.66solo # [791625.286329] solo systemd[1]: Started tinc-auth.service.67solo # [791625.293703] solo tincd[237]: [INFO tincd] tincd 0.1.0 starting, debug level 068solo # [791625.294058] solo tincd[237]: [INFO tincd] tincd starting, name=alpha69solo # [791625.294101] solo tincd[237]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!70solo # [791625.294309] solo tincd[237]: [INFO tincd] Device mode: Tun, interface: dummy71solo # [791625.294468] solo tincd[237]: [INFO tincd::net] Listening on 0.0.0.0:65572solo # [791625.294502] solo tincd[237]: [INFO tincd::net] Listening on [::]:65573solo # [791625.294777] solo tincd[237]: [INFO tincd] Ready74solo # [791625.344586] solo systemd[1]: nscd.service: Deactivated successfully.75solo # [791625.344758] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).76solo # [791625.347565] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...77solo # [791625.350677] solo systemd[1]: Finished resolvconf update.78solo # [791625.350823] solo systemd[1]: Reached target Preparation for Network.79solo # [791625.351910] solo systemd[1]: Starting Address configuration of eth1...80solo # [791625.352874] solo systemd[1]: Starting Extra networking commands....81solo # [791625.374981] solo network-addresses-eth1-start[291]: adding address 192.168.1.1/24... done82solo # [791625.389304] solo network-addresses-eth1-start[291]: adding address 2001:db8:1::1/64... done83solo # [791625.395577] solo systemd[1]: Finished Address configuration of eth1.84solo # [791625.422089] solo tinc-auth[240]: tinc-auth: listening (net=mesh)85solo # [791625.432683] solo systemd[1]: Finished Extra networking commands..86solo # [791625.432898] solo systemd[1]: Reached target Network.87solo # [791625.554378] solo nsncd[288]: Aug 23 17:03:36.200 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88solo # [791625.554481] solo systemd[1]: Started Name Service Cache Daemon (nsncd).89solo # [791625.554539] solo systemd[1]: Reached target Host and Network Name Lookups.90solo # [791625.554597] solo systemd[1]: Reached target User and Group Name Lookups.91solo # [791625.563368] solo systemd[1]: Starting User Login Management...92solo # [791625.564306] solo systemd[1]: Starting Permit User Sessions...93solo # [791625.576734] solo systemd[1]: Finished Permit User Sessions.94solo # [791625.577879] solo systemd[1]: Started Console Getty.95solo # [791625.577907] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096solo # [791625.577920] solo systemd[1]: Reached target Login Prompts.97solo # [791626.636886] solo systemd-logind[366]: New seat seat0.98solo # [791626.639347] solo systemd[1]: Starting D-Bus System Message Bus...99solo # [791626.639560] solo systemd[1]: Started User Login Management.100solo # [791626.643670] solo systemd[1]: Starting linger-users.service...101solo # [791626.677468] solo systemd[1]: linger-users.service: Deactivated successfully.102solo # [791626.677817] solo systemd[1]: Finished linger-users.service.103solo # [791626.678175] solo systemd[1]: Reached target Multi-User System.104solo # [791627.036237] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...105solo # [791627.037735] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'106solo # [791627.037817] solo dbus-broker-launch[376]: Invalid user-name in /nix/store/m3nbj2hjbwvb8z3ggp44ng6v8b2v5si6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"107solo # [791627.038789] solo systemd[1]: Started D-Bus System Message Bus.108solo # [791627.044364] solo dbus-broker-launch[376]: Ready109solo # [791627.044880] solo systemd[1]: Startup finished in 3.306s.110solo: (finished: waiting for unit tinc.mesh.service, in 4.15 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.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.02 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=qPi6O_IjVhg_Y-PllASzEhQuyfSYNmutEskhM45RGSw -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=qPi6O_IjVhg_Y-PllASzEhQuyfSYNmutEskhM45RGSw -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 8vIIqsZyNzjd4W0LDgSp59NDFIuoA9IeCMlHBmqC-mQ' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 8vIIqsZyNzjd4W0LDgSp59NDFIuoA9IeCMlHBmqC-mQ' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 4.24 seconds)125test script finished in 4.34s126cleanup127kill NspawnMachine (pid 50)128Container solo terminated by signal KILL.129(finished: cleanup, in 0.21 seconds)130additionally exposed symbols:131 solo,132 vlan1,133 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