Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19056

Test suite execution generates gibberish XML test reports file names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.3.0.GA.CR4
    • Hibernate
    • None

    Description

      This is cloned from the following Hibernate ORM project JIRA: https://hibernate.atlassian.net/browse/HHH-13904

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

      # 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
      

      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

      Attachments

        Issue Links

          Activity

            People

              ssur@redhat.com Sudeshna Sur
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: