container-test-run-tinc-auth-container
checks.aarch64-linux.nixos-tinc-auth-container
· build #142
· 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 # [690413.140053] solo systemd-journald[57]: Journal started18solo # [690413.140107] solo systemd-journald[57]: Runtime Journal (/run/log/journal/051f54819ef34032978fbf18e6f43231) is 8M, max 4G, 3.9G free.19solo # [690413.154803] solo systemd[1]: Finished Apply Kernel Variables.20solo # [690413.167727] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [690413.183603] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [690413.184685] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [690413.196933] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/051f54819ef34032978fbf18e6f43231 is 2.485ms for 6 entries.24solo # [690413.196933] solo systemd-journald[57]: System Journal (/var/log/journal/051f54819ef34032978fbf18e6f43231) is 512B, max 4G, 3.9G free.25solo # [690413.202931] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [690413.203790] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [690413.203935] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [690413.223256] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [690413.364404] solo systemd[1]: Finished Firewall.30solo # [690414.181763] solo systemd[1]: Mounting /run/wrappers...31solo # [690414.225490] solo systemd[1]: Mounted /run/wrappers.32solo # [690414.227053] solo systemd[1]: Reached target Local File Systems.33solo # [690414.229085] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [690414.230920] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [690414.230992] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [690414.232722] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [690414.234027] solo systemd[1]: Starting Create System Files and Directories...38solo # [690414.254707] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [690414.255071] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [690414.255488] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/051f54819ef34032978fbf18e6f43231 failed: Operation not permitted41solo # [690414.255844] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [690414.257166] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.R2I1yG4zuj/chsh': Operation not permitted43solo # [690414.275961] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [690414.276156] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [690414.276507] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [690414.277240] solo systemd[1]: Finished Create System Files and Directories.47solo # [690414.310748] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [690414.312673] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [690414.331111] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [690414.337070] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [690414.338768] solo systemd[1]: Starting Update is Completed...52solo # [690414.355831] solo systemd[1]: Finished Update is Completed.53solo # [690414.356127] solo systemd[1]: Reached target System Initialization.54solo # [690414.356267] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [690414.356322] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [690414.356351] solo systemd[1]: Reached target Timer Units.57solo # [690414.356549] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [690414.356858] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [690414.357034] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [690414.357070] solo systemd[1]: Reached target Socket Units.61solo # [690414.357123] solo systemd[1]: Reached target Basic System.62solo # [690414.359130] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [690414.360964] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [690414.362208] solo systemd[1]: Starting resolvconf update...65solo # [690414.363436] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [690414.380567] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.67solo # [690414.415578] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.68solo # [690414.417831] solo systemd[1]: Finished Save Transient machine-id to Disk.69solo # [690414.418957] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [690414.419420] solo systemd[1]: Finished Import lastlog data into lastlog2 database.71solo # [690414.424814] solo systemd[1]: Started tinc-auth.service.72solo # [690414.431790] solo tincd[211]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [690414.432677] solo tincd[211]: [INFO tincd] tincd starting, name=alpha74solo # [690414.432677] solo tincd[211]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [690414.432677] solo tincd[211]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [690414.432677] solo tincd[211]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [690414.432677] solo tincd[211]: [INFO tincd::net] Listening on [::]:65578solo # [690414.432952] solo tincd[211]: [INFO tincd] Ready79solo # [690414.453768] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [690414.454202] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [690414.459517] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [690414.473922] solo systemd[1]: Finished resolvconf update.83solo # [690414.474211] solo systemd[1]: Reached target Preparation for Network.84solo # [690414.475998] solo systemd[1]: Starting Address configuration of eth1...85solo # [690414.477726] solo systemd[1]: Starting Extra networking commands....86solo # [690414.500334] solo network-addresses-eth1-start[245]: adding address 192.168.1.1/24... done87solo # [690414.506063] solo network-addresses-eth1-start[245]: adding address 2001:db8:1::1/64... done88solo # [690414.512886] solo systemd[1]: Finished Address configuration of eth1.89solo # [690414.559414] solo tinc-auth[220]: tinc-auth: IdP listening on 127.0.0.1:844390solo # [690414.559917] solo tinc-auth[220]: tinc-auth: listening (net=mesh)91solo # [690414.562614] solo systemd[1]: Finished Extra networking commands..92solo # [690414.562990] solo systemd[1]: Reached target Network.93solo # [690414.625515] solo nsncd[238]: Sep 07 08:16:28.431 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [690414.625788] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [690414.625910] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [690414.626005] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [690414.629192] solo systemd[1]: Starting User Login Management...98solo # [690414.630874] solo systemd[1]: Starting Permit User Sessions...99solo # [690414.731645] solo systemd[1]: Finished Permit User Sessions.100solo # [690414.734023] solo systemd[1]: Started Console Getty.101solo # [690414.734104] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [690414.734142] solo systemd[1]: Reached target Login Prompts.103solo # [690415.636473] solo systemd-logind[319]: New seat seat0.104solo # [690415.636805] solo systemd[1]: Started User Login Management.105solo # [690415.640077] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [690415.641768] solo systemd[1]: Starting linger-users.service...107solo # [690415.657456] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [690415.657859] solo systemd[1]: Finished linger-users.service.109solo # [690415.658237] solo systemd[1]: Reached target Multi-User System.110solo # [690416.035611] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...111solo # [690416.036984] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'112solo # [690416.036984] solo dbus-broker-launch[329]: Invalid user-name in /nix/store/svp90hqvmfnpikmfrajhq9ml1d08bsv4-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"113solo # [690416.037753] solo systemd[1]: Started D-Bus System Message Bus.114solo # [690416.038355] solo systemd[1]: Startup finished in 3.360s.115solo # [690416.046087] solo dbus-broker-launch[329]: Ready116solo: (finished: waiting for unit tinc.mesh.service, in 4.16 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.02 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.01 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=PzkqKgRtL4LFdcZjWwm22SxoHFhuYv8NLS2tZZv2FJc -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=PzkqKgRtL4LFdcZjWwm22SxoHFhuYv8NLS2tZZv2FJc -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 dw67tDZh7n-T5oN4pOEPTKBvEHhCsPfpN145d-q_EVQ' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer dw67tDZh7n-T5oN4pOEPTKBvEHhCsPfpN145d-q_EVQ' http://127.0.0.1:8443/userinfo, in 0.02 seconds)130(finished: run the VM test script, in 4.28 seconds)131test script finished in 4.37s132cleanup133kill NspawnMachine (pid 50)134(finished: cleanup, in 0.21 seconds)135additionally exposed symbols:136 solo,137 vlan1,138 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_ssh139Container solo terminated by signal KILL.