Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulate run of the tests to capture all kind of exception #160

Open
surli opened this issue Mar 21, 2018 · 0 comments
Open

Encapsulate run of the tests to capture all kind of exception #160

surli opened this issue Mar 21, 2018 · 0 comments

Comments

@surli
Copy link
Collaborator

surli commented Mar 21, 2018

I got Repairnator crashing because of a test throwing an exception:

22:10:21.715 [pool-5-thread-1] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
22:10:21.715 [pool-5-thread-1] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation com.weaverplatform.postgresql.Application:81 which is executed by 7 tests
-1072845519
22:10:21.830 [pool-5-thread-1] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
2018-03-20 17:10:22 ERROR Spark - ignite failed
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:298)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:431)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at spark.embeddedserver.jetty.EmbeddedJettyServer.ignite(EmbeddedJettyServer.java:130)
at spark.Service.lambda$init$2(Service.java:504)
at java.lang.Thread.run(Thread.java:745)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant