unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: "Štěpán Němec" <stepnem@smrk.net>
To: meta@public-inbox.org
Subject: imapd.t failing on OpenBSD, bisects to 13a2088c74fd (kqnotify: drop EV_CLEAR (edge triggering))
Date: Wed, 18 Oct 2023 17:01:11 +0200	[thread overview]
Message-ID: <20231018170111+0200.599564-stepnem@smrk.net> (raw)


(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).

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?

(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.)

-- 
Štěpán

             reply	other threads:[~2023-10-18 15:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 15:01 Štěpán Němec [this message]
2023-10-18 19:06 ` imapd.t failing on OpenBSD, bisects to 13a2088c74fd (kqnotify: drop EV_CLEAR (edge triggering)) Eric Wong
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=20231018170111+0200.599564-stepnem@smrk.net \
    --to=stepnem@smrk.net \
    --cc=meta@public-inbox.org \
    /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.
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).