container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #176
· raw
1tribuchet: building on jamie2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.01 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 # No journal files were found.18solo # No journal boot entry found for the specified boot (+0).19solo # [201634.991512] solo systemd-journald[57]: Journal started20solo # [201634.991554] solo systemd-journald[57]: Runtime Journal (/run/log/journal/378e3ea336494b78a3d838df70cb23ad) is 8M, max 4G, 3.9G free.21solo # [201635.028860] solo systemd[1]: Listening on Journal Log Access Socket.22solo # [201635.029241] solo systemd[1]: Finished Apply Kernel Variables.23solo # [201635.067241] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24solo # [201635.141246] solo systemd[1]: Starting Flush Journal to Persistent Storage...25solo # [201635.142967] solo systemd[1]: Starting Create Static Device Nodes in /dev...26solo # [201635.151475] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/378e3ea336494b78a3d838df70cb23ad is 1.697ms for 7 entries.27solo # [201635.151475] solo systemd-journald[57]: System Journal (/var/log/journal/378e3ea336494b78a3d838df70cb23ad) is 512B, max 4G, 3.9G free.28solo # [201635.170769] solo systemd[1]: Finished Create Static Device Nodes in /dev.29solo # [201635.171426] solo systemd[1]: Reached target Preparation for Local File Systems.30solo # [201635.171548] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31solo # [201635.175914] solo systemd[1]: Finished Flush Journal to Persistent Storage.32solo # [201635.249713] solo systemd[1]: Finished Firewall.33solo # [201636.011937] solo systemd[1]: Mounting /run/wrappers...34solo # [201636.043876] solo systemd[1]: Mounted /run/wrappers.35solo # [201636.044928] solo systemd[1]: Reached target Local File Systems.36solo # [201636.046224] solo systemd[1]: Listening on Boot Loader Control Service Socket.37solo # [201636.051398] solo systemd[1]: Starting Create SUID/SGID Wrappers...38solo # [201636.051448] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39solo # [201636.052724] solo systemd[1]: Starting Save Transient machine-id to Disk...40solo # [201636.057284] solo systemd[1]: Starting Create System Files and Directories...41solo # [201636.077345] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42solo # [201636.077766] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43solo # [201636.078083] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/378e3ea336494b78a3d838df70cb23ad failed: Operation not permitted44solo # [201636.078427] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted45solo # [201636.085700] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.4OEvK1hByj/chsh': Operation not permitted46solo # [201636.101389] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47solo # [201636.101565] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [201636.101805] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [201636.102450] solo systemd[1]: Finished Create System Files and Directories.50solo # [201636.139851] solo systemd[1]: Starting Rebuild Journal Catalog...51solo # [201636.140838] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...52solo # [201636.152733] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.53solo # [201636.160545] solo systemd[1]: Finished Rebuild Journal Catalog.54solo # [201636.161844] solo systemd[1]: Starting Update is Completed...55solo # [201636.171472] solo systemd[1]: Finished Update is Completed.56solo # [201636.171614] solo systemd[1]: Reached target System Initialization.57solo # [201636.171686] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58solo # [201636.171713] solo systemd[1]: Started Daily Cleanup of Temporary Directories.59solo # [201636.171725] solo systemd[1]: Reached target Timer Units.60solo # [201636.171831] solo systemd[1]: Listening on D-Bus System Message Bus Socket.61solo # [201636.172079] solo systemd[1]: Listening on Nix Daemon Socket.62solo # [201636.172194] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63solo # [201636.172210] solo systemd[1]: Reached target Socket Units.64solo # [201636.172243] solo systemd[1]: Reached target Basic System.65solo # [201636.173544] solo systemd[1]: Starting Import lastlog data into lastlog2 database...66solo # [201636.174664] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...67solo # [201636.175643] solo systemd[1]: Starting resolvconf update...68solo # [201636.176393] solo systemd[1]: Starting Tinc Daemon - mesh...69solo # [201636.192709] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.70solo # [201636.193448] solo systemd[1]: Finished Import lastlog data into lastlog2 database.71solo # [201636.194566] solo systemd[1]: Started Tinc Daemon - mesh.72solo # [201636.197073] solo systemd[1]: Started tinc-auth.service.73solo # [201636.204608] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 074solo # [201636.205227] solo tincd[189]: [INFO tincd] tincd starting, name=alpha75solo # [201636.205299] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!76solo # [201636.205474] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy77solo # [201636.205694] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65578solo # [201636.205735] solo tincd[189]: [INFO tincd::net] Listening on [::]:65579solo # [201636.206035] solo tincd[189]: [INFO tincd] Ready80solo # [201636.274686] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844381solo # [201636.275138] solo tinc-auth[192]: tinc-auth: listening (net=mesh)82solo # [201636.293470] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.83solo # [201636.295849] solo systemd[1]: Finished Save Transient machine-id to Disk.84solo # [201636.325829] solo systemd[1]: nscd.service: Deactivated successfully.85solo # [201636.326108] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).86solo # [201636.351389] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...87solo # [201636.351825] solo systemd[1]: Finished resolvconf update.88solo # [201636.352909] solo systemd[1]: Reached target Preparation for Network.89solo # [201636.354518] solo systemd[1]: Starting Address configuration of eth1...90solo # [201636.355923] solo systemd[1]: Starting Extra networking commands....91solo # [201636.381991] solo network-addresses-eth1-start[250]: adding address 192.168.1.1/24... done92solo # [201636.384737] solo network-addresses-eth1-start[250]: adding address 2001:db8:1::1/64... done93solo # [201636.389314] solo systemd[1]: Finished Address configuration of eth1.94solo # [201636.458337] solo systemd[1]: Finished Extra networking commands..95solo # [201636.458508] solo systemd[1]: Reached target Network.96solo # [201636.981705] solo nsncd[248]: Sep 13 21:12:25.269 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"97solo # [201636.981944] solo systemd[1]: Started Name Service Cache Daemon (nsncd).98solo # [201636.982049] solo systemd[1]: Reached target Host and Network Name Lookups.99solo # [201636.982155] solo systemd[1]: Reached target User and Group Name Lookups.100solo # [201636.996067] solo systemd[1]: Starting User Login Management...101solo # [201636.997671] solo systemd[1]: Starting Permit User Sessions...102solo # [201637.011867] solo systemd[1]: Finished Permit User Sessions.103solo # [201637.013735] solo systemd[1]: Started Console Getty.104solo # [201637.013792] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0105solo # [201637.013822] solo systemd[1]: Reached target Login Prompts.106solo # [201639.427792] solo systemd-logind[319]: New seat seat0.107solo # [201639.429096] solo systemd[1]: Starting D-Bus System Message Bus...108solo # [201639.429190] solo systemd[1]: Started User Login Management.109solo # [201639.430068] solo systemd[1]: Starting linger-users.service...110solo # [201639.444762] solo systemd[1]: linger-users.service: Deactivated successfully.111solo # [201639.445012] solo systemd[1]: Finished linger-users.service.112solo # [201639.445141] solo systemd[1]: Reached target Multi-User System.113solo: (finished: waiting for unit tinc.mesh.service, in 6.66 seconds)114solo: waiting for unit tinc-auth.service115solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)116solo: waiting for TCP port 8443 on localhost117Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!118solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)119solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration120solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)121solo: 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'122solo: (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)123solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=1_1D84tZW3NkPU87rX4RSQ3qPO3UdmJ9_Xb9OAiiVv8 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil124solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=1_1D84tZW3NkPU87rX4RSQ3qPO3UdmJ9_Xb9OAiiVv8 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)125solo: must succeed: curl -fsS -H 'Authorization: Bearer 5SXEudr-xY6cShL0evOJOMzmbO0HchTO0Nje3DGPgew' http://127.0.0.1:8443/userinfo126solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 5SXEudr-xY6cShL0evOJOMzmbO0HchTO0Nje3DGPgew' http://127.0.0.1:8443/userinfo, in 0.01 seconds)127(finished: run the VM test script, in 6.75 seconds)128solo # [201640.493251] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...129solo # [201640.494651] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'130solo # [201640.494651] solo dbus-broker-launch[329]: Invalid user-name in /nix/store/wv5v44kwv3mk0603n488qi178bxbgav3-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"131solo # [201640.495413] solo systemd[1]: Started D-Bus System Message Bus.132solo # [201640.495820] solo systemd[1]: Startup finished in 5.869s.133solo # [201640.501307] solo dbus-broker-launch[329]: Ready134test script finished in 6.85s135cleanup136kill NspawnMachine (pid 50)137Container solo terminated by signal KILL.138(finished: cleanup, in 0.22 seconds)139additionally exposed symbols:140 solo,141 vlan1,142 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