Skip to content

Build failure: nix_2_3 fails in test tests/add.sh sometimes #294433

Closed

Description

Steps To Reproduce

when running ofborg eval tests nix-build --arg pkgs import ./. {} ./lib/tests/release.nix nix_2_3 fails sometimes. i saw this once in the last staging-next round #292500 (did not keep log) and recently in this PR #292043 (staging commit a8149b5) log.

Build log

https://gist.githubusercontent.com/GrahamcOfBorg/4e0307cf9018f432a637c34bb050c525/raw/bf6ca93a696d44c9a586cc70f499cdb8cdf45036/ofborg-eval-lib-tests

ran test tests/add.sh... [FAIL]
    ++ nix-store --add ./dummy
    + path1=/build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy
    + echo /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy
    /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy
    ++ nix-store --add-fixed sha256 --recursive ./dummy
    + path2=/build/nix-test/add/store/g1qxg63zbanhv79ibby90311521d4237-dummy
    + echo /build/nix-test/add/store/g1qxg63zbanhv79ibby90311521d4237-dummy
    /build/nix-test/add/store/g1qxg63zbanhv79ibby90311521d4237-dummy
    + test /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy '!=' /build/nix-test/add/store/g1qxg63zbanhv79ibby90311521d4237-dummy
    + echo 'nix-store --add and --add-fixed mismatch'
    nix-store --add and --add-fixed mismatch
    + exit 1
error: builder for '/nix/store/qx8lnz589pjm8wgfks7qnrqs21nqis10-nix-2.3.17.drv' failed with exit code 2;

Notify maintainers

@flokli @RaitoBezarius

Metadata

ofborg eval machine.

Add a 👍 reaction to issues you find important.

Activity

  1. ghost added
    0.kind: build failure
    on Mar 9, 2024
  2. flokli commented on Mar 11, 2024

    @flokli
    Member

    This is flakiness in the upstream Nix test suite.

    I heard it got better, as in, there's been some flakiness fixes, but those were not backported to 2.3 yet. Someone needs to dig into this to get it less flaky.

  3. flokli commented on Mar 11, 2024

    @flokli
    Member

    Worked around by #294932, upstream issue NixOS/nix#10222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions