See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
Changes:
[Jozef Hartinger] WELD-1859 Document how to run Weld with embedded Tomcat, Jetty
[Jozef Hartinger] Minor docs changes
------------------------------------------
[...truncated 9437 lines...]
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.IllegalStateException: Error launching request at
http://localhost:8080/8c107ec6-6245-4d1c-ab0b-1aed51250cca/ArquillianServ....
No result returned
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:162)
at
org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:122)
at
org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at
org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:102)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
org.jboss.weld.environment.servlet.test.provider.CDIProviderTest Time elapsed: 1.009 sec
<<< ERROR!
java.lang.RuntimeException: Could not invoke deployment method: public static
org.jboss.shrinkwrap.api.spec.WebArchive
org.jboss.weld.environment.servlet.test.provider.CDIProviderTest.getDeployment()
at
org.jboss.shrinkwrap.api.asset.ClassLoaderAsset.<init>(ClassLoaderAsset.java:70)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase$2.classFound(ContainerBase.java:1489)
at
org.jboss.shrinkwrap.impl.base.URLPackageScanner.foundClass(URLPackageScanner.java:178)
at
org.jboss.shrinkwrap.impl.base.URLPackageScanner.handleArchiveByFile(URLPackageScanner.java:146)
at org.jboss.shrinkwrap.impl.base.URLPackageScanner.handle(URLPackageScanner.java:161)
at
org.jboss.shrinkwrap.impl.base.URLPackageScanner.scanPackage(URLPackageScanner.java:127)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase.addPackage(ContainerBase.java:1495)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase.addPackages(ContainerBase.java:1460)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase.addPackages(ContainerBase.java:1440)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase.addPackage(ContainerBase.java:1418)
at
org.jboss.shrinkwrap.impl.base.container.ContainerBase.addPackage(ContainerBase.java:1365)
at
org.jboss.weld.environment.servlet.test.provider.CDIProviderTestBase.deployment(CDIProviderTestBase.java:36)
at
org.jboss.weld.environment.servlet.test.provider.CDIProviderTest.getDeployment(CDIProviderTest.java:33)
org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest Time elapsed: 1.012 sec
<<< ERROR!
java.lang.RuntimeException: Could not invoke deployment method: public static
org.jboss.shrinkwrap.api.spec.WebArchive
org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest.getDeployment()
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTestBase.getBaseDeployment(HSCycleTestBase.java:37)
at
org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest.getDeployment(HSCycleTest.java:33)
Running
org.jboss.weld.environment.servlet.test.context.async.symmetry.ListenerSymmetryTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0 sec <<<
FAILURE! - in
org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTest
org.jboss.weld.environment.servlet.test.context.async.SimpleAsyncListenerTest Time
elapsed: 0 sec <<< ERROR!
java.lang.RuntimeException: Could not invoke deployment method: public static
org.jboss.shrinkwrap.api.spec.WebArchive
org.jboss.weld.environment.servlet.test.context.async.SimpleAsyncListenerTest.deployment()
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.jboss.weld.environment.servlet.test.context.async.SimpleAsyncListenerTestBase.deployment(SimpleAsyncListenerTestBase.java:25)
at
org.jboss.weld.environment.servlet.test.context.async.SimpleAsyncListenerTest.deployment(SimpleAsyncListenerTest.java:37)
org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTest
Time elapsed: 0 sec <<< ERROR!
java.lang.RuntimeException: Could not invoke deployment method: public static
org.jboss.shrinkwrap.api.spec.WebArchive
org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTest.createTestArchive()
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTestBase.baseTestArchive(AdditionalBeanDeploymentArchiveTestBase.java:47)
at
org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTest.createTestArchive(AdditionalBeanDeploymentArchiveTest.java:36)
Apr 30, 2015 4:19:22 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Apr 30, 2015 4:19:22 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service arquillian-tomcat-embedded-7
Apr 30, 2015 4:19:22 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Results :
Failed tests:
ListenerInjectionTest>ListenerInjectionTestBase.testRequestListenerInjection:43
expected:<200> but was:<404>
ListenerInjectionTest>ListenerInjectionTestBase.testSceListenerInjection:51
expected:<200> but was:<404>
ListenerInjectionTest>ListenerInjectionTestBase.testSessionListenerInjection:59
expected:<200> but was:<404>
ServletInjectionTest>ServletInjectionTestBase.testServletInjection:31
expected:<200> but was:<404>
FilterInjectionTest>FilterInjectionTestBase.testFilterInjection:32
expected:<200> but was:<404>
Tests in error:
IsolationDisabledTest.testInterceptorAndDecorator01 » IllegalState Error launc...
IsolationDisabledTest.testInterceptorAndDecorator02 » IllegalState Error launc...
IsolationDisabledTest.testAlternative » IllegalState Error launching test org....
IsolationDisabledTest.testExcludeFilters » IllegalState Error launching test o...
ExampleTest.testSentenceTranslator » Unexpected exception, expected<java.lang...
ExampleTest.testGameGenerator » IllegalState Error launching test org.jboss.we...
MockExampleTest.testMockSentenceTranslator » IllegalState Error launching test...
InterceptorDiscoveryTest.testAllBeanDiscovery » IllegalState Error launching t...
InterceptorDiscoveryTest.testAnnotatedBeanDiscovery » IllegalState Error launc...
CustomNormalScopeDiscoveryTest.testCustomNormalScope » IllegalState Error laun...
CustomNormalScopeDiscoveryTest.testControlSample » IllegalState Error launchin...
BeanDiscoveryInjectionTest.testNoneBeanDiscovery » IllegalState Error launchin...
BeanDiscoveryInjectionTest.testAllBeanDiscovery » IllegalState Error launching...
BeanDiscoveryInjectionTest.testAnnotatedBeanDiscovery » IllegalState Error lau...
StereotypeDiscoveryTest.testBuiltInStereotype » IllegalState Error launching t...
StereotypeDiscoveryTest.testCustomStereotype » IllegalState Error launching te...
StereotypeDiscoveryTest.testControlSample » IllegalState Error launching test ...
AlternativeDiscoveryTest.testAllBeanDiscoveryAlternative » IllegalState Error ...
AlternativeDiscoveryTest.testAnnotatedBeanDiscoveryAlternative » IllegalState ...
AlternativeDiscoveryTest.testNoneBeanDiscoveryAlternative » IllegalState Error...
DecoratorDiscoveryTest.testAllBeanDiscovery » IllegalState Error launching tes...
DecoratorDiscoveryTest.testAnnotatedBeanDiscovery » IllegalState Error launchi...
LibrariesDiscoveredTest.testCamelDeployed » IllegalState Error launching test ...
ResourceInjectionTest.testFieldResourceInjection » IllegalState Error launchin...
ResourceInjectionTest.testMethodResourceInjection » IllegalState Error launchi...
LookupTest.testManagerInJndi » IllegalState Error launching test org.jboss.wel...
LookupTest.testResource » IllegalState Error launching test org.jboss.weld.env...
ConfigTest.testDOS » IllegalState Error launching test org.jboss.weld.environm...
JsfTest>JsfTestBase.testELWithParameters:56 » FailingHttpStatusCode 404 Not Fo...
EnhancedListenerTest.testAloneEnhancedListener » IllegalState Error launching ...
EnhancedListenerShutdownTest>EnhancedListenerShutdownTestBase.testEnhancedListenerNotDestroyingWeldIfListenerRegistered:99
» FailingHttpStatusCode
ConflictingBeansXmlTest.testConflictingDescriptors » IllegalState Error launch...
BeansXmlAlternativeLocationTest.testAlternativeLocation » IllegalState Error l...
DuplicateBeansXmlMergingTest.testDuplicatesInSingleFileAreNotRemoved » IllegalState
BootstrapOrderingTest.testContextInitializedCalledBeforeBeanValidation » IllegalState
CrossContextForwardTest>CrossContextForwardTestBase.testCrossContextForward:49 »
FailingHttpStatusCode
CustomCDIProviderTest.testCustomCDIProvider » IllegalState Error launching tes...
CDIProviderTest.org.jboss.weld.environment.servlet.test.provider.CDIProviderTest »
Runtime
HSCycleTest.org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest » Runtime
SimpleAsyncListenerTest.org.jboss.weld.environment.servlet.test.context.async.SimpleAsyncListenerTest
» Runtime
AdditionalBeanDeploymentArchiveTest.org.jboss.weld.environment.servlet.test.deployment.bda.additional.AdditionalBeanDeploymentArchiveTest
» Runtime
Tests run: 49, Failures: 5, Errors: 41, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:01.315s
[INFO] Finished at: Thu Apr 30 04:19:23 EDT 2015
[INFO] Final Memory: 32M/313M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test
(default-test) on project weld-servlet-test-tomcat: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Execute shell' marked build as failure
Recording test results