actions / runner-images

GitHub Actions runner images
MIT License
9.91k stars 3.02k forks source link

CTest succedd locally but fail on actions #10616

Open BhJaipal opened 4 days ago

BhJaipal commented 4 days ago

Description

I am working on a C project with CMake and added Single Platform workflow but now Tests are working locally but fails on workflow

Latest Run link

Platforms affected

Runner images affected

Image version and build link

latest run link: https://github.com/BhJaipal/libaloo/actions/runs/10882290942

Is it regression?

Maybe no

Expected behavior

Locally Test project /home/jaipal001/Desktop/files/c-use/libaloo/build Start 1: IntegerTest 1/2 Test #1: IntegerTest ...................... Passed 0.02 sec Start 2: WidgetTest 2/2 Test #2: WidgetTest ....................... Passed 0.24 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) = 0.26 sec

Actual behavior

On actions Run cd /home/runner/work/libaloo/libaloo/build Test project /home/runner/work/libaloo/libaloo/build Start 1: IntegerTest 1/2 Test #1: IntegerTest ...................... Passed 0.01 sec Start 2: WidgetTest 2/2 Test #2: WidgetTest .......................***Failed 0.01 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) = 0.07 sec Errors while running CTest Output from these tests are in: /home/runner/work/libaloo/libaloo/build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

The following tests FAILED: 2 - WidgetTest (Failed) Error: Process completed with exit code 8.

Repro steps

Run commands in cmake-single-platform.yml

kishorekumar-anchala commented 3 days ago

Hi @BhJaipal , Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

BhJaipal commented 3 hours ago

Hi @BhJaipal , Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

Problem possibly occurs here