dev@glassfish.java.net

GlassFish v3 system test failures

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 06 Oct 2008 15:32:57 -0700

My nightly build/test for v3 has started failing when testing.
Is there something I need to fix on my system to make this work?

Removing my .m2 directory didn't make any difference.

Switching from maven 2.0.8 to maven 2.0.7 didn't make any difference.



-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running com.sun.enterprise.universal.glassfish.GFSystemTest
Parent Thread xxx--> foo = xxx
GrandChild Thread of zzz --> foo = zzz
Child Thread of xxx --> foo = xxx
Child Thread of zzz --> foo = zzz
Parent Thread yyy--> foo = yyy
Parent Thread zzz--> foo = zzz
GrandChild Thread of xxx --> foo = xxx
Child Thread of yyy --> foo = yyy
GrandChild Thread of yyy --> foo = yyy
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.272 sec
Running com.sun.enterprise.universal.BASE64DecoderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running com.sun.enterprise.universal.StringUtilsTest
removeEnclosingQuotes
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running com.sun.enterprise.universal.xml.MiniXmlParserTest
Tests run: 13, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.295 sec <<<
FAILURE!
Running com.sun.enterprise.universal.DurationTest
********* START Duration Output Strings ***************
3 Weeks, 6 days, 23 hours, 59 minutes, 59 seconds
7 Weeks, 6 days, 23 hours, 59 minutes, 59 seconds
2,022 Weeks, 4 days, 10 hours, 19 minutes, 11 seconds
27,188 milliseconds
2 milliseconds
********* END Duration Output Strings ***************
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running com.sun.enterprise.universal.glassfish.ASenvPropertyReaderTest
INSTALL-DIR: /cache/tmp/v3/common/common-util/target/test-classes
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec
Running com.sun.enterprise.universal.io.SmartFileTest
c:/ --> /cache/tmp/v3/common/common-util/c:
c: --> /cache/tmp/v3/common/common-util/c:
  --> /cache/tmp/v3/common/common-util
\foo --> /cache/tmp/v3/common/common-util/\foo
/ --> /
/xxx/yyy/././././../yyy --> /xxx/yyy
/x/y/z/../../../temp --> /temp
\\ --> /cache/tmp/v3/common/common-util/\\
\\foo\goo\hoo --> /cache/tmp/v3/common/common-util/\\foo\goo\hoo
x/y/../../../.. --> /cache/tmp/v3
/x/y/../../../.. --> /
/./../.././../ --> /
/::::/x/yy --> /::::/x/yy
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running com.sun.enterprise.universal.collections.ManifestUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec

Results :

Tests in error:
   test1(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test4(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test5(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test6(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test7(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test8(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test9(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test10(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   test11(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   testNoClosingDomainRightOrder(com.sun.enterprise.universal.xml.MiniXmlParserTest)
   testNoClosingDomainWrongOrder(com.sun.enterprise.universal.xml.MiniXmlParserTest)

Tests run: 26, Failures: 0, Errors: 11, Skipped: 0

[ERROR] BUILD FAILURE

Please refer to /cache/tmp/v3/common/common-util/target/surefire-reports for the
individual test results.





Looking at the detailed reports, I see this error:

Tests run: 13, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.296 sec <<<
FAILURE!
test1(com.sun.enterprise.universal.xml.MiniXmlParserTest) Time elapsed: 0.152 s
ec <<< ERROR!
javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFa
ctory could not be instantiated: java.lang.InstantiationException
         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158
)