This queue is for tickets about the App-cpanminus-reporter CPAN distribution.

Report information
The Basics
Id:
100337
Status:
stalled
Priority:
Low/Low

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

BugTracker
Severity:
Important
Broken in:
0.11
Fixed in:
(no value)



Subject: a failing result for CPAN.pm was submitted as a PASS
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Message-ID: <rt-4.0.18-10838-1415992240-16.0-0-0@rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1415992240-10838-2"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
Content-Length: 559
$; cpanm --mirror-only --mirror http://mirrors.gossamer-threads.com/CPAN/ CPAN; cpanm-reporter CPAN --> Working on CPAN Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/A/AN/ANDK/CPAN-2.05.tar.gz ... OK Configuring CPAN-2.05 ... OK Building and testing CPAN-2.05 ... FAIL ! Installing CPAN failed. See /Users/ether/.cpanm/work/1415990050.50326/build.log for details. Retry with --force to force install it. sending: (http://mirrors.gossamer-threads.com/CPAN/authors/id/A/AN/ANDK/CPAN-2.05.tar.gz, ANDK, CPAN-2.05, PASS) Attached is the build log.
Subject: build.log
MIME-Version: 1.0
Content-Type: application/octet-stream; name="build.log"
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline; filename="build.log"
Content-Transfer-Encoding: base64
Content-Length: 19296

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-10838-1415992240-16.0-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-10838-1415992240-16.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-10838-1415992311-1142.100337-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 334
Explicitly referencing this log file resulted in the same thing, so it's definitely parsing this log and not a different one: $; cpanm-reporter --force --build_logfile=/Users/ether/.cpanm/work/1415990050.50326/build.log sending: (http://mirrors.gossamer-threads.com/CPAN/authors/id/A/AN/ANDK/CPAN-2.05.tar.gz, ANDK, CPAN-2.05, PASS)
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-10838-1415992311-1142.100337-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-10838-1415992240-16.0-0-0@rt.cpan.org> <rt-4.0.18-10838-1415992311-1142.100337-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-16031-1461415077-403.100337-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1188
Hi! So, this is a real bug in cpanm-reporter, but it's sort of an unsolvable one - at least until we can get it really merged into cpanm. See, the failing report includes a "Result: PASS" line in the middle of the test, and from reading the build.log we can't really tell it apart from an actual "Result: PASS". I have discussed this at length with renormalist and we came to the conclusion that no matter what you try and parse, there could always be a module that would print the string we're parsing and we would not be able to tell it apart from the actual cpanm testing output :( The solution could be any of the following: 1) Merge cpanm-reporter to cpanm so we always fetch the test output and will never have to parse anything anymore. This is being discussed on https://github.com/miyagawa/cpanminus/pull/285. It is the final goal for cpanm-reporter, but it might need some work to get it going the way we need. 2) Blacklist on the parser all modules that are known to produce bad reports. 3) Special-case on the parser all modules that known to produce bad reports. #1 is of course our main goal, but like I said it might need some work :/ What's our second best option?


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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