Open ivan opened 2 years ago
Can someone else confirm that the rustup build breaks on btrfs?
Builds for me (at da675ab0ef8ac399a2c022bbfaf7931b18b86831) on btrfs but non-hardened kernel:
"x86_64-linux"
Linux 5.10.74, NixOS, 21.05.3892.70904d4a992 (Okapi)
yes
yes
nix-env (Nix) 2.3.16
"nixos-21.05.3892.70904d4a992, nixos-unstable-21.11pre323790.5f0194220f2"
"home-manager-21.05"
/nix/var/nix/profiles/per-user/root/channels/nixos
Also, I don't know if parallelism matters, but both of my builds were done on 8+ core machines.
I built on a 12-core machine.
I marked this as stale due to inactivity. → More info
This is still happening for me on NixOS 21.11 on Ryzen 5950X + btrfs + regular (not hardened) kernel.
test updater_is_deleted_after_running_rustc ... ok
test update_installs_clippy_cargo_and ... ok
test updater_is_deleted_after_running_rustup ... ok
test updater_leaves_itself_for_later_deletion ... ok
failures:
---- as_rustup_setup stdout ----
inprocess: true
status: Some(0)
----- stdout
----- stderr
inprocess: true
status: Some(0)
----- stdout
----- stderr
info: auto-self-update mode set to 'disable'
thread 'as_rustup_setup' panicked at 'Unable to run test command: Os { code: 26, kind: ExecutableFileBusy, message: "Text file busy" }', tests/mock/clitools.rs:685:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
as_rustup_setup
test result: FAILED. 44 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 26.55s
error: test failed, to rerun pass '--test cli-self-upd'
Describe the bug
I am unable to build rustup (in nixpkgs master) on a NixOS 21.05 machine running Linux 5.10.75-hardened1 and btrfs. I reproduced this on a second machine with the same kernel and use of btrfs.
The official Hydra does not have any problems building it: https://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-jobs
When I build it, the tests fail with:
or
Some full build logs:
I believe this is a regression in master from NixOS 21.05, where I did not have problems building rustup.
Notify maintainers
@Mic92
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information: