-
Notifications
You must be signed in to change notification settings - Fork 242
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 e2e result junit format #4376
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@lilyLuLiu: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
Can you provide more details about what's going wrong? It looks like we are getting malformed XML and are fixing it with sed? Is there a way to fix the input data so that it's well forme xml? |
Yeah not sure about this exact case, but what I can tell is that junit does not have a unified accepted xml schema it has several versions and depending on the tool it uses one or another, so may this is the reasoning for this, but if we do it here (customize it) we need to know which schema we will comply with. |
What I detect reviewing the attach xml files is some tags are writed with I have to do similar replacements than Lu to have a readable text:
checking https://reportportal.io/docs/log-data-in-reportportal/ImportDataToReportPortal/ |
We have this info from reportportal maintainers: reportportal/reportportal#1038 I just import one example with failures: and basically We only have the message attribute with the message from test. So a cleaner solution would be to transform xml to set the filter.xsl
test.xml
result is:
|
Fixes: Issue #4373