nim-chronos
nim-chronos copied to clipboard
`nim c -r -d:useSysAssert -d:useGcAssert tests/testall` fails on OSX
I've disabled chronos on OSX from important_packages in https://github.com/nim-lang/Nim/pull/13954 because CI for chronos fails on OSX:
https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/4234/logs/76
2020-04-11T13:10:46.5530120Z [1m[31mFAIL: [36mhttps://github.com/status-im/nim-chronos C[0m
2020-04-11T13:10:46.5530940Z [1m[36mTest "https://github.com/status-im/nim-chronos" in category "nimble-packages"[0m
2020-04-11T13:10:46.5531670Z [1m[31mFailure: reBuildFailed[0m
2020-04-11T13:10:46.5531940Z package test failed
2020-04-11T13:10:46.5532150Z $ nimble test
2020-04-11T13:10:46.5532510Z Executing task test in /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos.nimble
2020-04-11T13:10:46.5532960Z
2020-04-11T13:10:46.5533560Z nim c -r -d:useSysAssert -d:useGcAssert tests/testall
...
2020-04-11T13:10:46.5643960Z CC: testserver.nim
2020-04-11T13:10:46.5644170Z CC: testbugs.nim
2020-04-11T13:10:46.5644370Z CC: testnet.nim
2020-04-11T13:10:46.5652800Z CC: ../../../../../../../../.nimble/pkgs/bearssl-0.1.5/bearssl/decls.nim
2020-04-11T13:10:46.5654090Z CC: ../../../../../../../../.nimble/pkgs/bearssl-0.1.5/bearssl/errors.nim
2020-04-11T13:10:46.5654510Z CC: ../chronos/streams/tlsstream.nim
2020-04-11T13:10:46.5654770Z CC: testasyncstream.nim
2020-04-11T13:10:46.5655000Z CC: testall.nim
2020-04-11T13:10:46.5655190Z Hint: [Link]
2020-04-11T13:10:46.5655750Z Hint: 165288 LOC; 12.580 sec; 337.258MiB peakmem; Debug build; proj: tests/testall; out: /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/tests/testall [SuccessX]
2020-04-11T13:10:46.5657140Z Hint: /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/tests/testall [Exec]
2020-04-11T13:10:46.5657490Z
2020-04-11T13:10:46.5657700Z [Suite] Macro transformations test suite
2020-04-11T13:10:46.5657900Z
2020-04-11T13:10:46.5658140Z [Suite] Asynchronous sync primitives test suite
2020-04-11T13:10:46.5658350Z
2020-04-11T13:10:46.5658550Z [Suite] callSoon() tests suite
2020-04-11T13:10:46.5658730Z
2020-04-11T13:10:46.5658940Z [Suite] Asynchronous timers test suite
2020-04-11T13:10:46.5659130Z
2020-04-11T13:10:46.5659340Z [Suite] Future[T] behavior test suite
2020-04-11T13:10:46.5659530Z
2020-04-11T13:10:46.5659740Z [Suite] Signal handling test suite
2020-04-11T13:10:46.5659920Z
2020-04-11T13:10:46.5660130Z [Suite] TransportAddress test suite
2020-04-11T13:10:46.5660310Z
2020-04-11T13:10:46.5660520Z [Suite] Datagram Transport test suite
2020-04-11T13:10:46.5660910Z /Users/runner/runners/2.165.2/work/1/s/lib/pure/unittest.nim(647) testdatagram
2020-04-11T13:10:46.5661400Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncloop.nim(946) waitFor
2020-04-11T13:10:46.5661930Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncloop.nim(278) poll
2020-04-11T13:10:46.5662450Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncmacro2.nim(273) testBroadcast
2020-04-11T13:10:46.5663040Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncfutures2.nim(407) internalCheckComplete
2020-04-11T13:10:46.5663440Z [[reraised from:
2020-04-11T13:10:46.5663770Z /Users/runner/runners/2.165.2/work/1/s/lib/pure/unittest.nim(647) testdatagram
2020-04-11T13:10:46.5664270Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncloop.nim(948) waitFor
2020-04-11T13:10:46.5665140Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncfutures2.nim(423) read
2020-04-11T13:10:46.5665740Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncfutures2.nim(407) internalCheckComplete
2020-04-11T13:10:46.5666110Z ]]
2020-04-11T13:10:46.5666230Z
2020-04-11T13:10:46.5666470Z Unhandled exception: Timeout exceeded!
2020-04-11T13:10:46.5666740Z Async traceback:
2020-04-11T13:10:46.5667130Z /Users/runner/runners/2.165.2/work/1/s/lib/pure/unittest.nim(647) testdatagram
2020-04-11T13:10:46.5667680Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncloop.nim(946) waitFor
2020-04-11T13:10:46.5668230Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncloop.nim(278) poll
2020-04-11T13:10:46.5668780Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncmacro2.nim(273) testBroadcast
2020-04-11T13:10:46.5669370Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos/asyncfutures2.nim(407) internalCheckComplete
2020-04-11T13:10:46.5669830Z Exception message: Timeout exceeded!
2020-04-11T13:10:46.5670130Z Exception type: [AsyncTimeoutError]
2020-04-11T13:10:46.5670400Z [FAILED] Broadcast test
2020-04-11T13:10:46.5670940Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/tests/testdatagram.nim(560, 54): Check failed: getTracker("datagram.transport").isLeaked() == false
2020-04-11T13:10:46.5671780Z getTracker("datagram.transport").isLeaked() was true
2020-04-11T13:10:46.5672080Z false was false
2020-04-11T13:10:46.5672330Z [FAILED] Transports leak test
2020-04-11T13:10:46.5672510Z
2020-04-11T13:10:46.5672710Z [Suite] Stream Transport test suite
2020-04-11T13:10:46.5672900Z
2020-04-11T13:10:46.5673490Z [Suite] Server's test suite
2020-04-11T13:10:46.5673680Z
2020-04-11T13:10:46.5673910Z [Suite] Asynchronous issues test suite
2020-04-11T13:10:46.5674100Z
2020-04-11T13:10:46.5674310Z [Suite] Network utilities test suite
2020-04-11T13:10:46.5674630Z 1. lo0: flags = 32841 mtu 16384 state StatusUp
2020-04-11T13:10:46.5674920Z IfSoftwareLoopback
2020-04-11T13:10:46.5675400Z inet 127.0.0.1/8 netmask 255.0.0.0 brd 127.255.255.255
2020-04-11T13:10:46.5675860Z inet6 ::1/128 netmask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff brd ::1
2020-04-11T13:10:46.5676390Z inet6 fe80::1/64 netmask ffff:ffff:ffff:ffff:: brd fe80::ffff:ffff:ffff:ffff
2020-04-11T13:10:46.5676850Z 2. gif0: flags = 32784 mtu 1280 state StatusDown
2020-04-11T13:10:46.5677130Z IfIeee80212
2020-04-11T13:10:46.5677400Z 3. stf0: flags = 0 mtu 1280 state StatusDown
2020-04-11T13:10:46.5677680Z IfHippiInterface
2020-04-11T13:10:46.5677960Z 4. en0: flags = 34915 mtu 1500 state StatusUp
2020-04-11T13:10:46.5678290Z IfEthernetCsmacd 00:50:56:88:2C:AC
2020-04-11T13:10:46.5678650Z inet 10.79.9.3/20 netmask 255.255.240.0 brd 10.79.15.255
2020-04-11T13:10:46.5679020Z 5. utun0: flags = 32849 mtu 1380 state StatusUp
2020-04-11T13:10:46.5679300Z IfOther
2020-04-11T13:10:46.5679700Z inet6 fe80::818d:25b8:fc83:cb94/64 netmask ffff:ffff:ffff:ffff:: brd fe80::ffff:ffff:ffff:ffff
2020-04-11T13:10:46.5680200Z 6. utun1: flags = 32849 mtu 2000 state StatusUp
2020-04-11T13:10:46.5680470Z IfOther
2020-04-11T13:10:46.5680880Z inet6 fe80::d23f:d69b:8452:8c2d/64 netmask ffff:ffff:ffff:ffff:: brd fe80::ffff:ffff:ffff:ffff
2020-04-11T13:10:46.5681350Z 8.8.8.8 via gateway 10.79.0.1 src 10.79.9.3
2020-04-11T13:10:46.5681560Z
2020-04-11T13:10:46.5681760Z [Suite] AsyncStream test suite
2020-04-11T13:10:46.5681940Z
2020-04-11T13:10:46.5682140Z [Suite] ChunkedStream test suite
2020-04-11T13:10:46.5682320Z
2020-04-11T13:10:46.5682510Z [Suite] TLSStream test suite
2020-04-11T13:10:46.5683430Z Error: execution of an external program failed: '/Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/tests/testall '
2020-04-11T13:10:46.5683930Z stack trace: (most recent call last)
2020-04-11T13:10:46.5684370Z /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/nimblecache/nimscriptapi.nim(165, 16)
2020-04-11T13:10:46.5684900Z /Users/runner/runners/2.165.2/work/1/s/pkgstemp/chronos/chronos_7298.nims(25, 8) testTask
2020-04-11T13:10:46.5685400Z /Users/runner/runners/2.165.2/work/1/s/lib/system/nimscript.nim(260, 7) exec
2020-04-11T13:10:46.5686520Z /Users/runner/runners/2.165.2/work/1/s/lib/system/nimscript.nim(260, 7) Error: unhandled exception: FAILED: nim c -r -d:useSysAssert -d:useGcAssert tests/testall [OSError]
2020-04-11T13:10:46.5687580Z Tip: 1 messages have been suppressed, use --verbose to show them.
2020-04-11T13:10:46.5688020Z Error: Exception raised during nimble script execution
2020-04-11T13:10:46.5688280Z
2020-04-11T13:15:18.6274920Z [32mPASS: [36mhttps://github.com/c-blake/cligen.git C [34m ( 2.04 sec)[0m
2020-04-11T13:15:18.6276190Z [32mPASS: [36mhttps://github.com/samuelroy/coco C [34m (24.98 sec)[0m
2020-04-11T13:15:18.6277160Z [32mPASS: [36mhttps://github.com/PMunch/combparser C [34m ( 3.00 sec)[0m
2020-04-11T13:15:18.6278090Z [32mPASS: [36mhttps://github.com/LemonBoy/compactdict C [34m ( 3.55 sec)[0m
2020-04-11T13:15:18.6279050Z [32mPASS: [36mhttps://github.com/alehander42/comprehension C [34m ( 2.99 sec)[0m
2020-04-11T13:15:18.6280490Z [32mPASS: [36mhttps://github.com/LemonBoy/criterion.nim C [34m (35.07 sec)[0m
2020-04-11T13:15:18.6281420Z [32mPASS: [36mhttps://github.com/FedericoCeratto/nim-dashing C [34m ( 1.86 sec)[0m
2020-04-11T13:15:18.6282350Z [32mPASS: [36mhttps://github.com/docopt/docopt.nim C [34m (19.11 sec)[0m
2020-04-11T13:15:18.6283330Z [32mPASS: [36mhttps://github.com/jackmott/easygl C [34m (16.20 sec)[0m
2020-04-11T13:15:18.6284310Z [32mPASS: [36mhttps://github.com/mattaylor/elvis C [34m ( 3.79 sec)[0m
2020-04-11T13:15:18.6285220Z [32mPASS: [36mhttps://github.com/fragcolor-xyz/fragments C [34m ( 1.95 sec)[0m
2020-04-11T13:15:18.6286270Z [32mPASS: [36mhttps://github.com/alehander42/gara C [34m ( 3.46 sec)[0m
2020-04-11T13:15:18.6287540Z [32mPASS: [36mhttps://github.com/Vindaar/ggplotnim C [34m (52.02 sec)[0m
2020-04-11T13:15:18.6288480Z [32mPASS: [36mhttps://github.com/citycide/glob C [34m ( 7.31 sec)[0m
2020-04-11T13:15:18.6289370Z [32mPASS: [36mhttps://github.com/dvolk/gnuplot.nim C [34m ( 1.42 sec)[0m
2020-04-11T13:15:18.6290280Z [32mPASS: [36mhttps://github.com/brentp/hts-nim C [34m ( 1.59 sec)[0m
2020-04-11T13:15:18.6291170Z [32mPASS: [36mhttps://github.com/johnnovak/illwill C [34m (17.38 sec)[0m
2020-04-11T13:15:18.6292080Z [32mPASS: [36mhttps://github.com/inim-repl/INim C [34m ( 3.19 sec)[0m
2020-04-11T13:15:18.6292980Z [32mPASS: [36mhttps://github.com/narimiran/itertools C [34m ( 2.03 sec)[0m
2020-04-11T13:15:18.6293870Z [32mPASS: [36mhttps://github.com/def-/iterutils C [34m ( 3.01 sec)[0m
2020-04-11T13:15:18.6294780Z [32mPASS: [36mhttps://github.com/LemonBoy/jstin C [34m ( 3.51 sec)[0m
2020-04-11T13:15:18.6295680Z [32mPASS: [36mhttps://github.com/pragmagic/karax C [34m (11.89 sec)[0m
2020-04-11T13:15:18.6296590Z [32mPASS: [36mhttps://github.com/numforge/loopfusion C [34m ( 2.15 sec)[0m
2020-04-11T13:15:18.6297480Z [32mPASS: [36mhttps://github.com/jangko/msgpack4nim C [34m (32.63 sec)[0m
2020-04-11T13:15:18.6298390Z [32mPASS: [36mhttps://github.com/fowlmouth/nake/ C [34m ( 1.93 sec)[0m
2020-04-11T13:15:18.6299270Z [32mPASS: [36mhttps://github.com/unicredit/neo C [34m ( 9.38 sec)[0m
2020-04-11T13:15:18.6300170Z [32mPASS: [36mhttps://github.com/icyphox/nicy C [34m ( 1.70 sec)[0m
2020-04-11T13:15:18.6300980Z [1m[31mFAIL: [36mhttps://github.com/trustable-code/NiGui C[0m
2020-04-11T13:15:18.6301920Z [1m[36mTest "https://github.com/trustable-code/NiGui" in category "nimble-packages"[0m
2020-04-11T13:15:18.6302650Z [1m[31mFailure: reBuildFailed[0m
2020-04-11T13:15:18.6302940Z package test failed
2020-04-11T13:15:18.6303630Z $ nim c -o:niguii -r src/nigui.nim
Essentially the same issue occurs under Linux, running nimble test, using compiler version 1.6.0
Nim Compiler Version 1.6.0 [Linux: amd64]
Compiled at 2022-01-14
Copyright (c) 2006-2021 by Andreas Rumpf
git hash: 727c6378d2464090564dbcd9bc8b9ac648467e38
active boot switches: -d:release
Info: Nimble data file "/home/monyarm/.nimble/nimbledata2.json" has been loaded.
Executing task test in /opt/nim-workspace/nim-chronos/chronos.nimble
nim c -r --hints:off --verbosity:0 --warning[ObservableStores]:off --styleCheck:usages --styleCheck:error -d:useSysAssert -d:useGcAssert tests/testall
/opt/nim-workspace/nim-chronos/chronos/asyncsync.nim(137, 18) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/asyncsync.nim(255, 13) Warning: use `delete(s, first..last)`; delete is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/common.nim(296, 43) Warning: implicit conversion to 'cstring' from a non-const location: toString(Base10, uint16(port)); this will become a compile time error in the future [CStringConv]
/opt/nim-workspace/nim-chronos/chronos/transports/datagram.nim(448, 11) Warning: Raises Defect on future failure, fix your code and use asyncSpawn!; asyncCheck is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/datagram.nim(456, 13) Warning: Raises Defect on future failure, fix your code and use asyncSpawn!; asyncCheck is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/stream.nim(1608, 11) Warning: Raises Defect on future failure, fix your code and use asyncSpawn!; asyncCheck is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(468, 19) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(469, 16) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(476, 19) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(477, 22) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(478, 18) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/transports/osnet.nim(479, 18) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(590, 27) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(594, 27) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(598, 28) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(602, 28) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(606, 28) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(617, 26) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(717, 24) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
/opt/nim-workspace/nim-chronos/tests/testasyncstream.nim(796, 7) template/generic instantiation of `suite` from here
/opt/nim-workspace/nim-chronos/tests/testasyncstream.nim(830, 66) template/generic instantiation of `async` from here
/opt/nim-workspace/nim-chronos/tests/testasyncstream.nim(852, 26) template/generic instantiation of `init` from here
/opt/nim-workspace/nim-chronos/chronos/streams/tlsstream.nim(717, 24) Warning: use `char` or `uint8` instead; cuchar is deprecated [Deprecated]
[Suite] Macro transformations test suite
[OK] `await` command test
[OK] `awaitne` command test
[Suite] Asynchronous sync primitives test suite
[OK] AsyncLock() behavior test
[OK] AsyncLock() cancellation test
[OK] AsyncLock() flag consistency test
[OK] AsyncLock() double release test
[OK] AsyncLock() non-acquired release test
[OK] AsyncEvent() behavior test
[OK] AsyncQueue() behavior test
[OK] AsyncQueue() many iterations test
[OK] AsyncQueue() addLast/addFirst/popLast/popFirst test
[OK] AsyncQueue() clear test
[OK] AsyncQueue() iterators/assignments test
[OK] AsyncQueue() representation test
[OK] AsyncQueue() contains test
[OK] AsyncEventBus() awaitable primitives test
[OK] AsyncEventBus() waiters test
[OK] AsyncEventBus() subscribers test
[OK] AsyncEventBus() waiters for all events test
[OK] AsyncEventBus() subscribers to all events test
[Suite] callSoon() tests suite
[OK] User-defined callback argument test
[OK] `Asynchronous dead end` #7193 test
[OK] `callSoon() is not working prior getGlobalDispatcher()` #7192 test
[Suite] Asynchronous timers & steps test suite
[OK] Timer reliability test [mono]
[OK] 10 timers with 10ms timeout
[OK] 10 timers with 100ms timeout
[OK] 10 timers with 1000ms timeout
[OK] Asynchronous steps test
[Suite] Future[T] behavior test suite
[OK] Async undefined behavior (#7758) test
[OK] Immediately completed asynchronous procedure test
[OK] Future[T] callbacks are invoked in reverse order (#7197) test
[OK] Future[T] callbacks not changing order after removeCallback()
[OK] wait[T]() test
[OK] discard result Future[T] test
[OK] allFutures(zero) test
[OK] allFutures(varargs) test
[OK] allFutures(varargs) test
[OK] allFutures() already completed test
[OK] allFinished() already completed test
[OK] one(zero) test
[OK] one(varargs) test
[OK] one(seq) test
[OK] one(completed) test
[OK] or() test
[OK] or() already completed test
[OK] cancel() async procedure test
[OK] cancelAndWait() test
[OK] Break cancellation propagation test
[OK] Cancellation callback test
[OK] Cancellation wait() test
[OK] Cancellation withTimeout() test
[OK] Cancellation race test
[OK] asyncSpawn() test
[OK] location test
[OK] withTimeout(fut) should wait cancellation test
[OK] wait(fut) should wait cancellation test
[OK] race(zero) test
[OK] race(varargs) test
[OK] race(seq) test
[OK] race() already completed test
[OK] race() cancellation test
[OK] Unsigned integer overflow test
[Suite] Signal handling test suite
[OK] SIGINT test
[OK] SIGTERM test
[Suite] TransportAddress test suite
[OK] initTAddress(string)
[OK] initTAddress(string, Port)
[OK] initTAddress(string, int)
[OK] resolveTAddress(string, IPv4)
[OK] resolveTAddress(string, Port, IPv4)
[OK] Faulty initTAddress(string)
[OK] Faulty initTAddress(string, Port)
[OK] Faulty initTAddress(string, Port)
[OK] Faulty resolveTAddress(string, IPv4) for IPv6 address
[OK] Faulty resolveTAddress(string, Port, IPv4) for IPv6 address
[Suite] Datagram Transport test suite
[OK] close(transport) test
[OK] sendTo(pointer) test (2000 messages)
[OK] send(pointer) test (2000 messages)
[OK] sendTo(string) test (2000 messages)
[OK] send(string) test (2000 messages)
[OK] sendTo(seq[byte]) test (2000 messages)
[OK] send(seq[byte]) test (2000 messages)
[OK] Unbounded multiple clients with messages (20 clients x 20 messages)
[OK] Bounded multiple clients with messages (20 clients x 20 messages)
[OK] Datagram connection reset test
/home/monyarm/.nimble/pkgs2/unittest2-0.0.3-1462a58ec0de38d431e728578c82edcc47619476/unittest2.nim(835) testdatagram
/home/monyarm/.nimble/pkgs2/unittest2-0.0.3-1462a58ec0de38d431e728578c82edcc47619476/unittest2.nim(885) runTest`gensym496
/opt/nim-workspace/nim-chronos/chronos/asyncloop.nim(1091) waitFor
/opt/nim-workspace/nim-chronos/chronos/asyncloop.nim(279) poll
/opt/nim-workspace/nim-chronos/chronos/asyncmacro2.nim(275) testBroadcast
/opt/nim-workspace/nim-chronos/chronos/asyncfutures2.nim(501) internalCheckComplete
[[reraised from:
/home/monyarm/.nimble/pkgs2/unittest2-0.0.3-1462a58ec0de38d431e728578c82edcc47619476/unittest2.nim(835) testdatagram
/home/monyarm/.nimble/pkgs2/unittest2-0.0.3-1462a58ec0de38d431e728578c82edcc47619476/unittest2.nim(885) runTest`gensym496
/opt/nim-workspace/nim-chronos/chronos/asyncloop.nim(1093) waitFor
/opt/nim-workspace/nim-chronos/chronos/asyncfutures2.nim(515) read
/opt/nim-workspace/nim-chronos/chronos/asyncfutures2.nim(501) internalCheckComplete
]]
Unhandled exception: Timeout exceeded! [AsyncTimeoutError]
[FAILED] Broadcast test
[OK] 0.0.0.0/::0 (INADDR_ANY) test
/opt/nim-workspace/nim-chronos/tests/testdatagram.nim(561, 54): Check failed: getTracker("datagram.transport").isLeaked() == false
getTracker("datagram.transport").isLeaked() was true
false was false
[FAILED] Transports leak test
[Suite] Stream Transport test suite
[OK] [IP] close(transport) test
[OK] [IP] readUntil() buffer overflow test
[OK] [IP] readLine() buffer overflow test
[OK] [IP] readExactly() unexpected disconnect test
[OK] [IP] readUntil() unexpected disconnect test
[OK] [IP] readLine() unexpected disconnect empty string test
[OK] [IP] Closing socket while operation pending test (issue #8)
[OK] [IP] readLine() multiple clients with messages (5 clients x 10 messages)
[OK] [IP] readExactly() multiple clients with messages (5 clients x 10 messages)
[OK] [IP] readUntil() multiple clients with messages (5 clients x 10 messages)
[OK] [IP] write(string)/read(int) multiple clients (5 clients x 10 messages)
[OK] [IP] write(seq[byte])/consume(int)/read(int) multiple clients (5 clients x 10 messages)
[OK] [IP] writeFile() multiple clients (10 files)
[OK] [IP] Connection refused test
[OK] [IP] readOnce() read until atEof() test
[OK] [IP] Connection reset test on send() only
[OK] [IP] 0.0.0.0/::0 (INADDR_ANY) test
[OK] [IP] write() return value test (issue #73)
[OK] [IP] readLine() partial separator test
[OK] [IP] readMessage() test
[OK] [IP] accept() test
[OK] [IP] close() while in accept() waiting test
[OK] [IP] Intermediate transports leak test #1
[OK] [IP] accept() too many file descriptors test
[OK] [IP] accept() and close() race test
[OK] [IP] write() queue notification on close() test
[OK] [IP] read() notification on close() test
[OK] [UNIX] close(transport) test
[OK] [UNIX] readUntil() buffer overflow test
[OK] [UNIX] readLine() buffer overflow test
[OK] [UNIX] readExactly() unexpected disconnect test
[OK] [UNIX] readUntil() unexpected disconnect test
[OK] [UNIX] readLine() unexpected disconnect empty string test
[OK] [UNIX] Closing socket while operation pending test (issue #8)
[OK] [UNIX] readLine() multiple clients with messages (5 clients x 10 messages)
[OK] [UNIX] readExactly() multiple clients with messages (5 clients x 10 messages)
[OK] [UNIX] readUntil() multiple clients with messages (5 clients x 10 messages)
[OK] [UNIX] write(string)/read(int) multiple clients (5 clients x 10 messages)
[OK] [UNIX] write(seq[byte])/consume(int)/read(int) multiple clients (5 clients x 10 messages)
[OK] [UNIX] writeFile() multiple clients (10 files)
[OK] [UNIX] Connection refused test
[OK] [UNIX] readOnce() read until atEof() test
[OK] [UNIX] Connection reset test on send() only
[SKIPPED] [UNIX] 0.0.0.0/::0 (INADDR_ANY) test
[OK] [UNIX] write() return value test (issue #73)
[OK] [UNIX] readLine() partial separator test
[OK] [UNIX] readMessage() test
[OK] [UNIX] accept() test
[OK] [UNIX] close() while in accept() waiting test
[OK] [UNIX] Intermediate transports leak test #1
[OK] [UNIX] accept() too many file descriptors test
[OK] [UNIX] accept() and close() race test
[OK] [UNIX] write() queue notification on close() test
[OK] [UNIX] read() notification on close() test
[OK] Servers leak test
[OK] Transports leak test
[OK] File descriptors leak test
[Suite] Server's test suite
[OK] Stream Server start/stop test
[OK] Stream Server stop without start test
[OK] Stream Server inherited object test
[OK] StreamServer[T] test
[Suite] Asynchronous issues test suite
[OK] Issue #6
[OK] Callback-race double completion [wait()] test
[OK] Callback-race double completion [withTimeout()] test
[OK] Multiple await on single future test [Nim's issue #13889]
[OK] Defer for asynchronous procedures test [Nim's issue #13899]
[Suite] Network utilities test suite
[OK] IPv4 networks test
[OK] IPv6 networks test
[OK] IP masks test
[OK] IP networks test
[OK] IpMask test vectors
[OK] IpMask serialization/deserialization test
[OK] IpMask non-canonical masks
[OK] IpNet test vectors
[OK] IpNet contains test vectors
[OK] IpNet serialization/deserialization test
[OK] IPv4 <-> IPv6 mapping test
1. lo: flags = 65609 mtu 65536 state StatusUnknown
IfSoftwareLoopback 00:00:00:00:00:00
inet 127.0.0.1/8 netmask 255.0.0.0 brd 127.255.255.255
inet6 ::1/128 netmask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff brd ::1
2. enp1s0: flags = 4099 mtu 1500 state StatusDown
IfEthernetCsmacd 2C:F0:5D:9B:98:2C
3. wlp4s0: flags = 69699 mtu 1500 state StatusUp
IfEthernetCsmacd A4:B1:C1:97:4E:FB
inet 192.168.200.75/24 netmask 255.255.255.0 brd 192.168.200.255
inet6 fe80::a6cd:a547:970b:475b/64 netmask ffff:ffff:ffff:ffff:: brd fe80::ffff:ffff:ffff:ffff
4. ztzlgmpdgl: flags = 69699 mtu 2800 state StatusUnknown
IfEthernetCsmacd AA:88:83:2E:7C:C3
inet 10.242.228.91/16 netmask 255.255.0.0 brd 10.242.255.255
inet6 fe80::a888:83ff:fe2e:7cc3/64 netmask ffff:ffff:ffff:ffff:: brd fe80::ffff:ffff:ffff:ffff
5. docker0: flags = 4099 mtu 1500 state StatusDown
IfEthernetCsmacd 02:42:B3:76:14:38
inet 172.17.0.1/16 netmask 255.255.0.0 brd 172.17.255.255
[OK] getInterfaces() test
8.8.8.8 via gateway 192.168.200.1 src 192.168.200.75
[OK] getBestRoute() test
[OK] TransportAddress arithmetic operations test
[Suite] AsyncStream test suite
[OK] AsyncStream(StreamTransport) readExactly() test
[OK] AsyncStream(StreamTransport) readUntil() test
[OK] AsyncStream(StreamTransport) readLine() test
[OK] AsyncStream(StreamTransport) read() test
[OK] AsyncStream(StreamTransport) consume() test
[OK] AsyncStream(StreamTransport) leaks test
[OK] AsyncStream(AsyncStream) readExactly() test
[OK] AsyncStream(AsyncStream) readUntil() test
[OK] AsyncStream(AsyncStream) readLine() test
[OK] AsyncStream(AsyncStream) read() test
[OK] AsyncStream(AsyncStream) consume() test
[OK] AsyncStream(AsyncStream) leaks test
[Suite] ChunkedStream test suite
[OK] ChunkedStream test vectors
[OK] ChunkedStream incorrect chunk test
[OK] ChunkedStream hex decoding test
[OK] ChunkedStream too big chunk header test
[OK] ChunkedStream read/write test
[OK] ChunkedStream read small chunks test
[OK] ChunkedStream leaks test
[Suite] TLSStream test suite
[OK] Simple HTTPS connection
[OK] Simple server with RSA self-signed certificate
[OK] TLSStream leaks test
[Suite] BoundedStream test suite
[OK] BoundedStream(size) reading/writing test [== 100]
[OK] BoundedStream(size) overflow test [== 100]
[OK] BoundedStream(size) incomplete test [== 100]
[OK] BoundedStream(size) empty message test [== 100]
[OK] BoundedStream(boundary) reading test [== 100]
[OK] BoundedStream(boundary) double message test [== 100]
[OK] BoundedStream(size+boundary) reading size-bound test [== 100]
[OK] BoundedStream(boundary) reading incomplete test [== 100]
[OK] BoundedStream(boundary) empty message test [== 100]
[OK] BoundedStream(size) reading/writing test [== 60000]
[OK] BoundedStream(size) overflow test [== 60000]
[OK] BoundedStream(size) incomplete test [== 60000]
[OK] BoundedStream(size) empty message test [== 60000]
[OK] BoundedStream(boundary) reading test [== 60000]
[OK] BoundedStream(boundary) double message test [== 60000]
[OK] BoundedStream(size+boundary) reading size-bound test [== 60000]
[OK] BoundedStream(boundary) reading incomplete test [== 60000]
[OK] BoundedStream(boundary) empty message test [== 60000]
[OK] BoundedStream(size) reading/writing test [<= 100]
[OK] BoundedStream(size) overflow test [<= 100]
[OK] BoundedStream(size) incomplete test [<= 100]
[OK] BoundedStream(size) empty message test [<= 100]
[OK] BoundedStream(boundary) reading test [<= 100]
[OK] BoundedStream(boundary) double message test [<= 100]
[OK] BoundedStream(size+boundary) reading size-bound test [<= 100]
[OK] BoundedStream(boundary) reading incomplete test [<= 100]
[OK] BoundedStream(boundary) empty message test [<= 100]
[OK] BoundedStream(size) reading/writing test [<= 60000]
[OK] BoundedStream(size) overflow test [<= 60000]
[OK] BoundedStream(size) incomplete test [<= 60000]
[OK] BoundedStream(size) empty message test [<= 60000]
[OK] BoundedStream(boundary) reading test [<= 60000]
[OK] BoundedStream(boundary) double message test [<= 60000]
[OK] BoundedStream(size+boundary) reading size-bound test [<= 60000]
[OK] BoundedStream(boundary) reading incomplete test [<= 60000]
[OK] BoundedStream(boundary) empty message test [<= 60000]
[OK] BoundedStream read small chunks test
[OK] BoundedStream zero-sized streams test
[OK] BoundedStream leaks test
[Suite] HTTP server testing suite
[OK] Request headers timeout test
[OK] Empty headers test
[OK] Too big headers test
[OK] Too big request body test (content-length)
[OK] Too big request body test (getBody()/chunked encoding)
[OK] Too big request body test (consumeBody()/chunked encoding)
[OK] Too big request body test (post()/urlencoded/chunked encoding)
[OK] Too big request body test (post()/multipart/chunked encoding)
[OK] Query arguments test
[OK] Headers test
[OK] POST arguments (urlencoded/content-length) test
[OK] POST arguments (urlencoded/chunked encoding) test
[OK] POST arguments (multipart/content-length) test
[OK] POST arguments (multipart/chunked encoding) test
[OK] drop() connections test
[OK] Content-Type multipart boundary test
[OK] HttpTable integer parser test
[OK] HttpTable behavior test
[OK] getTransferEncoding() test
[OK] getContentEncoding() test
[OK] queryParams() test
[OK] Preferred Accept handling test
[OK] SSE server-side events stream test
[OK] Leaks test
[Suite] Secure HTTP server testing suite
[OK] HTTPS server (successful handshake) test
[OK] HTTPS server (failed handshake) test
[Suite] HTTP client testing suite
[OK] HTTP all request methods test
[OK] HTTP(S) all request methods test
[OK] HTTP client response streaming test
[OK] HTTP(S) client response streaming test
[OK] HTTP client (size) request streaming test
[OK] HTTP(S) client (size) request streaming test
[OK] HTTP client (chunked) request streaming test
[OK] HTTP(S) client (chunked) request streaming test
[OK] HTTP client (size + chunked) url-encoded POST test
[OK] HTTP(S) client (size + chunked) url-encoded POST test
[OK] HTTP client (size + chunked) multipart POST test
[OK] HTTP(S) client (size + chunked) multipart POST test
[OK] HTTP client redirection test
[OK] HTTP(S) client redirection test
[OK] HTTP client maximum redirections test
[OK] HTTP(S) client maximum redirections test
[OK] HTTPS basic authorization test
[OK] Leaks test
[Suite] Asynchronous utilities test suite
[SKIPPED] Future clean and leaks test
[SKIPPED] FutureList basics test
[SKIPPED] FutureList async procedure test
Error: execution of an external program failed: '/opt/nim-workspace/nim-chronos/tests/testall '
stack trace: (most recent call last)
/tmp/nimblecache-3598003041/nimscriptapi_3133183646.nim(196, 16)
/opt/nim-workspace/nim-chronos/chronos.nimble(29, 9) testTask
/opt/nim-workspace/nim/lib/system/nimscript.nim(273, 7) exec
[1m/opt/nim-workspace/nim/lib/system/nimscript.nim(273, 7) [0m[31mError: [0munhandled exception: FAILED: nim c -r --hints:off --verbosity:0 --warning[ObservableStores]:off --styleCheck:usages --styleCheck:error -d:useSysAssert -d:useGcAssert tests/testall [OSError][36m[0m[0m
/opt/nim-workspace/nim/nimble/src/nimble.nim(1953) nimble
/opt/nim-workspace/nim/nimble/src/nimble.nim(1930) doAction
/opt/nim-workspace/nim/nimble/src/nimblepkg/nimscriptexecutor.nim(43) execCustom
/opt/nim-workspace/nim/nimble/src/nimblepkg/nimscriptwrapper.nim(191) execTask
/opt/nim-workspace/nim/nimble/src/nimblepkg/nimscriptwrapper.nim(160) execScript
Error: Exception raised during nimble script execution
Info: Nimble data file "/home/monyarm/.nimble/nimbledata2.json" has been saved.