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

CI Linux fails, due failed test, ./test.log not available #236

Closed
stappersg opened this issue Dec 5, 2024 · 3 comments
Closed

CI Linux fails, due failed test, ./test.log not available #236

stappersg opened this issue Dec 5, 2024 · 3 comments

Comments

@stappersg
Copy link
Member

stappersg commented Dec 5, 2024

Upon visiting https://github.com/radvd-project/radvd/actions
and clicking on failed Linux build job there is:

FAIL: check_all
============================================================================
Testsuite summary for radvd 2.20_rc1
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================

That ./test-suite.log is not available as build artifact.

So this issue reporting two issues:

  • Failed test
  • Logfile test-suite.log not available.
@melroy89
Copy link
Contributor

melroy89 commented Dec 5, 2024

Regarding the test-suite.log not available as build artifact. Is because you don't upload any artifact.

https://github.com/actions/upload-artifact

You could combine this upload-artifact action with if: always() to ensure this step is always executed, even if the previous step failed.

Pseudo code:

- uses: actions/upload-artifact@v4
  if: always()
  with:
    name: log-file
    path: *.log

@stappersg
Copy link
Member Author

There is now merge request #237

@stappersg
Copy link
Member Author

Closing this in favor of #237

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

No branches or pull requests

2 participants