unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Dan Čermák" <dan.cermak@posteo.net>
To: notmuch@notmuchmail.org
Subject: Test failures with notmuch 0.32 and 0.32.1 on openSUSE
Date: Wed, 19 May 2021 08:16:39 +0000	[thread overview]
Message-ID: <87r1i3gmu0.fsf@cgc-instruments.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 1485 bytes --]

Hi list,

notmuch 0.32 recently stopped building on openSUSE Leap and Tumbleweed
due to failures in the test suite. It now consistently fails in
T356-protected-headers:

 FAIL   verify signed PKCS#7 subject (multipart-signed) signer User ID
        sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
 PASS   verify signed PKCS#7 subject (onepart-signed)
 FAIL   verify signed PKCS#7 subject (onepart-signed) signer User ID
        sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
 PASS   confirm signed and encrypted PKCS#7 subject (sign+enc)
 FAIL   confirm signed and encrypted PKCS#7 subject (sign+enc) signer User ID
        sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]
 PASS   confirm signed and encrypted PKCS#7 subject (sign+enc+legacy-disp)
 FAIL   confirm signed and encrypted PKCS#7 subject (sign+enc+legacy-disp) signer User ID
        sig_uid: object not found: data[0][0][0]["crypto"]["signed"]["status"][0]["userid"]


Unfortunately, I don't really know what the issue at hand is and how to
debug it. If anyone could help me out here, I'd be very grateful. I have
attached a Dockerfile that you can use to reproduce this issue (simply
build it using your favorite container build tool, e.g.
`buildah bud --layers --build-arg NOTMUCH_VERSION=0.32`). Note that in
the container build additional tests fail in contrast to building the
rpm.


Thanks in advance,

Dan


[-- Attachment #1.1.2: Dockerfile to build and test notmuch on opensuse tumbleweed --]
[-- Type: text/plain, Size: 1421 bytes --]

FROM registry.opensuse.org/opensuse/tumbleweed:latest

ARG NOTMUCH_VERSION=0.32.1

ENV NOTMUCH_VERSION=${NOTMUCH_VERSION}
ENV CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
ENV CXXFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
ENV LDFLAGS=""

RUN zypper --non-interactive in emacs-el emacs-nox gdb info man pkgconf-pkg-config \
    python38-Sphinx python38-base dtach gmime-devel libgcrypt-cavs libtalloc-devel \
    libxapian-devel makeinfo valgrind-devel git gcc make wget xz tar bash \
    xapian-core openssl
RUN wget https://notmuchmail.org/releases/notmuch-${NOTMUCH_VERSION}.tar.xz && \
    xz -dc notmuch-${NOTMUCH_VERSION}.tar.xz | tar -xof - && \
    cd notmuch-${NOTMUCH_VERSION} && \
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --datadir=/usr/share \
        --includedir=/usr/include \
        --libdir=/usr/lib64 \
        --libexecdir=/usr/libexec \
        --localstatedir=/var \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --disable-dependency-tracking \
       --without-zsh-completion && \
    make download-corpus

RUN cd notmuch-${NOTMUCH_VERSION} && make -O -j$(nproc) V=1 VERBOSE=1
RUN cd notmuch-${NOTMUCH_VERSION} && make -O V=1 VERBOSE=1 check

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 865 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2021-05-19  8:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19  8:16 Dan Čermák [this message]
2021-05-19  9:05 ` Test failures with notmuch 0.32 and 0.32.1 on openSUSE 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
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=87r1i3gmu0.fsf@cgc-instruments.com \
    --to=dan.cermak@posteo.net \
    --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).