[logback-dev] [JIRA] Commented: (LBCLASSIC-71) Failed tests: lateServerLaunch(ch.qos.logback.classic.net.SocketAppenderTest) in r1815

Joern Huxhorn (JIRA) noreply-jira at qos.ch
Tue Sep 23 20:04:50 CEST 2008


    [ http://jira.qos.ch/browse/LBCLASSIC-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10728#action_10728 ] 

Joern Huxhorn commented on LBCLASSIC-71:
----------------------------------------

Output:
19:51:40,093 |-INFO in ch.qos.logback.classic.net.SocketAppender[socket] - Starting a new connector thread.
19:51:40,093 |-ERROR in ch.qos.logback.classic.net.SocketAppender[socket] - Could not connect to remote logback server at [localhost]. We will try again later. java.net.ConnectException: Connection refused: connect
        at java.net.ConnectException: Connection refused: connect
        at      at java.net.PlainSocketImpl.socketConnect(Native Method)
        at      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at      at java.net.Socket.connect(Socket.java:519)
        at      at java.net.Socket.connect(Socket.java:469)
        at      at java.net.Socket.<init>(Socket.java:366)
        at      at java.net.Socket.<init>(Socket.java:209)
        at      at ch.qos.logback.core.net.SocketAppenderBase.connect(SocketAppenderBase.java:134)
        at      at ch.qos.logback.core.net.SocketAppenderBase.start(SocketAppenderBase.java:85)
        at      at ch.qos.logback.classic.net.SocketAppenderTest.configureClient(SocketAppenderTest.java:234)
        at      at ch.qos.logback.classic.net.SocketAppenderTest.lateServerLaunch(SocketAppenderTest.java:182)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at      at java.lang.reflect.Method.invoke(Method.java:597)
        at      at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at      at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at      at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at      at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at      at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at      at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at      at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at      at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at      at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at      at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at      at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at      at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at      at java.lang.reflect.Method.invoke(Method.java:597)
        at      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
        at      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
19:51:40,125 |-INFO in ch.qos.logback.classic.net.SocketAppender[socket] - Attempting connection to localhost
19:51:40,125 |-INFO in ch.qos.logback.classic.net.SocketAppender[socket] - Connection established. Exiting connector thread.


> Failed tests: lateServerLaunch(ch.qos.logback.classic.net.SocketAppenderTest) in r1815
> --------------------------------------------------------------------------------------
>
>                 Key: LBCLASSIC-71
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-71
>             Project: logback-classic
>          Issue Type: Bug
>         Environment: java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
> Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Joern Huxhorn
>            Assignee: Ceki Gulcu
>
> This test keeps failing on my system:
> java.lang.AssertionError: expected:<1> but was:<0>
> 	[..]
> 	at ch.qos.logback.classic.net.SocketAppenderTest.lateServerLaunch(SocketAppenderTest.java:195)
> Any idea why?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list