container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #143
· 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 # No journal files were found.18solo # No journal boot entry found for the specified boot (+0).19solo # [90820.771880] solo systemd-journald[57]: Journal started20solo # [90820.771920] solo systemd-journald[57]: Runtime Journal (/run/log/journal/3be8ac1ab25e4ed0b93b474f369b0d60) is 8M, max 4G, 3.9G free.21solo # [90820.798854] solo systemd[1]: Listening on Journal Log Access Socket.22solo # [90820.799444] solo systemd[1]: Finished Apply Kernel Variables.23solo # [90820.820148] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24solo # [90820.883214] solo systemd[1]: Starting Flush Journal to Persistent Storage...25solo # [90820.884208] solo systemd[1]: Starting Create Static Device Nodes in /dev...26solo # [90820.893975] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/3be8ac1ab25e4ed0b93b474f369b0d60 is 2.203ms for 7 entries.27solo # [90820.893975] solo systemd-journald[57]: System Journal (/var/log/journal/3be8ac1ab25e4ed0b93b474f369b0d60) is 512B, max 4G, 3.9G free.28solo # [90820.906411] solo systemd[1]: Finished Create Static Device Nodes in /dev.29solo # [90820.907254] solo systemd[1]: Reached target Preparation for Local File Systems.30solo # [90820.907389] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31solo # [90820.921663] solo systemd[1]: Finished Flush Journal to Persistent Storage.32solo # [90821.007371] solo systemd[1]: Finished Firewall.33solo # [90821.787556] solo systemd[1]: Mounting /run/wrappers...34solo # [90821.824160] solo systemd[1]: Mounted /run/wrappers.35solo # [90821.825399] solo systemd[1]: Reached target Local File Systems.36solo # [90821.826679] solo systemd[1]: Listening on Boot Loader Control Service Socket.37solo # [90821.832534] solo systemd[1]: Starting Create SUID/SGID Wrappers...38solo # [90821.832578] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39solo # [90821.833996] solo systemd[1]: Starting Save Transient machine-id to Disk...40solo # [90821.835200] solo systemd[1]: Starting Create System Files and Directories...41solo # [90821.857266] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted42solo # [90821.857704] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted43solo # [90821.858024] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.rXIVIK1NGV/chsh': Operation not permitted44solo # [90821.858049] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/3be8ac1ab25e4ed0b93b474f369b0d60 failed: Operation not permitted45solo # [90821.858393] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted46solo # [90821.859400] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47solo # [90821.859528] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [90821.859815] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [90821.863014] solo systemd[1]: Finished Create System Files and Directories.50solo # [90821.926853] solo systemd[1]: Starting Rebuild Journal Catalog...51solo # [90821.928663] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...52solo # [90821.947098] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.53solo # [90821.949748] solo systemd[1]: Finished Rebuild Journal Catalog.54solo # [90821.961383] solo systemd[1]: Starting Update is Completed...55solo # [90821.972375] solo systemd[1]: Finished Update is Completed.56solo # [90821.972751] solo systemd[1]: Reached target System Initialization.57solo # [90821.972840] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58solo # [90821.972925] solo systemd[1]: Started Daily Cleanup of Temporary Directories.59solo # [90821.972943] solo systemd[1]: Reached target Timer Units.60solo # [90821.973365] solo systemd[1]: Listening on D-Bus System Message Bus Socket.61solo # [90821.973681] solo systemd[1]: Listening on Nix Daemon Socket.62solo # [90821.973830] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63solo # [90821.973858] solo systemd[1]: Reached target Socket Units.64solo # [90821.974214] solo systemd[1]: Reached target Basic System.65solo # [90821.979961] solo systemd[1]: Starting Import lastlog data into lastlog2 database...66solo # [90821.981853] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...67solo # [90821.983052] solo systemd[1]: Starting resolvconf update...68solo # [90821.984047] solo systemd[1]: Starting Tinc Daemon - mesh...69solo # [90822.001692] solo tinc.mesh-pre-start[184]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.70solo # [90822.050822] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.71solo # [90822.069278] solo systemd[1]: Finished Save Transient machine-id to Disk.72solo # [90822.072450] solo systemd[1]: Started Tinc Daemon - mesh.73solo # [90822.079035] solo systemd[1]: Started tinc-auth.service.74solo # [90822.092692] solo tincd[219]: [INFO tincd] tincd 0.1.0 starting, debug level 075solo # [90822.093281] solo tincd[219]: [INFO tincd] tincd starting, name=alpha76solo # [90822.093281] solo tincd[219]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!77solo # [90822.093281] solo tincd[219]: [INFO tincd] Device mode: Tun, interface: dummy78solo # [90822.093281] solo tincd[219]: [INFO tincd::net] Listening on 0.0.0.0:65579solo # [90822.093281] solo tincd[219]: [INFO tincd::net] Listening on [::]:65580solo # [90822.093281] solo tincd[219]: [INFO tincd] Ready81solo # [90822.093799] solo systemd[1]: Finished Import lastlog data into lastlog2 database.82solo # [90822.101410] solo systemd[1]: nscd.service: Deactivated successfully.83solo # [90822.101696] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).84solo # [90822.105336] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...85solo # [90822.111560] solo systemd[1]: Finished resolvconf update.86solo # [90822.111749] solo systemd[1]: Reached target Preparation for Network.87solo # [90822.112964] solo systemd[1]: Starting Address configuration of eth1...88solo # [90822.114140] solo systemd[1]: Starting Extra networking commands....89solo # [90822.132442] solo network-addresses-eth1-start[245]: adding address 192.168.1.1/24... done90solo # [90822.133015] solo tinc-auth[223]: tinc-auth: IdP listening on 127.0.0.1:844391solo # [90822.133015] solo tinc-auth[223]: tinc-auth: listening (net=mesh)92solo # [90822.135859] solo network-addresses-eth1-start[245]: adding address 2001:db8:1::1/64... done93solo # [90822.140640] solo systemd[1]: Finished Address configuration of eth1.94solo # [90822.187323] solo systemd[1]: Finished Extra networking commands..95solo # [90822.187471] solo systemd[1]: Reached target Network.96solo # [90822.296076] solo nsncd[239]: Sep 07 08:18:20.257 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"97solo # [90822.296188] solo systemd[1]: Started Name Service Cache Daemon (nsncd).98solo # [90822.296246] solo systemd[1]: Reached target Host and Network Name Lookups.99solo # [90822.296299] solo systemd[1]: Reached target User and Group Name Lookups.100solo # [90822.297939] solo systemd[1]: Starting User Login Management...101solo # [90822.299063] solo systemd[1]: Starting Permit User Sessions...102solo # [90822.314337] solo systemd[1]: Finished Permit User Sessions.103solo # [90822.315699] solo systemd[1]: Started Console Getty.104solo # [90822.315729] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0105solo # [90822.315743] solo systemd[1]: Reached target Login Prompts.106solo # [90823.517854] solo systemd-logind[319]: New seat seat0.107solo # [90823.518323] solo systemd[1]: Started User Login Management.108solo # [90823.520843] solo systemd[1]: Starting D-Bus System Message Bus...109solo # [90823.522515] solo systemd[1]: Starting linger-users.service...110solo # [90823.544333] solo systemd[1]: linger-users.service: Deactivated successfully.111solo # [90823.544590] solo systemd[1]: Finished linger-users.service.112solo # [90823.544813] solo systemd[1]: Reached target Multi-User System.113solo: (finished: waiting for unit tinc.mesh.service, in 4.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.02 seconds)119solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration120solo # [90824.259532] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...121solo # [90824.260473] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'122solo # [90824.260473] solo dbus-broker-launch[329]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"123solo # [90824.261259] solo systemd[1]: Started D-Bus System Message Bus.124solo # [90824.262186] solo systemd[1]: Startup finished in 3.931s.125solo # [90824.266575] solo dbus-broker-launch[329]: Ready126solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)127solo: 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'128solo: (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)129solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Qq8T1B1AliXPO91GAnEk7Xj_ug4uzRV4HkJ6jbEmfPg -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil130solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Qq8T1B1AliXPO91GAnEk7Xj_ug4uzRV4HkJ6jbEmfPg -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)131solo: must succeed: curl -fsS -H 'Authorization: Bearer 5QEj56_XgKw-xTrc3pjX_Z1jPjJ9d7oBBrQJ5eEPwaQ' http://127.0.0.1:8443/userinfo132solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 5QEj56_XgKw-xTrc3pjX_Z1jPjJ9d7oBBrQJ5eEPwaQ' http://127.0.0.1:8443/userinfo, in 0.02 seconds)133(finished: run the VM test script, in 4.78 seconds)134test script finished in 4.82s135cleanup136kill NspawnMachine (pid 50)137Container solo terminated by signal KILL.138(finished: cleanup, in 0.17 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