From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: meta@public-inbox.org
Subject: make test in a debian-11 container
Date: Thu, 9 Sep 2021 14:23:50 -0400 [thread overview]
Message-ID: <20210909182350.yzhdw3znylowb3im@meerkat.local> (raw)
Hello:
I can't seem to get a clean "make test" in the Debian container. It's possible
that I'm missing some of the packages, as the official Debian container image
is very minimal.
The dockerfile is here: https://gist.github.com/mricon/046ba7c8b03bd92176dbe83e04f2466c
The pertinent section is:
RUN apt-get -y install git liburi-perl libemail-mime-perl libplack-perl libtimedate-perl \
libdbd-sqlite3-perl libsearch-xapian-perl libnet-server-perl \
libinline-c-perl libemail-address-xs-perl libparse-recdescent-perl \
xapian-tools libencode-perl libdbi-perl liblinux-inotify2-perl \
libio-compress-perl curl libmail-imapclient-perl sqlite3 \
libgit2-dev make eatmydata
When I run "make test", I get the following failures:
...
t/gcf2.t ..................... Use of uninitialized value $file in index at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 348.
Use of uninitialized value $file in concatenation (.) or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 350.
Use of uninitialized value in subroutine entry at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 388.
Use of uninitialized value in join or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 389.
t/gcf2.t ..................... skipped: PublicInbox::Gcf2 missing for t/gcf2.t
t/gcf2_client.t .............. Use of uninitialized value $file in index at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 348.
Use of uninitialized value $file in concatenation (.) or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 350.
Use of uninitialized value in subroutine entry at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 388.
Use of uninitialized value in join or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 389.
t/gcf2_client.t .............. skipped: PublicInbox::Gcf2 missing for t/gcf2_client.t
t/git.t ...................... 1/? fatal: Needed a single revision
t/git.t ...................... ok
t/gzip_filter.t .............. ok
t/hl_mod.t ................... skipped: failed to load highlight.pm for t/hl_mod.t
t/httpd-corner.t ............. ok
t/httpd-https.t .............. skipped: certs/ missing for t/httpd-https.t, run /usr/bin/perl ./create-certs.perl in certs/
t/httpd-unix.t ............... ok
t/httpd.t .................... ok
t/hval.t ..................... ok
t/idx_stack.t ................ ok
t/imap.t ..................... ok
t/imap_searchqp.t ............ ok
t/imap_tracker.t ............. ok
t/imapd-tls.t ................ skipped: certs/ missing for t/imapd-tls.t, run /usr/bin/perl ./create-certs.perl in certs/
t/imapd.t .................... 1/? # waiting for initial fetch...
# inbox unlocked on initial fetch, waiting for IDLE
t/imapd.t .................... 180/? # waiting for IMAP IDLE wakeup
# inbox unlocked on IDLE wakeup
# waiting for -watch reload + initial fetch
# waiting for PollInterval wakeup
# inbox unlocked (poll)
# Failed test 'no uninitialized warnings'
# at t/imapd.t line 543.
# 'Use of uninitialized value $file in index at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 348.
# Use of uninitialized value $file in concatenation (.) or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 350.
# Use of uninitialized value in subroutine entry at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 388.
# Use of uninitialized value in join or string at /home/user/work/temp/pi/blib/lib/PublicInbox/Spawn.pm line 389.
# '
# matches '(?^i:uninitialized)'
# Looks like you failed 1 test of 186.
t/imapd.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/186 subtests
...
What am I missing?
-K
next reply other threads:[~2021-09-09 18:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 18:23 Konstantin Ryabitsev [this message]
2021-09-09 20:45 ` [PATCH] gcf2: die if pkg-config is missing Eric Wong
2021-09-09 21:01 ` Konstantin Ryabitsev
2021-09-09 21:14 ` Eric Wong
2021-09-09 21:21 ` Konstantin Ryabitsev
2021-09-09 21:23 ` Eric Wong
2021-09-09 21:29 ` Konstantin Ryabitsev
2021-09-09 21:34 ` 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=20210909182350.yzhdw3znylowb3im@meerkat.local \
--to=konstantin@linuxfoundation.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).