-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CI freebsd,openbsd broken: tests/stdlib/tssl.nim fails (high failure rate) #15713
Comments
Interesting, I’ll have a look at it. I’m on holiday right now but will try get a chance to look.
…On Sun, 25 Oct 2020, at 11:52, Timothee Cour wrote:
/cc @euantorano <https://github.com/euantorano> since you're tracking those OS's
tests/stdlib/tssl.nim seems to fail very often since approximately oct
22 2020 for openbsd,freebsd
https://builds.sr.ht/~araq/job/326733
#15705 <#15705>
`NOTINBATCH: lib/packages/docutils/rstgen.nim C
Error: execution of an external program failed:
'/home/build/Nim/testament/testament --pedantic --batch:1_3 all
-d:nimCoroutines'
FAILURE
+ nim c -r tools/ci_testresults.nim
Hint: used config file '/home/build/Nim/config/nim.cfg' [Conf]
Hint: used config file '/home/build/Nim/config/config.nims' [Conf]
..........................CC: stdlib_assertions.nim
CC: stdlib_io.nim
CC: stdlib_system.nim
CC: stdlib_parseutils.nim
CC: stdlib_math.nim
CC: stdlib_unicode.nim
CC: stdlib_strutils.nim
CC: stdlib_posix.nim
CC: stdlib_times.nim
CC: stdlib_os.nim
CC: stdlib_hashes.nim
CC: stdlib_tables.nim
CC: stdlib_streams.nim
CC: stdlib_lexbase.nim
CC: stdlib_parsejson.nim
CC: stdlib_json.nim
CC: stdlib_sets.nim
CC: stdlib_strformat.nim
CC: ci_testresults.nim
Hint: [Link]
Hint: 57361 lines; 2.953s; 75.848MiB peakmem; Debug build; proj:
/home/build/Nim/tools/ci_testresults.nim; out:
/home/build/Nim/tools/ci_testresults [SuccessX]
Hint: /home/build/Nim/tools/ci_testresults [Exec]
Category: stdlib
Name: tests/stdlib/tssl.nim C
Action: run
Result: reExitcodesDiffer
-------- Expected -------
exitcode: 0
--------- Given --------
exitcode: 1
Output:
tssl.nim(134) tssl
tssl.nim(69) main
net.nim(1653) send
net.nim(896) socketError
net.nim(495) raiseSSLError
Error: unhandled exception: error:02FFF036:system
library:func(4095):Connection reset by peer: error:02FFF036:system
library:func(4095):Connection reset by peer [SslError]
-------------------------
+ exit 1
`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15713>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW24JP2ZC3QXBCYRUDAJTSMQGRDANCNFSM4S56N73Q>.
|
I'm fairly surprised this affects both FreeBSD and OpenBSD, as FreeBSD uses OpenSSL and OpenBSD uses LibreSSL. The error indicates the connection is being shut prematurely for some reason. |
(cherry picked from commit b56a037)
Hello, On OpenBSD tests/stdlib/tssl.nim hangs forever. With @VlkrS we managed to track this to the selectSigpipe call in How to solve this? I'm not sure. AFAIK OpenBSD doesn't have SO_NOSIGPIPE (freebsd does judging by setsockopt(2)). My humble opinion (and i'm not a nim developer, i was just helping out updating the package on OpenBSD) is that the whole bockSigpipe stuff is a mess and should be avoided. (also, why blocking SIGPIPE in the close method but not in the other I/O methods?) Hope this helps, Cheers |
/cc @euantorano since you're tracking those OS's
tests/stdlib/tssl.nim seems to fail very often since approximately oct 22 2020 for openbsd,freebsd
https://builds.sr.ht/~araq/job/326733
#15705
The text was updated successfully, but these errors were encountered: