See
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
Changes:
[mkouba] WELD-2450: Allow to register BeanArchiveHandler using ServiceLoader
------------------------------------------
[...truncated 1744 lines...]
[INFO]
[INFO] --- maven-surefire-report-plugin:2.19.1: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:3.0.2:jar (default-jar) @ weld-servlet-test-jetty ---
[INFO] Building jar:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @
weld-servlet-test-jetty >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @ weld-servlet-test-jetty ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:maven-version (default) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:parse-version (default) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (set-build-properties) @
weld-servlet-test-jetty ---
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @
weld-servlet-test-jetty <<<
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ weld-servlet-test-jetty ---
[INFO] Building jar:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ weld-servlet-test-jetty
---
[INFO] Installing
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.4.7-SNAPSHOT/weld-servlet-test-jetty-2.4.7-SNAPSHOT.jar
[INFO] Installing
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.4.7-SNAPSHOT/weld-servlet-test-jetty-2.4.7-SNAPSHOT.pom
[INFO] Installing
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
to
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/servlet/weld-servlet-test-jetty/2.4.7-SNAPSHOT/weld-servlet-test-jetty-2.4.7-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Weld Parent ........................................ SUCCESS [ 18.825 s]
[INFO] Weld Implementation (Core) ......................... SUCCESS [ 23.664 s]
[INFO] Weld Core - JSF .................................... SUCCESS [ 2.341 s]
[INFO] Weld Implementation ................................ SUCCESS [ 2.207 s]
[INFO] Weld Probe Parent .................................. SUCCESS [ 0.251 s]
[INFO] Weld Probe Core .................................... SUCCESS [ 13.199 s]
[INFO] Weld Test Utilities ................................ SUCCESS [ 1.234 s]
[INFO] weld-probe-tests ................................... SUCCESS [ 22.060 s]
[INFO] Weld Core BOM ...................................... SUCCESS [ 0.359 s]
[INFO] Weld Porting Package for the CDI TCK 1.1 ........... SUCCESS [ 0.934 s]
[INFO] Weld Unit Tests .................................... SUCCESS [ 6.194 s]
[INFO] Weld Integration Tests (JBoss AS) .................. SUCCESS [ 21.138 s]
[INFO] AtInject TCK runner for Weld ....................... SUCCESS [ 4.614 s]
[INFO] CDI TCK runner (1.1, 1.2) for Weld (WildFly) ....... SUCCESS [ 7.163 s]
[INFO] Weld Environment Common ............................ SUCCESS [ 1.316 s]
[INFO] Weld SE (Core) ..................................... SUCCESS [ 6.983 s]
[INFO] Weld SE (Uber Jar) ................................. SUCCESS [ 1.935 s]
[INFO] Weld SE Parent ..................................... SUCCESS [ 0.192 s]
[INFO] Weld SE Tests ...................................... SUCCESS [ 1.620 s]
[INFO] Weld Servlet Parent ................................ SUCCESS [ 0.272 s]
[INFO] Weld Servlet Core .................................. SUCCESS [ 3.771 s]
[INFO] Weld Servlet (Uber Jar) ............................ SUCCESS [ 2.214 s]
[INFO] Weld Servlet Integration Tests (Base) .............. SUCCESS [ 5.082 s]
[INFO] Weld Servlet Integration Tests (Tomcat) ............ SUCCESS [ 2.970 s]
[INFO] Weld Servlet Integration Tests (Jetty) ............. SUCCESS [ 2.349 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:34 min
[INFO] Finished at: 2018-01-11T08:03:27+00:00
[INFO] Final Memory: 104M/393M
[INFO] ------------------------------------------------------------------------
[Weld-2.x-int-se-servlet-coop-jetty] $ bash -xe /tmp/hudson676304462746808695.sh
+ source /qa/home/hudson/config_repository/scripts/weld/common.sh
+ setup-environment
+ export MAVEN_VERSION=3.0.4
+ MAVEN_VERSION=3.0.4
+ export 'MAVEN_OPTS=-Xmx1536m -XX:MaxPermSize=512m'
+ MAVEN_OPTS='-Xmx1536m -XX:MaxPermSize=512m'
+ export M2_HOME=/qa/tools/opt/maven-3.0.4
+ M2_HOME=/qa/tools/opt/maven-3.0.4
+ 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.0.4/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/'
+ MVN='/qa/tools/opt/maven-3.0.4/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/'
+ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
+ /qa/tools/opt/maven-3.0.4/bin/mvn
-Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/ -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /qa/tools/opt/maven-3.0.4
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /qa/tools/opt/x86_64/jdk1.7.0_79/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-696.1.1.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
++ 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.0.4/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 -Denforcer.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.weld.servlet:weld-servlet-test-jetty:jar:2.4.7-SNAPSHOT
[WARNING] 'dependencies.dependency.exclusions.exclusion.groupId' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar with value '*' does not match
a valid id pattern. @ org.jboss.weld:weld-api-parent:2.4.SP2,
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/weld-api-parent/2.4.SP2/weld-api-parent-2.4.SP2.pom,
line 147, column 34
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar with value '*' does not match
a valid id pattern. @ org.jboss.weld:weld-api-parent:2.4.SP2,
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/weld-api-parent/2.4.SP2/weld-api-parent-2.4.SP2.pom,
line 146, column 37
[WARNING]
'dependencyManagement.dependencies.dependency.exclusions.exclusion.groupId' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar with value '*' does not match
a valid id pattern. @ org.jboss.weld:weld-api-parent:2.4.SP2,
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/weld-api-parent/2.4.SP2/weld-api-parent-2.4.SP2.pom,
line 147, column 34
[WARNING]
'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar with value '*' does not match
a valid id pattern. @ org.jboss.weld:weld-api-parent:2.4.SP2,
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/weld-api-parent/2.4.SP2/weld-api-parent-2.4.SP2.pom,
line 146, column 37
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the
stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such
malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Jetty) 2.4.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ weld-servlet-test-jetty ---
[INFO] Deleting
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @ weld-servlet-test-jetty ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:maven-version (default) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:parse-version (default) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (set-build-properties) @
weld-servlet-test-jetty ---
[INFO] Executing: /bin/sh -c cd
'<http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servlet-coop-jetty/ws/environments/servlet/tests/jetty'>
&& 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO] Storing buildNumber: 0898115e4616c2b1c1d912bbc1167be13be1140c at timestamp: January
11, 2018 8:03:37 AM UTC
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] Executing: /bin/sh -c cd
'<http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-servlet-coop-jetty/ws/environments/servlet/tests/jetty'>
&& 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (attach-license) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @
weld-servlet-test-jetty ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ weld-servlet-test-jetty
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:checkstyle (check-style) @ weld-servlet-test-jetty
---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:add-test-source (add-test-source) @
weld-servlet-test-jetty ---
[INFO] Test Source directory:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
added.
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:add-test-resource (add-test-resource) @
weld-servlet-test-jetty ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1: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] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @
weld-servlet-test-jetty ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
[ERROR] error reading
/qa/home/hudson/private_maven_repos/weld/org/jboss/weld/weld-core-impl/2.4.7-SNAPSHOT/weld-core-impl-2.4.7-SNAPSHOT.jar;
Detect premature EOF
[INFO]
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...;:
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
uses or overrides a deprecated API.
[INFO]
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...;:
Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ weld-servlet-test-jetty ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.036 sec <<<
FAILURE! - in org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest
testPassingWeldSeBuilderToWeldServlet(org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest)
Time elapsed: 0.014 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/exceptions/IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServlet(WeldSeBuilderTest.java:41)
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.exceptions.IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServlet(WeldSeBuilderTest.java:41)
testPassingWeldSeContainerToWeldServlet(org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/exceptions/IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeContainerToWeldServlet(WeldSeBuilderTest.java:58)
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.exceptions.IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeContainerToWeldServlet(WeldSeBuilderTest.java:58)
testPassingWeldSeBuilderToWeldServletViaParam(org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/exceptions/IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServletViaParam(WeldSeBuilderTest.java:49)
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.exceptions.IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServletViaParam(WeldSeBuilderTest.java:49)
testPassingWeldSeContainerToWeldServletViaParam(org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/exceptions/IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeContainerToWeldServletViaParam(WeldSeBuilderTest.java:67)
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.exceptions.IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.builder.WeldSeBuilderTest.testPassingWeldSeContainerToWeldServletViaParam(WeldSeBuilderTest.java:67)
Running org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.019 sec <<<
FAILURE! - in org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest
testBootstrapNotNeeded(org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest)
Time elapsed: 0.019 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jboss/weld/exceptions/IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest.testBootstrapNotNeeded(BootstrapNotNeededTest.java:49)
Caused by: java.lang.ClassNotFoundException:
org.jboss.weld.exceptions.IllegalArgumentException
at
org.jboss.weld.environment.servlet.test.se.coop.BootstrapNotNeededTest.testBootstrapNotNeeded(BootstrapNotNeededTest.java:49)
Results :
Tests in error:
BootstrapNotNeededTest.testBootstrapNotNeeded:49 NoClassDefFound org/jboss/wel...
WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServlet:41 NoClassDefFound org...
WeldSeBuilderTest.testPassingWeldSeBuilderToWeldServletViaParam:49 NoClassDefFound
WeldSeBuilderTest.testPassingWeldSeContainerToWeldServlet:58 NoClassDefFound o...
WeldSeBuilderTest.testPassingWeldSeContainerToWeldServletViaParam:67 NoClassDefFound
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.129s
[INFO] Finished at: Thu Jan 11 08:03:46 UTC 2018
[INFO] Final Memory: 36M/340M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project weld-servlet-test-jetty: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/Weld-2.x-int-se-s...
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
ERROR: Publisher 'Publish JUnit test result report' failed: No test report files
were found. Configuration error?