See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
Changes:
[Jozef Hartinger] Testcase for giving a priority for the alternative stereotype at
runtime
[Jozef Hartinger] Get rid of TODO tag: Thread.sleep replacement
------------------------------------------
[...truncated 1647 lines...]
[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-se-servl...
[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.12.1:checkstyle (check-style) @
weld-servlet-test-jetty ---
[INFO] Starting audit...
Audit done.
[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 2 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
weld-servlet-test-jetty ---
[INFO] Compiling 27 source files to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ weld-servlet-test-jetty ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-surefire-report-plugin:2.17: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-se-servl...
[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-se-servl...
[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-se-servl...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.10-SNAPSHOT/weld-servlet-test-jetty-2.2.10-SNAPSHOT.jar
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.10-SNAPSHOT/weld-servlet-test-jetty-2.2.10-SNAPSHOT.pom
[INFO] Installing
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.2.10-SNAPSHOT/weld-servlet-test-jetty-2.2.10-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Weld Parent ....................................... SUCCESS [22.824s]
[INFO] Weld Implementation (Core) ........................ SUCCESS [23.616s]
[INFO] Weld Core - JSF ................................... SUCCESS [1.639s]
[INFO] Weld Implementation ............................... SUCCESS [4.658s]
[INFO] Weld Porting Package for the CDI TCK 1.1 .......... SUCCESS [2.336s]
[INFO] Weld Test Utilities ............................... SUCCESS [2.100s]
[INFO] Weld Unit Tests ................................... SUCCESS [9.103s]
[INFO] Weld Integration Tests (JBoss AS) ................. SUCCESS [24.770s]
[INFO] AtInject TCK runner for Weld ...................... SUCCESS [5.079s]
[INFO] CDI TCK runner (1.1, 1.2) for Weld (WildFly) ...... SUCCESS [15.495s]
[INFO] Weld Environment Common ........................... SUCCESS [3.943s]
[INFO] Weld SE (Core) .................................... SUCCESS [17.300s]
[INFO] Weld SE (Uber Jar) ................................ SUCCESS [4.835s]
[INFO] Weld Servlet Parent ............................... SUCCESS [0.845s]
[INFO] Weld Servlet Core ................................. SUCCESS [7.226s]
[INFO] Weld Servlet (Uber Jar) ........................... SUCCESS [4.190s]
[INFO] Weld Servlet Integration Tests (Base) ............. SUCCESS [4.553s]
[INFO] Weld Servlet Integration Tests (Tomcat) ........... SUCCESS [4.933s]
[INFO] Weld Servlet Integration Tests (Jetty) ............ SUCCESS [4.113s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:44.862s
[INFO] Finished at: Mon Feb 09 03:48:12 EST 2015
[INFO] Final Memory: 87M/379M
[INFO] ------------------------------------------------------------------------
[Weld-2.x-int-se-servlet-coop-jetty] $ bash -xe /tmp/hudson5454970370926351198.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_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, 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_67, vendor: Oracle Corporation
Java home: /qa/tools/opt/x86_64/jdk1.7.0_67/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-148.el7.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
++ echo 8.1.14.v20131031:jetty-embedded-7
++ tr : ' '
+ 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=weld-se-coop -Djetty-embedded-7
-Djetty.version=8.1.14.v20131031
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Jetty) 2.2.10-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-se-servl...
[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-se-servl...
&& git rev-parse --verify HEAD
[INFO] Working directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
[INFO] Storing buildNumber: b8ee7069d933b59d3d2c18f76fd165bd5446fb42 at timestamp:
February 9, 2015 3:48:22 AM EST
[INFO] Executing: /bin/sh -c cd
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
&& git rev-parse --verify HEAD
[INFO] Working directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
[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-se-servl...
[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.12.1:checkstyle (check-style) @
weld-servlet-test-jetty ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-test-source (add-test-source) @
weld-servlet-test-jetty ---
[INFO] Test Source directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
added.
[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 2 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
weld-servlet-test-jetty ---
[INFO] Compiling 30 source files to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
[INFO]
[INFO] --- maven-surefire-plugin:2.17: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-se-servl...
[INFO] parallel='none', perCoreThreadCount=true, threadCount=0,
useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0,
threadCountMethods=0, parallelOptimized=true
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest
Feb 09, 2015 3:48:33 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
INFO: WELD-000900: 2.2.10 (2015-02-09 03:45)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.147 sec <<<
FAILURE! - in org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest
testBootstrapNotNeeded(org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest)
Time elapsed: 1.146 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/util/Permissions
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:56)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:679)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:415)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.Resource.getBytes(Resource.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
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.executor.ExecutorServicesFactory.create(ExecutorServicesFactory.java:57)
at org.jboss.weld.bootstrap.WeldStartup.addImplementationServices(WeldStartup.java:288)
at org.jboss.weld.bootstrap.WeldStartup.startContainer(WeldStartup.java:205)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:69)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:139)
at
org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest.testBootstrapNotNeeded(BootstrapNotNeededTest.java:42)
Results :
Tests in error:
BootstrapNotNeededTest.testBootstrapNotNeeded:42 » NoClassDefFound org/jboss/w...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.928s
[INFO] Finished at: Mon Feb 09 03:48:34 EST 2015
[INFO] Final Memory: 36M/267M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test
(default-test) on project weld-servlet-test-jetty: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servl...
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