Closed johannes-riecken closed 1 year ago
Thanks @johannes-riecken.
The logs reference this file
/private/tmp/nix-build-bazel-3.7.2.drv-0/_bazel__nixbld1/0db12c2eee7edde9deccb427b5753c61/execroot/io_bazel/bazel-out/darwin-fastbuild/testlogs/examples/cpp/hello-success_test/test.log
I wonder if it might contain other clues.
I don't have a Monterrey system to test this, but adding a github action to run tests in darwin would improve the chances to study this issue.
Hmm, the temp directory doesn't contain any nix files after running the command. Any idea how I can keep them or how else we can get more info about the error? I tried to add additional command options to the command in the hopes of keeping temp files, but they're still gone.
nix-shell --keep-outputs --pure --run "bazel --sandbox_debug build //..."
I discovered that I don't know where to find the failing test. After having a second look at the log, it seems that nix is failing to build some dependency rather than inline-java
. It confused me a bit because it also uses bazel.
@johannes-riecken, I'm closing this because it refers to a test in a dependency. But please, feel free to reach out if you find something we can do to help on the inline-java
side.
Describe the bug
During build of inline-java, the test
cpp:hello-success-test
fails.To Reproduce
Expected behavior Successfull build.
Environment
Additional context Full logs. The logs don't seem to give away much. I'd gladly provide more info, but I would need instructions for that, as I haven't used nix before.