Conversation
marsam
left a comment
There was a problem hiding this comment.
LGTM
Release notes: https://dev.gnupg.org/T6454
|
Thanks for merging, @vcunat, I look forward to the ADSK support GnuPG 2.4.1 brings. |
|
Something around pinentry input changed apparently. Our VM tests regressed around that point. |
|
Thanks for raising this, @vcunat, I'll have a look. |
|
What I gather from the logs is this:
At this point I'm uncertain what the underlying cause is, i.e. is pinentry not installed for some reason or is the gpg-agent misconfigured and it does not find any pinentry binaries. How can the test environment be inspected for debugging?
|
|
I'm not very good with NixOS VM tests. They can be run easily, e.g. |
|
I noticed a passphrase-related change in 2.4.1, but not like I've looked into details: https://dev.gnupg.org/T6093 |
|
Being on macOS I'll look into spinning up a NixOS VM to run the tests. I'm not sure I see the connection between the pinentry issue and https://dev.gnupg.org/T6093 can you please elaborate bit? |
|
Either way, I think I should ping maintainers of the broken NixOS tests (sway + gnupg): @primeos, @Synthetica9, @rnhmjoj. Maybe they'll have an idea, too. |
|
I guess this release includes https://dev.gnupg.org/rGeae28f1bd4a5632e8f8e85b7248d1c4d4a10a5ed. Anyway, please, don't ignore the tests: the gnupg one was even linked to the package. |
|
Hmm, so that was apparently a breaking change? Merged in a period when breaking changes were disallowed in nixpkgs. |
|
Thanks for chiming in and providing the additional context, @rnhmjoj very much appreciated. A patch release seemed innocent at the time and I wasn't aware of the profile changes and their implications for NixOS (praises sandro for their comments over on the GnuPG issue). I assumed that any tests are triggered from changes in PRs and would catch breaking changes, this does not seem to be the case. Where would I need to look to see if nixpkgs changes from a PR break NixOS related tests? |
|
There's no such place for these particular cases. Changing package like gnupg requires really lots of CPU to even get to building such tests. |
|
So I reverted it to 2.4.0 for now. |
|
I didn't see this issue before, but I have a change that adds the units back: #231108. |
|
Here's a PR to un-revert this #231110 |
Description of changes
Please let me know if this PR's merge base should rather be
masterthanstaging.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)