crate-python
crate-python copied to clipboard
Tests: Flakyness `SystemError: Failed to start Crate instance in time`
The root cause for SystemError: Failed to start Crate instance in time. (see https://github.com/crate/crate-python/issues/390#issuecomment-1109745899) is that a previous instance of CrateDB might not have been terminated correctly.
In that case, a subsequent attempt to start it will croak like [1,2]
Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
[1] https://github.com/crate/crate-python/runs/6210165871#step:6:192 [2] https://github.com/crate/crate-python/runs/6540915990#step:5:233
Originally posted by @amotl in https://github.com/crate/crate-python/issues/390#issuecomment-1112111359
References
- #225
I have not been able to observe this error recently, so I am closing this.
The error is not gone yet, those are two more data points.
- https://github.com/crate/crate-python/actions/runs/3177362098/jobs/5177712919#step:4:511
- https://github.com/crate/crate-python/actions/runs/3274701823/jobs/5388588426#step:4:486
Another different one from doctests/layer.txt.
File "/Users/runner/work/crate-python/crate-python/src/crate/testing/doctests/layer.txt", line 219, in layer.txt
Failed example:
num_nodes
Expected:
2
Got:
1
-- https://github.com/crate/crate-python/actions/runs/3218694497/jobs/5263181322#step:4:363