[hibernate-issues] [JIRA] (HHH-13901) Hibernate-orm generated XML test reports are missing xmlns definition

Fabio Burzigotti (JIRA) jira at hibernate.atlassian.net
Wed Mar 25 03:52:49 EDT 2020


Fabio Burzigotti ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010061dfd90c30a92f4e ) *updated* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13901?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 ) HHH-13901 ( https://hibernate.atlassian.net/browse/HHH-13901?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 ) Hibernate-orm generated XML test reports are missing xmlns definition ( https://hibernate.atlassian.net/browse/HHH-13901?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 )

Change By: Fabio Burzigotti ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a010061dfd90c30a92f4e )

XML reports generated by hibernate-orm test suite gradle execution do not include any namespace definition and this causes several issues when trying to process them, see attached report generated by

{ code noformat } # make gradle ignore test failures
echo -e '\ntest { ignoreFailures=true }' >> hibernate-core/hibernate-core. gradle
echo -e '\ntest { ignoreFailures=true }' >> hibernate-agroal / hibernate-agroal.gradle
echo -e '\ntest { ignoreFailures=true }' >> hibernate-c3p0/hibernate-c3p0.gradle
echo -e '\ntest { ignoreFailures=true }' >> hibernate-ehcache/hibernate-ehcache.gradle
echo -e '\ntest { ignoreFailures=true }' >> hibernate-envers/hibernate-envers.gradle
echo -e '\ntest { ignoreFailures=true }' >> hibernate-proxool/hibernate-proxool.gradle

./ gradlew test -Dmaven. repo. url=http://jcenter. bintray.com -Dgradle.plugin.url=https://plugins.gradle.org/m2/ \
-Dhibernate.show_sql=true -Dhibernate.format_sql=true --info --stacktrace -x :hibernate-core:classes \
-x :hibernate-envers:classes -x :hibernate-ehcache:test -x :hibernate-hikaricp:test -x :hibernate-jcache:test \
-x :hibernate-vibur:test -x :hibernate-osgi:test -x :documentation:test -x :hibernate-spatial:test \
-x :hibernate-testing:test --project-cache-dir=/tmp --continue -g local-home { code noformat }

Also - regarding documentation - it would be definitely good to know what is the XSD used by the XML report generation tool.

( https://hibernate.atlassian.net/browse/HHH-13901#add-comment?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13901#add-comment?atlOrigin=eyJpIjoiZjNlOTEzYzUyYzcyNDRmYTgyZThjZGEzZGExMjcxYjciLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100122- sha1:092c6a7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200325/a36e4099/attachment.html 


More information about the hibernate-issues mailing list