Boyang Chen created KAFKA-8462:
----------------------------------

             Summary: flakey test RestServerTest#testCORSEnabled
                 Key: KAFKA-8462
                 URL: https://issues.apache.org/jira/browse/KAFKA-8462
             Project: Kafka
          Issue Type: Bug
            Reporter: Boyang Chen


*https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/22374/console*

*21:27:25* org.apache.kafka.connect.runtime.rest.RestServerTest > 
testCORSEnabled STARTED*21:27:26* 
org.apache.kafka.connect.runtime.rest.RestServerTest.testCORSEnabled failed, 
log available in 
/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11/connect/runtime/build/reports/testOutput/org.apache.kafka.connect.runtime.rest.RestServerTest.testCORSEnabled.test.stdout*21:27:26*
 *21:27:26* org.apache.kafka.connect.runtime.rest.RestServerTest > 
testCORSEnabled FAILED*21:27:26*     
org.apache.kafka.connect.errors.ConnectException: Unable to initialize REST 
server*21:27:26*         at 
org.apache.kafka.connect.runtime.rest.RestServer.initializeServer(RestServer.java:180)*21:27:26*
         at 
org.apache.kafka.connect.runtime.rest.RestServerTest.checkCORSRequest(RestServerTest.java:217)*21:27:26*
         at 
org.apache.kafka.connect.runtime.rest.RestServerTest.testCORSEnabled(RestServerTest.java:87)*21:27:26*
 *21:27:26*         Caused by:*21:27:26*         java.io.IOException: Failed to 
bind to 0.0.0.0/0.0.0.0:8083*21:27:26*             at 
org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)*21:27:26*
             at 
org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)*21:27:26*
             at 
org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)*21:27:26*
             at 
org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)*21:27:26*
             at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)*21:27:26*
             at 
org.eclipse.jetty.server.Server.doStart(Server.java:396)*21:27:26*             
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)*21:27:26*
             at 
org.apache.kafka.connect.runtime.rest.RestServer.initializeServer(RestServer.java:178)*21:27:26*
             ... 2 more*21:27:26* *21:27:26*             Caused by:*21:27:26*   
          java.net.BindException: Address already in use*21:27:26*              
   at sun.nio.ch.Net.bind0(Native Method)*21:27:26*                 at 
sun.nio.ch.Net.bind(Net.java:433)*21:27:26*                 at 
sun.nio.ch.Net.bind(Net.java:425)*21:27:26*                 at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)*21:27:26*
                 at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)*21:27:26*      
           at 
org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)*21:27:26*
                 ... 9 more*21:27:26*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to