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

Reply via email to