container-test-run-tinc-auth-container
checks.aarch64-linux.nixos-tinc-auth-container
· build #58
· raw
1tribuchet: building on eliza2Machine 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 # [2128445.189526] solo systemd-journald[57]: Journal started18solo # [2128445.189582] solo systemd-journald[57]: Runtime Journal (/run/log/journal/06cf06f870ed4976b5b97bd64508a27e) is 8M, max 4G, 3.9G free.19solo # [2128445.193639] solo systemd[1]: Finished Apply Kernel Variables.20solo # [2128445.204496] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [2128445.218062] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [2128445.218770] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [2128445.230199] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/06cf06f870ed4976b5b97bd64508a27e is 2.306ms for 6 entries.24solo # [2128445.230199] solo systemd-journald[57]: System Journal (/var/log/journal/06cf06f870ed4976b5b97bd64508a27e) is 512B, max 4G, 3.9G free.25solo # [2128445.236707] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [2128445.237410] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [2128445.237570] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [2128445.257772] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [2128445.362429] solo systemd[1]: Finished Firewall.30solo # [2128446.187092] solo systemd[1]: Mounting /run/wrappers...31solo # [2128446.224286] solo systemd[1]: Mounted /run/wrappers.32solo # [2128446.225623] solo systemd[1]: Reached target Local File Systems.33solo # [2128446.227284] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [2128446.228692] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [2128446.228740] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [2128446.229820] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [2128446.230773] solo systemd[1]: Starting Create System Files and Directories...38solo # [2128446.249270] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [2128446.262756] solo systemd[1]: Finished Create System Files and Directories.40solo # [2128446.287203] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [2128446.288532] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [2128446.304413] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [2128446.312108] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [2128446.313787] solo systemd[1]: Starting Update is Completed...45solo # [2128446.353515] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.46solo # [2128446.355147] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.47solo # [2128446.355433] solo systemd[1]: Finished Create SUID/SGID Wrappers.48solo # [2128446.355801] solo systemd[1]: Finished Save Transient machine-id to Disk.49solo # [2128446.356215] solo systemd[1]: Finished Update is Completed.50solo # [2128446.358186] solo systemd[1]: Reached target System Initialization.51solo # [2128446.358320] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [2128446.358368] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [2128446.358405] solo systemd[1]: Reached target Timer Units.54solo # [2128446.358558] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [2128446.358856] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [2128446.358995] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [2128446.359030] solo systemd[1]: Reached target Socket Units.58solo # [2128446.359069] solo systemd[1]: Reached target Basic System.59solo # [2128446.360917] solo systemd[1]: Starting Import lastlog data into lastlog2 database...60solo # [2128446.362154] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...61solo # [2128446.363058] solo systemd[1]: Starting resolvconf update...62solo # [2128446.363982] solo systemd[1]: Starting Tinc Daemon - mesh...63solo # [2128446.379525] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.64solo # [2128446.381165] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [2128446.383473] solo systemd[1]: Started tinc-auth.service.66solo # [2128446.383879] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [2128446.391998] solo tincd[235]: [INFO tincd] tincd 0.1.0 starting, debug level 068solo # [2128446.392663] solo tincd[235]: [INFO tincd] tincd starting, name=alpha69solo # [2128446.392663] solo tincd[235]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!70solo # [2128446.392663] solo tincd[235]: [INFO tincd] Device mode: Tun, interface: dummy71solo # [2128446.392663] solo tincd[235]: [INFO tincd::net] Listening on 0.0.0.0:65572solo # [2128446.392663] solo tincd[235]: [INFO tincd::net] Listening on [::]:65573solo # [2128446.392663] solo tincd[235]: [INFO tincd] Ready74solo # [2128446.437736] solo systemd[1]: nscd.service: Deactivated successfully.75solo # [2128446.438071] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).76solo # [2128446.442304] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...77solo # [2128446.451573] solo systemd[1]: Finished resolvconf update.78solo # [2128446.451888] solo systemd[1]: Reached target Preparation for Network.79solo # [2128446.453565] solo systemd[1]: Starting Address configuration of eth1...80solo # [2128446.455007] solo systemd[1]: Starting Extra networking commands....81solo # [2128446.463827] solo tinc-auth[238]: tinc-auth: listening (net=mesh)82solo # [2128446.474108] solo network-addresses-eth1-start[292]: adding address 192.168.1.1/24... done83solo # [2128446.477141] solo network-addresses-eth1-start[292]: adding address 2001:db8:1::1/64... done84solo # [2128446.482202] solo systemd[1]: Finished Address configuration of eth1.85solo # [2128446.573453] solo nsncd[286]: Aug 24 05:46:56.291 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"86solo # [2128446.581751] solo systemd[1]: Finished Extra networking commands..87solo # [2128446.582090] solo systemd[1]: Started Name Service Cache Daemon (nsncd).88solo # [2128446.582309] solo systemd[1]: Reached target Network.89solo # [2128446.582422] solo systemd[1]: Reached target Host and Network Name Lookups.90solo # [2128446.582481] solo systemd[1]: Reached target User and Group Name Lookups.91solo # [2128446.585146] solo systemd[1]: Starting User Login Management...92solo # [2128446.586729] solo systemd[1]: Starting Permit User Sessions...93solo # [2128446.599306] solo systemd[1]: Finished Permit User Sessions.94solo # [2128446.601340] solo systemd[1]: Started Console Getty.95solo # [2128446.601420] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096solo # [2128446.601462] solo systemd[1]: Reached target Login Prompts.97solo # [2128447.247817] solo systemd-logind[366]: New seat seat0.98solo # [2128447.248231] solo systemd[1]: Started User Login Management.99solo # [2128447.250470] solo systemd[1]: Starting D-Bus System Message Bus...100solo # [2128447.251937] solo systemd[1]: Starting linger-users.service...101solo # [2128447.267061] solo systemd[1]: linger-users.service: Deactivated successfully.102solo # [2128447.267397] solo systemd[1]: Finished linger-users.service.103solo # [2128447.267739] solo systemd[1]: Reached target Multi-User System.104solo # [2128447.502986] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...105solo # [2128447.503962] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'106solo # [2128447.503962] solo dbus-broker-launch[376]: Invalid user-name in /nix/store/r7fg24fcxbq27yllk43qd5x5ycajgf11-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"107solo # [2128447.504648] solo systemd[1]: Started D-Bus System Message Bus.108solo # [2128447.513070] solo dbus-broker-launch[376]: Ready109solo # [2128447.513754] solo systemd[1]: Startup finished in 2.728s.110solo: (finished: waiting for unit tinc.mesh.service, in 3.66 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.02 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=5H772tKvCwwSzrNkgROU7x2uChVhx1rhW0Miw25Sz1w -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=5H772tKvCwwSzrNkgROU7x2uChVhx1rhW0Miw25Sz1w -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 7SIG-1iZbVrVs8QaC66SuXx1FKQ8V2-Ok2geDcT12TY' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 7SIG-1iZbVrVs8QaC66SuXx1FKQ8V2-Ok2geDcT12TY' http://127.0.0.1:8443/userinfo, in 0.02 seconds)124(finished: run the VM test script, in 3.75 seconds)125test script finished in 3.86s126cleanup127kill NspawnMachine (pid 50)128Container solo terminated by signal KILL.129(finished: cleanup, in 0.31 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