Failed
it.tidalwave.image.op.ReadOpTest.testReadJPG1 (from TestSuite)
Error Message
expected:<JPEG> but was:<Optional[JPEG]>
Stacktrace
java.lang.AssertionError: expected:<JPEG> but was:<Optional[JPEG]> at it.tidalwave.image.op.ReadOpTest.testReadJPG1(ReadOpTest.java:69)
Standard Output
04:48:39.213 [main ] TRACE it.tidalwave.image.op.ReadOp - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0, 0, []) 04:48:39.213 [main ] INFO it.tidalwave.image.op.ReadOp - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0) 04:48:39.213 [main ] TRACE it.tidalwave.image.op.ReadOp - createImageReader(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, ReadOp.PluginBlackList(plugins=[com.sun.imageio.plugins.tiff.TIFFImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter])) 04:48:39.213 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> suffix is jpg 04:48:39.213 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@1ccd73e4, false, jpg) 04:48:39.214 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@1ccd73e4, javax.imageio.ImageIO$ImageReaderIterator@75de124f) 04:48:39.214 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@6f1cf458, vendor: Oracle Corporation 04:48:39.214 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@6f1cf458, vendor: Oracle Corporation 04:48:39.214 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@6f1cf458 04:48:39.286 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:48:39.286 [main ] TRACE it.tidalwave.image.op.ReadOp - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@6f1cf458, 0) 04:48:39.311 [main ] DEBUG it.tidalwave.image.op.ReadOp - >>>> iioMetadata class: class com.sun.imageio.plugins.jpeg.JPEGMetadata, using metadata loader: class it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader 04:48:39.312 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@36a178c0, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@2d23ca17, class it.tidalwave.image.metadata.TIFF) 04:48:39.312 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@c2a857f) 04:48:39.312 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@36a178c0, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@2d23ca17, class it.tidalwave.image.metadata.EXIF) 04:48:39.312 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@11138d32) 04:48:39.312 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@36a178c0, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@2d23ca17, class it.tidalwave.image.metadata.MakerNote) 04:48:39.312 [main ] WARN it.tidalwave.image.op.ReadOp - No loader for class it.tidalwave.image.metadata.MakerNote 04:48:39.312 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@36a178c0, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@2d23ca17, class it.tidalwave.image.metadata.IPTC) 04:48:39.312 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@2cc980a8) 04:48:39.312 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@36a178c0, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@2d23ca17, class it.tidalwave.image.metadata.XMP) 04:48:39.312 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@1f098454) 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .size: 100, 66 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .tiles: 1 1 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .class: java.awt.image.BufferedImage 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .sampleModel: java.awt.image.PixelInterleavedSampleModel[width: 100, height: 66, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0] 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorModel: java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@52d0a5fe transparency = 1 has alpha = false isAlphaPre = false 04:48:39.312 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0, 0, []) 04:48:39.312 [main ] INFO it.tidalwave.image.op.ReadOp - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0) 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - createImageReader(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, ReadOp.PluginBlackList(plugins=[com.sun.imageio.plugins.tiff.TIFFImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter])) 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> suffix is jpg 04:48:39.312 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@4a279472, false, jpg) 04:48:39.312 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@4a279472, javax.imageio.ImageIO$ImageReaderIterator@2a8b815e) 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@393ecab5, vendor: Oracle Corporation 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@393ecab5, vendor: Oracle Corporation 04:48:39.312 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@393ecab5 04:48:39.388 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:48:39.388 [main ] TRACE it.tidalwave.image.op.ReadOp - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@393ecab5, 0) 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - >>>> iioMetadata class: class com.sun.imageio.plugins.jpeg.JPEGMetadata, using metadata loader: class it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3e5c36b3, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@5aa28fee, class it.tidalwave.image.metadata.TIFF) 04:48:39.390 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@35fb1203) 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3e5c36b3, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@5aa28fee, class it.tidalwave.image.metadata.EXIF) 04:48:39.390 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@357b6e86) 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3e5c36b3, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@5aa28fee, class it.tidalwave.image.metadata.MakerNote) 04:48:39.390 [main ] WARN it.tidalwave.image.op.ReadOp - No loader for class it.tidalwave.image.metadata.MakerNote 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3e5c36b3, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@5aa28fee, class it.tidalwave.image.metadata.IPTC) 04:48:39.390 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@6acd3f34) 04:48:39.390 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3e5c36b3, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@5aa28fee, class it.tidalwave.image.metadata.XMP) 04:48:39.390 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@245e007c) 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .size: 100, 64 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .tiles: 1 1 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .class: java.awt.image.BufferedImage 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .sampleModel: java.awt.image.PixelInterleavedSampleModel[width: 100, height: 64, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0] 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorModel: java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@52d0a5fe transparency = 1 has alpha = false isAlphaPre = false 04:48:39.390 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:48:39.394 [main ] INFO it.tidalwave.image.op.ReadOpTest - ******************* 04:48:39.394 [main ] INFO it.tidalwave.image.op.ReadOpTest - TEST "testReadJPG1" 04:48:39.394 [main ] INFO it.tidalwave.image.op.ReadOpTest - ******************* 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0, 0, []) 04:48:39.395 [main ] INFO it.tidalwave.image.op.ReadOp - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0) 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - createImageReader(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, ReadOp.PluginBlackList(plugins=[com.sun.imageio.plugins.tiff.TIFFImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter])) 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> suffix is jpg 04:48:39.395 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@240e8241, false, jpg) 04:48:39.395 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@240e8241, javax.imageio.ImageIO$ImageReaderIterator@70072b5c) 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@14c5dca0, vendor: Oracle Corporation 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@14c5dca0, vendor: Oracle Corporation 04:48:39.395 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@14c5dca0 04:48:39.447 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:48:39.447 [main ] TRACE it.tidalwave.image.op.ReadOp - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@14c5dca0, 0) 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - >>>> iioMetadata class: class com.sun.imageio.plugins.jpeg.JPEGMetadata, using metadata loader: class it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@15a80e92, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@7661582c, class it.tidalwave.image.metadata.TIFF) 04:48:39.460 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@407973f5) 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@15a80e92, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@7661582c, class it.tidalwave.image.metadata.EXIF) 04:48:39.460 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@1b54fe45) 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@15a80e92, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@7661582c, class it.tidalwave.image.metadata.MakerNote) 04:48:39.460 [main ] WARN it.tidalwave.image.op.ReadOp - No loader for class it.tidalwave.image.metadata.MakerNote 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@15a80e92, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@7661582c, class it.tidalwave.image.metadata.IPTC) 04:48:39.460 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@4e5daf23) 04:48:39.460 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@15a80e92, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@7661582c, class it.tidalwave.image.metadata.XMP) 04:48:39.460 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@32013efc) 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .size: 100, 66 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .tiles: 1 1 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .class: java.awt.image.BufferedImage 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .sampleModel: java.awt.image.PixelInterleavedSampleModel[width: 100, height: 66, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0] 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorModel: java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@52d0a5fe transparency = 1 has alpha = false isAlphaPre = false 04:48:39.460 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:48:39.461 [main ] ERROR it.tidalwave.image.op.ReadOpTest - TEST FAILED in 67 msec - testReadJPG1 - java.lang.AssertionError: expected:<JPEG> but was:<Optional[JPEG]> 04:48:39.461 [main ] ERROR it.tidalwave.image.op.ReadOpTest - TEST FAILED java.lang.AssertionError: expected:<JPEG> but was:<Optional[JPEG]> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) at it.tidalwave.image.op.ReadOpTest.testReadJPG1(ReadOpTest.java:69) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86) at org.testng.internal.Invoker.invokeMethod(Invoker.java:643) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.privateRun(TestRunner.java:782) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.run(TestNG.java:1064) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) 04:48:39.461 [main ] ERROR it.tidalwave.image.op.ReadOpTest -