From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87egcx1q91.fsf@netris.org> References: <87vb6cyhga.fsf@netris.org> <87io291vng.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPy2Y-0006To-Uj for guix-devel@gnu.org; Sun, 31 Jan 2016 14:52:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPy2V-0003xr-PM for guix-devel@gnu.org; Sun, 31 Jan 2016 14:52:06 -0500 Received: from world.peace.net ([50.252.239.5]:34900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPy2V-0003xn-Ka for guix-devel@gnu.org; Sun, 31 Jan 2016 14:52:03 -0500 In-Reply-To: <87io291vng.fsf@netris.org> (Mark H. Weaver's message of "Sun, 31 Jan 2016 12:55:15 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Mark H Weaver writes: > Mark H Weaver 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--- mhw@jojen:~$ cd /tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023/ mhw@jojen:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$ env -i $(which bash) mhw@jojen:/tmp/guix-build-perl-io-socket-ssl-2.023.drv-0/IO-Socket-SSL-2.023$ source ../environment-variables mhw@jojen:/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