test failure (lix main on darwin): functional-nix-shell-basic #1042
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
awaiting
author
awaiting
contributors
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
Feature/S3
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix#1042
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Thanks for all the time you're putting into Lix!
Compiling Lix main on Darwin is failing during
installcheck. The failed test,functional-nix-shell-basicappears unable to create files withtouchdue to an illegal byte sequence in the filename.Steps To Reproduce
Compile Lix main on Darwin with rev
f3b2f3496bd6d346cba475d0ba152a9d3a83dec7or more recent. I have tested rev2c73f3c49299af4628bb812469d0a0f2566f38ectoday and get the same error.Expected behavior
Successful
installcheckafter compilation.nix --versionoutputAdditional context
The full log is available in this gist, but below is a snapshot of the failing test output:
Could you share more information about your
/etc/nix/nix.conf? I received this error from some other folks but I compile aarch64-darwin a bunch of times and never encountered it... It seems filesystem driven too.Thank you for your time, @raito.
My
nix.confis generated (contents below). Myflake.nixis public if it helps.Is there an issue with string concatenation in the creation of the filenames? I noticed there are extra single quotes within the file being
touched.@dustypomerleau (@)pennae tells me the root cause is that the Darwin detection creates this error, I will try to send a fix soon.
Fantastic—thank you for the quick reply @raito.
@raito For what it's worth, it seems that the failure mode (the error during calls to
touch) is consistently the same, but the failing test is variable. Today I am seeing:Hi, @dustypomerleau! I'm not able to reproduce this on other Darwin machines -- the
toucherror in the stdout is actually a red herring (see #1056); but there is a legtimiate test failure, and seeing what you are is a bit mystifying.Actual failure: https://gist.github.com/dustypomerleau/16533b321de229132ac38ae95f5e69f2#file-lix-test-failure-functional-nix-shell-basic-txt-L1813
I'll follow up if I find out more. In the meantime, can you tell me if there's anything that might be unique about the machine (locale, any odd environment handling)?
Also: if you have other test cases failing, can you submit full logs from those ones?
Something odd is going on, and I'm not sure if it's a Lix-on-Darwin problem, a Lix problem, or something else in the environment. I'd also be happy to chat if this winds up being something you're wiling to try some interactive debugging on.
Thanks! ^^
I don't think there is anything unusual about my system, but I'm happy to provide more debugging info if you can tell me what to run.
The system locale is Australia. My flake is here, if that's helpful.
Here is a gist of the latest failure. It looks quite similar to the original. Other than the one
functional-user-envsfailure above, I have almost exclusively been seeing failures offunctional-nix-shell-basic.Even though Lix install is currently failing, I should mention that I've successfully compiled/installed Lix main twice since the original post, so it's very inconsistent. Failure for a given rev of Lix main seems reproducible, but if you update the flake input to latest, it will sometimes succeed (also reproducible).
I appreciate the time you're taking to investigate this.
I have re-encountered the failure of
functional-user-envs. Here is a gist of the log.The error seems to point at this section of
user-envs.sh:Here is a log where both of the above tests fail in one run. The stack looks the same to me. It's pretty clear that it's specifically those 2 tests - I haven't had failures of any others since this began.