glfw: intermittent Linux test failures (PlatformUnavailable during glfw.init) #576

Closed
opened 2022-10-14 16:03:57 +00:00 by emidoots · 2 comments
emidoots commented 2022-10-14 16:03:57 +00:00 (Migrated from github.com)

Another missing error code case (https://github.com/hexops/mach/actions/runs/3251124284/jobs/5335700309):

116/138 test.getVideoModes... FAIL (PlatformUnavailable)
/home/runner/work/mach/mach/libs/glfw/src/errors.zig:152:5: 0x26240d in convertError (glfw-tests)
    return switch (e) {
    ^
/home/runner/work/mach/mach/libs/glfw/src/errors.zig:152:5: 0x26240d in convertError (glfw-tests)
    return switch (e) {
    ^
/home/runner/work/mach/mach/libs/glfw/src/Monitor.zig:584:5: 0x2cc5ed in test.getVideoModes (glfw-tests)
    try glfw.init(.{});
    ^
117/138 test.getVideoMode... OK
118/138 test.set_getGammaRamp... can't get window position, wayland maybe? error=error.PlatformError
OK
Another missing error code case (https://github.com/hexops/mach/actions/runs/3251124284/jobs/5335700309): ``` 116/138 test.getVideoModes... FAIL (PlatformUnavailable) /home/runner/work/mach/mach/libs/glfw/src/errors.zig:152:5: 0x26240d in convertError (glfw-tests) return switch (e) { ^ /home/runner/work/mach/mach/libs/glfw/src/errors.zig:152:5: 0x26240d in convertError (glfw-tests) return switch (e) { ^ /home/runner/work/mach/mach/libs/glfw/src/Monitor.zig:584:5: 0x2cc5ed in test.getVideoModes (glfw-tests) try glfw.init(.{}); ^ 117/138 test.getVideoMode... OK 118/138 test.set_getGammaRamp... can't get window position, wayland maybe? error=error.PlatformError OK ```
emidoots commented 2022-10-15 08:06:00 +00:00 (Migrated from github.com)

Same failure, but this time with test.focus: https://github.com/hexops/mach/actions/runs/3253869467/jobs/5341544957

Both are calling glfw.init during failure.

Same failure, but this time with `test.focus`: https://github.com/hexops/mach/actions/runs/3253869467/jobs/5341544957 Both are calling `glfw.init` during failure.
emidoots commented 2022-10-15 11:06:55 +00:00 (Migrated from github.com)

Dup of #370

Dup of #370
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#576
No description provided.