Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 69192
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.73
  • 0.84
  • 0.85
Fixed in: 0.89



Subject: dump-file.t test failed
Date: Wed, 29 Jun 2011 17:20:52 -0500
To: bugs-yaml [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
I've attached the build log, and below is the output of the Perl -V since I'm using perlbrew perl -V hgcc Summary of my perl5 (revision 5 version 12 subversion 4) configuration: Platform: osname=linux, osvers=2.6.39-arch, archname=i686-linux-thread-multi uname='linux hgcc 2.6.39-arch #1 smp preempt mon jun 27 22:01:13 cest 2011 i686 intel(r) core(tm) i3 cpu 550 @ 3.20ghz genuineintel gnulinux ' config_args='-de -Dprefix=/home/ccushing/perl5/perlbrew/perls/perl-5.12.4 -Dusethreads' hint=recommended, useposix=true, d_sigaction=define 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 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.6.1', 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 =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.14.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.14' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Jun 29 2011 16:04:49 %ENV: PERLBREW_HOME="/home/ccushing/.perlbrew" PERLBREW_PATH="/home/ccushing/perl5/perlbrew/bin:/home/ccushing/perl5/perlbrew/perls/perl-5.12.4/bin" PERLBREW_PERL="perl-5.12.4" PERLBREW_ROOT="/home/ccushing/perl5/perlbrew" PERLBREW_VERSION="0.24" @INC: /home/ccushing/perl5/perlbrew/perls/perl-5.12.4/lib/site_perl/5.12.4/i686-linux-thread-multi /home/ccushing/perl5/perlbrew/perls/perl-5.12.4/lib/site_perl/5.12.4 /home/ccushing/perl5/perlbrew/perls/perl-5.12.4/lib/5.12.4/i686-linux-thread-multi /home/ccushing/perl5/perlbrew/perls/perl-5.12.4/lib/5.12.4 -- Caleb Cushing http://xenoterracide.com

Message body is not shown because sender requested not to inline it.

Just hit this bug today.
 

It would appear to be an artifact of using HARNESS_OPTIONS="j3" or any other combination of harness flags that trigger an out-of-order execution of the testsuite.

HARNESS_OPTIONS="j5"  make test   # Usually fails, but occasionally doesn't

HARNESS_OPTIONS="j1" make test # Passes every time

When run in parallel, you usually either you get

#   Failed test 'Output file exists'
#   at t/dump-file-utf8.t line 25.

or

#   Failed test 'Output file exists'
#   at t/dump-file.t line 17.

 

This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/114 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
This was fixed in 0.89