Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SVN-Hooks CPAN distribution.

Report information
The Basics
Id: 41357
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: SVN-Hooks

People
Owner: GNUSTAVO [...] cpan.org
Requestors: angel [...] grupoikusnet.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.12.477
Fixed in: (no value)



Subject: Failed tests in debian builds
Hi Gustavo, Im Angel, de Debian contributor, Im making SVN::Hooks package. In debian we build packages with pbuilder, it makes a chroot with a clean debian installation and before it compiles the package... In a normal debian all works ok, but into the chroot I have these test errors: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load..............ok t/02-allowlogchange.... # Failed test 'can modify' # at t/test-functions.pl line 43. # work_ok command failed. # Looks like you failed 1 test of 8. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 Failed 1/8 tests, 87.50% okay t/02-checklog..........ok t/02-checkmimetypes....ok t/02-checkproperty.....ok t/02-checkstructure....ok t/02-denychanges.......ok t/02-denyfilenames.....ok t/02-jiraacceptance....ok t/02-mailer............ # Failed test 'commit A send' # at t/02-mailer.t line 110. cat: 02-mailer.log: No such file or directory # Failed test 'commit A right' # at t/02-mailer.t line 113. # '' # doesn't match '(?-xism:Subject: \[A\])' # Failed test 'commit B send' # at t/02-mailer.t line 120. cat: 02-mailer.log: No such file or directory # Failed test 'commit B right' # at t/02-mailer.t line 123. # '' # doesn't match '(?-xism:Subject: \[B\])' # Looks like you failed 4 tests of 17. dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 11-12, 15-16 Failed 4/17 tests, 76.47% okay t/02-notify............ok t/02-updateconffile....ok t/pod-coverage.........ok t/pod..................ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/02-allowlogchange.t 1 256 8 1 6 t/02-mailer.t 4 1024 17 4 11-12 15-16 Failed 2/14 test scripts. 5/125 subtests failed. Files=14, Tests=125, 99 wallclock secs (18.88 cusr + 5.83 csys = 24.71 CPU) Failed 2/14 test programs. 5/125 subtests failed. Do you know why these tests fails into pbuilder? These are build-depends: perl (>= 5.6.0-12), libemail-send-perl, libemail-simple-perl, libemail-simple-creator-perl, libsvn-look-perl, libsoap-lite-perl, subversion, libsvn-notify-perl, libtest-pod-coverage-perl (>= 1.08), libtest-pod-perl (>= 1.22) Cheers! Thanks for your free software!
Subject: Re: [rt.cpan.org #41357] Failed tests in debian builds
Date: Mon, 1 Dec 2008 22:09:30 -0200
To: bug-SVN-Hooks [...] rt.cpan.org
From: "Gustavo Leite de Mendonça Chaves" <gustavo [...] gnustavo.com>
On Mon, Dec 1, 2008 at 6:35 PM, https://launchpad.net/~angel-abad via RT <bug-SVN-Hooks@rt.cpan.org> wrote: Show quoted text
> Mon Dec 01 15:35:19 2008: Request 41357 was acted upon. > Transaction: Ticket created by https://launchpad.net/~angel-abad > Queue: SVN-Hooks > Subject: Failed tests in debian builds > Broken in: 0.12.477 > Severity: Normal > Owner: Nobody > Requestors: angel@grupoikusnet.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41357 > > > > Hi Gustavo, Im Angel, de Debian contributor, Im making SVN::Hooks > package. In debian we build packages with pbuilder, it makes a chroot > with a clean debian installation and before it compiles the package... > > In a normal debian all works ok, but into the chroot I have these test > errors: >
Could you 'make test' again with the following environment variable set? export REPO_CLEANUP=0 This will leave behind the temporary directories where the tests are performed. They are all named like "t.XXXX". Then could you pack them all in a tar-gzip or zip file and send them to me? Each test leaves its stdout and stderr in files inside these directories. By taking a look at them I can probably understand what is causing those errors. Thank you. Gustavo.
From: angel [...] grupoikusnet.com
Hi, Gustavo, here are the t.* tar.gz. Thanks for your help! On Lun. Dic. 01 19:09:46 2008, gustavo@gnustavo.com wrote: Show quoted text
> On Mon, Dec 1, 2008 at 6:35 PM, https://launchpad.net/~angel-abad via > RT <bug-SVN-Hooks@rt.cpan.org> wrote:
> > Mon Dec 01 15:35:19 2008: Request 41357 was acted upon. > > Transaction: Ticket created by https://launchpad.net/~angel-abad > > Queue: SVN-Hooks > > Subject: Failed tests in debian builds > > Broken in: 0.12.477 > > Severity: Normal > > Owner: Nobody > > Requestors: angel@grupoikusnet.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41357 > > > > > > > Hi Gustavo, Im Angel, de Debian contributor, Im making SVN::Hooks > > package. In debian we build packages with pbuilder, it makes a chroot > > with a clean debian installation and before it compiles the package... > > > > In a normal debian all works ok, but into the chroot I have these test > > errors: > >
> > Could you 'make test' again with the following environment variable set? > > export REPO_CLEANUP=0 > > This will leave behind the temporary directories where the tests are > performed. They are all named like "t.XXXX". Then could you pack them > all in a tar-gzip or zip file and send them to me? Each test leaves > its stdout and stderr in files inside these directories. By taking a > look at them I can probably understand what is causing those errors. > > Thank you. > > Gustavo.
Download tests.tar.gz
application/x-gzip 101.7k

Message body not shown because it is not plain text.

Em Ter. Dez. 02 06:27:52 2008, https://launchpad.net/~angel-abad escreveu: Show quoted text
> Hi, Gustavo, here are the t.* tar.gz.
Thanks, Angel. I found two problems with the tests and made a new version. I've created a project on Google Code to host the Subversion repository. Can you test the new version? http://svn-hooks.googlecode.com/files/SVN-Hooks-0.13.7.tar.gz If it goes fine I'll upload it to CPAN. Gustavo.
Subject: Re: [rt.cpan.org #41357] Failed tests in debian builds
Date: Wed, 3 Dec 2008 09:50:11 +0100
To: Gustavo Leite de Mendonça Chaves via RT <bug-SVN-Hooks [...] rt.cpan.org>
From: "Angel Abad (Ikusnet SLL)" <angel [...] grupoikusnet.com>
On Tue, Dec 02, 2008 at 09:52:59PM -0500, Gustavo Leite de Mendonça Chaves via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=41357 > > > Em Ter. Dez. 02 06:27:52 2008, https://launchpad.net/~angel-abad escreveu:
> > Hi, Gustavo, here are the t.* tar.gz.
> > Thanks, Angel. > > I found two problems with the tests and made a new version. I've created > a project on Google Code to host the Subversion repository. Can you test > the new version?
Hi Gustavo! Show quoted text
> http://svn-hooks.googlecode.com/files/SVN-Hooks-0.13.7.tar.gz > > If it goes fine I'll upload it to CPAN.
Now it passes all tests without problem. You can upload it to CPAN. Cheers! Show quoted text
> Gustavo.
Thanks, Angel. I also included the SVN::Notify prerequisite in Makefile.PL as you requested. I uploaded the new version to http://svn-hooks.googlecode.com/files/SVN-Hooks-0.13.9.tar.gz. It should appear shortly in CPAN also. Gustavo.