Bug#963357: libtest-redisserver-perl: FTBFS: test failed

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:31:25 BST 2020


Source: libtest-redisserver-perl
Version: 0.21-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && perl -I. Build.PL --installdirs vendor --config ccflags="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --config cxxflags="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" --config cppflags="-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include" --config lddlflags="-Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong" --destdir /<<PKGBUILDDIR>>/debian/libtest-redisserver-perl
> Creating new 'Build' script for 'Test-RedisServer' version '0.21'
> cd . && ./Build build
> cp lib/Test/RedisServer.pm blib/lib/Test/RedisServer.pm
> touch debian/stamp-perl-build
> cd  . && ./Build test  --verbose 1
> t/basic.t ......... 
> ok 1 - pid ok
> ok 2 - unix socket ok
> ok 3 - server key does not exist ok
> ok 4 - ping pong ok
> ok 5 - pid removed ok
> ok 6 - no server available ok
> ok 7 - pid ok
> ok 8 - sock does not exist ok
> ok 9 - server addr ok
> ok 10 - ping pong ok
> ok 11 - server died ok
> 1..11
> ok
> t/manual_start.t .. 
> ok 1 - redis client object was not created ok
> ok 2 - error msg ok
> ok 3 - ping pong ok
> 1..3
> ok
> t/no_server.t ..... 
> ok 1 - server was not created ok
> ok 2 - error msg ok
> 1..2
> ok
> t/tmp_dir.t ....... 
> 15455:C 21 Jun 2020 07:36:01.819 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
> 15455:C 21 Jun 2020 07:36:01.819 # Redis version=6.0.5, bits=64, commit=00000000, modified=0, pid=15455, just started
> 15455:C 21 Jun 2020 07:36:01.819 # Configuration loaded
> 15455:M 21 Jun 2020 07:36:01.819 * Increased maximum number of open files to 10032 (it was originally set to 1024).
> 15455:M 21 Jun 2020 07:36:01.820 * Running mode=standalone, port=33269.
> 15455:M 21 Jun 2020 07:36:01.820 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
> 15455:M 21 Jun 2020 07:36:01.820 # Server initialized
> 15455:M 21 Jun 2020 07:36:01.820 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
> 15455:M 21 Jun 2020 07:36:01.820 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
> 15455:M 21 Jun 2020 07:36:01.820 * Ready to accept connections
> 15455:signal-handler (1592724961) Received SIGTERM scheduling shutdown...
> 15455:M 21 Jun 2020 07:36:01.821 # User requested shutdown...
> 15455:M 21 Jun 2020 07:36:01.821 # Redis is now ready to exit, bye bye...
> ok 1 - no files remained after server shutdown
> 1..1
> ok
> 
> #   Failed test 'error msg ok'
> #   at t/unknown_conf.t line 17.
> #                   '*** failed to launch redis-server ***
> # 
> # *** FATAL CONFIG FILE ERROR (Redis 6.0.5) ***
> # Reading the configuration file, at line 2
> # >>> 'unknown_key unknown_val'
> # Bad directive or wrong number of arguments
> #  at t/unknown_conf.t line 11.
> # '
> #     doesn't match '(?^:\*\*\* FATAL CONFIG FILE ERROR \*\*\*)'
> # Looks like you failed 1 test of 2.
> t/unknown_conf.t .. 
> ok 1 - server did not initialize ok
> not ok 2 - error msg ok
> 1..2
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/2 subtests 
> t/wait.t .......... 
> ok 1 - process exited
> ok 2 - no pid ok
> ok 3 - redis exit ok
> 1..3
> ok
> 
> Test Summary Report
> -------------------
> t/unknown_conf.t (Wstat: 256 Tests: 2 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
> Files=6, Tests=22,  4 wallclock secs ( 0.03 usr  0.00 sys +  0.60 cusr  0.15 csys =  0.78 CPU)
> Result: FAIL
> make: *** [/usr/share/cdbs/1/class/perl-build.mk:84: debian/stamp-perl-check] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/libtest-redisserver-perl_0.21-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list