[ 
https://issues.apache.org/jira/browse/EAGLE-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509499#comment-15509499
 ] 

ASF GitHub Bot commented on EAGLE-559:
--------------------------------------

GitHub user haoch opened a pull request:

    https://github.com/apache/incubator-eagle/pull/446

    [EAGLE-559] Fix TestServiceAppWithZk test cause failing due to port conflict

    https://issues.apache.org/jira/browse/EAGLE-559

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/haoch/incubator-eagle EAGLE-559

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-eagle/pull/446.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #446
    
----
commit 7555589b3d58d4ea738ef60cf7de9048cde03240
Author: Hao Chen <h...@apache.org>
Date:   2016-09-21T10:10:01Z

    Fix TestServiceAppWithZk test cause failing due to port conflict

----


> Fix TestServiceAppWithZk test cause failing due to port conflict
> ----------------------------------------------------------------
>
>                 Key: EAGLE-559
>                 URL: https://issues.apache.org/jira/browse/EAGLE-559
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>              Labels: alert-engine, alert-service
>             Fix For: v0.5.0
>
>
> {code}
> Regression
> com.apache.eagle.service.app.TestServiceAppWithZk.testMain
> Failing for the past 1 build (Since Failed#127 )
> Took 5.7 sec.
> Error Message
> java.net.BindException: Address already in use
> Stacktrace
> java.lang.RuntimeException: java.net.BindException: Address already in use
>       at 
> org.eclipse.jetty.setuid.SetUIDListener.lifeCycleStarting(SetUIDListener.java:213)
>       at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.setStarting(AbstractLifeCycle.java:187)
>       at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>       at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:43)
>       at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
>       at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
>       at io.dropwizard.cli.Cli.run(Cli.java:70)
>       at io.dropwizard.Application.run(Application.java:72)
>       at 
> com.apache.eagle.service.app.TestServiceAppWithZk.setUp(TestServiceAppWithZk.java:69)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>       at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>       at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>       at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>       at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Caused by: java.net.BindException: Address already in use
>       at sun.nio.ch.Net.bind0(Native Method)
>       at sun.nio.ch.Net.bind(Net.java:433)
>       at sun.nio.ch.Net.bind(Net.java:425)
>       at 
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
>       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>       at 
> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:264)
>       at 
> org.eclipse.jetty.setuid.SetUIDListener.lifeCycleStarting(SetUIDListener.java:200)
>       ... 36 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to