-
Notifications
You must be signed in to change notification settings - Fork 84
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
Support JUnit XML test report #340
Conversation
Hi @Amulyam24. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
seems like this failure is happening here as well @Amulyam24 @Rajalakshmi-Girish |
/retest |
@Amulyam24 This failure seems to occur when make lint takes more than 1minute to execute. |
The default value is 1m as mentioned here https://golangci-lint.run/usage/configuration/#command-line-options |
After the initial test failure with timeout, the retests fail with |
Thanks @Rajalakshmi-Girish , will update it. |
this may be because you just vendored but not really installed it. just see if you can install it like here |
@mkumatag, made the required changes, PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at the test results, it just shows only one entry, not sure why?!
@Amulyam24 see if this helps for the ginkgo - https://onsi.github.io/ginkgo/#generating-junit-xml-output |
Yes, go-junit-report is only considering the test suite as a whole and not the individual test cases unlike using the ginkgo package. I'll look more on it.
@mkumatag, are you mentioning about making it optional via the |
not with prow, e.g: if someone triggers these tests manually then it shouldn't generate the xml and generate the xml only if the option mentioned like some env like GENERATE_JUNIT, some of the logic can be derived from the kubernetes/kubernetes repo(something can be worked as followup PR). |
@mkumatag, updated with changes. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Amulyam24, mkumatag The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR provides the ability to generate JUnit XML test reports and populate the prow dashboard accordingly for the unit tests.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #328
Specify your PR reviewers:
/cc @gyliu513 @jichenjc @xunpan @mkumatag
Special notes for your reviewer:
/area provider/ibmcloud
Release note: