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

No command response within timeout of 30000 ms. #483

Open
miPlodder opened this issue May 23, 2023 · 1 comment
Open

No command response within timeout of 30000 ms. #483

miPlodder opened this issue May 23, 2023 · 1 comment

Comments

@miPlodder
Copy link

miPlodder commented May 23, 2023

When I execute below mentioned command with 2 profiles jacoco and integration-test, I see integration tests runs successfully. whereas Jacoco profile fails.

mvn -T4 clean install -P docker -D skipTests && mvn -pl com.princetonecom.clientconsole:clientconsole-test verify -P jacoco,integration-test

Logs

java.lang.RuntimeException: Could not run @AfterSuite
	at test-SNAPSHOT.ear//org.jboss.arquillian.junit.AdaptorManager.shutdown(AdaptorManager.java:53)
	at test.ear//org.jboss.arquillian.junit.AdaptorManagerWithNotifier$1.testRunFinished(AdaptorManagerWithNotifier.java:29)
	at test-SNAPSHOT.ear//org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
	at test-SNAPSHOT.ear//org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
	at test-SNAPSHOT.ear//org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
	at test-SNAPSHOT.ear//org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
	at test-SNAPSHOT.ear//org.junit.runner.JUnitCore.run(JUnitCore.java:138)
	at test-SNAPSHOT.ear//org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at test-SNAPSHOT.ear//org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:61)
	at test-SNAPSHOT.ear//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:139)
	at test-SNAPSHOT-war.war//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:117)
	at test-SNAPSHOT-war.war//org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:86)
	at [email protected]//javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
	at [email protected]//javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
	at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
...
[email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
	at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
	at [email protected]//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: No command response within timeout of 30000 ms.
	at test-SNAPSHOT.ear-war.war//org.jboss.arquillian.protocol.servlet.runner.ServletCommandService.execute(ServletCommandService.java:54)
	at test-SNAPSHOT.ear//org.jboss.arquillian.extension.jacoco.container.ShutdownCoverageData.writeCoverageData(ShutdownCoverageData.java:63)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
	at test-SNAPSHOT.ear//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
	at test-SNAPSHOT.ear//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
	at test-SNAPSHOT.ear//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.afterSuite(EventTestRunnerAdaptor.java:75)
	at test-SNAPSHOT.ear//org.jboss.arquillian.junit.AdaptorManager.shutdown(AdaptorManager.java:44)
	... 90 more

On my further analysis, I see https://github.com/arquillian/arquillian-core/blob/master/protocols/servlet/src/main/java/org/jboss/arquillian/protocol/servlet/runner/ServletCommandService.java#L54, it coming from here. I have started to face this issue after moving my project to Spring and AspectJ. Is it a known issue?

@starksm64
Copy link
Member

I can't say it is a known issue. Do you have an example project repo that illustrates this?

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

2 participants