Closed berbiche closed 3 years ago
Looks like the tests started taking longer when i3status-rust
was merged.
It uses pkgs.formats
for its configuration.
I suspect the long times somehow were related to the code format test. Because that test copies the checked out repository to the Nix store it will cause the entire repo to be read into memory and presumably it at some point got too large for the builder to handle. Running it locally the max residency of that test was a bit above 500MiB, which doesn't seem too bad but perhaps the builders are very constrained.
In any case, I don't know why it started being slow instead of killing the job with an out of memory error but the jobs seem to run again, now that I removed the format test.
I wonder whether #1624 would resolve this issue?
Issue description
I have a feeling
pkgs.formats
is blowing up the pipeline.Currently all packages usingpkgs.formats
lack tests.See:
1609: https://github.com/nix-community/home-manager/actions/runs/364984690
1595: https://github.com/nix-community/home-manager/actions/runs/364972093
I can successfully run all tests locally without any perceivable blow up in memory size or time.
Meta
Maintainer CC
@rycee @Infinisil (as the creator of
pkgs.formats
, do you have any idea as to howpkgs.formats
could blow up the pipeline?)