build-remote-trustless tests fail if PWD is too long #221

Closed
opened 2024-04-03 22:53:22 +00:00 by qyriad · 2 comments
Owner

Discovered that our git worktree of /home/qyriad/code/lix/.w/meson/repl-characterization + Meson's build hierarchy is apparently too much for our build-remote-trustless-* tests. It runs the command:

$ nix-build build-hook-ca-fixed.nix -o /tmp/nix-shell.Vsr0eL/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 /tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/local --builders 'ssh-ng://localhost?remote-program=/home/qyriad/code/lix/.w/meson/repl-characterization/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz'

Which emits the following error message:

error: opening lock file '/tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/local/nix/var/nix/current-load/ssh-ng:__localhost?remote-program=_home_qyriad_code_lix_.w_meson_repl-characterization_build_tests_functional_nix-daemon-untrusting.sh&remote-store=_tmp_nix-shell.Vsr0eL_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
Discovered that our git worktree of `/home/qyriad/code/lix/.w/meson/repl-characterization` + Meson's build hierarchy is apparently too much for our `build-remote-trustless-*` tests. It runs the command: ```bash $ nix-build build-hook-ca-fixed.nix -o /tmp/nix-shell.Vsr0eL/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 /tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/local --builders 'ssh-ng://localhost?remote-program=/home/qyriad/code/lix/.w/meson/repl-characterization/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' ``` Which emits the following error message: ``` error: opening lock file '/tmp/nix-shell.Vsr0eL/nix-test/build-remote-trustless-should-pass-3/local/nix/var/nix/current-load/ssh-ng:__localhost?remote-program=_home_qyriad_code_lix_.w_meson_repl-characterization_build_tests_functional_nix-daemon-untrusting.sh&remote-store=_tmp_nix-shell.Vsr0eL_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 ```
qyriad added the
testing
bug
labels 2024-04-03 22:53:22 +00:00
qyriad changed title from build-remote-trustless tests fail if PWD is moderately long to build-remote-trustless tests fail if PWD is too long 2024-04-03 22:53:48 +00:00
Owner

This is partially a dupe of #157

This is partially a dupe of https://git.lix.systems/lix-project/lix/issues/157
Author
Owner

Ahh thank you. I think we should leave this open anyway to track #157 affecting our test suite.

Ahh thank you. I think we should leave this open anyway to track #157 affecting our test suite.
jade added the
Area/remote-builds
label 2024-05-23 00:51:03 +00:00
jade self-assigned this 2024-05-25 03:55:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#221
No description provided.