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

t/urn-isbn.t may fail #83

Closed
eserte opened this issue Mar 1, 2021 · 6 comments · Fixed by #85
Closed

t/urn-isbn.t may fail #83

eserte opened this issue Mar 1, 2021 · 6 comments · Fixed by #85

Comments

@eserte
Copy link
Contributor

eserte commented Mar 1, 2021

Seen on some of my smokers:

Use of uninitialized value in string eq at t/urn-isbn.t line 19.
Use of uninitialized value in numeric eq (==) at t/urn-isbn.t line 22.
Use of uninitialized value in numeric eq (==) at t/urn-isbn.t line 25.
Use of uninitialized value in string eq at t/urn-isbn.t line 28.
Use of uninitialized value in string eq at t/urn-isbn.t line 34.
Use of uninitialized value in string eq at t/urn-isbn.t line 40.
t/urn-isbn.t .............. 
Failed 7/13 subtests 

It's possible that this is caused by some version of Business::ISBN; especially if the latest version is installed, then this does not seem to happen.

@oalders
Copy link
Member

oalders commented Mar 1, 2021

Any thoughts on what to do here, @briandfoy?

@briandfoy
Copy link
Contributor

Did I screw up something?

@karenetheridge
Copy link
Member

It's possible that this is caused by some version of Business::ISBN; especially if the latest version is installed, then this does not seem to happen.

When enough results are in, we should be able to do some statistical analysis to see what version(s) are affected, confirm with a bisect, and then set the minimum version to be high enough to not see this problem.

@briandfoy
Copy link
Contributor

briandfoy commented Mar 1, 2021

May be related: briandfoy/business-isbn-data#7

There were a few versions (3.003, 3.004 at least) where I messed up the data structure by having a duplicate hash key. This meant that most publisher codes disappeared. @eserte has the stats at briandfoy/business-isbn-data#8 .

I had previously assumed that CPAN Testers started fresh for each test, so I was initially confused when I was changing things without improving the situation. Testers that ran some tests during the breakage period might have that stuff lying around still.

I recommend at least Business::ISBN 3.005 (which fixes the group issue) and whatever the latest version of Business::ISBN::Data is.

@eserte
Copy link
Contributor Author

eserte commented Mar 3, 2021

When enough results are in, we should be able to do some statistical analysis to see what version(s) are affected, confirm with a bisect, and then set the minimum version to be high enough to not see this problem.

@karenetheridge: Unfortunately Business:ISBN neither appears in the standard prereqs block of a Test::Reporter block nor it's listed in the t/00-report-prereqs.t output, so the standard statistical analysis approach does not work here.

@karenetheridge
Copy link
Member

karenetheridge commented Mar 3, 2021

That's odd, it should be showing up in the report: https://metacpan.org/source/OALDERS/URI-5.09/t%2F00-report-prereqs.dd#L12

..but I see that it isn't. I'll investigate.

edit: ah, never mind, it was only in develop recommends, not runtime.. that's why. I'll fix that.

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

Successfully merging a pull request may close this issue.

4 participants