Skip to content

Hydra's /nix/store appears to be in a bad state #166481

@ghost

Description

Describe the bug

A clear and concise description of what the bug is.

This hydra job has failed, causing basically all other mips64el-linux jobs to fail.

The last two lines of the build failure are:

Moving /nix/store/x9ki9qiwz5rrvbrkcahhia5zi77mww2b-pcre-mips64el-linux-gnuabi64-8.45-bin/bin/pcre-config to /nix/store/pk8i1pw5vl89iv0my49vfzxacvig8k00-pcre-mips64el-linux-gnuabi64-8.45-dev/bin/pcre-config
rmdir: failed to remove '/nix/store/x9ki9qiwz5rrvbrkcahhia5zi77mww2b-pcre-mips64el-linux-gnuabi64-8.45-bin/bin': Directory not empty

I think there's some crud left over in '/nix/store/x9ki9qiwz5rrvbrkcahhia5zi77mww2b-pcre-mips64el-linux-gnuabi64-8.45-bin` on the Hydra machine. Maybe somebody with local access needs to clear it out?

Steps To Reproduce

I am unable to reproduce this failure. My nix-instantiate yields exactly the same drv hash, and builds correctly:

$ nix-build /nix/store/vbilncz4p9gwdjiqblbii1hgmwrhxwcd-stdenv-bootstrap-tools-mips64el-linux-gnuabi64.drv
/nix/store/i9qmw2r3d78lma985g7qzipdmqv8jd5d-stdenv-bootstrap-tools-mips64el-linux-gnuabi64

Expected behavior

A clear and concise description of what you expected to happen.

I expect the Hydra build of vbilncz4p9gwdjiqblbii1hgmwrhxwcd-stdenv-bootstrap-tools-mips64el-linux-gnuabi64.drv to produce /nix/store/i9qmw2r3d78lma985g7qzipdmqv8jd5d-stdenv-bootstrap-tools-mips64el-linux-gnuabi64, just like on my local machine.

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.10+, Debian GNU/Linux, 10 (buster), nobuild`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
 - nixpkgs: `/nix/git/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions