guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl-io-socket-ssl build failures on 'security-updates' branch


From: Mark H Weaver
Subject: Re: perl-io-socket-ssl build failures on 'security-updates' branch
Date: Sun, 31 Jan 2016 14:51:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> writes:

> Mark H Weaver <address@hidden> writes:
>
>> On the 'security-updates' branch, perl-io-socket-ssl gets stuck during
>> its test suite, apparently caused by the openssl-1.0.2f update.  It gets
>> stuck at the same place on x86_64, i686, and armhf:
>>
>>   http://hydra.gnu.org/build/978260
>>   http://hydra.gnu.org/build/977242
>>   http://hydra.gnu.org/build/974468
>>
>> Is anyone willing to look into this?
>>
>>       Mark
>
> I found this:
>
>     https://bugs.debian.org/813189
>
> Apparently the upstream 2.023 works around this issue for now.  However,
> now I'm hitting a different problem with 2.023 on my i686 system:
>
> starting phase `check'
> PERL_DL_NONLAZY=1 
> "/gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl" 
> "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 
> t/external/*.t
> # openssl version=0x1000206f
> # Net::SSLeay version=1.68
> # parent IO::Socket::IP version=0.37
> t/01loadmodule.t .................. ok
> t/acceptSSL-timeout.t ............. 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 11/15 subtests 

This test fails only within the build container.  When run outside of
the build container, with environment variables cleaned except for
/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/environment-variables,
the same test succeeds:

--8<---------------cut here---------------start------------->8---
address@hidden:~$ cd 
/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023/
address@hidden:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$
 env -i $(which bash)
address@hidden:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$
 source ../environment-variables 
address@hidden:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$
 PERL_DL_NONLAZY=1 
/gnu/store/0ggl6h4nd0d0av4nn0yd6s7ynz6id8y1-perl-5.22.1/bin/perl 
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" 
t/acceptSSL-timeout.t 
t/acceptSSL-timeout.t .. ok
All tests successful.
Files=1, Tests=15,  5 wallclock secs ( 0.04 usr  0.00 sys +  0.14 cusr  0.01 
csys =  0.19 CPU)
Result: PASS
--8<---------------cut here---------------end--------------->8---

I modified the package description to set TEST_VERBOSE=1 in the
Makefile:

    (arguments
     `(#:phases (modify-phases %standard-phases
                  (add-before 'check 'pre-check
                    (lambda _
                      (substitute* "Makefile"
                        (("^TEST_VERBOSE=0") "TEST_VERBOSE=1")))))))

and here's the verbose output:

--8<---------------cut here---------------start------------->8---
t/acceptSSL-timeout.t ............. 
1..15
ok # listening @127.0.0.1:60842
# server >> OK
<<
ok # [server] OK
# server >> Waiting
<<
ok # [server] Waiting
# client_ssl >> OK
<<
ok # [client_ssl] OK
not ok # [server] Connect from
not ok # fatal error at ./t/testlib.pl line 168.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 11/15 subtests 
--8<---------------cut here---------------end--------------->8---

To be continued...

     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]