ci(go,tests): flaky tests #6

Open
opened 2022-05-27 23:16:15 +02:00 by wanderer · 0 comments
Owner

the go tests are spontaneously failing, as seen e.g. here, due to DISPLAY variable apparently not being available, and therefore the GLFW library being left uninitialised.

build log excerpt:

+ nix develop --command go test -cover ./...
 -- in go-xkcdreader shell...
2022/05/27 21:09:11 Starting go-xkcdreader v0.0.13
2022/05/27 21:09:11 Created a new fyne application
2022/05/27 21:09:11 PlatformError: X11: The DISPLAY environment variable is missing
panic: NotInitialized: The GLFW library is not initialized

note: this doesn't happen locally, even under wayland, only in CI.

the go tests are spontaneously failing, as seen e.g. [here](https://drone.dotya.ml/wanderer/go-xkcdreader/329/1/11), due to `DISPLAY` variable apparently not being available, and therefore the `GLFW` library being left uninitialised. build log excerpt: ```log + nix develop --command go test -cover ./... -- in go-xkcdreader shell... 2022/05/27 21:09:11 Starting go-xkcdreader v0.0.13 2022/05/27 21:09:11 Created a new fyne application 2022/05/27 21:09:11 PlatformError: X11: The DISPLAY environment variable is missing panic: NotInitialized: The GLFW library is not initialized ``` note: this doesn't happen locally, even under *wayland*, only in CI.
wanderer added the
bug
pertains/go
pertains/ci
labels 2022-05-27 23:16:15 +02:00
Sign in to join this conversation.
No description provided.