dev@glassfish.java.net

Re: QL failures

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 19 Oct 2009 15:20:31 -0700

I just did a fresh checkout, created a new domain.

      [echo] [testng] ===============================================
      [echo] [testng] QuickLookTests
      [echo] [testng] Total tests run: 107, Failures: 0, Skips: 0
      [echo] [testng] ===============================================


On Oct 19, 2009, at 3:08 PM, Ken Cavanaugh wrote:

> I just brought over a fresh copy of GFv3, did mvn -U install, and
> ran the QL
> and got 4 failures:
>
> [testng] ===============================================
> [testng] jdbc_user_tx
> [testng] Tests run: 2, Failures: 0, Skips: 0
> [testng] ===============================================
>
> [testng] Unexpected return code: 404
> [testng] FAILED: persistWithInjectEMF
> [testng] java.lang.AssertionError: Unexpected Results
> expected:<true> but was:<false>
> [testng] at
> test.jpa.jpainjectemf.JpaInjectEMFTestNG.persistWithInjectEMF
> (JpaInjectEMFTestNG.java:64)
> [testng] ... Removed 26 stack frames
> [testng] SKIPPED: lazyLoadingByQuery
>
> [testng] ===============================================
> [testng] jpa_inject_emf
> [testng] Tests run: 2, Failures: 1, Skips: 1
> [testng] ===============================================
>
> [testng] Unexpected return code: 404
> [testng] FAILED: initialize
> [testng] java.lang.AssertionError: Unexpected Results
> expected:<true> but was:<false>
> [testng] at
> test.jpa.jpavalidation.JpaValidationTestNG.initialize
> (JpaValidationTestNG.java:64)
> [testng] ... Removed 26 stack frames
> [testng] SKIPPED: validatePersist
> [testng] SKIPPED: validateUpdate
> [testng] SKIPPED: validateRemove
> [testng] SKIPPED: verify
>
> ...
>
> [testng] ===============================================
> [testng] ejb_singleton_ear_redeploy
> [testng] Tests run: 2, Failures: 0, Skips: 0
> [testng] ===============================================
>
> [testng] Unexpected return code: 404
> [testng] PASSED: SetName
> [testng] FAILED: EJBInject
> [testng] java.lang.AssertionError: Unexpected Results
> expected:<true> but was:<false>
> [testng] at test.ejb.slsbnicmt.SlsbnicmtTestNG.EJBInject
> (SlsbnicmtTestNG.java:60)
> [testng] ... Removed 26 stack frames
> [testng] SKIPPED: GetName
> [testng] SKIPPED: JpaPersist
> [testng] SKIPPED: JpaRemove
> [testng] SKIPPED: JpaVerify
>
> ...
>
> [testng] java.io.IOException: Server returned HTTP response code:
> 500 for URL: http://localhost:8080/simple-bv-servlet/test
> [testng] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [testng] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance
> (NativeConstructorAccessorImpl.java:39)
> [testng] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
> [testng] at java.lang.reflect.Constructor.newInstance
> (Constructor.java:513)
> [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run
> (HttpURLConnection.java:1368)
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException
> (HttpURLConnection.java:1362)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:1016)
> [testng] at
> test.bv.servlet.simple.SimpleBVServletTestNG.executeServlet
> (SimpleBVServletTestNG.java:83)
> [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [testng] at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> [testng] at java.lang.reflect.Method.invoke(Method.java:597)
> [testng] at org.testng.internal.MethodHelper.invokeMethod
> (MethodHelper.java:604)
> [testng] at org.testng.internal.Invoker.invokeMethod
> (Invoker.java:470)
> [testng] at org.testng.internal.Invoker.invokeTestMethod
> (Invoker.java:564)
> [testng] at org.testng.internal.Invoker.invokeTestMethods
> (Invoker.java:830)
> [testng] at
> org.testng.internal.TestMethodWorker.invokeTestMethods
> (TestMethodWorker.java:125)
> [testng] at org.testng.internal.TestMethodWorker.run
> (TestMethodWorker.java:109)
> [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
> [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
> [testng] at org.testng.TestRunner.run(TestRunner.java:495)
> [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
> [testng] at org.testng.SuiteRunner.runSequentially
> (SuiteRunner.java:295)
> [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:
> 275)
> [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
> [testng] at org.testng.TestNG.createAndRunSuiteRunners
> (TestNG.java:792)
> [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
> [testng] at org.testng.TestNG.run(TestNG.java:699)
> [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
> [testng] at org.testng.TestNG.main(TestNG.java:802)
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/simple-bv-servlet/test
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:1313)
> [testng] at java.net.HttpURLConnection.getResponseCode
> (HttpURLConnection.java:373)
> [testng] at
> test.bv.servlet.simple.SimpleBVServletTestNG.executeServlet
> (SimpleBVServletTestNG.java:81)
> [testng] ... 22 more
> [testng] FAILED: executeServlet
> [testng] java.lang.Exception: java.io.IOException: Server returned
> HTTP response code: 500 for URL: http://localhost:8080/simple-bv-servlet/test
> [testng] at
> test.bv.servlet.simple.SimpleBVServletTestNG.executeServlet
> (SimpleBVServletTestNG.java:129)
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/simple-bv-servlet/test
> [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run
> (HttpURLConnection.java:1368)
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException
> (HttpURLConnection.java:1362)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:1016)
> [testng] at
> test.bv.servlet.simple.SimpleBVServletTestNG.executeServlet
> (SimpleBVServletTestNG.java:83)
> [testng] ... 22 more
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/simple-bv-servlet/test
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:1313)
> [testng] at java.net.HttpURLConnection.getResponseCode
> (HttpURLConnection.java:373)
> [testng] at
> test.bv.servlet.simple.SimpleBVServletTestNG.executeServlet
> (SimpleBVServletTestNG.java:81)
> [testng] ... 22 more
> [testng] ... Removed 26 stack frames
>
> [testng] ===============================================
> [testng] bv_servlet_simple
> [testng] Tests run: 1, Failures: 1, Skips: 0
> [testng] ===============================================
>
> I am using JDK 1.6.0_16 on OpenSolaris 09/06.
>
> Any idea why I'm getting these failures? I don't see any traffic on
> the alias about others seeing similar
> failures.
>
> Thanks,
>
> Ken.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team