dev@glassfish.java.net

Re: Hudson QL job failing for last 17 hours

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Tue, 09 Sep 2008 10:26:22 -0700

Amy Roh wrote:
> I ran QL for 22477 and it passed for me. It still passes for me. Let
> me try with a clean workspace.
I tried with a clean workspace from this morning and get 1 failure which
is related to 6001. Result : Total tests run: 29, Failures: 1, Skips: 0

   [testng] Running TestMethod webtest
   [testng] URL is: http://localhost:8080/hellojsf/index.jsp
   [testng] Connecting to: http://localhost:8080/hellojsf/index.jsp
   [testng] java.net.ConnectException: Connection refused: connect
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:7
32)
   [testng] at
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
tpURLConnection.java:957)
   [testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.
java:367)
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstP
agetest(helloJSFTestNG.java:97)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   [testng] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
   [testng] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
   [testng] at java.lang.reflect.Method.invoke(Method.java:585)
   [testng] at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.ja
va: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:83
0)
   [testng] at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMe
thodWorker.java:125)
   [testng] at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.jav
a: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] FAILED: jsfAppDeployedFirstPagetest
   [testng] java.lang.Exception: java.net.ConnectException: Connection
refused:
connect
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstP
agetest(helloJSFTestNG.java:122)
   [testng] Caused by: java.net.ConnectException: Connection refused:
connect
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:7
32)
   [testng] at
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
tpURLConnection.java:957)
   [testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.
java:367)
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstP
agetest(helloJSFTestNG.java:97)
   [testng] ... 22 more
   [testng] ... Removed 22 stack frames
   [testng]
   [testng] ===============================================
   [testng] classloader_jsf
   [testng] Tests run: 1, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] URL is: http://localhost:8080/hellojsp/simpleservlet
   [testng] Connecting to: http://localhost:8080/hellojsp/simpleservlet
   [testng] <title>Sample Application Servlet Page</title>
   [testng] <h1>Sample Application Servlet</h1>
   [testng] URL is: http://localhost:8080/hellojsp/hello.jsp
   [testng] Connecting to: http://localhost:8080/hellojsp/hello.jsp
   [testng] <h1>JSP Test Page</h1>
   [testng] URL is: http://localhost:8080
   [testng] Connecting to: http://localhost:8080
   [testng] </table> <h1>Your Application Server is now running</h1>
<p>To repl
ace this page, overwrite the file <code>index.html</code> in the default
documen
t root folder of this server. The default document root folder is
located at <v
ar>as-install</var><code>/domains/domain1/docroot</code>,
   [testng] URL is: http://localhost:8080/hellojsp/first.html
   [testng] Connecting to: http://localhost:8080/hellojsp/first.html
   [testng] Welcome to HTML Test Program. This tests following thing
   [testng] PASSED: simpleServletTest
   [testng] PASSED: simpleJSPTestPage
   [testng] PASSED: testServerRunning
   [testng] PASSED: staticHTMLPageTest
   [testng]
   [testng] ===============================================
   [testng] web_jspservlet_war
   [testng] Tests run: 4, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] Running TestMethod SimpleHTMLTest
   [testng] URL is: http://localhost:8080/jsfastrologer/index.jsp
   [testng] Connecting to: http://localhost:8080/jsfastrologer/index.jsp
   [testng] <a href="./faces/greetings.jsp">JavaServer Faces
Greetings Page<
/a>
   [testng] Running TestMethod webtest
   [testng] URL is: http://localhost:8080/jsfastrologer/faces/greetings.jsp
   [testng] Connecting to:
http://localhost:8080/jsfastrologer/faces/greetings.j
sp
   [testng] PASSED: jsfIndexPageBasicTest
   [testng] PASSED: jsfAppDeployedFirstPagetest
   [testng]
   [testng] ===============================================
   [testng] jsf_hello_world
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] URL is: http://localhost:8080/jsfinjection/jsfHello.jsf
   [testng] Connecting to: http://localhost:8080/jsfinjection/jsfHello.jsf
   [testng] Connected: 200
   [testng] Received: If injection worked, this sentence should
be follo
wed by the injected words -&gt; Injected entry <br>
   [testng] Received: If second injection worked, this sentence
should b
e followed by 'a non-negative number' === 0
   [testng] injectedNumber = 0
   [testng] Injection2 matched.
   [testng] PASSED: injectedValuesTestPage
   [testng]
   [testng] ===============================================
   [testng] jsf_injection
   [testng] Tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=n
oleak
   [testng] Test Name:Pass<br>no-leak-test:true<br>
   [testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=u
sertx
   [testng] Test
Name:Pass<br>user-tx-commit:true<br>user-tx-rollback:true<br>
   [testng] PASSED: testNoLeak
   [testng] PASSED: testUserTx
   [testng]
   [testng] ===============================================
   [testng] jdbc_user_tx
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llinit
   [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llquery
   [testng] PASSED: test1
   [testng] PASSED: test2
   [testng]
   [testng] ===============================================
   [testng] jpa_inject_emf
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] URL is: http://localhost:8080/hellojspsecure/simpleservlet
   [testng] Connecting to:
http://localhost:8080/hellojspsecure/simpleservlet
   [testng] Anonymous Client access Denied
   [testng] URL is: http://localhost:8080/hellojspsecure/first.html
   [testng] Connecting to: http://localhost:8080/hellojspsecure/first.html
   [testng] Anonymous Client access Denied
   [testng] URL is: http://localhost:8080/hellojspsecure/hello.jsp
   [testng] Connecting to: http://localhost:8080/hellojspsecure/hello.jsp
   [testng] Anonymous Client access Denied
   [testng] URL is: http://localhost:8080
   [testng] Connecting to: http://localhost:8080
   [testng] </table> <h1>Your Application Server is now running</h1>
<p>To repl
ace this page, overwrite the file <code>index.html</code> in the default
documen
t root folder of this server. The default document root folder is
located at <v
ar>as-install</var><code>/domains/domain1/docroot</code>,
   [testng] PASSED: simpleServletTest
   [testng] PASSED: staticHTMLPageTest
   [testng] PASSED: simpleJSPTestPage
   [testng] PASSED: testServerRunning
   [testng]
   [testng] ===============================================
   [testng] security_hello_jsp
   [testng] Tests run: 4, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng]
   [testng] ===============================================
   [testng] FunctionalTests
   [testng] Total tests run: 29, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]

BUILD SUCCESSFUL

>
> I thought we get an email notification if a commit breaks QL.
> Apologies if it indeed was 22477 that broke QL.
>
> On Sep 9, 2008, at 8:12 AM, Sahoo <Sahoo_at_Sun.COM> wrote:
>
>> The last successful QL run was [1], which happened at 1508 PST on
>> Sept 8. It was 16 hours ago. The check in that went in around that
>> time was rev #* *22477 [2]. There have been 24 check-ins since then.
>> I wonder how those engineers ensured that their changes did not break
>> anything.
>>
>> Thanks,
>> Sahoo
>>
>> [1] http://hudson.sfbay/job/v3-dev-builds-quicklook/1740/
>> [2]
>> http://fisheye4.atlassian.com/changelog/glassfish-svn/trunk/v3?cs=22477
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>