unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* make test in a debian-11 container
@ 2021-09-09 18:23 Konstantin Ryabitsev
  2021-09-09 20:45 ` [PATCH] gcf2: die if pkg-config is missing Eric Wong
  0 siblings, 1 reply; 8+ messages in thread
From: Konstantin Ryabitsev @ 2021-09-09 18:23 UTC (permalink / raw)
  To: meta

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

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

end of thread, other threads:[~2021-09-09 21:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 18:23 make test in a debian-11 container Konstantin Ryabitsev
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

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