See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
Changes:
[Jozef Hartinger] WELD-1592 Update "Servlet containers" chapter
------------------------------------------
[...truncated 1437 lines...]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ weld-servlet-test-tomcat
---
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-tomcat/2.2.0-SNAPSHOT/weld-servlet-test-tomcat-2.2.0-SNAPSHOT.jar
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-tomcat/2.2.0-SNAPSHOT/weld-servlet-test-tomcat-2.2.0-SNAPSHOT.pom
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-tomcat/2.2.0-SNAPSHOT/weld-servlet-test-tomcat-2.2.0-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Jetty) 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
Downloading:
http://snapshots.jboss.org/maven2/org/apache/maven/plugins/maven-eclipse-...
Downloading:
http://repository.jboss.org/maven2/org/apache/maven/plugins/maven-eclipse...
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
709 B
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
(709 B at 9.2 KB/sec)
709 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
(709 B at 0.7 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-servlet-test-jetty ---
[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]
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @
weld-servlet-test-jetty ---
[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] Tests are skipped.
[INFO]
[INFO] >>> maven-surefire-report-plugin:2.12.4:report-only (generate-test-report)
@ weld-servlet-test-jetty >>>
[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] <<< maven-surefire-report-plugin:2.12.4:report-only (generate-test-report)
@ weld-servlet-test-jetty <<<
[INFO]
[INFO] --- maven-surefire-report-plugin:2.12.4:report-only (generate-test-report) @
weld-servlet-test-jetty ---
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ weld-servlet-test-jetty ---
[INFO] Building jar:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @
weld-servlet-test-jetty >>>
[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]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @
weld-servlet-test-jetty <<<
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ weld-servlet-test-jetty ---
[INFO] META-INF already added, skipping
[INFO] META-INF/DEPENDENCIES.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO] Building jar:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO] META-INF already added, skipping
[INFO] META-INF/DEPENDENCIES.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ weld-servlet-test-jetty
---
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.0-SNAPSHOT/weld-servlet-test-jetty-2.2.0-SNAPSHOT.jar
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.0-SNAPSHOT/weld-servlet-test-jetty-2.2.0-SNAPSHOT.pom
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.0-SNAPSHOT/weld-servlet-test-jetty-2.2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Weld Parent ....................................... SUCCESS [4.378s]
[INFO] Weld Implementation (Core) ........................ SUCCESS [23.337s]
[INFO] Weld Core - JSF ................................... SUCCESS [2.029s]
[INFO] Weld Implementation ............................... SUCCESS [3.767s]
[INFO] Weld Porting Package for the CDI TCK 1.1 .......... SUCCESS [2.227s]
[INFO] Weld Unit Tests ................................... SUCCESS [4.315s]
[INFO] Weld Integration Tests (JBoss AS) ................. SUCCESS [9.606s]
[INFO] AtInject TCK runner for Weld ...................... SUCCESS [2.475s]
[INFO] CDI TCK runner (1.1, 1.2) for Weld (WildFly) ...... SUCCESS [6.024s]
[INFO] Weld SE (Core) .................................... SUCCESS [2.168s]
[INFO] Weld SE (Uber Jar) ................................ SUCCESS [4.151s]
[INFO] Weld Servlet Parent ............................... SUCCESS [1.228s]
[INFO] Weld Servlet Core ................................. SUCCESS [2.404s]
[INFO] Weld Servlet (Uber Jar) ........................... SUCCESS [3.547s]
[INFO] Weld Servlet Integration Tests (Base) ............. SUCCESS [2.146s]
[INFO] Weld Servlet Integration Tests (Tomcat) ........... SUCCESS [2.837s]
[INFO] Weld Servlet Integration Tests (Jetty) ............ SUCCESS [1.810s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:19.346s
[INFO] Finished at: Mon Feb 03 07:01:42 EST 2014
[INFO] Final Memory: 66M/306M
[INFO] ------------------------------------------------------------------------
[Weld-2.x-int-servlet-tomcat] $ bash -xe /tmp/hudson1992480167326949358.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) 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/jdk1.7.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-371.3.1.el5pae", arch:
"i386", 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 tomcat-surefire-reports
+ mkdir tomcat-surefire-reports
++ echo tomcat.version=6.0.36:tomcat=6 tomcat7.version=7.0.42:tomcat7IsDefault
+ TOMCAT_VERSIONS_ARRAY='tomcat.version=6.0.36:tomcat=6
tomcat7.version=7.0.42:tomcat7IsDefault'
+ for i in '$TOMCAT_VERSIONS_ARRAY'
+ idx=0
++ echo tomcat.version=6.0.36:tomcat=6
++ tr : ' '
+ for ii in '$(echo $i | tr ":" " ")'
+ '[' 0 -eq 0 ']'
+ TOMCAT_VERSION=tomcat.version=6.0.36
+ '[' 0 -eq 1 ']'
+ let 'idx = idx + 1'
+ for ii in '$(echo $i | tr ":" " ")'
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 1 ']'
+ TOMCAT_ARQ_VERSION=tomcat=6
+ 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/tomcat/pom.xml -Dincontainer -Dtomcat=6
-Dtomcat.version=6.0.36
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Tomcat) 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-servlet-test-tomcat ---
[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-tomcat
---
[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-tomcat ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @
weld-servlet-test-tomcat ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (set-build-properties) @
weld-servlet-test-tomcat ---
[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: 6796a84eb435d49e18a2b3c6fe6e54143488db2d at timestamp:
February 3, 2014 7:01:46 AM EST
[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-tomcat ---
[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-tomcat ---
[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-tomcat ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @
weld-servlet-test-tomcat ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
weld-servlet-test-tomcat ---
[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-tomcat ---
[INFO] Compiling 17 source files to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
location: package javax.servlet
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.823s
[INFO] Finished at: Mon Feb 03 07:01:50 EST 2014
[INFO] Final Memory: 27M/264M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on
project weld-servlet-test-tomcat: Compilation failure: Compilation failure:
[ERROR]
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
error: cannot find symbol
[ERROR] symbol: class ServletContainerInitializer
[ERROR] location: package javax.servlet
[ERROR]
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
error: cannot find symbol
[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