Closed jkeenan closed 1 year ago
Hi Jim! Sorry it took so long to respond.
The report for Data-Thunk was not sent because the dependency failed to install. To the best of my knowledge, all test reporter scripts look for the "testing" phase of the build process, and it never reached it so there is no "grade" for the test results (no tests were run for Data-Thunk).
If this should also be considered a failure I don't know. I guess one could argue either way. At least a "NA", maybe? I don't know.
If you can successfully install it in a newer perl and it sitll doesn't submit anything, please reopen this issue and attach your complete build.log file so I can fix and make a proper test case for it. Or if you have the time to fiddle with it for a bit and send a failing test with the relevant snippet of the build.log file, even better <3
I hope this helps. Let me know if anything else comes up!
cpanm-reporter
is failing to generate a report for a CPAN distribution which fails to install because two of its prerequisites fail to install. I would think that cpanm-reporter would generate a report in this case, so I'm puzzled as to why it is failing to do so.My Procedure
I installed Perl 5 blead (commit
d2e38af7
) for testing purposes and installedcpanm
against thatperl
. (I can supply you with the shell script I use for this purpose upon request.)For readability, I renamed the directory under which
perl
was installed toreporter
, i.e.:I then created a symlink named
d2e38af7
toreporter
. (This was needed so thatbin/cpanm
did not get confused as to itsperl
interpreter.)I created a
.cpanreporter
directory and set some environmental variables.I installed
App::cpanminus::reporter
usingbin/cpanm
.I setup
cpanm-reporter
using defaults and copying an already existingmetabase_id.json
into.cpanreporter/
.I used
bin/cpanm
to install some modules, then usedcpanm-reporter
to generate and transmit reports. Because mycpanm
is not located directly underneath my home directory, I created an alias to get a shorter version of thecpanm-reporter
invocation.I verified that reports had been generated and transmitted.
I went to fast-matrix.cpantesters.org and verified that my report had been received. (My report is the one dated 2017-12-24 15:05.)
From other information I had reason to believe that CPAN distribution
Data-Thunk
would fail to install against blead (or, for that matter, against perl-5.26) because two of its prerequisites, Data-Swap and UNIVERSAL-ref, would fail to install. I installed some, but not all, of its prerequisites and then triedData-Thunk
.Here are excerpts from the
build.log
for that run. I have trimmed out lines pertaining to modules which installed successfully.The failures in
Data-Swap
andUNIVERSAL-ref
first appeared in the 5.25.* development cycle and have not been corrected to date. Note thatData-Swap
failed duringmake test
whileUNIVERSAL-ref
failed duringmake
.I then ran
cpanm-reporter
again and inspected the results.Note the following:
Data-Swap
was gradedNA
bycpanm-reporter
despite being gradedFAIL
by the harness.UNIVERSAL-ref
was gradedFAIL
.Data-Thunk
, even though that was the only module specifically passed tobin/cpanm
.I somewhat understand items 1 and 2 but was very surprised by item 3.
Thoughts
I would have expected a report to be generated for
Data-Thunk
, even if that report only said something to the effect that its prerequisites were not satisfied.Now, I recognize that this is not just a problem with
cpanm-reporter
. If you go to the matrix, you see that there have been no reports generated forData-Thunk
later than perl-5.25.1 -- not evenNA
orUNKNOWN
reports. I suspect that most CPANtesters reports are filed with programs based oncpan
rather thancpanm
. So there may be a problem with the way that all the various reporter programs are parsing build logs --cpan
build logs as well ascpanm
build logs.Summary
Do you have any insight as to why such reports are not being generated?
Feature or bug?
Is there anything we can do to rectify the situation?
Thank you very much. Jim Keenan