-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Image Management
-
Epic Link:
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.35, nxplatform 11.1.36, nxplatform 11.1.37
-
Story Points:1
It seems that since the merge of ImageMagick 6.9.10 (https://github.com/nuxeo/jx-platform-builders/commit/279756ca18503a04a32e7f3a9c058786f4a43beb), the TestPictureResize tests are failing on all environments on Jenkins X, see https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/master/468
Run unit tests / Run dev unit tests / org.nuxeo.ecm.platform.picture.core.test.TestPictureResize.testResizer Run unit tests / Run dev unit tests / org.nuxeo.ecm.platform.picture.core.test.TestPictureResize.testResizerForDoc
2020-05-11 10:35:53,010 [main] ERROR [IMImageUtils$ImageMagickCaller] ImageMagick failed on command: resizer org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: convert -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -background white -flatten -depth #{targetDepth} #{inputFilePath}[0] jpg:- | convert - -resize #{targetWidth}x#{targetHeight} #{outputFilePath} at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62) ~[classes/:?] at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:76) ~[classes/:?] at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173) ~[classes/:?] at org.nuxeo.ecm.platform.picture.magick.utils.ImageResizer.resize(ImageResizer.java:69) ~[classes/:?] at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils$2.callImageMagick(IMImageUtils.java:157) ~[classes/:?] at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils$ImageMagickCaller.call(IMImageUtils.java:67) ~[classes/:?] at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils.resize(IMImageUtils.java:159) ~[classes/:?] at org.nuxeo.ecm.platform.picture.ImagingComponent.resize(ImagingComponent.java:107) ~[classes/:?] at org.nuxeo.ecm.platform.picture.convert.ResizePictureConverter.convert(ResizePictureConverter.java:65) ~[classes/:?] at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:339) ~[classes/:?] at org.nuxeo.ecm.platform.picture.operation.PictureResize.run(PictureResize.java:106) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:175) ~[classes/:?] at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:180) ~[classes/:?] at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[classes/:?] at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[classes/:?] at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[classes/:?] at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[classes/:?] at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[classes/:?] at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[classes/:?] at org.nuxeo.ecm.platform.picture.core.test.TestPictureResize.testResizer(TestPictureResize.java:98) ~[test-classes/:?]
- is related to
-
NXP-30485 Fix TestPictureResize systematic failure in 10.10 T&P
- Resolved
-
NXP-25549 Picture.Resize does not work with Document as input
- Resolved
- is required by
-
NXP-28402 ShellExecutor must be able to trace the executed command in 10.10
- Resolved
-
NXP-27622 Fix TestPictureResize failing on mac OS
- Resolved
- Is referenced in