Skip to content

Tests failures should fail pipeline stage#517

Open
jasonmreding wants to merge 1 commit into
masterfrom
users/jreding/ReentrancyFixes
Open

Tests failures should fail pipeline stage#517
jasonmreding wants to merge 1 commit into
masterfrom
users/jreding/ReentrancyFixes

Conversation

@jasonmreding

Copy link
Copy Markdown
Collaborator

The build_release_artifacts workflow has a Run CI Tests step that can never fail because the python script does not return a non-zero exit code when test failures are detected.

Comment thread tests/run_tests.py
failed_test_results += run_result
failed_test_results += run_result
if (failed_test_results != ""):
_logger.exception(failed_test_results)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that makes sense. _logger.exception takes a str but it expects to be called from an except block.
https://docs.python.org/3/library/logging.html#logging.Logger.exception

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants