user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: "Štěpán Němec" <stepnem@smrk.net>
Cc: meta@public-inbox.org
Subject: Re: imapd.t failing on OpenBSD, bisects to 13a2088c74fd (kqnotify: drop EV_CLEAR (edge triggering))
Date: Wed, 18 Oct 2023 19:06:34 +0000	[thread overview]
Message-ID: <20231018190634.M893199@dcvr> (raw)
In-Reply-To: <20231018170111+0200.599564-stepnem@smrk.net>

Štěpán Němec <stepnem@smrk.net> wrote:
> (Bisected with HEAD at 042662948d804d24 (bad) and good at
> 62d50411dcc92cd (hadn't updated/run the tests for a few weeks.))
> 
> It's a bit of a mess, though, it doesn't fail completely
> reliably and not always quite the same way.  Here's a log
> of a few examples:
> 
> http://smrk.net/tmp/imapd.t.failures
> 
> Reverting 13a2088c74fd (readding EV_CLEAR) I got 12 passing
> imapd.t runs in a row (as well as a full passing `make test`
> run), removing EV_CLEAR again I got 3 passes, 1 fail, and in
> the 5th run it just hung (another time it managed to
> complete 10 imapd.t runs with just 2 fails and no hang).

Odd, can you confirm this is with p5-IO-KQueue installed?
(it's really slow w/o since it needs to sleep).

I saw some similar failures the other week on NetBSD, couldn't
reproduce it, and I lost power at my VM host so later forgot
about it :x

Never seen such failures on FreeBSD, though.

> It also leaves behind funny processes like this:
> 
> ooo# ps -f -U pi
>   PID TT  STAT        TIME COMMAND
> 60002 p1  I+p      0:00.05 sh
> 69047 p1  R/1     20:06.56 perl: -watch quitting quitting (perl)
> 27951 p1  R/1     33:06.54 - perl:  (perl)
>  5020 p1  I        0:00.09 `-- /usr/local/bin/git --git-dir=watchimap/all.git -c core.abbrev=no
> 83900 p1  R/0     14:18.88 perl: -watch quitting quitting (perl)
> 85123 p1  R/0     27:28.68 - perl: UID:4 inbox.i1.0 imap://[::1]:21825 quitting quitting quitting quitting quitting quitting quitting quitting quitting quitting quitting qui
> 78162 p1  I        0:00.17 `-- /usr/local/bin/git --git-dir=watchimap/all.git -c core.abbrev=no
> 
> which, given the hangs, makes me wonder if it's bumping into
> some kind of resource limit?

Parallel tests would increase the likelyhood of limits being hit
(make check, make check-run, prove -j$N)

`make test' and 'prove -lwv' (w/o -j) are serial,
and `make check-run N=1' can force serial tests while
saving loading overhead.

> (These tests were run on an OpenBSD development snapshot,
> not a release, but given that reverting the change makes the
> problem disappear I hope that doesn't matter.)

I can't reproduce it on 7.3 (amd64), right now.
Haven't gotten around to 7.4...

  reply	other threads:[~2023-10-18 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 15:01 imapd.t failing on OpenBSD, bisects to 13a2088c74fd (kqnotify: drop EV_CLEAR (edge triggering)) Štěpán Němec
2023-10-18 19:06 ` Eric Wong [this message]
2023-10-18 19:18   ` Štěpán Němec
2023-10-18 21:23     ` Eric Wong
2023-10-19  8:43       ` Štěpán Němec
2023-10-23 19:58         ` Eric Wong
2023-11-27 11:20           ` OpenBSD debugging Štěpán Němec
2023-11-29 22:38             ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231018190634.M893199@dcvr \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    --cc=stepnem@smrk.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.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).