Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2984

Benchmark tests are setting incorrect date

XMLWordPrintable

      I'm assigning this issue to you Martin because I can't see pmacik in "Assign to" pop up list.
      I found that benchmark tests QA team provided us are failing every last day in every month.
      The tests are trying to set up e.g. 32-nd of March as valid date.

      I can see this failure locally when running our test suite today (31-st of March):

      [INFO] Surefire report directory: /home/opalka/svn/jbossws/stack/native/trunk/modules/testsuite/framework-tests/target/surefire-reports
      org.apache.maven.surefire.booter.SurefireExecutionException: null; nested exception is java.lang.ExceptionInInitializerError: null
      java.lang.ExceptionInInitializerError
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.apache.maven.surefire.testset.PojoTestSet.<init>(PojoTestSet.java:55)
      at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(JUnitDirectoryTestSuite.java:64)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
      at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
      Caused by: java.lang.IllegalArgumentException: Invalid value 32 for Day field.
      at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl.checkFieldValueConstraint(Unknown Source)
      at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl.setDay(Unknown Source)
      at org.jboss.test.ws.jaxws.benchmark.test.datatypes.unwrapped.pojo.CalendarRPCTest.<clinit>(CalendarRPCTest.java:60)
      ... 17 more
      [ERROR] There are test failures.

              pmacik@redhat.com Pavel Macik
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: