-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Investigate flaky test test-dgram-broadcast-multi-process #2472
Comments
It seems that this test always fails on the platforms where it fails, and always passes where it passes. |
The problem (at least on freebsd) is that it doesn't exit properly, making multiple other tests binding to Edit: s/problem/result of the problem/ to be clear. |
FWIW, I believe this was fixed on the Raspberry Pi by #2808. As for the FreeBSD issue:
|
@Trott: broadcast is set to something different because the runners inside a jail (we treat Do we perhaps want to pass broadcast address to the suite in a similar fashion as |
@jbergstroem: Sounds like an idea worth trying to me. Alternative possibility if adding another environment variable to the FreeBSD config is frowned upon: If in a FreeBSD jail, get broadcast address by running |
@Trott jails are a bit special (some default values are routed 'magically'), so the granularity of passing through ENV is preferrable imo. I can PR. |
@Trott I'll update the freebsd buildbots to pass proper broadcast -- want me to file a new PR with above commit or is it perhaps part of something else I'm missing? |
@jbergstroem New PR works for me. Thanks! |
Introduce a helper - very similar to `common.localhostIPv4` that allows test runner to override a broadcast address. This is required in certain scenarios - like FreeBSD jails - since networking acts a bit different. Refs: nodejs#2472
Introduce a helper - very similar to `common.localhostIPv4` that allows test runner to override a broadcast address. This is required in certain scenarios - like FreeBSD jails - since networking acts a bit different. Refs: nodejs#2472
Can you rebase this and give it another go? The new |
FYI, all FreeBSD buildbots continue to reliably fail this test. The |
We will retire the failing ones shortly. Not that it solves the problem with broadcasting and jails, but the issue here doesn't really lie with node or the test suite, rather how freebsd jails work. |
Maybe we can insert code at the top of the test to skip it if |
@Trott lets do that then. We already have a helper for freebsd jail checks. Want to PR? |
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: nodejs#3839 Fixes: nodejs#2472
PR: #3839 |
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in a FreeBSD jail. This issue is with the way FreeBSD jails work and not with Node. Skip the test if in a FreeBSD jail. PR-URL: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Examples of failures:
pi1-raspbian-wheezy
freebsd101-32
freebsd101-64
The text was updated successfully, but these errors were encountered: