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

Option 'feature-debug-profile' was already defined #223

Open
eserte opened this issue Apr 28, 2021 · 5 comments
Open

Option 'feature-debug-profile' was already defined #223

eserte opened this issue Apr 28, 2021 · 5 comments

Comments

@eserte
Copy link

eserte commented Apr 28, 2021

On some of my smokers the test suite fails (seen with Test2-Harness-1.000050, but also with older versions):

PERL_DL_NONLAZY=1 "/usr/perl5.24.1p/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..2
Option 'feature-debug-profile' was already defined (/usr/perl5.24.1p/lib/site_perl/5.24.1/App/Yath/Plugin/Feature.pm line 106) at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/lib/App/Yath.pm line 121.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/scripts/yath line 253.
Option 'feature-debug-profile' was already defined (/usr/perl5.24.1p/lib/site_perl/5.24.1/App/Yath/Plugin/Feature.pm line 106) at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/lib/App/Yath.pm line 121.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/scripts/yath line 253.
yath exited with 65280yath exited with 65280not ok 1 - Passed tests when run by yath (allow fork)
not ok 2 - Passed tests when run by yath (no fork)
*** Error code 255
@exodist
Copy link
Member

exodist commented Apr 28, 2021

Hmm, there is no App::Yath::Plugin::Feature (App/Yath/Plugin/Feature.pm) in this or any other dist I know of... Any way you can trace where it is coming from?

I probably need to find a way to limit the tests to NOT look for all random plugins.

@exodist
Copy link
Member

exodist commented Apr 28, 2021

@ylavoie
Copy link
Contributor

ylavoie commented Apr 28, 2021

I'll need to look into that, the Feature plugin is mine to run Cucumber files.

@ylavoie
Copy link
Contributor

ylavoie commented May 1, 2021

On some of my smokers the test suite fails (seen with Test2-Harness-1.000050, but also with older versions):

PERL_DL_NONLAZY=1 "/usr/perl5.24.1p/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..2
Option 'feature-debug-profile' was already defined (/usr/perl5.24.1p/lib/site_perl/5.24.1/App/Yath/Plugin/Feature.pm line 106) at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/lib/App/Yath.pm line 121.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/scripts/yath line 253.
Option 'feature-debug-profile' was already defined (/usr/perl5.24.1p/lib/site_perl/5.24.1/App/Yath/Plugin/Feature.pm line 106) at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/lib/App/Yath.pm line 121.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2021042719/Test2-Harness-1.000050-0/scripts/yath line 253.
yath exited with 65280yath exited with 65280not ok 1 - Passed tests when run by yath (allow fork)
not ok 2 - Passed tests when run by yath (no fork)
*** Error code 255

Can you please issue on https://metacpan.org/pod/App::Yath::Plugin::Feature so that I can fix it? Any special setup required?

@ylavoie
Copy link
Contributor

ylavoie commented Sep 26, 2021

While trying to reproduce with latest master, I had the same errors but they were related to the Cover plugin instead of my feature one.
Both plugins were not installed at that moment.
Making sure that dependencies are all installed and up to date cleared the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants