Skip to content

Regression test for libvirt NSS modules#323728

Merged
flokli merged 1 commit intoNixOS:masterfrom
michaelfranzl:add-regression-test-libvirt-nss
Jul 3, 2024
Merged

Regression test for libvirt NSS modules#323728
flokli merged 1 commit intoNixOS:masterfrom
michaelfranzl:add-regression-test-libvirt-nss

Conversation

@michaelfranzl
Copy link
Copy Markdown
Contributor

This is a regression test for the implementation in 412543d which was fixed in #322022.

Description of changes

See source code comment.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.
  • [ ]

Add a 👍 reaction to pull requests you find important.

This is a regression test for the implementation in
412543d which was fixed in NixOS#322022.
@github-actions github-actions bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Jul 1, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 1, 2024
@jchv
Copy link
Copy Markdown
Contributor

jchv commented Jul 1, 2024

Oddly enough, this test never seems to pass for me. I tried running it and it's just running into ping: nixos: Name or service not known repeatedly forever. If I git checkout HEAD~ to go to the previous commit, then it passes as expected. Something seems to be wrong.

(I'd investigate further but I don't have time at the moment, sorry!)

@michaelfranzl michaelfranzl force-pushed the add-regression-test-libvirt-nss branch from ece2d80 to 90bb205 Compare July 1, 2024 19:25
Copy link
Copy Markdown
Contributor

@jchv jchv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled it again and now it works. nix build .#nixosTests.libvirtd succeeded.

@michaelfranzl
Copy link
Copy Markdown
Contributor Author

@jchv Confirmed. Through hurry, this PR was based on the old master branch (before we added the fix). I rebased it on the up-to-date master. If you try again, the test will pass. Sorry for the extra roundtrip. At least we now proved the regression 😄

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 1, 2024
Copy link
Copy Markdown
Member

@flokli flokli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this PR, both cherry-picked into master and hard-reset to the PR branch. Both succeed (on aarch64-linux).

Let's get this in!

@flokli flokli merged commit 6413876 into NixOS:master Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants