See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
Changes:
[rsmeral] Updated archive isolation tests
[rsmeral] Add support for exclusion filters to BeansXml
[rsmeral] Fix, if-system-property value is optional
------------------------------------------
[...truncated 1632 lines...]
[INFO] Weld Servlet Core ................................. SUCCESS [11.418s]
[INFO] Weld Servlet (Uber Jar) ........................... SUCCESS [13.889s]
[INFO] Weld Servlet Integration Tests (Base) ............. SUCCESS [11.917s]
[INFO] Weld Servlet Integration Tests (Tomcat) ........... SUCCESS [14.532s]
[INFO] Weld Servlet Integration Tests (Jetty) ............ SUCCESS [11.031s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:00.169s
[INFO] Finished at: Mon Mar 24 04:58:03 EDT 2014
[INFO] Final Memory: 75M/201M
[INFO] ------------------------------------------------------------------------
[Weld-2.x-int-servlet-jetty] $ bash -xe /tmp/hudson1941148482675013268.sh
+ source /qa/home/hudson/config_repository/scripts/weld/common.sh
+ setup-environment
+ export MAVEN_VERSION=3.1.0
+ MAVEN_VERSION=3.1.0
+ export 'MAVEN_OPTS=-Xmx1536m -XX:MaxPermSize=512m'
+ MAVEN_OPTS='-Xmx1536m -XX:MaxPermSize=512m'
+ export M2_HOME=/qa/tools/opt/maven-3.1.0
+ M2_HOME=/qa/tools/opt/maven-3.1.0
+ export M2_REPO=/qa/home/hudson/private_maven_repos/weld/
+ M2_REPO=/qa/home/hudson/private_maven_repos/weld/
+ export 'MVN=/qa/tools/opt/maven-3.1.0/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/'
+ MVN='/qa/tools/opt/maven-3.1.0/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/'
+ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
+ /qa/tools/opt/maven-3.1.0/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/ -version
Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
Maven home: /qa/tools/opt/maven-3.1.0
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /qa/tools/opt/x86_64/jdk1.7.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.1.2.el6.x86_64", arch:
"amd64", family: "unix"
+ export JBOSS_ZIP=/qa/home/hudson/static_build_env/as/jboss-as-7.1.1.Final.zip
+ JBOSS_ZIP=/qa/home/hudson/static_build_env/as/jboss-as-7.1.1.Final.zip
+ rm -fr jetty-surefire-reports
+ mkdir jetty-surefire-reports
++ echo 8.1.14.v20131031:jetty-embedded-7 9.0.7.v20131107:jetty-embedded-9
9.1.0.v20131115:jetty-embedded-9
+ JETTY_VERSIONS_ARRAY='8.1.14.v20131031:jetty-embedded-7
9.0.7.v20131107:jetty-embedded-9 9.1.0.v20131115:jetty-embedded-9'
+ for i in '$JETTY_VERSIONS_ARRAY'
+ idx=0
++ tr : ' '
++ echo 8.1.14.v20131031:jetty-embedded-7
+ for ii in '$(echo $i | tr ":" " ")'
+ '[' 0 -eq 0 ']'
+ JETTY_VERSION=8.1.14.v20131031
+ '[' 0 -eq 1 ']'
+ let 'idx = idx + 1'
+ for ii in '$(echo $i | tr ":" " ")'
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 1 ']'
+ JETTY_ARQ_VERSION=jetty-embedded-7
+ let 'idx = idx + 1'
+ /qa/tools/opt/maven-3.1.0/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/ clean verify -f
environments/servlet/tests/jetty/pom.xml -Dincontainer -Djetty-embedded-7
-Djetty.version=8.1.14.v20131031
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Jetty) 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-servlet-test-jetty ---
[INFO] Deleting
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ weld-servlet-test-jetty
---
[WARNING] This rule is not compatible with the current version of Maven. The rule is not
able to perform any checks.
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ weld-servlet-test-jetty
---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ weld-servlet-test-jetty
---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (set-build-properties) @
weld-servlet-test-jetty ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
&& git rev-parse --verify HEAD
[INFO] Working directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO] Storing buildNumber: 43d4ede6a738e4413c07feedb68a8bed3680ad62 at timestamp: March
24, 2014 4:58:13 AM EDT
[INFO] Executing: /bin/sh -c cd
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
&& git rev-parse --verify HEAD
[INFO] Working directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @
weld-servlet-test-jetty ---
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
weld-servlet-test-jetty ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ weld-servlet-test-jetty
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ weld-servlet-test-jetty
---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
weld-servlet-test-jetty ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
weld-servlet-test-jetty ---
[INFO] Compiling 15 source files to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ weld-servlet-test-jetty ---
[INFO] Surefire report directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2,
useUnlimitedThreads=false
Mar 24, 2014 4:58:27 AM
org.jboss.arquillian.container.jetty.embedded_7.JettyEmbeddedContainer start
INFO: Starting Jetty Embedded Server 8.1.14.v20131031 [id:503568256]
2014-03-24 04:58:27.914:INFO:oejs.Server:jetty-8.1.14.v20131031
2014-03-24 04:58:28.046:INFO:oejs.AbstractConnector:Started
SelectChannelConnector@localhost:9090
Mar 24, 2014 4:58:29 AM org.jboss.shrinkwrap.jetty_7.api.ShrinkWrapWebAppContext
<init>
INFO: Webapp archive location:
file:/tmp/export450790389307620643719429efe-fc5b-449b-a356-93e70a0804d9.war
2014-03-24 04:58:29.367:INFO:oejw.WebInfConfiguration:Extract
jar:file:/tmp/export450790389307620643719429efe-fc5b-449b-a356-93e70a0804d9.war!/ to
/tmp/jetty-localhost-9090-export450790389307620643719429efe-fc5b-449b-a356-93e70a0804d9.war-_19429efe-fc5b-449b-a356-93e70a0804d9-any-/webapp
2014-03-24 04:58:29.719:INFO:oejpw.PlusConfiguration:No Transaction manager found - if
your webapp requires one, please configure one.
2014-03-24 04:58:30.815:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for
/19429efe-fc5b-449b-a356-93e70a0804d9, did not find org.apache.jasper.servlet.JspServlet
Mar 24, 2014 4:58:30 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Mar 24, 2014 4:58:30 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
INFO: WELD-000900: 2.2.0 (2014-03-24 04:56)
Mar 24, 2014 4:58:31 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject
UserTransaction not available. Transactional observers will be invoked synchronously.
Mar 24, 2014 4:58:31 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in Listeners, Servlets and
Filters.
Mar 24, 2014 4:58:32 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Mar 24, 2014 4:58:32 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
2014-03-24 04:58:32.306:INFO:oejw.WebAppContext:WebApp@1438777521 at
http://localhost:9090/19429efe-fc5b-449b-a356-93e70a0804d9
Running org.jboss.weld.environment.servlet.test.provider.CDIProviderTest
2014-03-24 04:58:37.406:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver
purged2014-03-24 04:58:37.407:INFO:oejsh.ContextHandler:stopped
o.j.s.j.a.ShrinkWrapWebAppContext{/ba8b8e2e-83d3-4909-a509-610302ea6312,file:/tmp/jetty-localhost-9090-export1510419517641105825ba8b8e2e-83d3-4909-a509-610302ea6312.war-_ba8b8e2e-83d3-4909-a509-610302ea6312-any-/webapp/},file:/tmp/export1510419517641105825ba8b8e2e-83d3-4909-a509-610302ea6312.warTests
run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.129 sec <<< FAILURE!
org.jboss.weld.environment.servlet.test.config.ConfigTest Time elapsed: 0.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.config.ConfigTest.getDeployment()
at
org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.invoke(AnnotationDeploymentScenarioGenerator.java:181)
at
org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.generateDeployment(AnnotationDeploymentScenarioGenerator.java:103)
at
org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.generate(AnnotationDeploymentScenarioGenerator.java:64)
at
org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
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.client.ContainerEventController.execute(ContainerEventController.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
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.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.GeneratedMethodAccessor2.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.GeneratedMethodAccessor1.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.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
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.execute(JUnitCoreWrapper.java:62)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.invoke(AnnotationDeploymentScenarioGenerator.java:177)
... 63 more
Caused by: java.lang.NoClassDefFoundError:
org/jboss/weld/environment/servlet/test/config/dos/DOSBean
at
org.jboss.weld.environment.servlet.test.config.ConfigTestBase.baseDOSDeployment(ConfigTestBase.java:52)
at
org.jboss.weld.environment.servlet.test.config.ConfigTest.getDeployment(ConfigTest.java:34)
... 68 more
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.environment.servlet.test.config.dos.DOSBean
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)
... 70 more
Results :
Tests in error:
org.jboss.weld.environment.servlet.test.config.ConfigTest: Could not invoke deployment
method: public static org.jboss.shrinkwrap.api.spec.WebArchive
org.jboss.weld.environment.servlet.test.config.ConfigTest.getDeployment()
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.396s
[INFO] Finished at: Mon Mar 24 04:58:37 EDT 2014
[INFO] Final Memory: 29M/73M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
(default-test) on project weld-servlet-test-jetty: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM
terminated without saying properly goodbye. VM crash or System.exit called ? -> [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/PluginExecutionException
Build step 'Execute shell' marked build as failure
Recording test results