Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test 'No tests run for subtest "Build a basic dist"' #1

Open
eserte opened this issue Jun 1, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@eserte
Copy link

commented Jun 1, 2019

On some of my smoker systems t/Dist-Zilla-PluginBundle-Author-GSG.t fails:

...
    # No tests run!

#   Failed test 'No tests run for subtest "Build a basic dist"'
#   at t/Dist-Zilla-PluginBundle-Author-GSG.t line 110.
[DZ] no version was ever set at inline delegation in Dist::Zilla for logger->log_fatal (attribute declared in /usr/perl5.18.4p/lib/site_perl/5.18.4/Dist/Zilla.pm at line 768) line 18.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/Dist-Zilla-PluginBundle-Author-GSG.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests 
...
@afresh1

This comment has been minimized.

Copy link
Collaborator

commented Jun 5, 2019

This also seems like it might be a git problem. Although I don't expect anyone outside of GSG to actually use this module I'd like to at least understand why they are failing, even if all I can do is detect the situation and skip testing.

What sort of details can you provide me about the systems that it fails on so I could possibly reproduce?

@eserte

This comment has been minimized.

Copy link
Author

commented Jun 5, 2019

Maybe it's a git problem, but not related to a particular git version. For example looking at http://matrix.cpantesters.org/?dist=Dist-Zilla-PluginBundle-Author-GSG%200.0.7;os=freebsd;reports=1#sl=2,1 it seems that freebsd versions 9, 12, and 13 are fine, and 10 and 11 are failing. But (at least on my smokers) 9 and 10 have the same git version (2.11.0) and 11, 12 and 13 have also the same version (2.21.0), but different results.

Unfortunately statistical analysis also does not give any clues (which would be something with R^2=1 not being the trivial fact that something failed):
http://analysis.cpantesters.org/solved?distv=Dist-Zilla-PluginBundle-Author-GSG-0.0.7

@afresh1

This comment has been minimized.

Copy link
Collaborator

commented Jun 5, 2019

This regression in that analysis you linked seems to point towards this PR and that I need to require version 0.46 that fixed the issue. I do see in one of the failing smokes, picked at random that it is using 0.45.

@afresh1

This comment has been minimized.

Copy link
Collaborator

commented Jun 11, 2019

Bummer, requiring 0.46 doesn't seem to have solved either issue. I'll have to think harder about how to determine what is going wrong and add more diagnostics to the tests.

@afresh1

This comment has been minimized.

Copy link
Collaborator

commented Jun 11, 2019

Good news, I figured out how to build git 1.7.1 and can reproduce this failure as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.