container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #308
· 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 boot entry found for the specified boot (+0).18solo # [559297.250509] solo systemd-journald[58]: Journal started19solo # [559297.250617] solo systemd-journald[58]: Runtime Journal (/run/log/journal/df745eab87854203b8f14e68692ddf9a) is 8M, max 4G, 3.9G free.20solo # [559297.257126] solo systemd[1]: Finished Apply Kernel Variables.21solo # [559297.267859] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22solo # [559297.279195] solo systemd[1]: Starting Flush Journal to Persistent Storage...23solo # [559297.279842] solo systemd[1]: Starting Create Static Device Nodes in /dev...24solo # [559297.332468] solo systemd-journald[58]: Time spent on flushing to /var/log/journal/df745eab87854203b8f14e68692ddf9a is 1.657ms for 6 entries.25solo # [559297.332468] solo systemd-journald[58]: System Journal (/var/log/journal/df745eab87854203b8f14e68692ddf9a) is 512B, max 4G, 3.9G free.26solo # [559297.344305] solo systemd[1]: Finished Create Static Device Nodes in /dev.27solo # [559297.345146] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [559297.345266] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [559297.409556] solo systemd[1]: Finished Firewall.30solo # [559297.601400] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [559298.256639] solo systemd[1]: Mounting /run/wrappers...32solo # [559298.280057] solo systemd[1]: Mounted /run/wrappers.33solo # [559298.280709] solo systemd[1]: Reached target Local File Systems.34solo # [559298.281306] solo systemd[1]: Listening on Boot Loader Control Service Socket.35solo # [559298.282147] solo systemd[1]: Starting Create SUID/SGID Wrappers...36solo # [559298.282172] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37solo # [559298.282858] solo systemd[1]: Starting Save Transient machine-id to Disk...38solo # [559298.283431] solo systemd[1]: Starting Create System Files and Directories...39solo # [559298.300694] solo systemd-tmpfiles[162]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [559298.301089] solo systemd-tmpfiles[162]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [559298.301367] solo systemd-tmpfiles[162]: fchmod() of /var/log/journal/df745eab87854203b8f14e68692ddf9a failed: Operation not permitted42solo # [559298.301695] solo systemd-tmpfiles[162]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [559298.307818] solo systemd[1]: Finished Create System Files and Directories.44solo # [559298.308737] solo suid-sgid-wrappers-start[170]: chmod: changing permissions of '/run/wrappers/wrappers.ZPBT3zQYxL/chsh': Operation not permitted45solo # [559298.318993] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE46solo # [559298.319063] solo systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available47solo # [559298.319105] solo systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available48solo # [559298.319135] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.49solo # [559298.319275] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.50solo # [559298.320818] solo systemd[1]: Starting Rebuild Journal Catalog...51solo # [559298.321450] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...52solo # [559298.331866] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.53solo # [559298.339763] solo systemd[1]: Finished Rebuild Journal Catalog.54solo # [559298.340834] solo systemd[1]: Starting Update is Completed...55solo # [559298.352710] solo systemd[1]: Finished Update is Completed.56solo # [559298.352842] solo systemd[1]: Reached target System Initialization.57solo # [559298.352901] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58solo # [559298.352945] solo systemd[1]: Started Daily Cleanup of Temporary Directories.59solo # [559298.352960] solo systemd[1]: Reached target Timer Units.60solo # [559298.353072] solo systemd[1]: Listening on D-Bus System Message Bus Socket.61solo # [559298.353235] solo systemd[1]: Listening on Nix Daemon Socket.62solo # [559298.353331] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63solo # [559298.353345] solo systemd[1]: Reached target Socket Units.64solo # [559298.353368] solo systemd[1]: Reached target Basic System.65solo # [559298.355055] solo systemd[1]: Starting Import lastlog data into lastlog2 database...66solo # [559298.355942] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...67solo # [559298.356540] solo systemd[1]: Starting resolvconf update...68solo # [559298.357146] solo systemd[1]: Starting Tinc Daemon - mesh...69solo # [559298.373944] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.70solo # [559298.375363] solo systemd[1]: Started Tinc Daemon - mesh.71solo # [559298.375751] solo systemd[1]: Finished Import lastlog data into lastlog2 database.72solo # [559298.385448] solo systemd[1]: Started tinc-auth.service.73solo # [559298.391510] solo tincd[191]: [INFO tincd] tincd 0.1.0 starting, debug level 074solo # [559298.392045] solo tincd[191]: [INFO tincd] tincd starting, name=alpha75solo # [559298.392090] solo tincd[191]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!76solo # [559298.392251] solo tincd[191]: [INFO tincd] Device mode: Tun, interface: dummy77solo # [559298.392535] solo tincd[191]: [INFO tincd::net] Listening on 0.0.0.0:65578solo # [559298.392566] solo tincd[191]: [INFO tincd::net] Listening on [::]:65579solo # [559298.392811] solo tincd[191]: [INFO tincd] Ready80solo # [559298.438631] solo systemd[1]: nscd.service: Failed to read pids.max for control group /system.slice/nscd.service, ignoring: No data available81solo # [559298.438779] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [559298.438945] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [559298.439919] solo tinc-auth[196]: tinc-auth: IdP listening on 127.0.0.1:844384solo # [559298.440895] solo tinc-auth[196]: tinc-auth: listening (net=mesh)85solo # [559298.441702] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...86solo # [559298.452719] solo systemd[1]: Finished resolvconf update.87solo # [559298.452901] solo systemd[1]: Reached target Preparation for Network.88solo # [559298.454953] solo systemd[1]: Starting Address configuration of eth1...89solo # [559298.455951] solo systemd[1]: Starting Extra networking commands....90solo # [559298.476261] solo network-addresses-eth1-start[259]: adding address 192.168.1.1/24... done91solo # [559298.483944] solo network-addresses-eth1-start[259]: adding address 2001:db8:1::1/64... done92solo # [559298.489258] solo systemd[1]: Finished Address configuration of eth1.93solo # [559298.514083] solo systemd[1]: Finished Extra networking commands..94solo # [559298.514237] solo systemd[1]: Reached target Network.95solo # [559298.708856] solo systemd[1]: Started Name Service Cache Daemon (nsncd).96solo # [559298.708930] solo systemd[1]: Reached target Host and Network Name Lookups.97solo # [559298.709160] solo nsncd[252]: Nov 01 21:16:54.753 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"98solo # [559298.709078] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [559298.729975] solo systemd[1]: Starting User Login Management...100solo # [559298.731240] solo systemd[1]: Starting Permit User Sessions...101solo # [559298.741613] solo systemd[1]: Finished Permit User Sessions.102solo # [559298.742717] solo systemd[1]: Started Console Getty.103solo # [559298.742746] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [559298.742760] solo systemd[1]: Reached target Login Prompts.105solo # [559298.915442] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.106solo # [559298.916517] solo systemd[1]: Finished Save Transient machine-id to Disk.107solo # [559300.152901] solo systemd-logind[327]: New seat seat0.108solo # [559300.154021] solo systemd[1]: Starting D-Bus System Message Bus...109solo # [559300.154277] solo systemd[1]: Started User Login Management.110solo # [559300.155100] solo systemd[1]: Starting linger-users.service...111solo # [559300.190868] solo systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available112solo # [559300.190917] solo systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available113solo # [559300.190954] solo systemd[1]: linger-users.service: Deactivated successfully.114solo # [559300.191538] solo systemd[1]: Finished linger-users.service.115solo # [559300.191765] solo systemd[1]: Reached target Multi-User System.116solo: (finished: waiting for unit tinc.mesh.service, in 4.69 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)119solo: waiting for TCP port 8443 on localhost120Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!121solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)122solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration123solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)124solo: 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'125solo: (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)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=V3fKwffTL-X1h1JduZYb8_rIOlz6Sw4ZEkVsnyV7j8Q -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=V3fKwffTL-X1h1JduZYb8_rIOlz6Sw4ZEkVsnyV7j8Q -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 M2GP8CY1qGsf8i8p3TRRR9S7n9EposjsL-76K3OGhk8' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer M2GP8CY1qGsf8i8p3TRRR9S7n9EposjsL-76K3OGhk8' http://127.0.0.1:8443/userinfo, in 0.01 seconds)130(finished: run the VM test script, in 4.79 seconds)131solo # [559301.018255] solo dbus-broker-launch[338]: Looking up NSS user entry for 'systemd-timesync'...132solo # [559301.020507] solo dbus-broker-launch[338]: NSS returned no entry for 'systemd-timesync'133solo # [559301.020507] solo dbus-broker-launch[338]: Invalid user-name in /nix/store/75mffjd6kbm4i4a88halibgbr9z3aaww-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"134solo # [559301.022908] solo systemd[1]: Started D-Bus System Message Bus.135solo # [559301.024116] solo systemd[1]: Startup finished in 4.184s.136solo # [559301.031128] solo dbus-broker-launch[338]: Ready137test script finished in 5.43s138cleanup139kill NspawnMachine (pid 50)140Container solo terminated by signal KILL.141(finished: cleanup, in 0.21 seconds)142additionally exposed symbols:143 solo,144 vlan1,145 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