crate-python icon indicating copy to clipboard operation
crate-python copied to clipboard

Tests: Flakyness `SystemError: Failed to start Crate instance in time`

Open amotl opened this issue 3 years ago • 4 comments

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

amotl avatar May 18 '22 13:05 amotl

I have not been able to observe this error recently, so I am closing this.

amotl avatar Sep 29 '22 18:09 amotl

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

amotl avatar Oct 03 '22 20:10 amotl

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

amotl avatar Oct 10 '22 11:10 amotl