these 9 derivations will be built: /nix/store/lw0dy1pvkvh8qg3xb331d58srrrbyp5x-unit-tinc-auth.service.drv /nix/store/qzrwrhmwn3bmq911nz3smnq64z4rmkrg-system-units.drv /nix/store/w7f48b5d82pnnh333m6vhajsff6vjd34-etc.drv /nix/store/5hybhaz84fbj4cqzb3dvz5wy6yb7wq84-activate.drv /nix/store/c3jxzdmgfj1gnz4a5xn51s2sbqa68m5d-nixos-system-solo-test.drv /nix/store/i3r82pfz6bma56a4dlcspnijh0k67pvq-run-solo-nspawn.drv /nix/store/mp71by8z8x991csv55k7aj9qnq10dl01-driverConfiguration.json.drv /nix/store/s222in5hf9wwdd94k9pc7s5vk6m6g9c2-nixos-test-driver-tinc-auth-container.drv /nix/store/ypc4l9hyx9s0hknlq6f9r5l94hb39q8v-container-test-run-tinc-auth-container.drv building '/nix/store/lw0dy1pvkvh8qg3xb331d58srrrbyp5x-unit-tinc-auth.service.drv' unit-tinc-auth.service> tribuchet: building on jamie unit-tinc-auth.service> structuredAttrs is enabled building '/nix/store/qzrwrhmwn3bmq911nz3smnq64z4rmkrg-system-units.drv' system-units> tribuchet: building on jamie building '/nix/store/w7f48b5d82pnnh333m6vhajsff6vjd34-etc.drv' etc> tribuchet: building on jamie building '/nix/store/5hybhaz84fbj4cqzb3dvz5wy6yb7wq84-activate.drv' activate> tribuchet: building on jamie activate> structuredAttrs is enabled building '/nix/store/c3jxzdmgfj1gnz4a5xn51s2sbqa68m5d-nixos-system-solo-test.drv' nixos-system-solo-test> tribuchet: building on jamie nixos-system-solo-test> structuredAttrs is enabled building '/nix/store/i3r82pfz6bma56a4dlcspnijh0k67pvq-run-solo-nspawn.drv' run-solo-nspawn> tribuchet: building on jamie building '/nix/store/mp71by8z8x991csv55k7aj9qnq10dl01-driverConfiguration.json.drv' driverConfiguration.json> tribuchet: building on jamie driverConfiguration.json> structuredAttrs is enabled building '/nix/store/s222in5hf9wwdd94k9pc7s5vk6m6g9c2-nixos-test-driver-tinc-auth-container.drv' nixos-test-driver-tinc-auth-container> tribuchet: building on jamie nixos-test-driver-tinc-auth-container> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-tinc-auth-container> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-tinc-auth-container> All checks passed! nixos-test-driver-tinc-auth-container> Linting test script (enable/disable: config.skipLint) nixos-test-driver-tinc-auth-container> See https://nixos.org/manual/nixos/stable/#test-opt-skipLint nixos-test-driver-tinc-auth-container> All checks passed! building '/nix/store/ypc4l9hyx9s0hknlq6f9r5l94hb39q8v-container-test-run-tinc-auth-container.drv' container-test-run-tinc-auth-container> tribuchet: building on jamie container-test-run-tinc-auth-container> Machine state will be reset. To keep it, pass --keep-machine-state container-test-run-tinc-auth-container> start all VLans container-test-run-tinc-auth-container> (finished: start all VLans, in 0.00 seconds) container-test-run-tinc-auth-container> Initializing machine ID from random generator. container-test-run-tinc-auth-container> Test will time out and terminate in 3600.0 seconds container-test-run-tinc-auth-container> run the VM test script container-test-run-tinc-auth-container> start all VMs container-test-run-tinc-auth-container> solo: systemd-nspawn running (pid 50) container-test-run-tinc-auth-container> solo: Waiting for journal at /build/vm-state-solo/var/log/journal... container-test-run-tinc-auth-container> (finished: start all VMs, in 0.00 seconds) container-test-run-tinc-auth-container> solo: waiting for unit tinc.mesh.service container-test-run-tinc-auth-container> nixos-nspawn(solo): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-tinc-auth-container> nixos-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. container-test-run-tinc-auth-container> Note: 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. container-test-run-tinc-auth-container> ░ Spawning container solo on /build/vm-state-solo. container-test-run-tinc-auth-container> solo # [95116.281976] solo systemd-journald[57]: Journal started container-test-run-tinc-auth-container> solo # [95116.282026] solo systemd-journald[57]: Runtime Journal (/run/log/journal/03d73e7ac8984f8c889398c8409a5102) is 8M, max 4G, 3.9G free. container-test-run-tinc-auth-container> solo # [95116.289462] solo systemd[1]: Finished Apply Kernel Variables. container-test-run-tinc-auth-container> solo # [95116.300839] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-tinc-auth-container> solo # [95116.312158] solo systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-tinc-auth-container> solo # [95116.312756] solo systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-tinc-auth-container> solo # [95116.350222] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/03d73e7ac8984f8c889398c8409a5102 is 1.295ms for 6 entries. container-test-run-tinc-auth-container> solo # [95116.350222] solo systemd-journald[57]: System Journal (/var/log/journal/03d73e7ac8984f8c889398c8409a5102) is 512B, max 4G, 3.9G free. container-test-run-tinc-auth-container> solo # [95116.356527] solo systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-tinc-auth-container> solo # [95116.357104] solo systemd[1]: Reached target Preparation for Local File Systems. container-test-run-tinc-auth-container> solo # [95116.357209] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-tinc-auth-container> solo # [95116.373723] solo systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-tinc-auth-container> solo # [95116.418756] solo systemd[1]: Finished Firewall. container-test-run-tinc-auth-container> solo # [95117.280850] solo systemd[1]: Mounting /run/wrappers... container-test-run-tinc-auth-container> solo # [95117.326972] solo systemd[1]: Mounted /run/wrappers. container-test-run-tinc-auth-container> solo # [95117.327578] solo systemd[1]: Reached target Local File Systems. container-test-run-tinc-auth-container> solo # [95117.328244] solo systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-tinc-auth-container> solo # [95117.329134] solo systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-tinc-auth-container> solo # [95117.329159] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-tinc-auth-container> solo # [95117.332785] solo systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-tinc-auth-container> solo # [95117.333566] solo systemd[1]: Starting Create System Files and Directories... container-test-run-tinc-auth-container> solo # [95117.347807] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.yfX4GNKuBh/chsh': Operation not permitted container-test-run-tinc-auth-container> solo # [95117.350444] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-tinc-auth-container> solo # [95117.350531] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-tinc-auth-container> solo # [95117.350715] solo systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-tinc-auth-container> solo # [95117.353144] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-tinc-auth-container> solo # [95117.353561] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-tinc-auth-container> solo # [95117.353883] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/03d73e7ac8984f8c889398c8409a5102 failed: Operation not permitted container-test-run-tinc-auth-container> solo # [95117.354223] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-tinc-auth-container> solo # [95117.355673] solo systemd[1]: Finished Create System Files and Directories. container-test-run-tinc-auth-container> solo # [95117.369553] solo systemd[1]: Starting Rebuild Journal Catalog... container-test-run-tinc-auth-container> solo # [95117.370266] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-tinc-auth-container> solo # [95117.383200] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-tinc-auth-container> solo # [95117.391911] solo systemd[1]: Finished Rebuild Journal Catalog. container-test-run-tinc-auth-container> solo # [95117.393365] solo systemd[1]: Starting Update is Completed... container-test-run-tinc-auth-container> solo # [95117.402934] solo systemd[1]: Finished Update is Completed. container-test-run-tinc-auth-container> solo # [95117.403119] solo systemd[1]: Reached target System Initialization. container-test-run-tinc-auth-container> solo # [95117.403187] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-tinc-auth-container> solo # [95117.403215] solo systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-tinc-auth-container> solo # [95117.403232] solo systemd[1]: Reached target Timer Units. container-test-run-tinc-auth-container> solo # [95117.403335] solo systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-tinc-auth-container> solo # [95117.403501] solo systemd[1]: Listening on Nix Daemon Socket. container-test-run-tinc-auth-container> solo # [95117.403634] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-tinc-auth-container> solo # [95117.403655] solo systemd[1]: Reached target Socket Units. container-test-run-tinc-auth-container> solo # [95117.403691] solo systemd[1]: Reached target Basic System. container-test-run-tinc-auth-container> solo # [95117.405017] solo systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-tinc-auth-container> solo # [95117.406090] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-tinc-auth-container> solo # [95117.406846] solo systemd[1]: Starting resolvconf update... container-test-run-tinc-auth-container> solo # [95117.407652] solo systemd[1]: Starting Tinc Daemon - mesh... container-test-run-tinc-auth-container> solo # [95117.426639] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation. container-test-run-tinc-auth-container> solo # [95117.427835] solo systemd[1]: Started Tinc Daemon - mesh. container-test-run-tinc-auth-container> solo # [95117.428152] solo systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-tinc-auth-container> solo # [95117.429437] solo systemd[1]: Started tinc-auth.service. container-test-run-tinc-auth-container> solo # [95117.435077] solo tincd[188]: [INFO tincd] tincd 0.1.0 starting, debug level 0 container-test-run-tinc-auth-container> solo # [95117.435294] solo tincd[188]: [INFO tincd] tincd starting, name=alpha container-test-run-tinc-auth-container> solo # [95117.435294] solo tincd[188]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'! container-test-run-tinc-auth-container> solo # [95117.435294] solo tincd[188]: [INFO tincd] Device mode: Tun, interface: dummy container-test-run-tinc-auth-container> solo # [95117.435370] solo tincd[188]: [INFO tincd::net] Listening on 0.0.0.0:655 container-test-run-tinc-auth-container> solo # [95117.435370] solo tincd[188]: [INFO tincd::net] Listening on [::]:655 container-test-run-tinc-auth-container> solo # [95117.435459] solo tincd[188]: [INFO tincd] Ready container-test-run-tinc-auth-container> solo # [95117.464305] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-tinc-auth-container> solo # [95117.465241] solo systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-tinc-auth-container> solo # [95117.486968] solo systemd[1]: nscd.service: Deactivated successfully. container-test-run-tinc-auth-container> solo # [95117.487146] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-tinc-auth-container> solo # [95117.489437] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-tinc-auth-container> solo # [95117.491302] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:8443 container-test-run-tinc-auth-container> solo # [95117.491848] solo tinc-auth[191]: tinc-auth: listening (net=mesh) container-test-run-tinc-auth-container> solo # [95117.512314] solo systemd[1]: Finished resolvconf update. container-test-run-tinc-auth-container> solo # [95117.512515] solo systemd[1]: Reached target Preparation for Network. container-test-run-tinc-auth-container> solo # [95117.513620] solo systemd[1]: Starting Address configuration of eth1... container-test-run-tinc-auth-container> solo # [95117.514403] solo systemd[1]: Starting Extra networking commands.... container-test-run-tinc-auth-container> solo # [95117.530849] solo network-addresses-eth1-start[259]: adding address 192.168.1.1/24... done container-test-run-tinc-auth-container> solo # [95117.533037] solo network-addresses-eth1-start[259]: adding address 2001:db8:1::1/64... done container-test-run-tinc-auth-container> solo # [95117.537114] solo systemd[1]: Finished Address configuration of eth1. container-test-run-tinc-auth-container> solo # [95117.570780] solo systemd[1]: Finished Extra networking commands.. container-test-run-tinc-auth-container> solo # [95117.571280] solo systemd[1]: Reached target Network. container-test-run-tinc-auth-container> solo # [95117.689804] solo nsncd[240]: Oct 27 12:20:33.734 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-tinc-auth-container> solo # [95117.689932] solo systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-tinc-auth-container> solo # [95117.690112] solo systemd[1]: Reached target Host and Network Name Lookups. container-test-run-tinc-auth-container> solo # [95117.690179] solo systemd[1]: Reached target User and Group Name Lookups. container-test-run-tinc-auth-container> solo # [95117.714685] solo systemd[1]: Starting User Login Management... container-test-run-tinc-auth-container> solo # [95117.715884] solo systemd[1]: Starting Permit User Sessions... container-test-run-tinc-auth-container> solo # [95117.724833] solo systemd[1]: Finished Permit User Sessions. container-test-run-tinc-auth-container> solo # [95117.727383] solo systemd[1]: Started Console Getty. container-test-run-tinc-auth-container> solo # [95117.727408] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-tinc-auth-container> solo # [95117.727420] solo systemd[1]: Reached target Login Prompts. container-test-run-tinc-auth-container> solo # [95118.772091] solo systemd-logind[327]: New seat seat0. container-test-run-tinc-auth-container> solo # [95118.773133] solo systemd[1]: Starting D-Bus System Message Bus... container-test-run-tinc-auth-container> solo # [95118.773217] solo systemd[1]: Started User Login Management. container-test-run-tinc-auth-container> solo # [95118.773963] solo systemd[1]: Starting linger-users.service... container-test-run-tinc-auth-container> solo # [95118.784377] solo systemd[1]: linger-users.service: Deactivated successfully. container-test-run-tinc-auth-container> solo # [95118.786553] solo systemd[1]: Finished linger-users.service. container-test-run-tinc-auth-container> solo # [95118.787093] solo systemd[1]: Reached target Multi-User System. container-test-run-tinc-auth-container> solo # [95119.257647] solo dbus-broker-launch[337]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-tinc-auth-container> solo # [95119.258356] solo dbus-broker-launch[337]: NSS returned no entry for 'systemd-timesync' container-test-run-tinc-auth-container> solo # [95119.258356] 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" container-test-run-tinc-auth-container> solo # [95119.258926] solo systemd[1]: Started D-Bus System Message Bus. container-test-run-tinc-auth-container> solo # [95119.259364] solo systemd[1]: Startup finished in 3.330s. container-test-run-tinc-auth-container> solo # [95119.263659] solo dbus-broker-launch[337]: Ready container-test-run-tinc-auth-container> solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds) container-test-run-tinc-auth-container> solo: waiting for unit tinc-auth.service container-test-run-tinc-auth-container> solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds) container-test-run-tinc-auth-container> solo: waiting for TCP port 8443 on localhost container-test-run-tinc-auth-container> Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded! container-test-run-tinc-auth-container> solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds) container-test-run-tinc-auth-container> solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration container-test-run-tinc-auth-container> solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds) container-test-run-tinc-auth-container> solo: 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' container-test-run-tinc-auth-container> solo: (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) container-test-run-tinc-auth-container> solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Ti7uzS7VDTy9but-4Uc2Moj4VnQ9FCM5qrh13ACWjNI -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil container-test-run-tinc-auth-container> solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=Ti7uzS7VDTy9but-4Uc2Moj4VnQ9FCM5qrh13ACWjNI -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds) container-test-run-tinc-auth-container> solo: must succeed: curl -fsS -H 'Authorization: Bearer xcldDxj9vYwMxaUKjDFnqfVcAU9_N1qVRD3ij7f8ts4' http://127.0.0.1:8443/userinfo container-test-run-tinc-auth-container> solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer xcldDxj9vYwMxaUKjDFnqfVcAU9_N1qVRD3ij7f8ts4' http://127.0.0.1:8443/userinfo, in 0.01 seconds) container-test-run-tinc-auth-container> (finished: run the VM test script, in 4.23 seconds) container-test-run-tinc-auth-container> test script finished in 4.33s container-test-run-tinc-auth-container> cleanup container-test-run-tinc-auth-container> kill NspawnMachine (pid 50) container-test-run-tinc-auth-container> Container solo terminated by signal KILL. container-test-run-tinc-auth-container> (finished: cleanup, in 0.16 seconds) container-test-run-tinc-auth-container> additionally exposed symbols: container-test-run-tinc-auth-container> solo, container-test-run-tinc-auth-container> vlan1, container-test-run-tinc-auth-container> 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 post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/tincr attr=checks.x86_64-linux.nixos-tinc-auth-container