See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/cdi-tck-1.2.x-win/4/c...
Changes:
[tremes] CDITCK-505 add JAVAEE_FULL test group.
------------------------------------------
[...truncated 116 lines...]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cdi-tck-api ---
[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:compile (default-compile) @ cdi-tck-api ---
[INFO] Compiling 5 source files to W:\workspace\cdi-tck-1.2.x-win\api\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
cdi-tck-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
W:\workspace\cdi-tck-1.2.x-win\api\src\test\resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cdi-tck-api
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ cdi-tck-api ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CDI TCK Installed Library - test bean archive 1.2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading:
http://snapshots.jboss.org/maven2/org/apache/maven/plugins/maven-eclipse-...
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
Downloading:
http://repository.jboss.org/maven2/org/apache/maven/plugins/maven-eclipse...
Downloading:
http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/...
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
777 B
777 B 787 B
741 B 777 B 787 B
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
(741 B at 8.4 KB/sec)
Downloaded:
http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/...
(777 B at 4.3 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
(787 B at 4.3 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cdi-tck-ext-lib ---
[INFO] Deleting W:\workspace\cdi-tck-1.2.x-win\ext-lib\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ cdi-tck-ext-lib ---
[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) @ cdi-tck-ext-lib ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ cdi-tck-ext-lib ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (set-build-properties) @ cdi-tck-ext-lib
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ cdi-tck-ext-lib
---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cdi-tck-ext-lib
---
[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:compile (default-compile) @ cdi-tck-ext-lib ---
[INFO] Compiling 3 source files to W:\workspace\cdi-tck-1.2.x-win\ext-lib\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
cdi-tck-ext-lib ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
W:\workspace\cdi-tck-1.2.x-win\ext-lib\src\test\resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cdi-tck-ext-lib
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ cdi-tck-ext-lib ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CDI TCK Test Suite 1.2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
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:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
Downloading:
http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/...
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
787 B
741 B 787 B
777 B 741 B 787 B
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plug...
(741 B at 8.4 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/apache/ma...
(787 B at 3.9 KB/sec)
Downloaded:
http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/...
(777 B at 3.0 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cdi-tck-impl ---
[INFO] Deleting W:\workspace\cdi-tck-1.2.x-win\impl\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ cdi-tck-impl ---
[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) @ cdi-tck-impl ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ cdi-tck-impl ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (set-build-properties) @ cdi-tck-impl ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-source (add-source) @ cdi-tck-impl ---
[INFO] Source directory:
W:\workspace\cdi-tck-1.2.x-win\impl\target\generated-sources\audit added.
[INFO]
[INFO] >>> exec-maven-plugin:1.1.1:java (default) @ cdi-tck-impl >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ cdi-tck-impl ---
[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) @ cdi-tck-impl ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ cdi-tck-impl ---
[INFO]
[INFO] <<< exec-maven-plugin:1.1.1:java (default) @ cdi-tck-impl <<<
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:java (default) @ cdi-tck-impl ---
Section class source generated: org.jboss.cdi.tck.cdi.Sections
[INFO]
[INFO] --- maven-dependency-plugin:2.1:copy (default) @ cdi-tck-impl ---
[INFO] Configured Artifact:
org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:?:jar
[INFO] Copying jboss-annotations-api_1.2_spec-1.0.0.Final.jar to
W:\workspace\cdi-tck-1.2.x-win\impl\target\endorsed\jboss-annotations-api_1.2_spec-1.0.0.Final.jar
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ cdi-tck-impl ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cdi-tck-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 102 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cdi-tck-impl ---
[INFO] Compiling 4132 source files to W:\workspace\cdi-tck-1.2.x-win\impl\target\classes
Outputting to W:\workspace\cdi-tck-1.2.x-win\impl/../target/
Reading spec assertions from audit file/s:
W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-cdi.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-mb.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-int.xml
Reading spec assertions from audit file/s:
W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-cdi.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-mb.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-int.xml
Generate coverage report: JSR 346: Contexts and Dependency Injection for Java EE 1.1
Reading spec assertions from audit file/s:
W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-cdi.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-mb.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-int.xml
Generate coverage report: JSR-318: Interceptors Specification
Reading spec assertions from audit file/s:
W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-cdi.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-mb.xml,W:\workspace\cdi-tck-1.2.x-win\impl/src/main/resources/tck-audit-int.xml
Generate coverage report: Java EE: Managed Beans
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
cdi-tck-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cdi-tck-impl
---
[INFO] Compiling 20 source files to
W:\workspace\cdi-tck-1.2.x-win\impl\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ cdi-tck-impl ---
[INFO] Surefire report directory:
W:\workspace\cdi-tck-1.2.x-win\impl\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
Sep 01, 2015 6:16:12 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder buildSupportLibrary
INFO: Support library built [time: 59 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder
buildIncontainerLibrary
INFO: Incontainer library built [time: 7 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 73 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 17 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 14 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 15 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 17 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 17 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 19 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 41 ms]
Sep 01, 2015 6:16:13 AM org.jboss.cdi.tck.shrinkwrap.ArchiveBuilder build
INFO: Test archive built [info: org.jboss.cdi.tck.test.shrinkwrap.TestClass, time: 7 ms]
Tests run: 40, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.618 sec <<<
FAILURE! - in TestSuite
testReadAssetContentAsString(org.jboss.cdi.tck.test.shrinkwrap.AssetUtilTest) Time
elapsed: 0.272 sec <<< FAILURE!
java.lang.AssertionError: expected [<?xml version="1.0"
encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
bean-discovery-mode="annotated" version="1.1">
<alternatives>
<class>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Foo</class>
<stereotype>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Bar</stereotype>
</alternatives>
</beans>] but found [<?xml version="1.0"
encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
bean-discovery-mode="annotated" version="1.1">
<alternatives>
<class>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Foo</class>
<stereotype>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Bar</stereotype>
</alternatives>
</beans>]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at org.testng.Assert.assertEquals(Assert.java:186)
at
org.jboss.cdi.tck.test.shrinkwrap.AssetUtilTest.testReadAssetContentAsString(AssetUtilTest.java:42)
Results :
Failed tests:
AssetUtilTest.testReadAssetContentAsString:42 expected [<?xml version="1.0"
encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
bean-discovery-mode="annotated" version="1.1">
<alternatives>
<class>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Foo</class>
<stereotype>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Bar</stereotype>
</alternatives>
</beans>] but found [<?xml version="1.0"
encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
bean-discovery-mode="annotated" version="1.1">
<alternatives>
<class>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Foo</class>
<stereotype>org.jboss.cdi.tck.test.shrinkwrap.descriptors.Bar</stereotype>
</alternatives>
</beans>]
Tests run: 40, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CDI TCK ........................................... SUCCESS [3.037s]
[INFO] CDI TCK Porting Package API ....................... SUCCESS [2.334s]
[INFO] CDI TCK Installed Library - test bean archive ..... SUCCESS [0.491s]
[INFO] CDI TCK Test Suite ................................ FAILURE [57.664s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.233s
[INFO] Finished at: Tue Sep 01 06:16:19 EDT 2015
[INFO] Final Memory: 31M/332M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test
(default-test) on project cdi-tck-impl: There are test failures.
[ERROR]
[ERROR] Please refer to W:\workspace\cdi-tck-1.2.x-win\impl\target\surefire-reports 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cdi-tck-impl
Build step 'Invoke top-level Maven targets' marked build as failure