unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: "Jörg Rödel" <joro@8bytes.org>
To: meta@public-inbox.org
Subject: 'make test' failures while packaging for openSUSE
Date: Fri, 19 Nov 2021 13:42:00 +0100	[thread overview]
Message-ID: <YZebmAxlFJy4lqAw@8bytes.org> (raw)

Hi,

first of all thanks a lot to all the developers for writing such an
awesome tool. I am currently setting up lei to watch various Linux
kernel development lists and so far it works like a charm!

To make things more smooth for others I am currently packaging
public-inbox for openSUSE, and I am encountering some failures while
running 'make test'. Here is the error I am seeing in the build log:

	t/lei-lcat.t ................. ok
	
	#   Failed test 'clone + index v1 synced ->created_at'
	#   at t/lei-mirror.t line 175.
	#          got: '1637324685'
	#     expected: undef
	
	#   Failed test 'clone + index v1 synced ->created_at'
	#   at t/lei-mirror.t line 178.
	#          got: '1637324685'
	#     expected: undef
	# Looks like you failed 2 tests of 37.
	t/lei-mirror.t ............... 
	Dubious, test returned 2 (wstat 512, 0x200)
	Failed 2/37 subtests 
		(less 2 skipped subtests: 33 okay)

The full 'make test' excerpt from the build log is also attached. This
happens when building from latest HEAD as well as from tag v1.7.0.

I am not sure why this test fails, maybe it is some problem in one of
the dependencies. Any help here would be great!

Thanks,

	Joerg

[    5s] + make test
[    5s] fatal: not a git repository (or any of the parent directories): .git
[    5s] VERSION=1.7.0 "/usr/bin/perl" -w ./version-gen.perl
[    5s] PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[    5s] t/address.t .................. ok
[    5s] t/admin.t .................... ok
[    6s] t/altid.t .................... ok
[    6s] t/altid_v2.t ................. ok
[    6s] t/cgi.t ...................... ok
[    6s] t/cmd_ipc.t .................. ok
[    7s] t/config.t ................... ok
[    7s] t/config_limiter.t ........... ok
[    7s] t/content_hash.t ............. ok
[    8s] t/convert-compact.t .......... ok
[    8s] t/dir_idle.t ................. ok
[    8s] t/ds-kqxs.t .................. skipped: DSKQXS is only for *BSD systems
[    8s] t/ds-leak.t .................. ok
[    8s] t/ds-poll.t .................. ok
[   10s] t/edit.t ..................... ok
[   10s] t/emergency.t ................ ok
[   10s] t/eml.t ...................... ok
[   10s] t/eml_content_disposition.t .. ok
[   10s] t/eml_content_type.t ......... ok
[   10s] t/epoll.t .................... ok
[   11s] t/extindex-psgi.t ............ ok
[   15s] t/extsearch.t ................ ok
[   15s] t/fake_inotify.t ............. ok
[   16s] t/feed.t ..................... ok
[   16s] t/filter_base.t .............. ok
[   16s] t/filter_mirror.t ............ ok
[   16s] t/filter_rubylang.t .......... ok
[   16s] t/filter_subjecttag.t ........ ok
[   16s] t/filter_vger.t .............. ok
[   16s] # require PublicInbox::Gcf2: open(/home/abuild/.cache/public-inbox/inline-c/.public-inbox.lock): No such file or directory at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Gcf2.pm line 20.
[   16s] # BEGIN failed--compilation aborted at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Gcf2.pm line 78.
[   16s] # Compilation failed in require at (eval 12) line 1.
[   16s] t/gcf2.t ..................... skipped: PublicInbox::Gcf2 missing for t/gcf2.t
[   16s] # require PublicInbox::Gcf2: open(/home/abuild/.cache/public-inbox/inline-c/.public-inbox.lock): No such file or directory at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Gcf2.pm line 20.
[   16s] # BEGIN failed--compilation aborted at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Gcf2.pm line 78.
[   16s] # Compilation failed in require at (eval 13) line 1.
[   16s] t/gcf2_client.t .............. skipped: PublicInbox::Gcf2 missing for t/gcf2_client.t
[   17s] t/git.t ...................... ok
[   17s] t/gzip_filter.t .............. ok
[   17s] t/hl_mod.t ................... skipped: highlight missing for t/hl_mod.t
[   19s] t/httpd-corner.t ............. ok
[   19s] t/httpd-https.t .............. ok
[   20s] t/httpd-unix.t ............... ok
[   21s] t/httpd.t .................... ok
[   21s] t/hval.t ..................... ok
[   21s] t/idx_stack.t ................ ok
[   22s] t/imap.t ..................... ok
[   22s] t/imap_searchqp.t ............ ok
[   22s] t/imap_tracker.t ............. ok
[   23s] t/imapd-tls.t ................ ok
[   24s] # waiting for initial fetch...
[   24s] # inbox unlocked on initial fetch, waiting for IDLE
[   25s] # waiting for IMAP IDLE wakeup
[   25s] # inbox unlocked on IDLE wakeup
[   25s] # waiting for -watch reload + initial fetch
[   25s] # waiting for PollInterval wakeup
[   25s] # inbox unlocked (poll)
[   25s] t/imapd.t .................... ok
[   25s] t/import.t ................... ok
[   26s] t/inbox.t .................... ok
[   26s] t/inbox_idle.t ............... ok
[   27s] t/index-git-times.t .......... ok
[   29s] t/indexlevels-mirror-v1.t .... ok
[   32s] t/indexlevels-mirror.t ....... ok
[   34s] # err=no email in From:  or Sender: 
[   34s] # no name in From:  or Sender: 
[   35s] # err=no email in From:  or Sender: 
[   35s] # no name in From:  or Sender: 
[   35s] t/init.t ..................... ok
[   35s] t/ipc.t ...................... ok
[   35s] t/kqnotify.t ................. skipped: KQNotify is only for *BSD systems
[   35s] t/lei-auto-watch.t ........... ok
[   35s] t/lei-convert.t .............. ok
[   35s] t/lei-daemon.t ............... ok
[   36s] t/lei-export-kw.t ............ ok
[   36s] t/lei-externals.t ............ ok
[   36s] t/lei-import-http.t .......... ok
[   36s] t/lei-import-imap.t .......... ok
[   37s] t/lei-import-maildir.t ....... ok
[   37s] t/lei-import-nntp.t .......... ok
[   37s] t/lei-import.t ............... ok
[   37s] t/lei-index.t ................ ok
[   37s] t/lei-inspect.t .............. ok
[   38s] t/lei-lcat.t ................. ok
[   38s] 
[   38s] #   Failed test 'clone + index v1 synced ->created_at'
[   38s] #   at t/lei-mirror.t line 175.
[   38s] #          got: '1637324685'
[   38s] #     expected: undef
[   38s] 
[   38s] #   Failed test 'clone + index v1 synced ->created_at'
[   38s] #   at t/lei-mirror.t line 178.
[   38s] #          got: '1637324685'
[   38s] #     expected: undef
[   38s] # Looks like you failed 2 tests of 37.
[   38s] t/lei-mirror.t ............... 
[   38s] Dubious, test returned 2 (wstat 512, 0x200)
[   38s] Failed 2/37 subtests 
[   38s] 	(less 2 skipped subtests: 33 okay)
[   39s] t/lei-p2q.t .................. ok
[   39s] t/lei-q-kw.t ................. ok
[   39s] t/lei-q-remote-import.t ...... ok
[   39s] t/lei-q-save.t ............... ok
[   39s] t/lei-q-thread.t ............. ok
[   39s] t/lei-refresh-mail-sync.t .... ok
[   40s] t/lei-sigpipe.t .............. ok
[   40s] t/lei-tag.t .................. ok
[   40s] t/lei-up.t ................... ok
[   40s] t/lei-watch.t ................ ok
[   40s] t/lei.t ...................... ok
[   40s] t/lei_dedupe.t ............... ok
[   41s] t/lei_external.t ............. ok
[   41s] t/lei_lcat.t ................. ok
[   41s] t/lei_mail_sync.t ............ ok
[   41s] t/lei_overview.t ............. ok
[   41s] t/lei_saved_search.t ......... ok
[   42s] t/lei_store.t ................ ok
[   43s] t/lei_to_mail.t .............. ok
[   44s] t/lei_xsearch.t .............. ok
[   44s] t/linkify.t .................. ok
[   45s] t/mbox_lock.t ................ ok
[   45s] t/mbox_reader.t .............. ok
[   45s] t/mda.t ...................... ok
[   46s] t/mda_filter_rubylang.t ...... ok
[   46s] t/mdir_reader.t .............. ok
[   46s] t/mid.t ...................... ok
[   46s] t/mime.t ..................... ok
[   47s] t/miscsearch.t ............... ok
[   47s] t/msg_iter.t ................. ok
[   47s] t/msgmap.t ................... ok
[   47s] t/msgtime.t .................. ok
[   48s] t/multi-mid.t ................ ok
[   49s] t/net_reader-imap.t .......... ok
[   49s] t/nntp.t ..................... ok
[   49s] t/nntpd-tls.t ................ ok
[   50s] # waiting for initial fetch...
[   50s] # inbox unlocked on initial fetch
[   51s] t/nntpd-v2.t ................. ok
[   52s] # waiting for initial fetch...
[   52s] # inbox unlocked on initial fetch
[   52s] t/nntpd.t .................... ok
[   52s] t/nodatacow.t ................ ok
[   53s] t/nulsubject.t ............... ok
[   53s] t/on_destroy.t ............... ok
[   53s] t/over.t ..................... ok
[   53s] t/plack.t .................... ok
[   54s] t/precheck.t ................. ok
[   54s] t/psgi_attach.t .............. ok
[   54s] t/psgi_bad_mids.t ............ ok
[   54s] t/psgi_mount.t ............... ok
[   55s] t/psgi_multipart_not.t ....... ok
[   55s] t/psgi_scan_all.t ............ ok
[   55s] t/psgi_search.t .............. ok
[   56s] t/psgi_text.t ................ ok
[   56s] t/psgi_v2.t .................. ok
[   57s] t/purge.t .................... ok
[   59s] t/qspawn.t ................... ok
[   59s] Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=/home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/t/data-gen/reindex-time-range.v1-master/public-inbox/xapian15/over.sqlite3 at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Import.pm line 194.
[   59s] /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/t/data-gen/reindex-time-range.v1-master index failed: Modification of a read-only value attempted at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/SearchIdx.pm line 900, <$r> line 1.
[   59s] 
[   60s] t/reindex-time-range.t ....... ok
[   60s] t/rename_noreplace.t ......... ok
[   60s] # v2 basic replace
[   60s] # v2 basic replace
[   60s] # v2 basic replace
[   61s] # v2 basic replace
[   61s] # v2 medium replace
[   61s] # v2 medium replace
[   61s] # v2 medium replace
[   61s] # v2 medium replace
[   62s] t/replace.t .................. ok
[   62s] t/reply.t .................... ok
[   62s] t/search-thr-index.t ......... ok
[   63s] t/search.t ................... ok
[   64s] t/shared_kv.t ................ ok
[   64s] t/sigfd.t .................... ok
[   64s] t/solver_git.t ............... skipped: t/solver_git.t must be run from a git working tree
[   64s] t/spamcheck_spamc.t .......... ok
[   64s] # waiting for child to reap grandchild...
[   64s] t/spawn.t .................... ok
[   64s] t/thread-cycle.t ............. ok
[   64s] t/thread-index-gap.t ......... ok
[   65s] t/time.t ..................... ok
[   65s] t/uri_imap.t ................. ok
[   65s] t/uri_nntps.t ................ ok
[   65s] t/v1-add-remove-add.t ........ ok
[   66s] t/v1reindex.t ................ ok
[   66s] t/v2-add-remove-add.t ........ ok
[   67s] t/v2dupindex.t ............... ok
[   67s] t/v2index-late-dupe.t ........ ok
[   68s] t/v2mda.t .................... ok
[   71s] t/v2mirror.t ................. ok
[   72s] # messing up all threads with tid=10
[   73s] # messing up all threads with tid=13
[   73s] # messing up all threads with tid=29
[   73s] t/v2reindex.t ................ ok
[   74s] t/v2writable.t ............... ok
[   74s] t/view.t ..................... ok
[   76s] t/watch_filter_rubylang.t .... ok
[   77s] t/watch_imap.t ............... ok
[   77s] # waiting for -watch to import new message
[   77s] # message delivered to `test'
[   77s] t/watch_maildir.t ............ ok
[   78s] t/watch_maildir_v2.t ......... ok
[   79s] t/watch_multiple_headers.t ... ok
[   79s] t/www_altid.t ................ ok
[   79s] t/www_listing.t .............. ok
[   80s] t/www_static.t ............... ok
[   80s] t/xcpdb-reshard.t ............ ok
[   80s] 
[   80s] Test Summary Report
[   80s] -------------------
[   80s] t/lei-mirror.t             (Wstat: 512 Tests: 37 Failed: 2)
[   80s]   Failed tests:  30-31
[   80s]   Non-zero exit status: 2
[   80s] Files=157, Tests=5322, 75 wallclock secs ( 0.66 usr  0.17 sys + 39.13 cusr 18.05 csys = 58.01 CPU)
[   80s] Result: FAIL
[   80s] Failed 1/157 test programs. 2/5322 subtests failed.
[   80s] make: *** [Makefile:1203: test_dynamic] Error 255
[   80s] error: Bad exit status from /var/tmp/rpm-tmp.daUPQe (%check)

             reply	other threads:[~2021-11-19 12:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 12:42 Jörg Rödel [this message]
2021-11-19 18:54 ` 'make test' failures while packaging for openSUSE Eric Wong
2021-11-19 21:46   ` Jörg Rödel
2021-11-22  6:55     ` [PATCH] searchidx: add some extra diagnostics for odd message Eric Wong
2021-11-22  7:42       ` [PATCH] t/lei-mirror: skip lei comparisons if lei missing Eric Wong
2021-11-22 13:47         ` Jörg Rödel
2021-11-22 17:24           ` Eric Wong
2021-11-22 13:20       ` [PATCH] searchidx: add some extra diagnostics for odd message Jörg Rödel
2021-11-22 18:23         ` [PATCH] searchidx: avoid modification of read-only `$_' 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=YZebmAxlFJy4lqAw@8bytes.org \
    --to=joro@8bytes.org \
    --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).