installcheck flags: -j12 SHELL=/nix/store/r9h133c9m8f6jnlsqzwf89zg9w0w78s8-bash-5.2-p15/bin/bash profiledir=\$\(out\)/etc/profile.d PRECOMPILE_HEADERS=1 sysconfdir=\$\(out\)/etc installcheck ran test flakes/mercurial.sh... [SKIP] ran test test-infra.sh... [PASS] ran test init.sh... [PASS] ran test flakes/develop-r8854.sh... [PASS] ran test flakes/run.sh... [PASS] ran test flakes/inputs.sh... [PASS] ran test flakes/bundle.sh... [PASS] ran test flakes/absolute-paths.sh... [PASS] ran test flakes/develop.sh... [PASS] ran test flakes/unlocked-override.sh... [PASS] ran test flakes/check.sh... [PASS] ran test flakes/circular.sh... [PASS] ran test legacy-ssh-store.sh... [PASS] ran test lang-test-infra.sh... [PASS] ran test fetchMercurial.sh... [SKIP] ran test flakes/follow-paths.sh... [PASS] ran test user-envs-migration.sh... [SKIP] ran test flakes/flake-in-submodule.sh... [PASS] ran test flakes/build-paths.sh... [PASS] ran test flakes/init.sh... [PASS] ran test experimental-features.sh... [PASS] ran test nix-build.sh... [PASS] ran test gc-concurrent.sh... [PASS] ran test nix-collect-garbage-d.sh... [PASS] ran test repair.sh... [PASS] ran test multiple-outputs.sh... [PASS] ran test user-envs.sh... [PASS] ran test binary-cache.sh... [PASS] ran test export-graph.sh... [PASS] ran test fetchGitRefs.sh... [PASS] ran test remote-store.sh... [PASS] ran test fetchPath.sh... [PASS] ran test fetchTree-file.sh... [PASS] ran test fetchurl.sh... [PASS] ran test gc-runtime.sh... [PASS] ran test tarball.sh... [PASS] ran test simple.sh... [PASS] ran test referrers.sh... [PASS] ran test substitute-with-invalid-ca.sh... [PASS] ran test optimise-store.sh... [PASS] ran test signing.sh... [PASS] ran test gc.sh... [PASS] ran test fetchGit.sh... [PASS] ran test lang.sh... [PASS] ran test check.sh... [PASS] ran test secure-drv-outputs.sh... [PASS] ran test nix-shell.sh... [PASS] ran test check-refs.sh... [PASS] ran test hash.sh... [PASS] ran test fixed.sh... [PASS] ran test restricted.sh... [PASS] ran test build-remote-input-addressed.sh... [PASS] ran test flakes/search-root.sh... [PASS] ran test timeout.sh... [PASS] ran test recursive.sh... [PASS] ran test readfile-context.sh... [PASS] ran test check-reqs.sh... [PASS] ran test nix-channel.sh... [PASS] ran test build-remote-trustless-should-pass-2.sh... [FAIL] +++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:275) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-2.sh:3) enableFeatures daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:231) local features=daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:232) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/etc/nix.conf +(build-remote-trustless-should-pass-2.sh:5) restartDaemon +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) [[ -z '' ]] +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) return 0 +(build-remote-trustless-should-pass-2.sh:8) file=build-hook.nix ++(build-remote-trustless-should-pass-2.sh:9) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-2.sh:9) prog=/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-2.sh:10) proto=ssh-ng +(build-remote-trustless-should-pass-2.sh:12) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:170) canUseSandbox ++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:166) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/remote ++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/result --max-jobs 0 --arg busybox /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/local --builders 'ssh-ng://localhost?remote-program=/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/29nw3cc560giq9j9h4klf7bxk3q9gwsd-build-remote-input-1.drv /nix/store/qnad45dg43zsfbsw417bvf6fncw5ccrw-build-remote-input-2.drv /nix/store/qbiagg3xgr63ji8x9xdh52zvfmcpl467-build-remote-input-3.drv /nix/store/lx09z9rf73fc79b0sglvvcfydmaxsclk-build-remote.drv error: opening lock file '/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-2/local/nix/var/nix/current-load/ssh-ng:__localhost?remote-program=_home_lunaphied_code_lix_.w_maint_backport_flake-lock-ux_tests_functional_nix-daemon-untrusting.sh&remote-store=_build_nix-shell.CAf3tZ_nix-test_build-remote-trustless-should-pass-2_remote%3Fsystem-features=foo%20bar%20baz-0': File name too long error: … while reading the response from the build hook error: unexpected EOF reading a line +++(build-remote-trustless.sh:11) onError +++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:238) set +x build-remote-trustless-should-pass-2.sh: test failed at: source in build-remote-trustless.sh:11 main in build-remote-trustless-should-pass-2.sh:12 make: *** [mk/lib.mk:106: tests/functional/build-remote-trustless-should-pass-2.sh.test] Error 1 make: *** Waiting for unfinished jobs.... ran test build-remote-trustless-should-pass-3.sh... [FAIL] +++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:275) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-3.sh:3) enableFeatures daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:231) local features=daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:232) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/etc/nix.conf +(build-remote-trustless-should-pass-3.sh:5) restartDaemon +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) [[ -z '' ]] +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) return 0 +(build-remote-trustless-should-pass-3.sh:9) file=build-hook-ca-fixed.nix ++(build-remote-trustless-should-pass-3.sh:10) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-3.sh:10) prog=/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-3.sh:11) proto=ssh-ng +(build-remote-trustless-should-pass-3.sh:13) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:170) canUseSandbox ++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:166) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/remote ++(build-remote-trustless.sh:11) nix-build build-hook-ca-fixed.nix -o /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/result --max-jobs 0 --arg busybox /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/local --builders 'ssh-ng://localhost?remote-program=/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/w9xvpic0fcwq0gc0nqnbfhx27cfmf88d-build-remote-input-2.drv /nix/store/izxss373l64xliffj4inwkf49ivkfqxy-build-remote-input-3.drv /nix/store/l6xhr7ywc1g525vzsrbm44icg140qr6y-build-remote-input-1.drv /nix/store/79khv2j8nn6c90zyg1sq9akdm6bgd029-build-remote.drv error: opening lock file '/build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-pass-3/local/nix/var/nix/current-load/ssh-ng:__localhost?remote-program=_home_lunaphied_code_lix_.w_maint_backport_flake-lock-ux_tests_functional_nix-daemon-untrusting.sh&remote-store=_build_nix-shell.CAf3tZ_nix-test_build-remote-trustless-should-pass-3_remote%3Fsystem-features=foo%20bar%20baz-0': File name too long error: … while reading the response from the build hook error: unexpected EOF reading a line +++(build-remote-trustless.sh:11) onError +++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:238) set +x build-remote-trustless-should-pass-3.sh: test failed at: source in build-remote-trustless.sh:11 main in build-remote-trustless-should-pass-3.sh:13 make: *** [mk/lib.mk:106: tests/functional/build-remote-trustless-should-pass-3.sh.test] Error 1 ran test build-remote-content-addressed-fixed.sh... [PASS] ran test build-remote-trustless-should-fail-0.sh... [FAIL] +++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:275) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-fail-0.sh:3) enableFeatures daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:231) local features=daemon-trust-override +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:232) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-fail-0/etc/nix.conf +(build-remote-trustless-should-fail-0.sh:5) restartDaemon +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) [[ -z '' ]] +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:139) return 0 +(build-remote-trustless-should-fail-0.sh:7) requireSandboxSupport +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:170) canUseSandbox +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:166) [[ -n 1 ]] +(build-remote-trustless-should-fail-0.sh:8) [[ /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] +(build-remote-trustless-should-fail-0.sh:10) unset NIX_STORE_DIR +(build-remote-trustless-should-fail-0.sh:11) unset NIX_STATE_DIR +(build-remote-trustless-should-fail-0.sh:15) nix-build build-hook.nix -A passthru.input2 -o /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-fail-0/input2 --arg busybox /nix/store/vqh8yyq0z920bgyjqaqj3jggifbvcnja-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-shell.CAf3tZ/nix-test/build-remote-trustless-should-fail-0/local --option system-features bar this derivation will be built: /nix/store/qnad45dg43zsfbsw417bvf6fncw5ccrw-build-remote-input-2.drv building '/nix/store/qnad45dg43zsfbsw417bvf6fncw5ccrw-build-remote-input-2.drv'... hi /nix/store/ap8nf6f3rqqlqmknk7n84qkp8lqzdpxv-build-remote-input-2 +(build-remote-trustless-should-fail-0.sh:25) file=build-hook.nix ++(build-remote-trustless-should-fail-0.sh:26) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-fail-0.sh:26) prog=/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-fail-0.sh:27) proto=ssh-ng +(build-remote-trustless-should-fail-0.sh:29) expectStderr 1 source build-remote-trustless.sh +(build-remote-trustless-should-fail-0.sh:30) grepQuiet 'cannot add path '\''[^ ]*'\'' because it lacks a signature by a trusted key' +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:208) local expected res +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:209) expected=1 +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:210) shift +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:211) source build-remote-trustless.sh +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:267) grep 'cannot add path '\''[^ ]*'\'' because it lacks a signature by a trusted key' +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:211) res=1 +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:212) [[ 1 -ne 1 ]] +(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:216) return 0 ++(build-remote-trustless-should-fail-0.sh:30) onError ++(/home/lunaphied/code/lix/.w/maint/backport/flake-lock-ux/tests/functional/common/vars-and-functions.sh:238) set +x build-remote-trustless-should-fail-0.sh: test failed at: main in build-remote-trustless-should-fail-0.sh:30 make: *** [mk/lib.mk:106: tests/functional/build-remote-trustless-should-fail-0.sh.test] Error 1 ran test build-remote-trustless-should-pass-0.sh... [PASS] ran test build-remote-trustless-should-pass-1.sh... [PASS] ran test fetchGitSubmodules.sh... [PASS] ran test build-remote-content-addressed-floating.sh... [PASS] ran test gc-non-blocking.sh... [PASS] ran test dependencies.sh... [PASS] ran test flakes/flakes.sh... [PASS] ran test gc-auto.sh... [PASS]