container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #54
· 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 # [806363.433793] solo systemd-journald[57]: Journal started18solo # [806363.433838] solo systemd-journald[57]: Runtime Journal (/run/log/journal/93150263c1cf4b2ebf39313ccfb143c2) is 8M, max 4G, 3.9G free.19solo # [806363.441278] solo systemd[1]: Finished Apply Kernel Variables.20solo # [806363.451295] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [806363.472275] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [806363.473182] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [806363.482599] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/93150263c1cf4b2ebf39313ccfb143c2 is 1.932ms for 6 entries.24solo # [806363.482599] solo systemd-journald[57]: System Journal (/var/log/journal/93150263c1cf4b2ebf39313ccfb143c2) is 512B, max 4G, 3.9G free.25solo # [806363.488522] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [806363.489350] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [806363.489471] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [806363.509618] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [806363.615625] solo systemd[1]: Finished Firewall.30solo # [806364.428543] solo systemd[1]: Mounting /run/wrappers...31solo # [806364.529351] solo systemd[1]: Mounted /run/wrappers.32solo # [806364.530557] solo systemd[1]: Reached target Local File Systems.33solo # [806364.531534] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [806364.532607] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [806364.532639] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [806364.533552] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [806364.534412] solo systemd[1]: Starting Create System Files and Directories...38solo # [806364.554663] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [806364.584747] solo systemd[1]: Finished Create System Files and Directories.40solo # [806364.598071] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [806364.599034] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [806364.615494] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [806364.623226] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [806364.625065] solo systemd[1]: Starting Update is Completed...45solo # [806364.639162] solo systemd[1]: Finished Update is Completed.46solo # [806364.639383] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.47solo # [806364.639525] solo systemd[1]: Finished Create SUID/SGID Wrappers.48solo # [806364.640311] solo systemd[1]: Reached target System Initialization.49solo # [806364.640412] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container50solo # [806364.640448] solo systemd[1]: Started Daily Cleanup of Temporary Directories.51solo # [806364.640468] solo systemd[1]: Reached target Timer Units.52solo # [806364.640592] solo systemd[1]: Listening on D-Bus System Message Bus Socket.53solo # [806364.640776] solo systemd[1]: Listening on Nix Daemon Socket.54solo # [806364.640873] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.55solo # [806364.640892] solo systemd[1]: Reached target Socket Units.56solo # [806364.640915] solo systemd[1]: Reached target Basic System.57solo # [806364.642211] solo systemd[1]: Starting Import lastlog data into lastlog2 database...58solo # [806364.643113] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...59solo # [806364.644473] solo systemd[1]: Starting resolvconf update...60solo # [806364.646302] solo systemd[1]: Starting Tinc Daemon - mesh...61solo # [806364.667295] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.62solo # [806364.669779] solo systemd[1]: Started Tinc Daemon - mesh.63solo # [806364.670068] solo systemd[1]: Finished Import lastlog data into lastlog2 database.64solo # [806364.671742] solo systemd[1]: Started tinc-auth.service.65solo # [806364.682364] solo tincd[238]: [INFO tincd] tincd 0.1.0 starting, debug level 066solo # [806364.682642] solo tincd[238]: [INFO tincd] tincd starting, name=alpha67solo # [806364.682642] solo tincd[238]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!68solo # [806364.682642] solo tincd[238]: [INFO tincd] Device mode: Tun, interface: dummy69solo # [806364.682693] solo tincd[238]: [INFO tincd::net] Listening on 0.0.0.0:65570solo # [806364.682710] solo tincd[238]: [INFO tincd::net] Listening on [::]:65571solo # [806364.682829] solo tincd[238]: [INFO tincd] Ready72solo # [806364.745236] solo systemd[1]: nscd.service: Deactivated successfully.73solo # [806364.745405] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).74solo # [806364.749272] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...75solo # [806364.750950] solo systemd[1]: Finished resolvconf update.76solo # [806364.751070] solo systemd[1]: Reached target Preparation for Network.77solo # [806364.753178] solo systemd[1]: Starting Address configuration of eth1...78solo # [806364.755188] solo systemd[1]: Starting Extra networking commands....79solo # [806364.756544] solo tinc-auth[240]: tinc-auth: listening (net=mesh)80solo # [806364.779766] solo network-addresses-eth1-start[290]: adding address 192.168.1.1/24... done81solo # [806364.784984] solo network-addresses-eth1-start[290]: adding address 2001:db8:1::1/64... done82solo # [806364.795202] solo systemd[1]: Finished Address configuration of eth1.83solo # [806364.830064] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.84solo # [806364.839995] solo systemd[1]: Finished Save Transient machine-id to Disk.85solo # [806364.844889] solo systemd[1]: Finished Extra networking commands..86solo # [806364.844996] solo systemd[1]: Reached target Network.87solo # [806364.960216] solo nsncd[288]: Aug 23 21:09:15.606 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88solo # [806364.960357] solo systemd[1]: Started Name Service Cache Daemon (nsncd).89solo # [806364.960426] solo systemd[1]: Reached target Host and Network Name Lookups.90solo # [806364.960483] solo systemd[1]: Reached target User and Group Name Lookups.91solo # [806364.963322] solo systemd[1]: Starting User Login Management...92solo # [806364.964990] solo systemd[1]: Starting Permit User Sessions...93solo # [806365.029834] solo systemd[1]: Finished Permit User Sessions.94solo # [806365.031215] solo systemd[1]: Started Console Getty.95solo # [806365.031247] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096solo # [806365.031259] solo systemd[1]: Reached target Login Prompts.97solo # [806365.981858] solo systemd-logind[366]: New seat seat0.98solo # [806365.982444] solo systemd[1]: Started User Login Management.99solo # [806365.984732] solo systemd[1]: Starting D-Bus System Message Bus...100solo # [806365.986501] solo systemd[1]: Starting linger-users.service...101solo # [806366.002251] solo systemd[1]: linger-users.service: Deactivated successfully.102solo # [806366.002541] solo systemd[1]: Finished linger-users.service.103solo # [806366.002894] solo systemd[1]: Reached target Multi-User System.104solo # [806366.343240] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...105solo # [806366.344718] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'106solo # [806366.344718] 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 # [806366.345646] solo systemd[1]: Started D-Bus System Message Bus.108solo # [806366.351456] solo dbus-broker-launch[376]: Ready109solo # [806366.352152] solo systemd[1]: Startup finished in 3.278s.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.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=cUaCdnezlc8sP0t0dipeJuhZEpoEgO3qpR2axESyt0I -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=cUaCdnezlc8sP0t0dipeJuhZEpoEgO3qpR2axESyt0I -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 gzfaNhP6KJZgeOr2f4-MRL0deAuZMDXOv6hjgg3v4ag' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer gzfaNhP6KJZgeOr2f4-MRL0deAuZMDXOv6hjgg3v4ag' http://127.0.0.1:8443/userinfo, in 0.02 seconds)124(finished: run the VM test script, in 4.24 seconds)125test script finished in 4.51s126cleanup127kill NspawnMachine (pid 50)128Container solo terminated by signal KILL.129(finished: cleanup, in 0.26 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