-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures on darwin when built with the sandbox enabled #3
Comments
Can you rerun the tests with RUST_BACKTRACE=1 ? |
It turns out these test failures are due to running the tests from within the sandbox. My |
The tests use a local temporary store: https://github.com/symphorien/nix-du/blob/master/tests/common.rs#L14-L38 |
Also, can you build nix on MacOS with sandbox? The way I run nix in the tests is inspired by nix's own tests: https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L4-L13 |
I'm not sure what you mean; I included the full test output in my original issue (see "Full output"), but I don't know how to get any more info than what it says. I'll see if I can get a Nix build done under the sandbox, but looking at your link, everything there is under a temp dir, and |
|
Oops I turned the sandbox off in that test, not on. How did that autocomplete? Let me run it again. |
You're right, with the sandbox on Nix itself fails to run tests. Lots of errors
|
Anyway it looks like the |
I just tried building the latest master (
2601d1fcdc9752c025a87687e3e5b01ba78e3a72
) using Nix (I edited the existing package definition) and I get a bunch of test failures on Darwin. These failures only show up with the sandbox enabled.Full output
"x86_64-darwin"
Darwin 18.7.0, macOS 10.14.6
no
yes
nix-env (Nix) 2.3
"nixpkgs-20.03pre194957.bef773ed53f"
/Users/lily/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: