Skip Menu |
 

This queue is for tickets about the Test-Smoke CPAN distribution.

Report information
The Basics
Id: 118488
Status: resolved
Priority: 0/
Queue: Test-Smoke

People
Owner: Nobody in particular
Requestors: DCOLLINS [...] cpan.org
Cc:
AdminCc:

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

Attachments
jsn875a57f183ac1c46e31889e2c32aa0b7cfb17043.jsn
log875a57f183ac1c46e31889e2c32aa0b7cfb17043.log
out875a57f183ac1c46e31889e2c32aa0b7cfb17043.out
rpt875a57f183ac1c46e31889e2c32aa0b7cfb17043.rpt
smokecurrent.log.txt



Subject: Tests outside of t/ are not re-run correctly under harness
Download (untitled) / with headers
text/plain 2.7k
Hello, I was attempting to investigate this report: http://perl5.test-smoke.org/report/50839 Here's a summary of the logfile: Tests start here: TSTENV = stdio The _test target is deprecated. Please upgrade your smoker # Using IPC::Cmd # parser guessed wrong encoding expected 'CP1252' got 'UTF-8' # Failed test at t/arg_string.t line 25. # 'x at t/arg_string.t line 9. # main::lm(-3500000000000000000000000000000) called at t/arg_string.t line 25 # ' # doesn't match '(?^:main::lm\(-3\.5[eE]\+?30\))' # Looks like you failed 1 test of 32. # Testing Net::Ping 2.51, Perl 5.025007, /home/dcollins/toolchain/buildbot/master/workers/bot1/li nux-smoke/smoke/perl # Checking icmp Name "POSIX::EXPORT_TAGS" used only once: possible typo at t/export.t line 199. Failed 1 test out of 2327, 99.96% okay. ### Since not all tests were successful, you may want to run some of ### them individually and examine any diagnostic messages they produce. ### See the INSTALL document's section on "make test". ### You have a good chance to get more information by running ### ./perl harness ### in the 't' directory since most (>=80%) of the tests succeeded. ### You may have to set your dynamic library search path, ### LD_LIBRARY_PATH, to point to the build directory: ### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness ### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness ### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness ### for csh-style shells, like tcsh; or for traditional/modern ### Bourne-style shells, like bash, ksh, and zsh, respectively. make: *** [_test] Error 1 echo >&2 The _test target is deprecated. Please upgrade your smoker ./runtests choose dist/Carp/t/arg_string ......................................... FAILED at test 5 Elapsed: 725 sec u=5.96 s=10.22 cu=340.90 cs=111.96 scripts=2327 tests=955643 makefile:797: recipe for target '_test' failed Error while reading test-results: 2 Extending failures with harness: ../t/dist/Carp/t/arg_string.t Can't read ../t/dist/Carp/t/arg_string.t. Inconsistent test results (between TEST and harness): ../t/dist/Carp/t/arg_string.t........... ......................................... FAILED at test 5 Unskip tests from '/home/dcollins/toolchain/testsmoke/smokecurrent.skiptests' It looks like it detected a failure in "dist/Carp/t/arg_string.t" but is then trying to run harness with "../t/dist/Carp/t/arg_string.t". I've attached the log files from this smoke test, hopefully they help.
Subject: jsn875a57f183ac1c46e31889e2c32aa0b7cfb17043.jsn

Message body not shown because it is not plain text.

Subject: log875a57f183ac1c46e31889e2c32aa0b7cfb17043.log

Message body not shown because it is not plain text.

Subject: out875a57f183ac1c46e31889e2c32aa0b7cfb17043.out

Message body not shown because it is not plain text.

Subject: rpt875a57f183ac1c46e31889e2c32aa0b7cfb17043.rpt

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 1.6k
afresh1 on #perl-qa reported a similar issue. See the following representative report, and an attached smoke log that he shared. http://perl5.test-smoke.org/report/50920 (these are from different runs, but they effectively show the same issue. Ignore the lib/locale.t noise in the attachment, that is a regression that isn't present yet in the link.) This is the interesting bit of the log: [2016-10-26 15:19:52-0700] echo >&2 The _test target is deprecated. Please upgrade your smoker [2016-10-26 15:19:52-0700] ./runtests choose [2016-10-26 15:26:59-0700] cpan/Archive-Tar/t/09_roundtrip ................................ FAILED at test 7 [2016-10-26 15:42:35-0700] lib/locale ..................................................... FAILED at test 381 [2016-10-26 15:44:25-0700] Elapsed: 1473 sec [2016-10-26 15:44:25-0700] u=16.13 s=23.85 cu=869.49 cs=248.01 scripts=2330 tests=955000 [2016-10-26 15:44:25-0700] [2016-10-26 15:44:25-0700] Error while reading test-results: 1 [2016-10-26 15:44:25-0700] [2016-10-26 15:44:25-0700] Extending failures with harness: [2016-10-26 15:44:25-0700] ../lib/locale.t ../t/cpan/Archive-Tar/t/09_roundtrip.t Can't read ../t/cpan/Archive-Tar/t/09_roundtrip.t. [2016-10-26 15:44:26-0700] ../lib/locale.t ......................... [2016-10-26 15:44:26-0700] Failed 178/859 subtests [2016-10-26 15:44:26-0700] [2016-10-26 15:44:26-0700] Inconsistent test results (between TEST and harness): [2016-10-26 15:44:26-0700] ../t/cpan/Archive-Tar/t/09_roundtrip.t.. ................................ FAILED at test 7 [2016-10-26 15:44:26-0700] ../lib/locale.t......................... ..................................................... FAILED at test 381
Subject: smokecurrent.log.txt

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 543b
commit c5607fafe504bddaf0172ef8d0b0f9d56a2a7406 Author: Dan Collins <dcollinsn@gmail.com> Date: Wed Oct 26 20:39:06 2016 -0400 RT #118488: Proper normalization for tests in cpan/, dist There is a function that is intended to transform from the "stripped" test name (without leading ../ or trailing .t) to a usable relative path. That function prepends '../t/' to tests, unless their name begins with ext/ or lib/, in which case it prepends only '../'. This patch adds cpan/ and dist/ to the list of special cases.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.