container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #60
· 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 # [837687.454112] solo systemd-journald[57]: Journal started18solo # [837687.454157] solo systemd-journald[57]: Runtime Journal (/run/log/journal/783aed7b4a594080a9c886db017a58b1) is 8M, max 4G, 3.9G free.19solo # [837687.464596] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.20solo # [837687.475986] solo systemd[1]: Starting Flush Journal to Persistent Storage...21solo # [837687.476993] solo systemd[1]: Starting Create Static Device Nodes in /dev...22solo # [837687.506284] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/783aed7b4a594080a9c886db017a58b1 is 2.106ms for 5 entries.23solo # [837687.506284] solo systemd-journald[57]: System Journal (/var/log/journal/783aed7b4a594080a9c886db017a58b1) is 512B, max 4G, 3.9G free.24solo # [837687.510625] solo systemd[1]: Finished Create Static Device Nodes in /dev.25solo # [837687.511298] solo systemd[1]: Reached target Preparation for Local File Systems.26solo # [837687.511418] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys27solo # [837687.531493] solo systemd[1]: Finished Flush Journal to Persistent Storage.28solo # [837687.612158] solo systemd[1]: Finished Firewall.29solo # [837688.447501] solo systemd[1]: Mounting /run/wrappers...30solo # [837688.478287] solo systemd[1]: Mounted /run/wrappers.31solo # [837688.480038] solo systemd[1]: Reached target Local File Systems.32solo # [837688.485494] solo systemd[1]: Listening on Boot Loader Control Service Socket.33solo # [837688.486549] solo systemd[1]: Starting Create SUID/SGID Wrappers...34solo # [837688.486580] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container35solo # [837688.487500] solo systemd[1]: Starting Save Transient machine-id to Disk...36solo # [837688.488448] solo systemd[1]: Starting Create System Files and Directories...37solo # [837688.506557] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted38solo # [837688.519344] solo systemd[1]: Finished Create System Files and Directories.39solo # [837688.531787] solo systemd[1]: Starting Rebuild Journal Catalog...40solo # [837688.532508] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...41solo # [837688.597504] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.42solo # [837688.598601] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.43solo # [837688.598780] solo systemd[1]: Finished Create SUID/SGID Wrappers.44solo # [837688.599046] solo systemd[1]: Finished Save Transient machine-id to Disk.45solo # [837688.604575] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.46solo # [837688.608785] solo systemd[1]: Finished Rebuild Journal Catalog.47solo # [837688.610678] solo systemd[1]: Starting Update is Completed...48solo # [837688.619593] solo systemd[1]: Finished Update is Completed.49solo # [837688.619718] solo systemd[1]: Reached target System Initialization.50solo # [837688.619791] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container51solo # [837688.619813] solo systemd[1]: Started Daily Cleanup of Temporary Directories.52solo # [837688.619826] solo systemd[1]: Reached target Timer Units.53solo # [837688.619917] solo systemd[1]: Listening on D-Bus System Message Bus Socket.54solo # [837688.620143] solo systemd[1]: Listening on Nix Daemon Socket.55solo # [837688.620239] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.56solo # [837688.620254] solo systemd[1]: Reached target Socket Units.57solo # [837688.620281] solo systemd[1]: Reached target Basic System.58solo # [837688.621678] solo systemd[1]: Starting Import lastlog data into lastlog2 database...59solo # [837688.623235] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...60solo # [837688.623864] solo systemd[1]: Starting resolvconf update...61solo # [837688.624467] solo systemd[1]: Starting Tinc Daemon - mesh...62solo # [837688.637621] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.63solo # [837688.639203] solo systemd[1]: Started Tinc Daemon - mesh.64solo # [837688.640116] solo systemd[1]: Started tinc-auth.service.65solo # [837688.640361] solo systemd[1]: Finished Import lastlog data into lastlog2 database.66solo # [837688.650898] solo tincd[236]: [INFO tincd] tincd 0.1.0 starting, debug level 067solo # [837688.651164] solo tincd[236]: [INFO tincd] tincd starting, name=alpha68solo # [837688.651164] solo tincd[236]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!69solo # [837688.651198] solo tincd[236]: [INFO tincd] Device mode: Tun, interface: dummy70solo # [837688.651255] solo tincd[236]: [INFO tincd::net] Listening on 0.0.0.0:65571solo # [837688.651295] solo tincd[236]: [INFO tincd::net] Listening on [::]:65572solo # [837688.651393] solo tincd[236]: [INFO tincd] Ready73solo # [837688.693980] solo systemd[1]: Finished resolvconf update.74solo # [837688.694125] solo systemd[1]: Reached target Preparation for Network.75solo # [837688.695585] solo systemd[1]: Starting Address configuration of eth1...76solo # [837688.705470] solo systemd[1]: Starting Extra networking commands....77solo # [837688.714034] solo systemd[1]: nscd.service: Deactivated successfully.78solo # [837688.714298] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).79solo # [837688.716639] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...80solo # [837688.721302] solo network-addresses-eth1-start[287]: adding address 192.168.1.1/24... done81solo # [837688.724086] solo network-addresses-eth1-start[287]: adding address 2001:db8:1::1/64... done82solo # [837688.728428] solo systemd[1]: Finished Address configuration of eth1.83solo # [837688.767541] solo systemd[1]: Finished Extra networking commands..84solo # [837688.767706] solo systemd[1]: Reached target Network.85solo # [837688.803800] solo tinc-auth[237]: tinc-auth: listening (net=mesh)86solo # [837688.916051] solo nsncd[295]: Aug 24 05:51:19.561 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87solo # [837688.916108] solo systemd[1]: Started Name Service Cache Daemon (nsncd).88solo # [837688.916166] solo systemd[1]: Reached target Host and Network Name Lookups.89solo # [837688.916223] solo systemd[1]: Reached target User and Group Name Lookups.90solo # [837688.945277] solo systemd[1]: Starting User Login Management...91solo # [837688.946528] solo systemd[1]: Starting Permit User Sessions...92solo # [837688.958177] solo systemd[1]: Finished Permit User Sessions.93solo # [837688.959243] solo systemd[1]: Started Console Getty.94solo # [837688.959268] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095solo # [837688.959279] solo systemd[1]: Reached target Login Prompts.96solo # [837689.988051] solo systemd-logind[366]: New seat seat0.97solo # [837689.989304] solo systemd[1]: Starting D-Bus System Message Bus...98solo # [837689.989397] solo systemd[1]: Started User Login Management.99solo # [837689.990221] solo systemd[1]: Starting linger-users.service...100solo # [837690.035388] solo systemd[1]: linger-users.service: Deactivated successfully.101solo # [837690.035720] solo systemd[1]: Finished linger-users.service.102solo # [837690.035954] solo systemd[1]: Reached target Multi-User System.103solo # [837690.359921] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...104solo # [837690.361178] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'105solo # [837690.361178] 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"106solo # [837690.362166] solo systemd[1]: Started D-Bus System Message Bus.107solo # [837690.368749] solo dbus-broker-launch[376]: Ready108solo # [837690.369451] solo systemd[1]: Startup finished in 3.275s.109solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)110solo: waiting for unit tinc-auth.service111solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)112solo: waiting for TCP port 8443 on localhost113Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!114solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)115solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration116solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)117solo: 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'118solo: (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)119solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=UDe97X6H-8LEfUuFf-DW9M1DtjYIy1xkWZ6_eLT8hhk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil120solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=UDe97X6H-8LEfUuFf-DW9M1DtjYIy1xkWZ6_eLT8hhk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.01 seconds)121solo: must succeed: curl -fsS -H 'Authorization: Bearer QKMz-Ov2281Dwuh-ri6stjCvjQPbnu-Tnr0TpMomaI4' http://127.0.0.1:8443/userinfo122solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer QKMz-Ov2281Dwuh-ri6stjCvjQPbnu-Tnr0TpMomaI4' http://127.0.0.1:8443/userinfo, in 0.01 seconds)123(finished: run the VM test script, in 4.25 seconds)124test script finished in 4.35s125cleanup126kill NspawnMachine (pid 50)127Container solo terminated by signal KILL.128(finished: cleanup, in 0.22 seconds)129additionally exposed symbols:130 solo,131 vlan1,132 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