unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Test failures with notmuch 0.32 and 0.32.1 on openSUSE
@ 2021-05-19  8:16 Dan Čermák
  2021-05-19  9:05 ` Michael J Gruber
  2021-05-19 11:00 ` David Bremner
  0 siblings, 2 replies; 17+ messages in thread
From: Dan Čermák @ 2021-05-19  8:16 UTC (permalink / raw)
  To: notmuch


[-- 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 --]



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-08-28 15:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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