https://bugzilla.redhat.com/show_bug.cgi?id=1110292
Bug ID: 1110292 Summary: perl-Text-Xslate-3.1.2-3.fc21 FTBFS under heavy load: Product: Fedora Version: rawhide Component: perl-Text-Xslate Assignee: i@cicku.me Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i@cicku.me, perl-devel@lists.fedoraproject.org
perl-Text-Xslate-3.1.2-3.fc21 fails to build if the host is heavily loaded because t/010_internals/008_files.t test fails:
# Failed test 'auto reload 1' # at t/010_internals/008_files.t line 81. # got: 'Hello, Perl world! # ' # expected: 'Hi, Perl. # ' # Failed test 'auto reload 2' # at t/010_internals/008_files.t line 81. # got: 'Hello, Perl world! # ' # expected: 'Hi, Perl. # ' # Looks like you failed 2 tests of 67. t/010_internals/008_files.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed
This looks like a race in the tests. The test does:
utime $^T+10, $^T+10, $x;
is $tx->render('hello.tx', { lang => 'Perl' }), "Hi, Perl.\n", "auto reload $_" for 1 .. 2;
If you comment the utime call out, it will fail always.