See <https://builds.apache.org/job/POI-DSL-Windows-1.8/124/display/redirect?page=changes>
Changes: [fanningpj] [bug-62038] add mockito based unit test ------------------------------------------ [...truncated 1.44 KB...] No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build [POI-DSL-Windows-1.8] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\1\jenkins1839008408133418590.bat X forrest.properties X src\documentation Performing status on external item at 'src\documentation': Java-Home: f:\\jenkins\\tools\\java\\latest1.8 Volume in drive F is data Volume Serial Number is B868-5A84 Directory of f:\jenkins\tools\java\latest1.8 10/30/2017 03:48 PM <DIR> . 10/30/2017 03:48 PM <DIR> .. 10/30/2017 03:48 PM <DIR> bin 10/30/2017 03:48 PM <DIR> db 10/30/2017 03:48 PM <DIR> include 10/30/2017 03:48 PM 5,202,881 javafx-src.zip 10/30/2017 03:48 PM <DIR> jre 10/30/2017 03:48 PM <DIR> lib 10/30/2017 03:48 PM 40 LICENSE 10/30/2017 03:48 PM 159 README.html 10/30/2017 03:48 PM 426 release 10/30/2017 03:48 PM 63,933 THIRDPARTYLICENSEREADME-JAVAFX.txt 10/30/2017 03:48 PM 145,180 THIRDPARTYLICENSEREADME.txt 6 File(s) 5,412,619 bytes 7 Dir(s) 139,558,903,808 bytes free java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) [POI-DSL-Windows-1.8] $ cmd.exe /C "F:\jenkins\tools\ant\apache-ant-1.9.9\bin\ant.bat -Dcoverage.enabled=true clean jenkins && exit %%ERRORLEVEL%%" Buildfile: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build.xml> clean: [delete] Deleting directory <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build> check-jars: fetch-jars: [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\commons-logging-1.2.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\commons-codec-1.11.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\log4j-1.2.17.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\junit-4.12.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\jmh-core-1.19.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\jmh-generator-annprocess-1.19.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\hamcrest-core-1.3.jar> [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.jar [get] To: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\mockito-core-2.13.0.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\ant-1.10.1.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\ant-launcher-1.10.1.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\asm-all-5.2.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\jacoco-0.7.9.zip> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\commons-collections4-4.1.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\commons-math3-3.6.1.jar> [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\jacoco-0.7.9.zip> into <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\apache-rat-0.12.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/lib\forbiddenapis-2.3.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/compile-lib\bcprov-ext-jdk15on-1.59.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/compile-lib\bcpkix-jdk15on-1.59.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/compile-lib\xmlsec-2.1.0.jar> [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/compile-lib\slf4j-api-1.7.25.jar> check-ooxml-jars: fetch-ooxml-jars: init: [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\test-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\test-results> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-test-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-test-results> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\geometry-java> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-test-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-test-results> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-test-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-test-results> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\examples-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\integration-test-classes> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\integration-test-results> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\dist> [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\tmp\site\build\site> [echo] Using Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 from F:\\jenkins\\tools\\ant\\apache-ant-1.9.9, Ant detected Java 1.8 (may be different than actual Java sometimes...) [echo] Using Java: 1.8.0_152/1.8.0_152-b16/25.152-b16/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Windows Server 2012 R2: 6.3 compile-main: [javac] Compiling 1212 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Compiling 540 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\test-classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [copy] Copying 4 files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\classes> check-ooxml-xsds: fetch-ooxml-xsds: generate-geometry: compile-scratchpad: [javac] Compiling 488 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Compiling 190 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-test-classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [copy] Copying 2 files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\scratchpad-classes> check-compiled-ooxml-xsds: compile-ooxml-xsds: compile-ooxml: [javac] Compiling 539 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Compiling 248 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-test-classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [copy] Copying 3 files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-classes> compile-examples: [javac] Compiling 151 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\examples-classes> [javac] Note: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/src\examples\src\org\apache\poi\xssf\eventusermodel\examples\FromHowTo.java> uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\examples-classes> compile-excelant: [javac] Compiling 14 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-classes> [javac] Compiling 13 source files to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-test-classes> [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\excelant-classes> compile: -compile-ooxml-lite-check: compile-ooxml-lite: [echo] Running ooxml-lite generator [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-lite-merged> [jar] Building jar: <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-lite-merged\ooxml-lite-merged.jar> [java] Collecting unit tests from <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build\ooxml-test-classes> [java] Class org.apache.poi.benchmark.generated.AddImageBench_jmhType does not derive from TestCase and does not have a @Test annotation [java] Inner class org.apache.poi.dev.TestOOXMLLister$1.class not included [java] Inner class org.apache.poi.dev.TestOOXMLPrettyPrint$1.class not included [java] Inner class org.apache.poi.sl.TestOleShape$1.class not included [java] Inner class org.apache.poi.sl.TestOleShape$Api.class not included [java] Inner class org.apache.poi.TestPOIXMLDocument$1.class not included [java] Inner class org.apache.poi.TestPOIXMLDocument$UncaughtHandler.class not included [java] Inner class org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet$1.class not included [java] Inner class org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet$Navigator.class not included [java] Found 225 classes [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". [java] SLF4J: Defaulting to no-operation (NOP) logger implementation [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [java] ...III.........................................I.........................I........................................I.......................................................................I...........................I.................................................................................................................................I.......................................I.............................................................................................................................E.....................I..........................................................I......................................................................................................................................................................................................................I..I..I.I.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................III.I..I.......I.......I.....I..............................................................................I......II...........I.I........................I.........I.....I................................................................................................................................I...........................................................................................................................I.I...I...................................................................................................................................................................................................................................................................................................................................................I............................................................................................................................................................I.................................................................................................................I...... [java] Time: 126.73 [java] There was 1 failure: [java] 1) testCopyNullFontSize(org.apache.poi.xslf.usermodel.TestXSLFTextRun) [java] java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker [java] at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:60) [java] at com.sun.proxy.$Proxy36.isTypeMockable(Unknown Source) [java] at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:29) [java] at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22) [java] at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:232) [java] at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:226) [java] at org.mockito.internal.MockitoCore.mock(MockitoCore.java:64) [java] at org.mockito.Mockito.mock(Mockito.java:1821) [java] at org.mockito.Mockito.mock(Mockito.java:1734) [java] at org.apache.poi.xslf.usermodel.TestXSLFTextRun.testCopyNullFontSize(TestXSLFTextRun.java:109) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:498) [java] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [java] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [java] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [java] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [java] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [java] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [java] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [java] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [java] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [java] at org.junit.runners.Suite.runChild(Suite.java:128) [java] at org.junit.runners.Suite.runChild(Suite.java:27) [java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [java] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [java] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [java] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [java] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:105) [java] at org.junit.runner.JUnitCore.run(JUnitCore.java:94) [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:149) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:94) [java] Caused by: java.lang.NoClassDefFoundError: net/bytebuddy/dynamic/loading/ClassLoadingStrategy [java] at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.<init>(SubclassByteBuddyMockMaker.java:33) [java] at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.<init>(ByteBuddyMockMaker.java:21) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [java] at java.lang.Class.newInstance(Class.java:442) [java] at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:57) [java] at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:35) [java] at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:53) [java] at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:20) [java] at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:18) [java] at org.mockito.internal.util.MockUtil.<clinit>(MockUtil.java:24) [java] ... 38 more [java] Caused by: java.lang.ClassNotFoundException: net.bytebuddy.dynamic.loading.ClassLoadingStrategy [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:381) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [java] ... 51 more [java] [java] FAILURES!!! [java] Tests run: 2356, Failures: 1 [java] [java] Exception in thread "main" java.lang.RuntimeException: Tests did not succeed, cannot build ooxml-lite jar [java] at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:151) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:94) BUILD FAILED <https://builds.apache.org/job/POI-DSL-Windows-1.8/ws/build.xml>:1523: Java returned: 1 Total time: 3 minutes 36 seconds Build step 'Invoke Ant' marked build as failure Skipping publisher since build result is FAILURE Archiving artifacts [Fast Archiver] Compressed 63.95 MB of artifacts by 100.0% relative to #123 Skipping publisher since build result is FAILURE Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org