Skip to content

dufs: fix tests - #585725

Merged
pbsds merged 2 commits into
NixOS:masterfrom
haylinmoore:dufs-aws-lc
Nov 10, 2026
Merged

pbsds merged 2 commits into
NixOS:masterfrom
haylinmoore:dufs-aws-lc

Conversation

@haylinmoore

Copy link
Copy Markdown
Contributor

Fix the build by adding aws-lc and pkg-config to the check inputs, which the test-only aws-lc-sys now needs to link against the system aws-lc. Also run the tests serially, as they race picking ports when run in parallel.

ZHF: #584347

Things done

The tests build reqwest, which pulls in aws-lc-sys. Since 44cddf9
("rustPlatform.cargoSetupHook: Force system libs") that needs the system
aws-lc, so add it and pkg-config to the check inputs.
The test fixtures pick a port by briefly listening on it, and a dufs
server spawned by a parallel test at that moment inherits the listener
until exec, so tests randomly connected to it instead of dufs and failed
with "connection refused".
@haylinmoore

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 585725
Commit: a90fd2d4511f5661065dd4fe8d79e9cb1781428a


x86_64-linux

✅ 1 package built:
  • dufs

@nixpkgs-ci
nixpkgs-ci Bot requested review from font44 and holymonson November 9, 2026 22:05
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 9, 2026
@pbsds
pbsds added this pull request to the merge queue Nov 9, 2026
Merged via the queue into NixOS:master with commit 3ce4931 Nov 10, 2026
31 checks passed
@haylinmoore haylinmoore added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 10, 2026
@haylinmoore
haylinmoore deleted the dufs-aws-lc branch November 10, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants