Skip to content

JUnitReport system-out tag without CDATA #1084

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

Closed
harmonicaCz opened this issue Jun 26, 2020 · 1 comment · Fixed by #1085
Closed

JUnitReport system-out tag without CDATA #1084

harmonicaCz opened this issue Jun 26, 2020 · 1 comment · Fixed by #1085
Labels
Milestone

Comments

@harmonicaCz
Copy link

Describe the bug
Hello,
I try to updated to the new version 3.1.10 (from 3.1.6) and for junit_report was removed CDATA(start, end) tag cover for tag in xml. Is there any reason for it or it`s a bug? Since we used in system logs lot of the special chars (like <,>, -...) then generated junit_report.xml in jenkins is unable to parse it.
Second question: is there any possibility to disable the system-out for tests?

Provide version info
Information about utPLSQL and Database version,

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

Information about client software
I tested for TOAD and also through the utplsql-cli (3.1.7)
UT v3.1.6.2735 (working)
UT v3.1.10 (not work)

Expected behavior
Jenkins could parse xml output file for junit report.
So the system-out has to be like this:

Example code

2020-06-26 12:28:27.922|8|gloTest2.startWatchingQueue ||Attached to TCQ_SAP_S. Last message ID: 150654, last IPC message ID: 21928443 2020-06-26 12:28:27.923|8|tstPESxADJArbPTG.L_createS35T0C02 ||-> create telegram S35T0C02... 2020-06-26 12:28:27.924|8|ADJArbPTG.processS35T0C02 ||-> 2020-06-26 12:28:27.924|8|ADJArbPTG.processS35T0C02 ||FOLGEST = 20190002 2020-06-26 12:28:27.925|8|kmp***ADJArbPTG.processS35T0C02 ||MAT 18100102[1151257] 2020-06-26 12:28:27.926|8|kmp***ADJArbPTG.L_moveMaterial ||Located at HBK RPL[1, 0727, 1] UOP[2, 1, M] meID: 1151257 2020-06-26 12:28:27.926|8|entLagerPTG.getLager4SAP ||-> SAP LagerTyp / LagerPlatz: / 0727 2020-06-26 12:28:27.972|8|entLagerPTG.getLager4SAP ||<- HBK

Additional context
I tested from 3.1.6 to 3.1.10 and since 3.1.7 the CDATA tag => are missing.

@jgebal jgebal added the bug label Jun 28, 2020
@jgebal
Copy link
Member

jgebal commented Jun 28, 2020

Thanks for reporting this issue @harmonicaCz
It is clearly a regression issue.

I'm looking at fixing it now.

jgebal added a commit that referenced this issue Jun 28, 2020
@jgebal jgebal added this to the 3.1.11 milestone Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants