nixos-tests: Fix all tests #83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "samueldr-at-cyberus/hydra:fix/nixos-tests.nix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first change is trivial enough that the credit is not needed, but I believe it's appropriate to cross-reference here.
An attempt was made at
git cherry-pick -x, but other changes were conflicting. So the changes were undone and the same logical changes (%s/wait_for_job/wait_for_unit/g) were made.(currently being) Checked with:
This is inelegant since the interface used with the Flake here is awkward, when wanting to run all
hydraJobs.tests, since the lack of${builtins.currentSystem}is leaking at different levels regarding the attribute sets at play. Oh well. Only handling thecheckswould miss running some of those integration tests.There is an additional issue, where Lix seems to have lost the ability to use
extra-options. See: lix-project/lix#1183.This is affecting the integration test suite. So a workaround was added in this PR.
And on top of that, there is something fishy with the Gitea test. I don't know if it's correct that the statuses can be in a different order than expected. Though the NixOS Hydra sidestream seems to think it's fine.
nixos-tests: wait_for_job -> wait_for_unitto WIP: nixos-tests: wait_for_job -> wait_for_unitc9bb8daf24to76d65cf65376d65cf653to8131422873This took a hot minute to figure out, but there was more to fix than just that.
The TLDR is that lix-project/lix#1183 is affecting the integration test suite. So a workaround was added in this PR.
And on top of that, there is something fishy with the Gitea test. I don't know if it's correct that the statuses can be in a different order than expected. Though the NixOS Hydra sidestream seems to think it's fine.
WIP: nixos-tests: wait_for_job -> wait_for_unitto nixos-tests: Fix all testsThanks!