* T568-lib-thread is non-deterministic
@ 2021-01-14 15:59 Alyssa Ross
2021-01-14 16:05 ` Alyssa Ross
2021-07-30 13:17 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: Alyssa Ross @ 2021-01-14 15:59 UTC (permalink / raw)
To: notmuch; +Cc: Puck Meerburg
T568-lib-thread assums that there will always be a thread with ID
thread:0000000000000009, but this turns out not to be the case.
This was reported to us in Nixpkgs[1], where it caused builds of our
notmuch package to intermittently fail, and I was able to
(intermittently) reproduce. We are going to work around this problem
for now by disabling T568. I can provide a Xapian DB generated by this
test with no thread with that ID if that's helpful. I believe this also
explains this report previously sent to the Notmuch mailing list[2].
Note on reproducing: I found that it often would succeed repeatedly
many, many times before failing, and then failing consistently for a
while. My co-conspirator Puck (CCed) thinks this might be due to how
directory order works in ZFS (which just happens to be the filesystem we
are using).
[1]: https://github.com/NixOS/nixpkgs/issues/109092
[2]: https://nmbug.notmuchmail.org/nmweb/show/874ko8trhk.fsf%40tethera.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: T568-lib-thread is non-deterministic
2021-01-14 15:59 T568-lib-thread is non-deterministic Alyssa Ross
@ 2021-01-14 16:05 ` Alyssa Ross
2021-07-30 13:17 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Alyssa Ross @ 2021-01-14 16:05 UTC (permalink / raw)
To: notmuch; +Cc: Puck Meerburg
[-- Attachment #1.1: Type: text/plain, Size: 1114 bytes --]
On Thu, Jan 14, 2021 at 03:59:20PM +0000, Alyssa Ross wrote:
> T568-lib-thread assums that there will always be a thread with ID
> thread:0000000000000009, but this turns out not to be the case.
>
> This was reported to us in Nixpkgs[1], where it caused builds of our
> notmuch package to intermittently fail, and I was able to
> (intermittently) reproduce. We are going to work around this problem
> for now by disabling T568. I can provide a Xapian DB generated by this
> test with no thread with that ID if that's helpful. I believe this also
> explains this report previously sent to the Notmuch mailing list[2].
>
> Note on reproducing: I found that it often would succeed repeatedly
> many, many times before failing, and then failing consistently for a
> while. My co-conspirator Puck (CCed) thinks this might be due to how
> directory order works in ZFS (which just happens to be the filesystem we
> are using).
>
> [1]: https://github.com/NixOS/nixpkgs/issues/109092
> [2]: https://nmbug.notmuchmail.org/nmweb/show/874ko8trhk.fsf%40tethera.net
CCing Puck with the correct email address now. Whoops.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: T568-lib-thread is non-deterministic
2021-01-14 15:59 T568-lib-thread is non-deterministic Alyssa Ross
2021-01-14 16:05 ` Alyssa Ross
@ 2021-07-30 13:17 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2021-07-30 13:17 UTC (permalink / raw)
To: Alyssa Ross, notmuch; +Cc: Puck Meerburg
Alyssa Ross <hi@alyssa.is> writes:
> T568-lib-thread assums that there will always be a thread with ID
> thread:0000000000000009, but this turns out not to be the case.
>
> This was reported to us in Nixpkgs[1], where it caused builds of our
> notmuch package to intermittently fail, and I was able to
> (intermittently) reproduce. We are going to work around this problem
> for now by disabling T568. I can provide a Xapian DB generated by this
> test with no thread with that ID if that's helpful. I believe this also
> explains this report previously sent to the Notmuch mailing list[2].
>
> Note on reproducing: I found that it often would succeed repeatedly
> many, many times before failing, and then failing consistently for a
> while. My co-conspirator Puck (CCed) thinks this might be due to how
> directory order works in ZFS (which just happens to be the filesystem we
> are using).
Sorry for the delay in replying. This should be fixed in commit a37d5f5,
which was part of Notmuch 0.31.4.
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-30 13:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 15:59 T568-lib-thread is non-deterministic Alyssa Ross
2021-01-14 16:05 ` Alyssa Ross
2021-07-30 13:17 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).