unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: "Michael J Gruber" <git@grubix.eu>,
	"Dan Čermák" <dan.cermak@posteo.net>,
	"David Bremner" <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: Test failures with notmuch 0.32 and 0.32.1 on openSUSE
Date: Thu, 20 May 2021 22:54:40 +0300	[thread overview]
Message-ID: <m2k0ntqiyn.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <162152018873.42387.13422677025974324200.git@grubix.eu>

On Thu, May 20 2021, Michael J. Gruber wrote:

> David Bremner venit, vidit, dixit 2021-05-20 11:59:50:
>> Dan Čermák <dan.cermak@posteo.net> writes:
>> 
>> >
>> > Right, I mistakenly thought this would grab the test database. Is that
>> > one no longer necessary?
>> >
>> 
>> Ah, that's a different make target, which is indeed no longer necessary
>> (we don't do the relevant tests any more).
>> 
>> >> 1) can you duplicate the problem without running the tests in parallel?
>> >
>> > They don't run in parallel, as gnu parallel is not installed inside the
>> > container. So: yes, I can.
>> 
>> OK, it was a long shot, but gpgsm has some known issues with parallel tests.
>> 
>> >> 2) What are the versions of the dependencies you are building with?
>> >
>> > emacs-el-27.2-1.2.noarch
>> 
>> [snip...]
>> 
>> Thanks. What about python and gnupg versions?
>> 
>
> So, I ran the container using buildah on Fedora 33 (without the make
> corpus_download). Again, I'm not a container guy, so I don't know what
> the influence of the host is. But:
>
> What ist the shell in that container?
>
> I don't see T356 failing, but:
>
> T050-new.36 (Xapian exception: read only files) can read all files, so
> either chmod u-w fails or xapian can write the db anyway.

The read-obly file failures happen due to running containers in
"rootless" mode; even the files are chmod'd read-only the files can
still be written there (IMO that is a bug in podman...)

try:

$ echo foo > bar
$ chmod 400 bar
$ cat bar
foo
$ echo foo >> bar
zsh: permission denied: bar
$ podman unshare
# echo foo >> bar 
# cat bar
foo
foo
# exit
$ cat bar
foo
foo
$ echo foo >> bar
zsh: permission denied: bar

I've been running some tests in various (podman) containers, and
seen that -- cannot recall now If I've seen all the others below...

Tomi

>
> T050-new.37 and the T060-count.14 are gdb related and too much for me to
> wrap my head around :|
>
> T150 "Xapian exception: read only files" is again chmod u-w
>
> Do they fail to fail (fail to throw) because the tests run as root (or
> wheel) inside the container?
>
> T380 clearly fails because the shell does not know arithmetic expansion.
>
> The rest passes as expected, except for ruby tests (skipped), known broken
> tests and the two USERNAME@FQDN issues which were fixed recently.
>
> 1486/1497 tests passed.
> 4 broken tests failed as expected.
> 7 tests failed.
> All tests in 2 files skipped.
>
>
> Maybe someone switched their default shell ;)
>
> Michael
>
> P.S.: I assume this during build is buildah-related:
> dbus-daemon[427]: [session uid=0 pid=427]
> org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to
> 65536: Operation not permitted

  parent reply	other threads:[~2021-05-20 19:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19  8:16 Test failures with notmuch 0.32 and 0.32.1 on openSUSE Dan Čermák
2021-05-19  9:05 ` Michael J Gruber
2021-05-19 11:00 ` David Bremner
2021-05-20  6:10   ` Dan Čermák
2021-05-20  9:59     ` David Bremner
2021-05-20 14:16       ` Michael J Gruber
2021-05-20 14:30         ` Dan Čermák
2021-05-20 14:46           ` Michael J Gruber
2021-05-20 15:05             ` Dan Čermák
2021-05-20 19:54         ` Tomi Ollila [this message]
2021-05-20 14:28       ` Dan Čermák
2021-06-05 13:50         ` David Bremner
2021-06-08  8:24           ` Dan Čermák
2021-06-08 13:14             ` David Bremner
2021-06-08 14:13               ` Dan Čermák
2021-06-08 14:51                 ` David Bremner
2021-08-28 15:20                 ` David Bremner

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=m2k0ntqiyn.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=dan.cermak@posteo.net \
    --cc=david@tethera.net \
    --cc=git@grubix.eu \
    --cc=notmuch@notmuchmail.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.
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).