Summary: | net-mail/notmuch-0.31-r1: fails test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | gyakovlev, proxy-maint, sam |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
notmuch-0.31.2-build-log notmuch-0.31.2-all-USES-enabled-build.log build.log (0.31.2, ppc64) |
Portage 3.0.8 (python 3.7.9-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.66-gentoo-x86-kmod i686) ================================================================= System uname: Linux-5.4.66-gentoo-x86-kmod-i686-with-gentoo-2.7 KiB Mem: 3106040 total, 973416 free KiB Swap: 8875836 total, 8873012 free Timestamp of repository gentoo: Sun, 18 Oct 2020 14:05:19 +0000 Head commit of repository gentoo: 003bff9e2f42d81705b8c9b8d4c0aa018863f2ec sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo dev-util/cmake: 3.17.4-r1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ADA_TARGET="gnat_2018" ARCH="x86" BINPKG_COMPRESS="bzip2" BROOT="" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/*" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="mmx mmxext sse sse2" CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" EPREFIX="" EROOT="/" ESYSROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" GSETTINGS_BACKEND="dconf" HOME="/root" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/9.3.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.34/info:/usr/share/info" INPUT_DEVICES="libinput" IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest prefix-stack" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MANPAGER="manpager" MOTD_SHOWN="pam" MULTILIB_ABIS="x86" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OPENCL_PROFILE="ocl-icd" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QT_GRAPHICSSYSTEM="raster" ROOT="/" ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin" RUBY_TARGETS="ruby25 ruby26" SHELL="/bin/bash" SHLVL="2" SSH_ASKPASS="/usr/bin/ssh-askpass-fullscreen" SSH_TTY="/dev/pts/0" SYSROOT="/" TERM="tmux-256color" TMUX="/tmp//tmux-0/default,3583,0" TMUX_PANE="%3" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="vmware" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share" XDG_RUNTIME_DIR="/run/user/0" XDG_SESSION_CLASS="user" XDG_SESSION_ID="1" XDG_SESSION_TYPE="tty" Unfortunately I have no access to an x86 platform, so I cannot test this myself. Is there somebody else who might be able to do that? I am getting:
* Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: net-mail/notmuch-0.31-r1
But I'm also getting:
* ERROR: net-mail/notmuch-0.31-r1::gentoo failed (install phase):
* doman failed
*
* If you need support, post the output of `emerge --info '=net-mail/notmuch-0.31-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-mail/notmuch-0.31-r1::gentoo'`.
* The complete build log is located at '/tmp/portage/net-mail/notmuch-0.31-r1/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/net-mail/notmuch-0.31-r1/temp/environment'.
* Working directory: '/tmp/portage/net-mail/notmuch-0.31-r1/work/notmuch-0.31'
* S: '/tmp/portage/net-mail/notmuch-0.31-r1/work/notmuch-0.31'
* Messages for package net-mail/notmuch-0.31-r1:
So what's going on here?
Also I wanted to say, you should be able to set up an x86 chroot/container where you can test this. Looks like my package testing tool get's confused by REQUIRED_USE="test? ( . . . )" Doing it manually, on an x86 container, I didn't get as many failures as whissi, but still got some. Namely: BROKEN Search message: json, 64-bit timestamp --- T160-json.8.expected 2020-10-19 05:21:30.295543409 +0000 +++ T160-json.8.output 2020-10-19 05:21:30.295543409 +0000 @@ -1,7 +1,7 @@ [ { "authors": "Notmuch Test Suite", - "date_relative": "the future", + "date_relative": "1970-01-01", "matched": 1, "query": [ "id:msg-005@notmuch-test-suite", @@ -13,7 +13,7 @@ "unread" ], "thread": "XXX", - "timestamp": 32472187200, + "timestamp": 0, "total": 1 } ] FATAL: /tmp/portage/net-mail/notmuch-0.30-r1/work/notmuch-0.30/test/T310-emacs.sh: interrupted by signal 15 Notmuch test suite complete. All 536 tests behaved as expected (1 expected failure). ERROR: Aborting on T310-emacs (returned 124) make: *** [test/Makefile.local:75: test] Error 124 * ERROR: net-mail/notmuch-0.30-r1::gentoo failed (test phase): * Make check failed. See above for details. But now the installation works fine without FEATURES="-test", Calculating dependencies... done! [ebuild N ] net-mail/notmuch-0.30-r1:0/5::gentoo USE="crypt emacs python valgrind -doc -mutt -nmbug -test" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-mail/notmuch-0.30-r1::gentoo >>> Installing (1 of 1) net-mail/notmuch-0.30-r1::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.47, 1.54, 2.16 * Messages for package net-mail/notmuch-0.30-r1: * The package seems to have used distutils and setuptools simultaneously. * This could mean the package has bad conditions: * https://dev.gentoo.org/~mgorny/python-guide/distutils.html#conditional-distutils-setuptools-use-in-packages * Please report a bug about this and CC python@ >>> Auto-cleaning packages... (Yes, usually an x86 chroot with 'setarch' or 'linux32' should work OK.) (In reply to Joonas Niilola from comment #5) > ERROR: Aborting on T310-emacs (returned 124) > make: *** [test/Makefile.local:75: test] Error 124 > * ERROR: net-mail/notmuch-0.30-r1::gentoo failed (test phase): > * Make check failed. See above for details. This is getting a bit confusing. Thomas' original error report was about net-mail/notmuch-0.31-r1, and your log shows net-mail/notmuch-0.30-r1 (note the different versions). Yes, sorry about that. My testing tool apparently tilted and messed my profile somehow. Now on a fresh untouched container, I get different kinds of errors when trying to actually test net-mail/notmuch-0.31-r1. You should focus on fixing whatever whissi reported, since it's hardware and not a container. T350-crypto: Testing PGP/MIME signature verification and decryption FATAL: /var/tmp/portage/x86/portage/net-mail/notmuch-0.31-r1/work/notmuch-0.31/test/T350-crypto.sh: interrupted by signal 15 Notmuch test suite complete. All 655 tests behaved as expected (1 expected failure). ERROR: Aborting on T350-crypto (returned 124) make: *** [test/Makefile.local:75: test] Error 124 * ERROR: net-mail/notmuch-0.31-r1::gentoo failed (test phase): * Make check failed. See above for details. Having signed a new contract today, meaning I am fully booked for November, I am now looking for volunteers to take care of open issues assigned to me. Joonas, would you consider taking this one, since you have already worked on it? I'll look at it. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023537dc0c603d0811825c38407c415e137adcfd commit 023537dc0c603d0811825c38407c415e137adcfd Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-11-09 01:05:06 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-11-09 01:06:05 +0000 net-mail/notmuch: bump to 0.31.2 crypt tests fixed Bug: https://bugs.gentoo.org/749969 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> net-mail/notmuch/Manifest | 1 + net-mail/notmuch/notmuch-0.31.2.ebuild | 277 +++++++++++++++++++++++++++++++++ 2 files changed, 278 insertions(+) can someone re-run tests on notmuch-0.31.2? crypt tests seem to be fixed now. all 1000+ tests pass with 3 expected failures, which is ok. Created attachment 670532 [details]
notmuch-0.31.2-build-log
It looks to me like I'm getting much less errors with 'mutt' USE enabled.
This is a stable-x86 container, let me know what else I can provide.
(In reply to Joonas Niilola from comment #13) > Created attachment 670532 [details] > notmuch-0.31.2-build-log > > It looks to me like I'm getting much less errors with 'mutt' USE enabled. > This is a stable-x86 container, let me know what else I can provide. can you re-run test with USE="crypt apidoc doc emacs mutt nmbug python valgrind"? basically all flags enabled. I have all test passing on ppc64 and it says something, I expect it just skips some tests because of missing deps/flags. I can adjust required_use in that case. Created attachment 670553 [details]
notmuch-0.31.2-all-USES-enabled-build.log
I tried with a fresh image. Build.log looks scary and ends with > * QA Notice: command not found: > * > * /var/tmp/portage/net-mail/notmuch-0.31.2/work/notmuch-0.31.2/test/T750-user-header.sh: line 41: Non-word: command not found > but in the end >>> net-mail/notmuch-0.31.2 merged. so I'll no longer block stabilization. (In reply to Thomas Deutschmann from comment #16) > I tried with a fresh image. Build.log looks scary and ends with > > > * QA Notice: command not found: > > * > > * /var/tmp/portage/net-mail/notmuch-0.31.2/work/notmuch-0.31.2/test/T750-user-header.sh: line 41: Non-word: command not found > > > > but in the end > > >>> net-mail/notmuch-0.31.2 merged. > > so I'll no longer block stabilization. Yeah, quoting issues in that file, also seen it. Safe to ignore. Created attachment 682291 [details]
build.log (0.31.2, ppc64)
3 test failures on ppc64:
[...]
FAIL Xapian exception: read only files
FAIL Xapian exception: read only files
FAIL comparing existing to exported symbols
[...]
Notmuch test suite complete.
1213/1219 tests passed.
3 broken tests failed as expected.
3 tests failed.
All tests in 1 file skipped.
closing this as obsolete, as version is gone. if you still see failures with current versions - please open new bug. (In reply to ernsteiswuerfel from comment #18) > Created attachment 682291 [details] > build.log (0.31.2, ppc64) > > 3 test failures on ppc64: > > [...] > FAIL Xapian exception: read only files > FAIL Xapian exception: read only files > FAIL comparing existing to exported symbols > [...] > > Notmuch test suite complete. > 1213/1219 tests passed. > 3 broken tests failed as expected. > 3 tests failed. > All tests in 1 file skipped. some of those fixed in 0.31.3, but we will skip to 0.32 those a bugs in tests, not in notmuch itself =) |
Created attachment 666551 [details] build.log Please see build.log.