container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #302
· 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 # No journal files were found.20solo # No journal boot entry found for the specified boot (+0).21solo # [168965.997977] solo systemd-journald[57]: Journal started22solo # [168965.998155] solo systemd-journald[57]: Runtime Journal (/run/log/journal/dd9324c61d754002bf4d75538df63371) is 8M, max 4G, 3.9G free.23solo # [168966.053292] solo systemd[1]: Listening on Journal Log Access Socket.24solo # [168966.054711] solo systemd[1]: Finished Apply Kernel Variables.25solo # [168966.107066] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.26solo # [168966.212882] solo systemd[1]: Starting Flush Journal to Persistent Storage...27solo # [168966.217475] solo systemd[1]: Starting Create Static Device Nodes in /dev...28solo # [168966.261482] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/dd9324c61d754002bf4d75538df63371 is 3.627ms for 7 entries.29solo # [168966.261482] solo systemd-journald[57]: System Journal (/var/log/journal/dd9324c61d754002bf4d75538df63371) is 512B, max 4G, 3.9G free.30solo # [168966.319430] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [168966.322698] solo systemd[1]: Finished Create Static Device Nodes in /dev.32solo # [168966.325788] solo systemd[1]: Reached target Preparation for Local File Systems.33solo # [168966.326057] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34solo # [168966.558560] solo systemd[1]: Finished Firewall.35solo # [168967.136959] solo systemd[1]: Mounting /run/wrappers...36solo # [168967.248459] solo systemd[1]: Mounted /run/wrappers.37solo # [168967.259054] solo systemd[1]: Reached target Local File Systems.38solo # [168967.261194] solo systemd[1]: Listening on Boot Loader Control Service Socket.39solo # [168967.264369] solo systemd[1]: Starting Create SUID/SGID Wrappers...40solo # [168967.264454] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41solo # [168967.267077] solo systemd[1]: Starting Save Transient machine-id to Disk...42solo # [168967.269537] solo systemd[1]: Starting Create System Files and Directories...43solo # [168967.313604] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted44solo # [168967.314860] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted45solo # [168967.315950] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/dd9324c61d754002bf4d75538df63371 failed: Operation not permitted46solo # [168967.316444] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.so12I3jzVm/chsh': Operation not permitted47solo # [168967.316633] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted48solo # [168967.345552] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE49solo # [168967.345726] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.50solo # [168967.346216] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.51solo # [168967.347238] solo systemd[1]: Finished Create System Files and Directories.52solo # [168967.483442] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.53solo # [168967.601969] solo systemd[1]: Finished Save Transient machine-id to Disk.54solo # [168967.630194] solo systemd[1]: Starting Rebuild Journal Catalog...55solo # [168967.632992] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...56solo # [168967.671183] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.57solo # [168967.677767] solo systemd[1]: Finished Rebuild Journal Catalog.58solo # [168967.687651] solo systemd[1]: Starting Update is Completed...59solo # [168967.757531] solo systemd[1]: Finished Update is Completed.60solo # [168967.759284] solo systemd[1]: Reached target System Initialization.61solo # [168967.759549] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container62solo # [168967.759642] solo systemd[1]: Started Daily Cleanup of Temporary Directories.63solo # [168967.759676] solo systemd[1]: Reached target Timer Units.64solo # [168967.759966] solo systemd[1]: Listening on D-Bus System Message Bus Socket.65solo # [168967.760741] solo systemd[1]: Listening on Nix Daemon Socket.66solo # [168967.760957] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.67solo # [168967.760984] solo systemd[1]: Reached target Socket Units.68solo # [168967.761079] solo systemd[1]: Reached target Basic System.69solo # [168967.764449] solo systemd[1]: Starting Import lastlog data into lastlog2 database...70solo # [168967.767789] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...71solo # [168967.770072] solo systemd[1]: Starting resolvconf update...72solo # [168967.771859] solo systemd[1]: Starting Tinc Daemon - mesh...73solo # [168967.806896] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.74solo # [168967.816077] solo systemd[1]: Started Tinc Daemon - mesh.75solo # [168967.816723] solo systemd[1]: Finished Import lastlog data into lastlog2 database.76solo # [168967.820930] solo systemd[1]: Started tinc-auth.service.77solo # [168967.838696] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 078solo # [168967.839467] solo tincd[190]: [INFO tincd] tincd starting, name=alpha79solo # [168967.839467] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!80solo # [168967.839467] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy81solo # [168967.839588] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65582solo # [168967.839629] solo tincd[190]: [INFO tincd::net] Listening on [::]:65583solo # [168967.839855] solo tincd[190]: [INFO tincd] Ready84solo # [168967.982721] solo tinc-auth[193]: tinc-auth: IdP listening on 127.0.0.1:844385solo # [168967.996457] solo tinc-auth[193]: tinc-auth: listening (net=mesh)86solo # [168967.997037] solo systemd[1]: nscd.service: Deactivated successfully.87solo # [168967.999746] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).88solo # [168968.010469] solo systemd[1]: Finished resolvconf update.89solo # [168968.012249] solo systemd[1]: Reached target Preparation for Network.90solo # [168968.015591] solo systemd[1]: Starting Address configuration of eth1...91solo # [168968.018734] solo systemd[1]: Starting Extra networking commands....92solo # [168968.022040] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...93solo # [168968.070493] solo network-addresses-eth1-start[257]: adding address 192.168.1.1/24... done94solo # [168968.079214] solo network-addresses-eth1-start[257]: adding address 2001:db8:1::1/64... done95solo # [168968.089469] solo systemd[1]: Finished Address configuration of eth1.96solo # [168968.231730] solo systemd[1]: Finished Extra networking commands..97solo # [168968.232339] solo systemd[1]: Reached target Network.98solo # [168969.431211] solo nsncd[259]: Oct 28 08:51:25.475 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"99solo # [168969.431132] solo systemd[1]: Started Name Service Cache Daemon (nsncd).100solo # [168969.431252] solo systemd[1]: Reached target Host and Network Name Lookups.101solo # [168969.431346] solo systemd[1]: Reached target User and Group Name Lookups.102solo # [168969.434828] solo systemd[1]: Starting User Login Management...103solo # [168969.437076] solo systemd[1]: Starting Permit User Sessions...104solo # [168969.499823] solo systemd[1]: Finished Permit User Sessions.105solo # [168969.510959] solo systemd[1]: Started Console Getty.106solo # [168969.511092] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0107solo # [168969.511125] solo systemd[1]: Reached target Login Prompts.108solo: still waiting for container 'solo' to reach ready state...109solo # [168975.184916] solo systemd-logind[327]: New seat seat0.110solo # [168975.188046] solo systemd[1]: Starting D-Bus System Message Bus...111solo # [168975.188298] solo systemd[1]: Started User Login Management.112solo # [168975.190539] solo systemd[1]: Starting linger-users.service...113solo # [168975.228687] solo systemd[1]: linger-users.service: Deactivated successfully.114solo # [168975.229125] solo systemd[1]: Finished linger-users.service.115solo # [168975.229534] solo systemd[1]: Reached target Multi-User System.116solo: (finished: waiting for unit tinc.mesh.service, in 13.22 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.03 seconds)119solo: waiting for TCP port 8443 on localhost120solo # [168976.719178] solo dbus-broker-launch[337]: Looking up NSS user entry for 'systemd-timesync'...121solo # [168976.721098] solo dbus-broker-launch[337]: NSS returned no entry for 'systemd-timesync'122solo # [168976.721098] solo dbus-broker-launch[337]: Invalid user-name in /nix/store/fblgdbfb13hdvyz56as1qyxdpwqj8cvk-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"123solo # [168976.722281] solo systemd[1]: Started D-Bus System Message Bus.124solo # [168976.722990] solo systemd[1]: Startup finished in 11.707s.125solo # [168976.731900] solo dbus-broker-launch[337]: Ready126Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!127solo: (finished: waiting for TCP port 8443 on localhost, in 0.03 seconds)128solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration129solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.04 seconds)130solo: 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'131solo: (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.03 seconds)132solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=i3ZIgthFYEaExqiAu6eVqlsve7MqsVBFHa3VzZB1chU -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil133solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=i3ZIgthFYEaExqiAu6eVqlsve7MqsVBFHa3VzZB1chU -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.05 seconds)134solo: must succeed: curl -fsS -H 'Authorization: Bearer YfkHXKYq5s9kKSwkB4xD9Xl4sAcMLyByhL710wxGc0U' http://127.0.0.1:8443/userinfo135solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer YfkHXKYq5s9kKSwkB4xD9Xl4sAcMLyByhL710wxGc0U' http://127.0.0.1:8443/userinfo, in 0.05 seconds)136(finished: run the VM test script, in 13.45 seconds)137test script finished in 13.56s138cleanup139kill NspawnMachine (pid 50)140Container solo terminated by signal KILL.141(finished: cleanup, in 0.29 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