dev@glassfish.java.net

jdbc test failures

From: Nandini Ektare <Nandini.Ektare_at_Sun.COM>
Date: Thu, 03 Sep 2009 20:18:33 -0700

Anyone sees these build errors on windows on the latest build? Any known
issues?

Thanks,
Nandini

[INFO]
------------------------------------------------------------------------
[INFO] Building JDBC Module
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [enforcer:enforce {execution: enforce-versions}]
[INFO] [osgiversion:compute-osgi-version {execution: compute-osgi-version}]
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [hk2-jar,
bundle]
[INFO] [site:attach-descriptor]
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing C:\work\vthree\v3\jdbc\pom.xml to C:\Documents and
Settings\Nandini
Ektare\.m2\repository\org\glassfish\jdbc\jdbc\3.0-SNAPSHOT\jdbc-3.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building JDBC admin
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: C:\work\vthree\v3\jdbc\admin\target (included:
[**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-versions}]
[INFO] [osgiversion:compute-osgi-version {execution: compute-osgi-version}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [hk2:hk2-compile]
[INFO] Compiling 9 source files to
C:\work\vthree\v3\jdbc\admin\target\classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[INFO] [bundle:manifest {execution: bundle-manifest}]
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [hk2:hk2-test-compile]
[INFO] Compiling 4 source files to
C:\work\vthree\v3\jdbc\admin\target\test-classes
Note:
C:\work\vthree\v3\jdbc\admin\src\test\java\org\glassfish\jdbc\admin\cli\ListJdbcResourcesTest.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\work\vthree\v3\jdbc\admin\target\surefire-reports
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.glassfish.jdbc.admin.cli.ListJdbcResourcesTest
Tests run: 6, Failures: 2, Errors: 0, Skipped: 2, Time elapsed: 16.438
sec <<< FAILURE!
Running org.glassfish.jdbc.admin.cli.TestDocument
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.glassfish.jdbc.admin.cli.CreateJdbcResourceTest
Tests run: 6, Failures: 4, Errors: 0, Skipped: 1, Time elapsed: 0.11 sec
<<< FAILURE!
Running org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest
Tests run: 10, Failures: 4, Errors: 4, Skipped: 2, Time elapsed: 0.015
sec <<< FAILURE!

Results :

Failed tests:
  
testExecuteSuccessListBob(org.glassfish.jdbc.admin.cli.ListJdbcResourcesTest)
  
testExecuteSuccessListNoBob(org.glassfish.jdbc.admin.cli.ListJdbcResourcesTest)
  testExecuteSuccess(org.glassfish.jdbc.admin.cli.CreateJdbcResourceTest)
  
testExecuteSuccessDefaultValues(org.glassfish.jdbc.admin.cli.CreateJdbcResourceTest)
  
testExecuteSuccessNoValueOptionEnabled(org.glassfish.jdbc.admin.cli.CreateJdbcResourceTest)
  
testExecuteFailDuplicateResource(org.glassfish.jdbc.admin.cli.CreateJdbcResourceTest)
  
testExecuteSuccessDefaultTarget(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteFailDoesNotExist(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteSuccessTargetServer(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteFailInvalidTarget(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)

Tests in error:
  
testExecuteSuccessDefaultTarget(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteFailDoesNotExist(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteSuccessTargetServer(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)
  
testExecuteFailInvalidTarget(org.glassfish.jdbc.admin.cli.DeleteJdbcResourceTest)

Tests run: 23, Failures: 10, Errors: 4, Skipped: 6

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to C:\work\vthree\v3\jdbc\admin\target\surefire-reports for
the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 31 minutes 48 seconds
[INFO] Finished at: Thu Sep 03 19:15:32 PDT 2009
[INFO] Final Memory: 144M/280M
[INFO]
------------------------------------------------------------------------