Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] -----------------------< org.jaitools:jt-utils >------------------------ [INFO] Building Support and utility classes 1.5-SNAPSHOT [2/15] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jt-utils --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jt-utils --- [INFO] Compiling 9 source files to /home/hudson/genie.jts/.jenkins/jobs/Jaitools/workspace/utils/target/classes [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jt-utils --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.jts/.jenkins/jobs/Jaitools/workspace/utils/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jt-utils --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jt-utils --- [INFO] Surefire report directory: /home/hudson/genie.jts/.jenkins/jobs/Jaitools/workspace/utils/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.jts -DforkCount=1 Running org.jaitools.imageutils.ImageLayout2Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.jaitools.imageutils.ROIGeometryTest intersects Rectangle contains Point contains (int int) contains (double double) contains Rectangle contains Rectangle2D contains int rect args contains double rect args getBounds getBounds2D add empty ROI to non-empty ROI contains Point2D intersects Rectangle2D intersects int rect args intersects double rect args can create empty ROI empty ROI should not contain point empty ROI should not contain rectangle add ROI to empty ROI Tests run: 34, Failures: 0, Errors: 0, Skipped: 15, Time elapsed: 0.177 sec Running org.jaitools.imageutils.iterator.WindowIteratorTest Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.99 sec Running org.jaitools.imageutils.iterator.WritableSimpleIteratorTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec Running org.jaitools.imageutils.iterator.SimpleIteratorTest Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec Running org.jaitools.imageutils.ImageSetTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec Running org.jaitools.imageutils.SamplingBorderExtenderTest image type BYTE image type SHORT image type USHORT image type INT image type FLOAT image type DOUBLE Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec Running org.jaitools.imageutils.FloodFillerTest flood fill with single image Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.597 sec Running org.jaitools.imageutils.RandomBorderExtenderTest image type BYTE image type SHORT image type USHORT image type INT image type FLOAT image type DOUBLE Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec Running org.jaitools.imageutils.ImageUtilsTest createConstantImage(w, h, value) createConstantImage - all args Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.379 sec Running org.jaitools.numeric.RangeExtendedComparatorTest Type.LLLL (<<<<): is entirely less than Type.LLLE (<<<=): extends to min of Type.LLLG (<<<>): starts below and extends within Type.LLEG (<<=>): starts below and extends to max of Type.LEGG (<=>>): starts with and extends beyond Type.LLEE (<<==): starts below and has max at point location of Type.EEGG (==>>): extends from point location of Type.LEEG (<==>): is exactly equal to finite interval Type.EEEE (====): is exactly equal to point Type.LLGG (<<>>): strictly encloses Type.LGLG (<><>): is strictly enclosed by Type.LGGG (<>>>): starts within and extends beyond Type.LGEG (<>=>): starts within and extends to max of Type.LELG (<=<>): starts with and ends within Type.EGEG (=>=>): is a point at max of Type.LELE (<=<=): is a point at min of Type.EGGG (=>>>): extends from max of Type.GGGG (>>>>): is entirely greater than Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec Running org.jaitools.numeric.RangeUtilsTest testSubtract testCreateComplementOfFinitePoint testCreateComplementOfInfinitePoint testCreateComplementOfFiniteInterval createComplementOfOpenInterval testCreateComplementOfTwoFiniteIntervals testCreateComplementOfTwoFiniteIntervals testCreateComplementOfOpenIntervals testCreateComplementOfFinitePoints testSortRanges testSortInPlaceRanges testSimplify testIntersection Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running org.jaitools.numeric.NumberOperationsTest add(Byte, Integer) subtract(Byte, Integer) multiply(Byte, Integer) divide(Byte, Integer) copy with null arg highestClass lowestClass testIntegralComparison testFloatComparison testFloatComparisonSpecialValues testDoubleComparison testDoubleComparisonSpecialValues newInstance Byte to Byte newInstance Short to Byte newInstance Short to Byte newInstance Short to Byte newInstance Integer to Byte newInstance Integer to Byte newInstance Integer to Byte newInstance Long to Byte newInstance Long to Byte newInstance Long to Byte newInstance Float to Byte newInstance Float to Byte newInstance Float to Byte newInstance Double to Byte newInstance Double to Byte newInstance Double to Byte newInstance Byte to Short newInstance Short to Short newInstance Integer to Short newInstance Integer to Short newInstance Integer to Short newInstance Long to Short newInstance Long to Short newInstance Long to Short newInstance Float to Short newInstance Float to Short newInstance Float to Short newInstance Double to Short newInstance Double to Short newInstance Double to Short newInstance Byte to Integer newInstance Short to Integer newInstance Integer to Integer newInstance Long to Integer newInstance Long to Integer newInstance Long to Integer newInstance Float to Integer newInstance Float to Integer newInstance Float to Integer newInstance Double to Integer newInstance Double to Integer newInstance Double to Integer newInstance Byte to Float newInstance Short to Float newInstance Integer to Float newInstance Long to Float newInstance Float to Float newInstance Double to Float newInstance Double to Float newInstance Double to Float copy Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec Running org.jaitools.numeric.RangeTest testEquals testCreateInterval testValueInRange testValueOutOfRange testValueAtIncludedEndpoint testValueAtExcludedEndpoint testCreateInfiniteInterval testPointToString testInfinitePointNEQInfiniteInterval testInfinitePointToString testFiniteIntervalToString testOpenIntervalToString Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running org.jaitools.numeric.StreamingSampleStatsTest testMedianWithRange testExactMedianSingleValue testApproxMedianSingleValue testNaNValues testNoDataValues testNumNoData testMean testMeanWithExcludedRange testMeanSingleValue testZeroVariance testVariance testVarianceSingleValue testMinMaxRange testMinMaxRangeSingleValue testMedian testSum Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.371 sec Running org.jaitools.numeric.HistogramTest [0.1, 0.2] overlaps existing binorg.jaitools.numeric.Histogram$Bin@7a52f2a2 Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec Running org.jaitools.numeric.SampleStatsTest max mean mean with single value variance variance with single value median sum range with single value min with single value median with single value min range max with single value Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running org.jaitools.numeric.CompareOpTest Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running org.jaitools.tilecache.DiskCachedTileTest getCacheFolder setCacheFolder getTile (testing for exception) getOwner getTileTimeStamp getTileSize cachedToDisk deleteDiskCopy getTileId getLocation getTileX getTileY isWritable writing and reading data TYPE_BYTE TYPE_DOUBLE TYPE_FLOAT TYPE_INT TYPE_SHORT TYPE_USHORT Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec Running org.jaitools.tilecache.TileCacheTest swapping tiles into memory Error: Could not find mediaLib accelerator wrapper classes. Continuing in pure Java mode. Occurs in: com.sun.media.jai.mlib.MediaLibAccessor java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image at com.sun.media.jai.mlib.MediaLibAccessor$1.run(MediaLibAccessor.java:248) at java.security.AccessController.doPrivileged(Native Method) at com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245) at com.sun.media.jai.mlib.MediaLibAccessor.useMlib(MediaLibAccessor.java:177) at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:357) at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:315) at com.sun.media.jai.mlib.MlibMultiplyConstRIF.create(MlibMultiplyConstRIF.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122) at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674) at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473) at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332) at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819) at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867) at javax.media.jai.RenderedOp.getMinX(RenderedOp.java:2161) at javax.media.jai.PlanarImage.getBounds(PlanarImage.java:702) at javax.media.jai.PlanarImage.getTiles(PlanarImage.java:2617) at org.jaitools.tilecache.TileCacheTest.testMemorySwapping(TileCacheTest.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.ClassNotFoundException: com.sun.medialib.mlib.Image at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 51 more removal of tiles for an image cache flush and flushMemory cache auto-flush: - cycle 1 - cycle 2 - cycle 3 - cycle 4 - cycle 5 cache file handling JAI set with DiskMemTileCache default cache params cache use in simple op Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.896 sec Running org.jaitools.tilecache.TileCacheVisitorTest cache visitor Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.389 sec Running org.jaitools.tiledimage.BasicAccessTest getting and releasing writable tiles isTileWritable getWritableTileIndices hasTileWriters getTile Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running org.jaitools.tiledimage.DrawingIntoDiskCachedTilesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.tiledimage.TileWritingTest read/write with individual tiles Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.tiledimage.ImageGraphicsGeneralTest set and get a rendering hint add rendering hints set and get rendering hints null arg to setFont is silently ignored Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.tiledimage.ImageWritingTest read/write using JAI iterators setting a rectangle of image data setting and getting int values Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.tiledimage.ImageGraphicsDrawingTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec Running org.jaitools.tiledimage.GraphicsClipTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec Running org.jaitools.tiledimage.CacheUseTest using common cache tile cache shared between images swapping tile cache Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.media.jai.kernel.KernelFactoryTest circle binary circle cosine circle distance circle Epanenchnikov circle Gaussian circle Inverse distance circle quartic circle triangular circle triweight circle binary annulua cosine annulus distance annulus Epanenchnikov annulus Gaussian annulus Inverse distance annulus quartic annulus triangular annulus triweight annulus binary rectangle cosine rectangle distance rectangle Epanenchnikov rectangle Gaussian rectangle Inverse distance rectangle quartic rectangle triangular rectangle triweight rectangle create from shape Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec Running org.jaitools.jts.LineSmootherTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running org.jaitools.jts.PolygonSmootherTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.jts.CoordinateSequence2DTest getCoordinateCopy getCoordinate (int, Coordinate) getX getY getOrdinate size setOrdinate setX setY setXY empty sequence - xy pairs ctor getDimension getCoordinate empty sequence - int ctor toCoordinateArray expandEnvelope clone Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running org.jaitools.jts.UtilsTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running org.jaitools.lookup.LookupTest testLookupCache testLookup Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Results : Tests run: 345, Failures: 0, Errors: 0, Skipped: 17 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jt-utils --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ jt-utils --- [INFO] Installing /home/hudson/genie.jts/.jenkins/jobs/Jaitools/workspace/utils/target/jt-utils-1.5-SNAPSHOT.jar to /opt/public/hipp/homes/genie.jts/.m2/repository/org/jaitools/jt-utils/1.5-SNAPSHOT/jt-utils-1.5-SNAPSHOT.jar [INFO] Installing /home/hudson/genie.jts/.jenkins/jobs/Jaitools/workspace/utils/pom.xml to /opt/public/hipp/homes/genie.jts/.m2/repository/org/jaitools/jt-utils/1.5-SNAPSHOT/jt-utils-1.5-SNAPSHOT.pom