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

Bluepill reporting issue #523

Open
ravimandala opened this issue Jan 12, 2022 · 2 comments
Open

Bluepill reporting issue #523

ravimandala opened this issue Jan 12, 2022 · 2 comments

Comments

@ravimandala
Copy link
Contributor

Bluepill logs fail to parse xml test reports and throws errors like...

{6971} 20220112.005927 [  INFO  ] (BLUEPILL) All BPs have finished.
{6971} 20220112.005927 [  INFO  ] (BLUEPILL) Trace profile: /<redacted>/bin/VoyagerScenarioTests9_xcscheme.sh.runfiles/__main__/bp_exec_root/outputs/trace-profile.json
{6971} 20220112.005932 [  ERROR ] (BLUEPILL) Failed to parse '/<redacted>/bin/VoyagerScenarioTests9_xcscheme.sh.runfiles/__main__/bp_exec_root/outputs/BP-8/TEST-VoyagerParticipateUnitTests-2-results.xml': line 1 column 1 - Warning: discarding unexpected plain text
1 warning, 0 errors were found!

{6971} 20220112.005932 [  ERROR ] (BLUEPILL) SOME TESTS MIGHT BE MISSING
{6971} 20220112.005932 [  ERROR ] (BLUEPILL) Failed to parse '/<redacted>/bin/VoyagerScenarioTests9_xcscheme.sh.runfiles/__main__/bp_exec_root/outputs/BP-8/TEST-VoyagerParticipateUnitTests-3-results.xml': line 1 column 1 - Warning: discarding unexpected plain text
1 warning, 0 errors were found!

{6971} 20220112.005932 [  ERROR ] (BLUEPILL) SOME TESTS MIGHT BE MISSING
{6971} 20220112.005932 [  ERROR ] (BLUEPILL) Failed to parse '/<redacted>/bin/VoyagerScenarioTests9_xcscheme.sh.runfiles/__main__/bp_exec_root/outputs/BP-8/TEST-VoyagerParticipateUnitTests-4-results.xml': line 1 column 1 - Warning: discarding unexpected plain text
1 warning, 0 errors were found!

{6971} 20220112.005932 [  ERROR ] (BLUEPILL) SOME TESTS MIGHT BE MISSING
{6971} 20220112.005933 [  INFO  ] (BLUEPILL) HTML report: /<redacted>/bin/VoyagerScenarioTests9_xcscheme.sh.runfiles/__main__/bp_exec_root/outputs/0-test-report.html

In the above example, while TEST-VoyagerParticipateUnitTests-3-results.xml and TEST-VoyagerParticipateUnitTests-4-results.xml were valid xml files, the file TEST-VoyagerParticipateUnitTests-2-results.xml has the below text which I believe is causing the issue.

NO LOG: JUnitReporter

Please take a look.
\cc @ob @chenxiao0228

@ravimandala
Copy link
Contributor Author

This issue might be a duplicate of the issue-#517. Will test it with a release after the fix PR-#515 and resolve both these issues.

@ravimandala
Copy link
Contributor Author

While PR#515 might have fixed Issue#517, the reason why some reports have the below text might still needs to be fixed.

NO LOG: JUnitReporter

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

No branches or pull requests

1 participant