Skip to content

Linux randomly hangs and fails during unit tests #45

@ReenigneArcher

Description

@ReenigneArcher

Describe the Bug

Running main() from /home/runner/work/tray/tray/third-party/googletest/googletest/src/gtest_main.cc
[==========] Running 5 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 5 tests from TrayTest
[ RUN      ] TrayTest.TestTrayInit
/home/runner/work/tray/tray/tests/unit/test_tray.cpp:101: Failure
Expected equality of these values:
  result
    Which is: -1
  0

[  FAILED  ] TrayTest.TestTrayInit (151 ms)
[ RUN      ] TrayTest.TestTrayLoop
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server

Expected Behavior

Unit tests consistently pass.

Additional Context

This may be the cause of LizardByte/Sunshine#2778

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions