[hibernate-issues] [JIRA] (HHH-13904) Test suite execution generates gibberish XML test reports file names

Fabio Burzigotti (JIRA) jira at hibernate.atlassian.net
Wed Mar 25 04:03:51 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=eyJpIjoiODMzMjFkODQyYzcxNGIwZGJiZjFkMzg0MTlmODc2YTciLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13904?atlOrigin=eyJpIjoiODMzMjFkODQyYzcxNGIwZGJiZjFkMzg0MTlmODc2YTciLCJwIjoiaiJ9 ) HHH-13904 ( https://hibernate.atlassian.net/browse/HHH-13904?atlOrigin=eyJpIjoiODMzMjFkODQyYzcxNGIwZGJiZjFkMzg0MTlmODc2YTciLCJwIjoiaiJ9 ) Test suite execution generates gibberish XML test reports file names ( https://hibernate.atlassian.net/browse/HHH-13904?atlOrigin=eyJpIjoiODMzMjFkODQyYzcxNGIwZGJiZjFkMzg0MTlmODc2YTciLCJwIjoiaiJ9 )

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

When executing hibernate-orm test suite gradle through the following command:

{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{noformat}

a lot of XML test reports - mainly in _hibernate-core/target/test-results/test/_ directory- are generated with gibberish file names which make their usage really error prone from automation point of view and actually not really human readable.

See the following examples:

* TEST-#5b0#3a0#3a0.0#5b-01#3a00#5d#20#28JDBC#20write#20date#3a#201#2c970-1-1#29#20#5bJVM#20TZ#3a#20GMT#2c#20JDBC#20TZ#3a#20null#2c#20remapping#20dialect#3a#20null#5d#5d.xml

* TEST-#5b0#3a0#3a0.0#5b#2b00#3a00#5d#20#28JDBC#20write#20date#3a#201#2c892-1-1#29#20#5bJVM#20TZ#3a#20Europe#2fOslo#2c#20JDBC#20TZ#3a#20Europe#2fOslo#2c#20remapping#20dialect#3a#20null#5d#5d

* TEST-#5b0#3a0#3a0.0#5b#2b00#3a00#5d#20#28JDBC#20write#20date#3a#201#2c970-1-1#29#20#5bJVM#20TZ#3a#20Europe#2fOslo#2c#20JDBC#20TZ#3a#20null#2c#20remapping#20dialect#3a#20TimeAsTimestampRemappingH2Dialect#5d#5d

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

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/28e56dd0/attachment.html 


More information about the hibernate-issues mailing list