Bug 19508 – std/socket.d(986): Assertion failure depending on environment

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-12-22T20:40:06Z
Last change time
2020-01-04T11:39:46Z
Assigned to
No Owner
Creator
Walter Bright

Comments

Comment #0 by bugzilla — 2018-12-22T20:40:06Z
This randomly pops up in the autotester, which then everyone ignores and reruns the test: --- std.socket(981) test fails depending on environment --- (core.exception.AssertError@std/socket.d(986): Assertion failure
Comment #1 by greeenify — 2018-12-22T22:22:50Z
FWIW this is just a warning and doesn't lead to the test failing. (I'm not saying that this is great, but probably in the log at which you're looking there might be another spurious failure).
Comment #2 by bugzilla — 2020-01-04T11:39:46Z
Looks like the message appears most likely due to a missing internet connection (or similar). From my experience there are larger problems, when the internet connection of the autotesters is down - like cannot start the test at all due to missing downloads and the like. IMHO, having these tests as warnings is the best solution. The alternative would be to remove the tests altogether or suppress the warning. I'll close this. Feel free to reopen, if you think, there is a better solution.