Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTest succedd locally but fail on actions #10616

Open
2 of 13 tasks
BhJaipal opened this issue Sep 16, 2024 · 1 comment
Open
2 of 13 tasks

CTest succedd locally but fail on actions #10616

BhJaipal opened this issue Sep 16, 2024 · 1 comment

Comments

@BhJaipal
Copy link

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

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants