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

tests/async/tioselectors.nim is newly flaky on OSX #15575

Open
timotheecour opened this issue Oct 14, 2020 · 3 comments
Open

tests/async/tioselectors.nim is newly flaky on OSX #15575

timotheecour opened this issue Oct 14, 2020 · 3 comments

Comments

@timotheecour
Copy link
Member

timotheecour commented Oct 14, 2020

tests/async/tioselectors.nim is newly flaky on OSX. There used to be problems with this test, but this one is different.

eg: https://dev.azure.com/nim-lang/Nim/_build/results?buildId=8623&view=logs&jobId=30931762-47c4-53b3-6a83-316eb5a6b9d7&j=30931762-47c4-53b3-6a83-316eb5a6b9d7&t=ba1696ab-ec7f-5f41-daf2-f41c151ab1ed from #14589

Current Output

2020-10-14T19:54:25.7653300Z �[1m�[31mFAIL: �[36mtests/async/tioselectors.nim C�[0m
2020-10-14T19:54:25.7654550Z �[1m�[36mTest "tests/async/tioselectors.nim" in category "async"�[0m
2020-10-14T19:54:25.7655600Z �[1m�[31mFailure: reExitcodesDiffer�[0m
2020-10-14T19:54:25.7656560Z �[33mExpected:�[0m
2020-10-14T19:54:25.7657760Z �[1mexitcode: 0
2020-10-14T19:54:25.7658640Z �[0m
2020-10-14T19:54:25.7659520Z �[33mGotten:�[0m
2020-10-14T19:54:25.7660400Z �[1mexitcode: 1
2020-10-14T19:54:25.7660880Z 
2020-10-14T19:54:25.7661360Z Output:
2020-10-14T19:54:25.7661850Z tioselectors.nim(459)    tioselectors
2020-10-14T19:54:25.7662440Z tioselectors.nim(68)     socket_notification_test
2020-10-14T19:54:25.7663130Z assertions.nim(30)       failedAssertImpl
2020-10-14T19:54:25.7663700Z assertions.nim(23)       raiseAssert
2020-10-14T19:54:25.7664270Z fatal.nim(49)            sysFatal
2020-10-14T19:54:25.7664960Z Error: unhandled exception: tioselectors.nim(68, 11) `server2_socket != osInvalidSocket`  [AssertionDefect]

Expected Output

works

Additional Information

nim devel 1.3.7 c2ba4ef

@timotheecour timotheecour added Test Suite Async Everything related to Nim's async and removed Async Everything related to Nim's async labels Oct 14, 2020
@timotheecour
Copy link
Member Author

@timotheecour
Copy link
Member Author

again

https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/15565/logs/89

2021-04-16T19:52:17.9757930Z �[32mPASS: �[36mtests/async/tgenericasync.nim c                             �[34m ( 2.70 sec)�[0m
2021-04-16T19:52:17.9759360Z �[1m�[31mFAIL: �[36mtests/async/tioselectors.nim c�[0m
2021-04-16T19:52:17.9760770Z �[1m�[36mTest "tests/async/tioselectors.nim" in category "async"�[0m
2021-04-16T19:52:17.9762080Z �[1m�[31mFailure: reExitcodesDiffer�[0m
2021-04-16T19:52:17.9763300Z �[33mExpected:�[0m
2021-04-16T19:52:17.9764480Z �[1mexitcode: 0
2021-04-16T19:52:17.9765580Z �[0m
2021-04-16T19:52:17.9766740Z �[33mGotten:�[0m
2021-04-16T19:52:17.9767940Z �[1mexitcode: 1
2021-04-16T19:52:17.9768670Z 
2021-04-16T19:52:17.9769340Z Output:
2021-04-16T19:52:17.9770040Z tioselectors.nim(459)    tioselectors
2021-04-16T19:52:17.9771490Z tioselectors.nim(68)     socket_notification_test
2021-04-16T19:52:17.9772370Z assertions.nim(68)       failedAssertImpl
2021-04-16T19:52:17.9773140Z assertions.nim(58)       raiseAssert
2021-04-16T19:52:17.9773910Z fatal.nim(53)            sysFatal
2021-04-16T19:52:17.9774810Z Error: unhandled exception: tioselectors.nim(68, 11) `server2_socket != osInvalidSocket`  [AssertionDefect]
2021-04-16T19:52:17.9775470Z 
2021-04-16T19:52:17.9776590Z �[0m
2021-04-16T19:52:17.9778020Z �[32mPASS: �[36mtests/async/tjsandnativeasync.nim c                         �[34m ( 3.35 sec)�[0m

@timotheecour
Copy link
Member Author

again, on devel CI as of 98c29c0

https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/16294/logs/89

2021-05-07T17:51:33.1228270Z �[32mPASS: �[36mtests/async/tgenericasync.nim cpp                           �[34m ( 3.86 sec)�[0m
2021-05-07T17:51:33.1330920Z �[1m�[31mFAIL: �[36mtests/async/tioselectors.nim cpp�[0m
2021-05-07T17:51:33.1433300Z �[1m�[36mTest "tests/async/tioselectors.nim" in category "async"�[0m
2021-05-07T17:51:33.1535950Z �[1m�[31mFailure: reExitcodesDiffer�[0m
2021-05-07T17:51:33.1536780Z �[33mExpected:�[0m
2021-05-07T17:51:33.1537670Z �[1mexitcode: 0
2021-05-07T17:51:33.1639600Z �[0m
2021-05-07T17:51:33.1742110Z �[33mGotten:�[0m
2021-05-07T17:51:33.1844300Z �[1mexitcode: 1
2021-05-07T17:51:33.1945680Z 
2021-05-07T17:51:33.2047500Z Output:
2021-05-07T17:51:33.2148920Z tioselectors.nim(459)    tioselectors
2021-05-07T17:51:33.2250340Z tioselectors.nim(68)     socket_notification_test
2021-05-07T17:51:33.2352030Z assertions.nim(68)       failedAssertImpl
2021-05-07T17:51:33.2388220Z assertions.nim(58)       raiseAssert
2021-05-07T17:51:33.2488680Z fatal.nim(53)            sysFatal
2021-05-07T17:51:33.2589250Z Error: unhandled exception: tioselectors.nim(68, 11) `server2_socket != osInvalidSocket`  [AssertionDefect]
2021-05-07T17:51:33.2689590Z 
2021-05-07T17:51:33.2791840Z �[0m
2021-05-07T17:51:33.2862250Z diff --git a/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/diffStrings_a_RwcRs3iB b/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/diffStrings_b_1p3uJul5
2021-05-07T17:51:33.2963890Z index 031aaaad..ced3ec7f 100644
2021-05-07T17:51:34.1705580Z --- a/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/diffStrings_a_RwcRs3iB
2021-05-07T17:51:34.1811390Z +++ b/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/diffStrings_b_1p3uJul5
2021-05-07T17:51:34.1812890Z @@ -1 +1,9 @@
2021-05-07T17:51:34.1915040Z -exitcode: 0
2021-05-07T17:51:34.2017050Z \ No newline at end of file
2021-05-07T17:51:34.2118850Z +exitcode: 1
2021-05-07T17:51:34.2220120Z +
2021-05-07T17:51:34.2321520Z +Output:
2021-05-07T17:51:34.2423080Z +tioselectors.nim(459)    tioselectors
2021-05-07T17:51:34.2524750Z +tioselectors.nim(68)     socket_notification_test
2021-05-07T17:51:34.2626890Z +assertions.nim(68)       failedAssertImpl
2021-05-07T17:51:34.2729350Z +assertions.nim(58)       raiseAssert
2021-05-07T17:51:34.2831120Z +fatal.nim(53)            sysFatal
2021-05-07T17:51:34.2932730Z +Error: unhandled exception: tioselectors.nim(68, 11) `server2_socket != osInvalidSocket`  [AssertionDefect]
2021-05-07T17:51:34.3034070Z 
2021-05-07T17:51:42.2056580Z �[2m�[33mJOINED: �[1m�[36mtests/vm/t11637.nim c�[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant