container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #268
· 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 # [96414.340471] solo systemd-journald[57]: Journal started18solo # [96414.340512] solo systemd-journald[57]: Runtime Journal (/run/log/journal/73791a368e7a45f3a22a9d848033cc8e) is 8M, max 4G, 3.9G free.19solo # [96414.350890] solo systemd[1]: Finished Apply Kernel Variables.20solo # [96414.363874] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [96414.391509] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [96414.392263] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [96414.399526] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/73791a368e7a45f3a22a9d848033cc8e is 1.282ms for 6 entries.24solo # [96414.399526] solo systemd-journald[57]: System Journal (/var/log/journal/73791a368e7a45f3a22a9d848033cc8e) is 512B, max 4G, 3.9G free.25solo # [96414.406820] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [96414.407385] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [96414.407482] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [96414.419325] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [96414.516474] solo systemd[1]: Finished Firewall.30solo # [96415.346083] solo systemd[1]: Mounting /run/wrappers...31solo # [96415.369965] solo systemd[1]: Mounted /run/wrappers.32solo # [96415.370902] solo systemd[1]: Reached target Local File Systems.33solo # [96415.371928] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [96415.373685] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [96415.373725] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [96415.375187] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [96415.376160] solo systemd[1]: Starting Create System Files and Directories...38solo # [96415.397716] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [96415.398136] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [96415.398448] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/73791a368e7a45f3a22a9d848033cc8e failed: Operation not permitted41solo # [96415.398777] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [96415.399666] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.8hBt3gLiX4/chsh': Operation not permitted43solo # [96415.406066] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [96415.406188] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [96415.406373] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [96415.406952] solo systemd[1]: Finished Create System Files and Directories.47solo # [96415.429888] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [96415.431260] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [96415.441116] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [96415.449111] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [96415.450377] solo systemd[1]: Starting Update is Completed...52solo # [96415.459516] solo systemd[1]: Finished Update is Completed.53solo # [96415.459607] solo systemd[1]: Reached target System Initialization.54solo # [96415.459678] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [96415.459706] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [96415.459723] solo systemd[1]: Reached target Timer Units.57solo # [96415.459839] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [96415.460051] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [96415.460180] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [96415.460198] solo systemd[1]: Reached target Socket Units.61solo # [96415.460236] solo systemd[1]: Reached target Basic System.62solo # [96415.461926] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [96415.463080] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [96415.463849] solo systemd[1]: Starting resolvconf update...65solo # [96415.464595] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [96415.477141] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [96415.477782] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [96415.479648] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [96415.480685] solo systemd[1]: Started tinc-auth.service.70solo # [96415.487440] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [96415.487807] solo tincd[189]: [INFO tincd] tincd starting, name=alpha72solo # [96415.487844] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [96415.488066] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [96415.488233] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [96415.488262] solo tincd[189]: [INFO tincd::net] Listening on [::]:65576solo # [96415.488501] solo tincd[189]: [INFO tincd] Ready77solo # [96415.525287] solo systemd[1]: nscd.service: Deactivated successfully.78solo # [96415.554300] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:844379solo # [96415.554711] solo tinc-auth[191]: tinc-auth: listening (net=mesh)80solo # [96415.556263] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [96415.558263] solo systemd[1]: Finished resolvconf update.82solo # [96415.559439] solo systemd[1]: Reached target Preparation for Network.83solo # [96415.560817] solo systemd[1]: Starting Address configuration of eth1...84solo # [96415.561980] solo systemd[1]: Starting Extra networking commands....85solo # [96415.563039] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...86solo # [96415.578866] solo network-addresses-eth1-start[249]: adding address 192.168.1.1/24... done87solo # [96415.582369] solo network-addresses-eth1-start[249]: adding address 2001:db8:1::1/64... done88solo # [96415.585489] solo systemd[1]: Finished Address configuration of eth1.89solo # [96415.641322] solo systemd[1]: Finished Extra networking commands..90solo # [96415.641970] solo systemd[1]: Reached target Network.91solo # [96415.728371] solo nsncd[251]: Oct 27 12:42:11.773 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"92solo # [96415.728537] solo systemd[1]: Started Name Service Cache Daemon (nsncd).93solo # [96415.728601] solo systemd[1]: Reached target Host and Network Name Lookups.94solo # [96415.728655] solo systemd[1]: Reached target User and Group Name Lookups.95solo # [96415.730124] solo systemd[1]: Starting User Login Management...96solo # [96415.731036] solo systemd[1]: Starting Permit User Sessions...97solo # [96415.765895] solo systemd[1]: Finished Permit User Sessions.98solo # [96415.767175] solo systemd[1]: Started Console Getty.99solo # [96415.767202] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0100solo # [96415.767214] solo systemd[1]: Reached target Login Prompts.101solo # [96415.873942] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.102solo # [96415.897233] solo systemd[1]: Finished Save Transient machine-id to Disk.103solo # [96416.998250] solo systemd-logind[319]: New seat seat0.104solo # [96416.999289] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [96416.999375] solo systemd[1]: Started User Login Management.106solo # [96417.000352] solo systemd[1]: Starting linger-users.service...107solo # [96417.014454] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [96417.014589] solo systemd[1]: Finished linger-users.service.109solo # [96417.014750] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 4.16 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.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 # [96417.404932] solo dbus-broker-launch[330]: Looking up NSS user entry for 'systemd-timesync'...120solo # [96417.406048] solo dbus-broker-launch[330]: NSS returned no entry for 'systemd-timesync'121solo # [96417.406048] solo dbus-broker-launch[330]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"122solo # [96417.406936] solo systemd[1]: Started D-Bus System Message Bus.123solo # [96417.407240] solo systemd[1]: Startup finished in 3.475s.124solo # [96417.413254] solo dbus-broker-launch[330]: Ready125solo: (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.01 seconds)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=EG4Z-TbJFFBkb9sAQX8GfWbX5WGT0ysOLA2HOglV_Vk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil127solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=EG4Z-TbJFFBkb9sAQX8GfWbX5WGT0ysOLA2HOglV_Vk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)128solo: must succeed: curl -fsS -H 'Authorization: Bearer TdwLKhxCVcR9IIbZ-iWu9eC0Z8W71YAHL8CKbgl46vc' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer TdwLKhxCVcR9IIbZ-iWu9eC0Z8W71YAHL8CKbgl46vc' http://127.0.0.1:8443/userinfo, in 0.01 seconds)130(finished: run the VM test script, in 4.23 seconds)131test script finished in 4.27s132cleanup133kill NspawnMachine (pid 50)134Container solo terminated by signal KILL.135(finished: cleanup, in 0.22 seconds)136additionally exposed symbols:137 solo,138 vlan1,139 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