-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Revert "test: improve async-hooks/test-callback-error" #13843
Conversation
This reverts commit 32c7f11.
@nodejs/testing |
I'm inclined to land this one very quickly and not wait the 48 hours. Thoughts? |
If any @nodejs/collaborators who use macOS can confirm that |
@Trott both |
@aqrln Ah! I realize now this comes down to whether or not your macOS will delay exiting with |
@Trott yes, I'm running 10.12.5. |
If what's going on in #13527 (comment) can be figured out, it's possible that it may reveal a better path forward than a revert... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have tested this very extensively, the new test doesn't change anything, it is just a better written test. I very much doubt the CI is failing, since we explicitly set it to PASS, FLAKY on both MacOS and Linux.
If you are experiencing issues then please help us debug it. Neither @refack or I have the tools to find the root cause of this issue.
There is 1 change, timeout was reduced from the default 60sec to 15sec. |
True, we can set to back to 60sec. Although, on my machine the test consistently uses between 0.2s and 0.4s (10000 runs). So I would argue that if 60sec passes and 15sec don't, that is just a false positive. |
I'm just being pedantic. |
Hi, got a mac, can confirm the same |
@benjamingr What version of OS X/macOS are you running? |
FWIW, I did not say CI is failing. In fact, I said CI is yellow. "Although the commit being reverted here turns CI perma-yellow rather than perma-red, it breaks workflow locally." I used the word "fail" only in regard to
I've been debugging it on-and-off all day, although most of the significant work was done by @refack and @addaleax instructing me to do things over IRC. (See #node-dev if you want Too Much Detail. For more signal/less noise than IRC, I've been posting the interesting things in the issue for this test: #13527) |
@Trott Any details on whether the change still needs to be reverted? |
This reverts commit 32c7f11.
That change seems to cause
make test
(andmake test-async-hooks
) to fail 100% of the time on macOS.Possible reimplementation would be to move the new test cases to it's own file and skip macOS on it, while also having it in
known_issues
where only macOS runs it. And in a separate commit, mark the previous incarnation of the test flaky on OS X. But first thing first--let's get the build working again. (Although the commit being reverted here turns CI perma-yellow rather than perma-red, it breaks workflow locally.)@nodejs/platform-macos
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test async_hooks