these 2 derivations will be built: /nix/store/ljixhg3x9zsnpasx6jz7gpb3dzyl2apx-nixos-test-driver-tinc-auth-container.drv /nix/store/bjs8vxb743ibxrp0y4i4divb6v4wh05c-container-test-run-tinc-auth-container.drv building '/nix/store/ljixhg3x9zsnpasx6jz7gpb3dzyl2apx-nixos-test-driver-tinc-auth-container.drv' 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/bjs8vxb743ibxrp0y4i4divb6v4wh05c-container-test-run-tinc-auth-container.drv' 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.19 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> 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 container-test-run-tinc-auth-container> start all VMs container-test-run-tinc-auth-container> solo: systemd-nspawn running (pid 51) 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.12 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 # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo: still waiting for container 'solo' to reach ready state... container-test-run-tinc-auth-container> solo # No journal files were found. container-test-run-tinc-auth-container> solo # No journal boot entry found for the specified boot (+0). container-test-run-tinc-auth-container> solo # [11053025.746301] solo systemd-journald[54]: Journal started container-test-run-tinc-auth-container> solo # [11053025.746364] solo systemd-journald[54]: Runtime Journal (/run/log/journal/449f169510594cccaeec883eadbfb260) is 8M, max 2.5G, 2.5G free. container-test-run-tinc-auth-container> solo # [11053025.861980] solo systemd[1]: Listening on Journal Log Access Socket. container-test-run-tinc-auth-container> solo # [11053026.175969] solo systemd[1]: Finished Apply Kernel Variables. container-test-run-tinc-auth-container> solo # [11053026.319240] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-tinc-auth-container> solo # [11053026.636184] solo systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-tinc-auth-container> solo # [11053026.641172] solo systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-tinc-auth-container> solo # [11053026.708184] solo systemd-journald[54]: Time spent on flushing to /var/log/journal/449f169510594cccaeec883eadbfb260 is 2.444ms for 7 entries. container-test-run-tinc-auth-container> solo # [11053026.708184] solo systemd-journald[54]: System Journal (/var/log/journal/449f169510594cccaeec883eadbfb260) is 512B, max 4G, 3.9G free. container-test-run-tinc-auth-container> solo # [11053026.944354] solo systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-tinc-auth-container> solo # [11053027.130172] solo systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-tinc-auth-container> solo # [11053027.605960] solo systemd[1]: Reached target Preparation for Local File Systems. container-test-run-tinc-auth-container> solo # [11053027.633278] solo systemd[1]: Mounting /run/wrappers... container-test-run-tinc-auth-container> solo # [11053027.633332] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-tinc-auth-container> solo # [11053028.574789] solo systemd[1]: Mounted /run/wrappers. container-test-run-tinc-auth-container> solo # [11053028.580399] solo systemd[1]: Reached target Local File Systems. container-test-run-tinc-auth-container> solo # [11053028.608977] solo systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-tinc-auth-container> solo # [11053028.621169] solo systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-tinc-auth-container> solo # [11053028.621254] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-tinc-auth-container> solo # [11053028.636883] solo systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-tinc-auth-container> solo # [11053028.657189] solo systemd[1]: Starting Create System Files and Directories... container-test-run-tinc-auth-container> solo # [11053028.942472] solo suid-sgid-wrappers-start[119]: chmod: changing permissions of '/run/wrappers/wrappers.uKNi42yUir/chsh': Operation not permitted container-test-run-tinc-auth-container> solo # [11053028.956249] solo systemd-tmpfiles[104]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-tinc-auth-container> solo # [11053028.956530] solo systemd-tmpfiles[104]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-tinc-auth-container> solo # [11053028.956714] solo systemd-tmpfiles[104]: fchmod() of /var/log/journal/449f169510594cccaeec883eadbfb260 failed: Operation not permitted container-test-run-tinc-auth-container> solo # [11053028.956956] solo systemd-tmpfiles[104]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-tinc-auth-container> solo # [11053029.128847] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-tinc-auth-container> solo # [11053029.128984] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-tinc-auth-container> solo # [11053029.141626] solo systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-tinc-auth-container> solo # [11053029.164200] solo systemd[1]: Finished Create System Files and Directories. container-test-run-tinc-auth-container> solo # [11053029.597937] solo systemd[1]: Starting Rebuild Journal Catalog... container-test-run-tinc-auth-container> solo # [11053029.604375] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-tinc-auth-container> solo # [11053029.901719] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-tinc-auth-container> solo # [11053029.904108] solo systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-tinc-auth-container> solo # [11053029.904436] solo systemd[1]: Finished Rebuild Journal Catalog. container-test-run-tinc-auth-container> solo # [11053030.122663] solo systemd[1]: Starting Update is Completed... container-test-run-tinc-auth-container> solo # [11053030.126585] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-tinc-auth-container> solo # [11053030.455563] solo systemd[1]: Finished Update is Completed. container-test-run-tinc-auth-container> solo # [11053030.455710] solo systemd[1]: Reached target System Initialization. container-test-run-tinc-auth-container> solo # [11053030.455800] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-tinc-auth-container> solo # [11053030.455840] solo systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-tinc-auth-container> solo # [11053030.455866] solo systemd[1]: Reached target Timer Units. container-test-run-tinc-auth-container> solo # [11053030.456006] solo systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-tinc-auth-container> solo # [11053030.456218] solo systemd[1]: Listening on Nix Daemon Socket. container-test-run-tinc-auth-container> solo # [11053030.456354] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-tinc-auth-container> solo # [11053030.456382] solo systemd[1]: Reached target Socket Units. container-test-run-tinc-auth-container> solo # [11053030.456420] solo systemd[1]: Reached target Basic System. container-test-run-tinc-auth-container> solo # [11053030.470208] solo systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-tinc-auth-container> solo # [11053030.484190] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-tinc-auth-container> solo # [11053030.490246] solo systemd[1]: Starting resolvconf update... container-test-run-tinc-auth-container> solo # [11053030.496063] solo systemd[1]: Starting Tinc Daemon - mesh... container-test-run-tinc-auth-container> solo # [11053030.763615] solo systemd[1]: Finished Firewall. container-test-run-tinc-auth-container> solo # [11053030.995562] solo systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-tinc-auth-container> solo # [11053031.038633] solo tinc.mesh-pre-start[188]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation. container-test-run-tinc-auth-container> solo # [11053031.048121] solo systemd[1]: Started Tinc Daemon - mesh. container-test-run-tinc-auth-container> solo # [11053031.088342] solo systemd[1]: Started tinc-auth.service. container-test-run-tinc-auth-container> solo # [11053031.560056] solo tincd[189]: [INFO tincd] tincd 0.1.0 starting, debug level 0 container-test-run-tinc-auth-container> solo # [11053031.588022] solo tincd[189]: [INFO tincd] tincd starting, name=alpha container-test-run-tinc-auth-container> solo # [11053031.588022] solo tincd[189]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'! container-test-run-tinc-auth-container> solo # [11053031.592493] solo tincd[189]: [INFO tincd] Device mode: Tun, interface: dummy container-test-run-tinc-auth-container> solo # [11053031.620921] solo tincd[189]: [INFO tincd::net] Listening on 0.0.0.0:655 container-test-run-tinc-auth-container> solo # [11053031.620921] solo tincd[189]: [INFO tincd::net] Listening on [::]:655 container-test-run-tinc-auth-container> solo # [11053031.620921] solo tincd[189]: [INFO tincd] Ready container-test-run-tinc-auth-container> solo # [11053031.925047] solo systemd[1]: nscd.service: Deactivated successfully. container-test-run-tinc-auth-container> solo # [11053031.925314] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-tinc-auth-container> solo # [11053032.151862] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-tinc-auth-container> solo # [11053032.842495] solo resolvconf-start[240]: setfacl: /run/resolvconf: Operation not supported container-test-run-tinc-auth-container> solo # [11053032.854443] solo systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-tinc-auth-container> solo # [11053032.854590] solo systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-tinc-auth-container> solo # [11053032.855265] solo systemd[1]: Failed to start resolvconf update. container-test-run-tinc-auth-container> solo # [11053032.855442] solo systemd[1]: Reached target Preparation for Network. container-test-run-tinc-auth-container> solo # [11053032.902997] solo systemd[1]: Starting Address configuration of eth1... container-test-run-tinc-auth-container> solo # [11053032.907720] solo systemd[1]: Starting Extra networking commands.... container-test-run-tinc-auth-container> solo # [11053033.054073] solo network-addresses-eth1-start[242]: adding address 192.168.1.1/24... done container-test-run-tinc-auth-container> solo # [11053033.074257] solo network-addresses-eth1-start[242]: adding address 2001:db8:1::1/64... done container-test-run-tinc-auth-container> solo # [11053033.173149] solo systemd[1]: Finished Address configuration of eth1. container-test-run-tinc-auth-container> solo # [11053033.955394] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:8443 container-test-run-tinc-auth-container> solo # [11053033.955394] solo tinc-auth[191]: tinc-auth: listening (net=mesh) container-test-run-tinc-auth-container> solo: still waiting for container 'solo' to reach ready state... container-test-run-tinc-auth-container> solo # [11053035.160694] solo systemd[1]: Finished Extra networking commands.. container-test-run-tinc-auth-container> solo # [11053035.160871] solo systemd[1]: Reached target Network. container-test-run-tinc-auth-container> solo # [11053035.223702] solo nsncd[227]: Sep 01 19:29:41.796 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 # [11053035.226449] solo systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-tinc-auth-container> solo # [11053035.226554] solo systemd[1]: Reached target Host and Network Name Lookups. container-test-run-tinc-auth-container> solo # [11053035.226629] solo systemd[1]: Reached target User and Group Name Lookups. container-test-run-tinc-auth-container> solo # [11053035.258512] solo systemd[1]: Starting User Login Management... container-test-run-tinc-auth-container> solo # [11053035.276966] solo systemd[1]: Starting Permit User Sessions... container-test-run-tinc-auth-container> solo # [11053035.625675] solo systemd[1]: Finished Permit User Sessions. container-test-run-tinc-auth-container> solo # [11053035.632706] solo systemd[1]: Started Console Getty. container-test-run-tinc-auth-container> solo # [11053035.636779] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-tinc-auth-container> solo # [11053035.637119] solo systemd[1]: Reached target Login Prompts. container-test-run-tinc-auth-container> solo: still waiting for container 'solo' to reach ready state... container-test-run-tinc-auth-container> solo # [11053050.989131] solo systemd-logind[316]: New seat seat0. container-test-run-tinc-auth-container> solo # [11053050.989429] solo systemd[1]: Started User Login Management. container-test-run-tinc-auth-container> solo # [11053050.995260] solo systemd[1]: Starting D-Bus System Message Bus... container-test-run-tinc-auth-container> solo # [11053051.267538] solo systemd[1]: Starting linger-users.service... container-test-run-tinc-auth-container> solo # [11053052.868031] solo systemd[1]: linger-users.service: Deactivated successfully. container-test-run-tinc-auth-container> solo # [11053052.873944] solo systemd[1]: Finished linger-users.service. container-test-run-tinc-auth-container> solo # [11053052.874332] solo systemd[1]: Reached target Multi-User System. container-test-run-tinc-auth-container> solo # [11053055.444086] solo dbus-broker-launch[326]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-tinc-auth-container> solo # [11053055.728094] solo dbus-broker-launch[326]: NSS returned no entry for 'systemd-timesync' container-test-run-tinc-auth-container> solo # [11053055.728094] solo dbus-broker-launch[326]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-tinc-auth-container> solo # [11053055.736242] solo systemd[1]: Started D-Bus System Message Bus. container-test-run-tinc-auth-container> solo # [11053055.753701] solo systemd[1]: Startup finished in 33.256s. container-test-run-tinc-auth-container> solo # [11053055.907441] solo dbus-broker-launch[326]: Ready container-test-run-tinc-auth-container> solo: (finished: waiting for unit tinc.mesh.service, in 41.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.64 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.12 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.15 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.45 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=v96sFJFUkW4HR_ItVlnj31Psblt-UqvhxU7XroODX84 -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=v96sFJFUkW4HR_ItVlnj31Psblt-UqvhxU7XroODX84 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.78 seconds) container-test-run-tinc-auth-container> solo: must succeed: curl -fsS -H 'Authorization: Bearer Kv7PpQh_j-5EgpSVOksrsxSyKHNuR4HoiYalQikOKPI' http://127.0.0.1:8443/userinfo container-test-run-tinc-auth-container> solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer Kv7PpQh_j-5EgpSVOksrsxSyKHNuR4HoiYalQikOKPI' http://127.0.0.1:8443/userinfo, in 0.37 seconds) container-test-run-tinc-auth-container> (finished: run the VM test script, in 43.78 seconds) container-test-run-tinc-auth-container> test script finished in 44.67s container-test-run-tinc-auth-container> cleanup container-test-run-tinc-auth-container> kill NspawnMachine (pid 51) container-test-run-tinc-auth-container> Container solo terminated by signal KILL. container-test-run-tinc-auth-container> (finished: cleanup, in 1.35 seconds) post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/tincr attr=checks.x86_64-linux.nixos-tinc-auth-container