-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notmuch: 0.34.2 -> 0.34.3 #154309
notmuch: 0.34.2 -> 0.34.3 #154309
Conversation
Is there an upstream issue about this? Not a fan of simply disabling tests that quickly.
|
It seems the list of it is here: https://nmbug.notmuchmail.org/status/ There are many tests that all of a suddenly fail, couldn't find a common denominator for all of them... I also don't have time right now to bisect this. The issue is that this failure blocks many mail clients that depend on notmuch. |
Here's the failing build log: https://gist.github.com/doronbehar/9000c47accead127772a32e5615c9471 |
So can we revert until the version where tests don't fail, instead of bumping to yet another version? |
It's just that even the tests of 0.34.2 and 0.34.1 fail. I suspect this is due to a dependency of notmuch that got upgraded and it's API slightly changed in a way that failed the tests, but hopefully not notmuch itself. Unfortunately, I don't have the resources and/or the time to bisect this and this issue is blocking neomutt users from upgrading their systems. |
I'll try to bisect this later this evening.
|
I successfully bisected this, the notmuch tests started to fail with the gnupg upgrade:
|
I can't even figure out if this has been reported to notmuch; I looked for a bug report place, I think I found the ML they would end up on and didn't see anything. Maybe I'll try IRC, I guess. |
We can disable the tests and write a comment that this is related to the gnupg upgrade of 2.2.27 -> 2.3.3 . Then it'd be easy for someone with more time to report this upstream. |
We still don't know if the upgrade broke gpg operations with notmuch (and notmuch should be passed an older version of gnupg). There's a reason these tests fail, we should only disable them as a last resort. |
@colemickens would it be possible to resurrect gnupg22 instead, and give this to notmuch? |
Adding the following to
gpgsm added both sha1 and sha2 fingerprints with different prefixes to the output of --list-key https://github.com/notmuch/notmuch/blob/master/test/test-lib.sh#L148 Will send patch to upstream, opening separate nixpkgs PR with fix |
Fixed in #154547 |
This disables a few tests that fail due to a broken notmuch in Nixpkgs. See #2629 and NixOS/nixpkgs#154309
@@ -71,7 +71,8 @@ stdenv.mkDerivation rec { | |||
ln -s ${test-database} test/test-databases/database-v1.tar.xz | |||
''; | |||
|
|||
doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime.version "3.0.3"); | |||
# Encryption tests seem to fail, and also due to unfound `.notmuch` database | |||
doCheck = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With #154547 merged and the tests now not being broken anymore, can we put the doCheck
back to how it was before? I manually set it to true, and verified the tests now work again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With #154547 merged and the tests now not being broken anymore, can we put the
doCheck
back to how it was before? I manually set it to true, and verified the tests now work again.
Added again the doCheck
line.
67fafb4
to
bc99971
Compare
This disables a few tests that fail due to a broken notmuch in Nixpkgs. See nix-community#2629 and NixOS/nixpkgs#154309
This disables a few tests that fail due to a broken notmuch in Nixpkgs. See nix-community#2629 and NixOS/nixpkgs#154309
Motivation for this change
I noticed the tests fail, with and without this version bump. cc @flokli @puckipedia .
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)