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

Fix JUnit failure reporting #10121

Merged
merged 5 commits into from
Feb 16, 2022
Merged

Fix JUnit failure reporting #10121

merged 5 commits into from
Feb 16, 2022

Conversation

driazati
Copy link
Member

@driazati driazati commented Feb 1, 2022

Currently we only collect reports when the junit function runs in the Jenkinsfile, which only happens if the earlier test scripts didn't fail. We should always try to collect whatever reports are there, so this wraps everything in try..finally which is apparently the only way to do this in a scripted pipeline (another point where moving to a declarative pipeline would simplify things). A bunch of the JUnits are also colliding and getting overwritten before Jenkins ingests them, so this fixes that as well.

Note for reviewing: first commit is all whitespace, see this commit for significant changes

cc @areusch @Mousius

@driazati driazati marked this pull request as ready for review February 8, 2022 21:34
@driazati driazati requested a review from a team as a code owner February 8, 2022 21:34
@github-actions github-actions bot requested review from areusch and removed request for a team February 8, 2022 21:34
@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

It has been a while since this PR was updated, @areusch please leave a review or address the outstanding comments

@Mousius Mousius self-assigned this Feb 15, 2022
@Mousius
Copy link
Member

Mousius commented Feb 15, 2022

Branch check is away!

@areusch areusch merged commit 646d155 into apache:main Feb 16, 2022
@areusch
Copy link
Contributor

areusch commented Feb 16, 2022

thanks @driazati !

pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
* Fix spacing

* Add try..finally everywhere

* trigger ci

* Fix pytest invocations

* Remove junit collection where no files exist

Co-authored-by: driazati <driazati@users.noreply.github.com>
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.

3 participants