Skip Menu |

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

Report information
The Basics
Id: 17649
Status: resolved
Priority: 0/
Queue: SVN-Notify-Mirror

People
Owner: jpeacock [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



It seems to me the test script is expecting something as a prerequisite that is not explicitly mentioned or maybe I'm just blind and do not see the requirement that is written in bold blinking red all over the place:) ~/.cpan/build/SVN-Notify-Mirror-0.03% ./Build test [CPANSHELL] t/001_basic........svn: 'file:///home/akoenig/.cpan/build/SVN-Notify-Mirror-0.03/t/test-repos/project1/branches/branch1' is not a working copy system failed: 256 at t/coretests.pm line 88, <DATA> line 688. # Looks like your test died before it could output anything. t/001_basic........dubious Test returned status 255 (wstat 65280, 0xff00) t/002_config.......svn: 'file:///home/akoenig/.cpan/build/SVN-Notify-Mirror-0.03/t/test-repos/project1/branches/branch1' is not a working copy system failed: 256 at t/coretests.pm line 88, <DATA> line 688. # Looks like your test died before it could output anything. t/002_config.......dubious Test returned status 255 (wstat 65280, 0xff00) t/003_sshtest......svn: 'file:///home/akoenig/.cpan/build/SVN-Notify-Mirror-0.03/t/test-repos/project1/branches/branch1' is not a working copy system failed: 256 at t/coretests.pm line 88, <DATA> line 688. # Looks like your test died before it could output anything. t/003_sshtest......dubious Test returned status 255 (wstat 65280, 0xff00) t/004_rsynctest....svn: 'file:///home/akoenig/.cpan/build/SVN-Notify-Mirror-0.03/t/test-repos/project1/branches/branch1' is not a working copy system failed: 256 at t/coretests.pm line 88, <DATA> line 688. # Looks like your test died before it could output anything. t/004_rsynctest....dubious Test returned status 255 (wstat 65280, 0xff00) FAILED--4 test scripts could be run, alas--no output ever seen
Subject: Error in tests
I have to ask the usual things: perl -V svn --version O/S
I apologize for leaving them out. It's a Debian system, only the kernel is self-compiled, everything else is compiled by Debian folks. Heavy mixage of stable, testing and unstable. ~/.cpan/build/SVN-Notify-Mirror-0.03% perl -V [CPANSHELL] Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.14.3, archname=i486-linux-gnu-thread-multi uname='linux ninsei 2.6.14.3 #1 smp preempt mon nov 28 19:51:50 pst 2005 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7 -Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.3 20051201 (prerelease) (Debian 4.0.2-5)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7 gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 15 2005 17:19:17 @INC: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 . ~/.cpan/build/SVN-Notify-Mirror-0.03% svn --version [CPANSHELL] svn, version 1.2.3 (r15833) compiled Dec 4 2005, 03:38:36 Copyright (C) 2000-2005 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme ~/.cpan/build/SVN-Notify-Mirror-0.03% uname -a [CPANSHELL] Linux dev05 2.6.12.6-xen0 #2 Tue Jan 10 17:34:37 CET 2006 i686 GNU/Linux
I suppose it could be something with Subversion 1.2.3, but I doubt it. It looks like it is failing while trying to set up the test environment (which is why it freaks at the start of each test file). Is this machine available for me to connect to (I can send you my public key)? Or do you want to be my eyes and hands? The first things to check is to confirm that the test repository itself is set up - it should be in t/test-repos and you should be able to list the top level folders: $ svn ls file:///$PWD/t/test-repos project1/ project2/ Next, check to see if the initial checkouts worked. There should be three sets of two directory in the t/ directory: wc-branch wc-branch-r wc-tag wc-tag-r wc-trunk wc-trunk-r (the dirname-r variants are for testing the rsync code). Then you may want to apply the following patch: === t/coretests.pm ================================================================== --- t/coretests.pm (revision 487) +++ t/coretests.pm (local) @@ -85,7 +85,7 @@ my $cmd = "svn $command -q -r$rev ". "file://$repos_path/$path $PWD/t/$wc"; - system($cmd) == 0 or die "system failed: $?"; + system($cmd) == 0 or die "system failed: $?\ncmd:$cmd"; } } so you can see which command is failing (alternatively, step through the tests in a debugger). John
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #17649] SVN::Notify::Mirror - failure of all tests
Date: Wed, 15 Feb 2006 21:15:24 +0100
To: bug-SVN-Notify-Mirror [...] rt.cpan.org
From: andreas.koenig.gmwojprw [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Wed, 15 Feb 2006 14:45:11 -0500 (EST), " via RT" <bug-SVN-Notify-Mirror@rt.cpan.org> said:
Show quoted text
> I suppose it could be something with Subversion 1.2.3, but I doubt it. > It looks like it is failing while trying to set up the test environment > (which is why it freaks at the start of each test file). Is this > machine available for me to connect to (I can send you my public key)? > Or do you want to be my eyes and hands?
I must be, because the machine is at my work place and not even I can connect from at home to it. Show quoted text
> [...testing advice...]
Will do tomorrow, thanks! -- andreas
On Wed Feb 15 14:45:10 2006, JPEACOCK wrote: Show quoted text
> Next, check to see if the initial checkouts worked. There should be > three sets of two directory in the t/ directory: > > wc-branch > wc-branch-r > wc-tag > wc-tag-r > wc-trunk > wc-trunk-r
The "-r" variants are not there. Who is supposed to generate them? For a reference, the contents of t/ now: % ls t 001_basic.t 002_config.t.PL 004_rsynctest.t test-repos/ wc-branch/ 002_config 003_sshtest.t 004_rsynctest.t.PL test-repos.dump wc-tag/ 002_config.t 003_sshtest.t.PL coretests.pm testconfig wc-trunk/
Subject: Re: [rt.cpan.org #17649] SVN::Notify::Mirror - failure of all tests
Date: Thu, 16 Feb 2006 08:37:17 -0500
To: bug-SVN-Notify-Mirror [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
Andreas Koenig via RT wrote: Show quoted text
> The "-r" variants are not there. Who is supposed to generate them?
Ah, ignore that then. You don't have File::Rsync installed so the test files skip that automagically; God I love Module::Build!. Show quoted text
> For a reference, the contents of t/ now: > > % ls t > 001_basic.t 002_config.t.PL 004_rsynctest.t test-repos/ > wc-branch/ > 002_config 003_sshtest.t 004_rsynctest.t.PL test-repos.dump wc-tag/ > 002_config.t 003_sshtest.t.PL coretests.pm testconfig > wc-trunk/ >
OK then, cd into t/wc-trunk and run `svn info` and see if the checkout was successful. You should be at rev 1 at the point of failure. I realized after I sent it that the patch wouldn't display properly (since the website eats the whitespace), but if you view source, you can see it. Basically, I need to know exactly what the $cmd is running that fails. It looks like somehow the order of operands has gotten messed up. I'm going to find a box that has Subversion 1.2.3 on it and try the install myself, in case that is the cause of the problems. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747
Subject: Re: [rt.cpan.org #17649] SVN::Notify::Mirror - failure of all tests
Date: Thu, 16 Feb 2006 09:11:59 -0500
To: bug-SVN-Notify-Mirror [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
John Peacock via RT wrote: Show quoted text
> I'm going to find a box that has Subversion 1.2.3 on it and try the install > myself, in case that is the cause of the problems.
OK, I have a box where this fails on, you can stand down. I'll let you know as soon as I have something working... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747
Winging its way to CPAN even as we speak is SVN-Notify-Mirror-0.031.tar.gz, which fixes the test suite to work on Subversion clients < 1.30.0 (it was a stupid mistake on my part). Thanks for you help in finding this problem. John