container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #202
· 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 # [1410985.366283] solo systemd-journald[57]: Journal started20solo # [1410985.366381] solo systemd-journald[57]: Runtime Journal (/run/log/journal/3455f43d6f34469a959ea14ff694a6f4) is 8M, max 4G, 3.9G free.21solo # [1410985.378849] solo systemd[1]: Finished Apply Kernel Variables.22solo # [1410985.406389] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.23solo # [1410985.454677] solo systemd[1]: Starting Flush Journal to Persistent Storage...24solo # [1410985.455717] solo systemd[1]: Starting Create Static Device Nodes in /dev...25solo # [1410985.466108] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/3455f43d6f34469a959ea14ff694a6f4 is 2.161ms for 6 entries.26solo # [1410985.466108] solo systemd-journald[57]: System Journal (/var/log/journal/3455f43d6f34469a959ea14ff694a6f4) is 512B, max 4G, 3.9G free.27solo # [1410985.481710] solo systemd[1]: Finished Create Static Device Nodes in /dev.28solo # [1410985.482634] solo systemd[1]: Reached target Preparation for Local File Systems.29solo # [1410985.482809] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys30solo # [1410985.501361] solo systemd[1]: Finished Flush Journal to Persistent Storage.31solo # [1410985.589927] solo systemd[1]: Finished Firewall.32solo # [1410986.368086] solo systemd[1]: Mounting /run/wrappers...33solo # [1410986.409986] solo systemd[1]: Mounted /run/wrappers.34solo # [1410986.410956] solo systemd[1]: Reached target Local File Systems.35solo # [1410986.411860] solo systemd[1]: Listening on Boot Loader Control Service Socket.36solo # [1410986.413394] solo systemd[1]: Starting Create SUID/SGID Wrappers...37solo # [1410986.413435] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container38solo # [1410986.414619] solo systemd[1]: Starting Save Transient machine-id to Disk...39solo # [1410986.415557] solo systemd[1]: Starting Create System Files and Directories...40solo # [1410986.437532] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41solo # [1410986.438033] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted42solo # [1410986.438367] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/3455f43d6f34469a959ea14ff694a6f4 failed: Operation not permitted43solo # [1410986.438750] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted44solo # [1410986.440890] solo systemd[1]: Finished Create System Files and Directories.45solo # [1410986.448437] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.O1Zd3Pz7Zc/chsh': Operation not permitted46solo # [1410986.455151] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE47solo # [1410986.455261] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [1410986.455469] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [1410986.458712] solo systemd[1]: Starting Rebuild Journal Catalog...50solo # [1410986.459797] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...51solo # [1410986.475233] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.52solo # [1410986.483254] solo systemd[1]: Finished Rebuild Journal Catalog.53solo # [1410986.484876] solo systemd[1]: Starting Update is Completed...54solo # [1410986.501840] solo systemd[1]: Finished Update is Completed.55solo # [1410986.502103] solo systemd[1]: Reached target System Initialization.56solo # [1410986.502204] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container57solo # [1410986.502283] solo systemd[1]: Started Daily Cleanup of Temporary Directories.58solo # [1410986.502310] solo systemd[1]: Reached target Timer Units.59solo # [1410986.502469] solo systemd[1]: Listening on D-Bus System Message Bus Socket.60solo # [1410986.502710] solo systemd[1]: Listening on Nix Daemon Socket.61solo # [1410986.502862] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.62solo # [1410986.502889] solo systemd[1]: Reached target Socket Units.63solo # [1410986.502939] solo systemd[1]: Reached target Basic System.64solo # [1410986.504937] solo systemd[1]: Starting Import lastlog data into lastlog2 database...65solo # [1410986.506587] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...66solo # [1410986.507928] solo systemd[1]: Starting resolvconf update...67solo # [1410986.509396] solo systemd[1]: Starting Tinc Daemon - mesh...68solo # [1410986.529586] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.69solo # [1410986.531925] solo systemd[1]: Started Tinc Daemon - mesh.70solo # [1410986.532327] solo systemd[1]: Finished Import lastlog data into lastlog2 database.71solo # [1410986.534682] solo systemd[1]: Started tinc-auth.service.72solo # [1410986.545177] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 073solo # [1410986.545680] solo tincd[189]: [INFO tincd] tincd starting, name=alpha74solo # [1410986.545724] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!75solo # [1410986.545984] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy76solo # [1410986.546235] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65577solo # [1410986.546286] solo tincd[189]: [INFO tincd::net] Listening on [::]:65578solo # [1410986.546644] solo tincd[189]: [INFO tincd] Ready79solo # [1410986.598229] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844380solo # [1410986.602410] solo tinc-auth[192]: tinc-auth: listening (net=mesh)81solo # [1410986.632174] solo systemd[1]: Finished resolvconf update.82solo # [1410986.633552] solo systemd[1]: Reached target Preparation for Network.83solo # [1410986.635642] solo systemd[1]: Starting Address configuration of eth1...84solo # [1410986.637424] solo systemd[1]: Starting Extra networking commands....85solo # [1410986.640896] solo systemd[1]: nscd.service: Deactivated successfully.86solo # [1410986.668326] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).87solo # [1410986.689597] solo network-addresses-eth1-start[246]: adding address 192.168.1.1/24... done88solo # [1410986.693508] solo network-addresses-eth1-start[246]: adding address 2001:db8:1::1/64... done89solo # [1410986.716142] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90solo # [1410986.717527] solo systemd[1]: Finished Save Transient machine-id to Disk.91solo # [1410986.717802] solo systemd[1]: Finished Address configuration of eth1.92solo # [1410986.720546] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...93solo # [1410986.746689] solo systemd[1]: Finished Extra networking commands..94solo # [1410986.750469] solo systemd[1]: Reached target Network.95solo # [1410986.970690] solo nsncd[296]: Sep 27 21:08:15.258 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [1410986.970811] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [1410986.970890] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [1410986.970967] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [1410986.973184] solo systemd[1]: Starting User Login Management...100solo # [1410986.974388] solo systemd[1]: Starting Permit User Sessions...101solo # [1410986.986992] solo systemd[1]: Finished Permit User Sessions.102solo # [1410986.988727] solo systemd[1]: Started Console Getty.103solo # [1410986.988764] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [1410986.988784] solo systemd[1]: Reached target Login Prompts.105solo # [1410988.392583] solo systemd-logind[319]: New seat seat0.106solo # [1410988.394502] solo systemd[1]: Starting D-Bus System Message Bus...107solo # [1410988.394638] solo systemd[1]: Started User Login Management.108solo # [1410988.398965] solo systemd[1]: Starting linger-users.service...109solo # [1410988.438391] solo systemd[1]: linger-users.service: Deactivated successfully.110solo # [1410988.438662] solo systemd[1]: Finished linger-users.service.111solo # [1410988.438980] solo systemd[1]: Reached target Multi-User System.112solo: (finished: waiting for unit tinc.mesh.service, in 4.65 seconds)113solo: waiting for unit tinc-auth.service114solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)115solo: waiting for TCP port 8443 on localhost116Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!117solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)118solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration119solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)120solo: 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'121solo: (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)122solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=0cIm7eZfZQijNjMTWHO0kEdkW_PGa5nmAODNgCHedo0 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil123solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=0cIm7eZfZQijNjMTWHO0kEdkW_PGa5nmAODNgCHedo0 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)124solo: must succeed: curl -fsS -H 'Authorization: Bearer 1EI4YMBeJfgFPrh2_42H5CVGXoGXWv21q0aE1VMA1jE' http://127.0.0.1:8443/userinfo125solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer 1EI4YMBeJfgFPrh2_42H5CVGXoGXWv21q0aE1VMA1jE' http://127.0.0.1:8443/userinfo, in 0.01 seconds)126(finished: run the VM test script, in 4.75 seconds)127solo # [1410988.882600] solo dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'...128solo # [1410988.885950] solo dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync'129solo # [1410988.885950] 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"130solo # [1410988.886871] solo systemd[1]: Started D-Bus System Message Bus.131solo # [1410988.887347] solo systemd[1]: Startup finished in 3.958s.132solo # [1410988.893561] solo dbus-broker-launch[329]: Ready133test script finished in 5.21s134cleanup135kill NspawnMachine (pid 50)136(finished: cleanup, in 0.16 seconds)137additionally exposed symbols:138 solo,139 vlan1,140 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_ssh141Container solo terminated by signal KILL.