container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #40
· 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 # [790086.577734] solo systemd-journald[57]: Journal started18solo # [790086.577775] solo systemd-journald[57]: Runtime Journal (/run/log/journal/67b36e4528894b4dbff846746dc90a7c) is 8M, max 4G, 3.9G free.19solo # [790086.595779] solo systemd[1]: Finished Apply Kernel Variables.20solo # [790086.605563] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [790086.617112] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [790086.618188] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [790086.626614] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/67b36e4528894b4dbff846746dc90a7c is 1.649ms for 6 entries.24solo # [790086.626614] solo systemd-journald[57]: System Journal (/var/log/journal/67b36e4528894b4dbff846746dc90a7c) is 512B, max 4G, 3.9G free.25solo # [790086.632647] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [790086.633221] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [790086.633323] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [790086.649768] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [790086.755246] solo systemd[1]: Finished Firewall.30solo # [790087.639038] solo systemd[1]: Mounting /run/wrappers...31solo # [790087.710133] solo systemd[1]: Mounted /run/wrappers.32solo # [790087.711616] solo systemd[1]: Reached target Local File Systems.33solo # [790087.713200] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [790087.717192] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [790087.717237] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [790087.718300] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [790087.719050] solo systemd[1]: Starting Create System Files and Directories...38solo # [790087.740811] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [790087.795505] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.40solo # [790087.832038] solo systemd[1]: Finished Save Transient machine-id to Disk.41solo # [790087.832826] solo systemd[1]: Finished Create System Files and Directories.42solo # [790087.851378] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.43solo # [790087.863789] solo systemd[1]: Finished Create SUID/SGID Wrappers.44solo # [790087.867202] solo systemd[1]: Starting Rebuild Journal Catalog...45solo # [790087.868017] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...46solo # [790087.887505] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.47solo # [790087.900021] solo systemd[1]: Finished Rebuild Journal Catalog.48solo # [790087.901176] solo systemd[1]: Starting Update is Completed...49solo # [790087.917611] solo systemd[1]: Finished Update is Completed.50solo # [790087.917701] solo systemd[1]: Reached target System Initialization.51solo # [790087.917767] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [790087.917789] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [790087.917802] solo systemd[1]: Reached target Timer Units.54solo # [790087.917894] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [790087.918247] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [790087.918346] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [790087.918359] solo systemd[1]: Reached target Socket Units.58solo # [790087.918387] solo systemd[1]: Reached target Basic System.59solo # [790087.919531] solo systemd[1]: Starting Import lastlog data into lastlog2 database...60solo # [790087.920534] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...61solo # [790087.921622] solo systemd[1]: Starting resolvconf update...62solo # [790087.922407] solo systemd[1]: Starting Tinc Daemon - mesh...63solo # [790087.937270] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.64solo # [790087.939646] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [790087.940954] solo systemd[1]: Started tinc-auth.service.66solo # [790087.941234] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [790087.949685] solo tincd[237]: [INFO tincd] tincd 0.1.0 starting, debug level 068solo # [790087.950050] solo tincd[237]: [INFO tincd] tincd starting, name=alpha69solo # [790087.950050] solo tincd[237]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!70solo # [790087.950050] solo tincd[237]: [INFO tincd] Device mode: Tun, interface: dummy71solo # [790087.950050] solo tincd[237]: [INFO tincd::net] Listening on 0.0.0.0:65572solo # [790087.950050] solo tincd[237]: [INFO tincd::net] Listening on [::]:65573solo # [790087.950212] solo tincd[237]: [INFO tincd] Ready74solo # [790087.973164] solo tinc-auth[239]: tinc-auth: listening (net=mesh)75solo # [790087.994250] solo systemd[1]: Finished resolvconf update.76solo # [790087.995037] solo systemd[1]: Reached target Preparation for Network.77solo # [790087.996124] solo systemd[1]: Starting Address configuration of eth1...78solo # [790087.997175] solo systemd[1]: Starting Extra networking commands....79solo # [790088.026780] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [790088.026949] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [790088.029093] solo network-addresses-eth1-start[293]: adding address 192.168.1.1/24... done82solo # [790088.029748] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...83solo # [790088.032190] solo network-addresses-eth1-start[293]: adding address 2001:db8:1::1/64... done84solo # [790088.036939] solo systemd[1]: Finished Address configuration of eth1.85solo # [790088.075308] solo systemd[1]: Finished Extra networking commands..86solo # [790088.076115] solo systemd[1]: Reached target Network.87solo # [790088.278154] solo nsncd[306]: Aug 23 16:37:58.923 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88solo # [790088.278111] solo systemd[1]: Started Name Service Cache Daemon (nsncd).89solo # [790088.278203] solo systemd[1]: Reached target Host and Network Name Lookups.90solo # [790088.278301] solo systemd[1]: Reached target User and Group Name Lookups.91solo # [790088.280785] solo systemd[1]: Starting User Login Management...92solo # [790088.282303] solo systemd[1]: Starting Permit User Sessions...93solo # [790088.294369] solo systemd[1]: Finished Permit User Sessions.94solo # [790088.296235] solo systemd[1]: Started Console Getty.95solo # [790088.296291] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096solo # [790088.296322] solo systemd[1]: Reached target Login Prompts.97solo # [790089.393821] solo systemd-logind[366]: New seat seat0.98solo # [790089.394351] solo systemd[1]: Started User Login Management.99solo # [790089.396638] solo systemd[1]: Starting D-Bus System Message Bus...100solo # [790089.398199] solo systemd[1]: Starting linger-users.service...101solo # [790089.428698] solo systemd[1]: linger-users.service: Deactivated successfully.102solo # [790089.429087] solo systemd[1]: Finished linger-users.service.103solo # [790089.429510] solo systemd[1]: Reached target Multi-User System.104solo: (finished: waiting for unit tinc.mesh.service, in 4.18 seconds)105solo: waiting for unit tinc-auth.service106solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)107solo: waiting for TCP port 8443 on localhost108Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!109solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)110solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration111solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)112solo: 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'113solo: (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)114solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=1WoyduMOfablG1unh_xlxiSoPP1hT3Gn7sVu2K-y8II -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil115solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=1WoyduMOfablG1unh_xlxiSoPP1hT3Gn7sVu2K-y8II -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)116solo: must succeed: curl -fsS -H 'Authorization: Bearer uuBuez2joAkGXHezgwa4xwh75LrvUEpiIKSVE-Zo2og' http://127.0.0.1:8443/userinfo117solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer uuBuez2joAkGXHezgwa4xwh75LrvUEpiIKSVE-Zo2og' http://127.0.0.1:8443/userinfo, in 0.01 seconds)118(finished: run the VM test script, in 4.29 seconds)119solo # [790089.880319] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...120solo # [790089.882122] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'121solo # [790089.882122] 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"122solo # [790089.882962] solo systemd[1]: Started D-Bus System Message Bus.123solo # [790089.888694] solo dbus-broker-launch[376]: Ready124solo # [790089.889377] solo systemd[1]: Startup finished in 3.650s.125test script finished in 4.40s126cleanup127kill 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