container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #280
· 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 # [124297.452854] solo systemd-journald[57]: Journal started18solo # [124297.452901] solo systemd-journald[57]: Runtime Journal (/run/log/journal/2205aaf952f34e75bb558d443d536417) is 8M, max 4G, 3.9G free.19solo # [124297.472338] solo systemd[1]: Finished Apply Kernel Variables.20solo # [124297.483541] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [124297.497484] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [124297.498455] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [124297.507594] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/2205aaf952f34e75bb558d443d536417 is 1.443ms for 6 entries.24solo # [124297.507594] solo systemd-journald[57]: System Journal (/var/log/journal/2205aaf952f34e75bb558d443d536417) is 512B, max 4G, 3.9G free.25solo # [124297.523250] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [124297.523922] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [124297.524060] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [124297.528456] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [124297.658849] solo systemd[1]: Finished Firewall.30solo # [124298.455919] solo systemd[1]: Mounting /run/wrappers...31solo # [124298.491861] solo systemd[1]: Mounted /run/wrappers.32solo # [124298.492767] solo systemd[1]: Reached target Local File Systems.33solo # [124298.493631] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [124298.494839] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [124298.494872] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [124298.497048] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [124298.502215] solo systemd[1]: Starting Create System Files and Directories...38solo # [124298.525414] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.AuzVUfqX3R/chsh': Operation not permitted39solo # [124298.526715] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [124298.527170] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [124298.527539] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/2205aaf952f34e75bb558d443d536417 failed: Operation not permitted42solo # [124298.527890] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [124298.538021] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [124298.538296] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [124298.538540] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [124298.539086] solo systemd[1]: Finished Create System Files and Directories.47solo # [124298.567482] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [124298.568369] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [124298.584445] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [124298.592162] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [124298.593576] solo systemd[1]: Starting Update is Completed...52solo # [124298.604489] solo systemd[1]: Finished Update is Completed.53solo # [124298.604599] solo systemd[1]: Reached target System Initialization.54solo # [124298.604679] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [124298.604711] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [124298.604730] solo systemd[1]: Reached target Timer Units.57solo # [124298.604839] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [124298.605076] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [124298.605337] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [124298.605350] solo systemd[1]: Reached target Socket Units.61solo # [124298.605381] solo systemd[1]: Reached target Basic System.62solo # [124298.609097] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [124298.613463] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [124298.614244] solo systemd[1]: Starting resolvconf update...65solo # [124298.614966] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [124298.629568] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [124298.629981] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [124298.632088] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [124298.633036] solo systemd[1]: Started tinc-auth.service.70solo # [124298.641715] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [124298.642162] solo tincd[189]: [INFO tincd] tincd starting, name=alpha72solo # [124298.642162] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [124298.642390] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [124298.642550] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [124298.642597] solo tincd[189]: [INFO tincd::net] Listening on [::]:65576solo # [124298.642881] solo tincd[189]: [INFO tincd] Ready77solo # [124298.672043] solo tinc-auth[190]: tinc-auth: IdP listening on 127.0.0.1:844378solo # [124298.672587] solo tinc-auth[190]: tinc-auth: listening (net=mesh)79solo # [124298.696524] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [124298.696705] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [124298.699446] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [124298.711796] solo systemd[1]: Finished resolvconf update.83solo # [124298.711901] solo systemd[1]: Reached target Preparation for Network.84solo # [124298.712923] solo systemd[1]: Starting Address configuration of eth1...85solo # [124298.713790] solo systemd[1]: Starting Extra networking commands....86solo # [124298.732597] solo network-addresses-eth1-start[251]: adding address 192.168.1.1/24... done87solo # [124298.735847] solo network-addresses-eth1-start[251]: adding address 2001:db8:1::1/64... done88solo # [124298.740731] solo systemd[1]: Finished Address configuration of eth1.89solo # [124298.795369] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90solo # [124298.817155] solo systemd[1]: Finished Save Transient machine-id to Disk.91solo # [124298.817510] solo systemd[1]: Finished Extra networking commands..92solo # [124298.818876] solo systemd[1]: Reached target Network.93solo # [124298.942278] solo nsncd[244]: Oct 27 20:26:54.986 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [124298.942392] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [124298.942455] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [124298.942513] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [124298.944095] solo systemd[1]: Starting User Login Management...98solo # [124298.944862] solo systemd[1]: Starting Permit User Sessions...99solo # [124298.957516] solo systemd[1]: Finished Permit User Sessions.100solo # [124298.958636] solo systemd[1]: Started Console Getty.101solo # [124298.958666] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [124298.958682] solo systemd[1]: Reached target Login Prompts.103solo # [124300.085930] solo systemd-logind[320]: New seat seat0.104solo # [124300.089634] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [124300.089740] solo systemd[1]: Started User Login Management.106solo # [124300.090896] solo systemd[1]: Starting linger-users.service...107solo # [124300.108303] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [124300.108477] solo systemd[1]: Finished linger-users.service.109solo # [124300.108624] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)113solo: waiting for TCP port 8443 on localhost114Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!115solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)116solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration117solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)118solo: 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'119solo: (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)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Ejr5x5-5Y2wbyZ-axOSET1zzH0eNA9xtGuJupd5F1vw -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil121solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Ejr5x5-5Y2wbyZ-axOSET1zzH0eNA9xtGuJupd5F1vw -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer oCQ8bUTPOHKSb5Ay4ty4trDhqepXKTcF7Ob4yc4W3E8' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer oCQ8bUTPOHKSb5Ay4ty4trDhqepXKTcF7Ob4yc4W3E8' http://127.0.0.1:8443/userinfo, in 0.02 seconds)124(finished: run the VM test script, in 4.24 seconds)125solo # [124300.544107] solo dbus-broker-launch[330]: Looking up NSS user entry for 'systemd-timesync'...126solo # [124300.545074] solo dbus-broker-launch[330]: NSS returned no entry for 'systemd-timesync'127solo # [124300.545074] solo dbus-broker-launch[330]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"128solo # [124300.546209] solo systemd[1]: Started D-Bus System Message Bus.129solo # [124300.546694] solo systemd[1]: Startup finished in 3.467s.130solo # [124300.551535] solo dbus-broker-launch[330]: Ready131test script finished in 4.32s132cleanup133kill NspawnMachine (pid 50)134Container solo terminated by signal KILL.135(finished: cleanup, in 0.17 seconds)136additionally exposed symbols:137 solo,138 vlan1,139 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