-
Notifications
You must be signed in to change notification settings - Fork 8
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/op/threads.t: Test can hang after only 9 out of 30 unit tests run #264
Comments
Indeed, we got it a lot when we ran alpha-01 thru smoke-testing. See http://perl5.test-smoke.org/submatrix?test=../t/op/threads.t&pversion=7.0.0 |
Relevant code in
|
This ticket is the last one that I think we need to resolve before merging I think we need to rule out the possibility that these (admittedly intermittent) test failures were caused by changes we made after beginning work on strict-by-default. If, instead, the failures are due to a poor interaction between the unit test and a memory-constrained environment, then we will need to take up the issue with P5P. Can you take a look? Thank you very much. |
@jkeenan do you know if this is a specific issue to this branch or blead also have the same problem? |
Unfortunately, with the apparent demise of perl.test-smoke.org, I am no longer able to answer that question aside from what I've already posted in this ticket. :-( |
I recompiled Perl on FreeBSD (using the NYC perlmonger server) using alpha-dev-02-strict@a9a5af8e53
Then run the test multiple times... the 100 test passes...
I cannot reproduce the described issue. I do not say it does not exist, but this seem an uncommon issue. If there is such an issue, I would also doubt that this is related to I do not think this issue should be a blocker to move forward. |
[snip]
Okay, thanks for investigating this. I will close this issue and prepare a Merge Candidate tag. |
I'm going to re-open this issue, though not as a blocker to the completion of Objective 2. Here is an additional case where this test failed in our simulation branch in Perl 5: NetBSD 9.0, 7 out of 8 configurations PASS; FAIL on -Duseithreads -Duse64bitall without debugging. jimk |
t/op/threads.t
appears to be vulnerable to hangs which cause the file to be graded asFAIL
.See this smoke-test report of our simulation in Perl 5: http://perl5.test-smoke.org/report/118070.
I went to the NetBSD VM that generated this smoke testing report. Using the same
perl
that generated the second of the two FAILS in that report, I first called:So far so good. But then I called:
The program hung there for several minutes, during which I began typing this report. Then ...
ISTR this problem has appeared previously. Granted, this failure occurred in the smoke-me/jkeenan/cumberland-blues branch in Perl 5 -- not in tag
alpha-02-MC-4
in our repository. But I know this is not the first time I've seen a hang at this point.Thank you very much.
Jim Keenan
The text was updated successfully, but these errors were encountered: