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

tvx tests silently fail during GitHub Actions build #138

Open
kleag opened this issue Jun 10, 2022 · 0 comments
Open

tvx tests silently fail during GitHub Actions build #138

kleag opened this issue Jun 10, 2022 · 0 comments
Assignees

Comments

@kleag
Copy link
Contributor

kleag commented Jun 10, 2022

Describe the bug
During github actions build, tvx is executed to check errors on xml analysis. Currently, it fails without causing a build error which is wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/aymara/lima/runs/6770311102?check_suite_focus=true#step:8:13852
  2. See that it failed without causing an error:
#42 [37/44] RUN /bin/bash -c "set -o pipefail && tvx --language=eng --language=fre test-fre.xmlreader.xml 2>&1 | tee tvx-fre.log"
#42 2.612 process tests in  "test-fre.xmlreader.xml"
#42 2.614  : Common::AbstractProcessingClient : 2022-06-07T09:03:39.219 ERROR 0x55ec1dc92be0 "/src/lima/lima_common/src/common/Handler/AbstractProcessingClientHandler.h:52: AbstarctProcessingHandler::no Client for clientIdTITLE" 
#42 2.614 caught LimaException : 
#42 2.614 /src/lima/lima_common/src/common/Handler/AbstractProcessingClientHandler.h:52: AbstarctProcessingHandler::no Client for clientIdTITLE
#42 2.614 
#42 2.614 =========================================================
#42 2.614 
#42 2.614   TestReport :   test-fre.xmlreader.xml 
#42 2.614 
#42 2.614 	type           	success	cond.	failed	total
#42 2.614 ---------------------------------------------------------
#42 2.614 	bloquant       	0	0	0	1
#42 2.614 ---------------------------------------------------------
#42 2.614 	total          	0	0	0	1
#42 2.614 =========================================================

Expected behavior
The GitHub Action should stop on error

Thanks to @romaricb for pointing out this issue.

@kleag kleag self-assigned this Jun 10, 2022
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

1 participant