Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13240

Fix random tiling test failures

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      1,000
    • Sprint:
      Sprint RepoTeam 5.9.4-1, Sprint RepoTeam 5.9.4-2, Sprint RepoTeam 5.9.4-3

      Description

      The following builds are failing when run on chipolata:

      • org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters.testAdapter - org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters.testAdapterOnPicture
      • org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters.testAdapterOnPictureWithOriginalJpegView

      https://qa.nuxeo.org/jenkins/job/nuxeo-features-master/2104/
      https://qa.nuxeo.org/jenkins/job/nuxeo-features-master/2105/

      org.nuxeo.ecm.core.api.ClientException: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: /bin/sh -c stream -map rgb -storage-type char -extract  "259"x"259"+"0"+"0" "/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg" - | convert -depth 8 -size "259"x"259" -resize "255"x"255"!  rgb:-  "/tmp/8920adc02b7482148e64a42547b6dfd5/tiles-255-255-15/tile0-0-1382377463420.jpg"
      stream: unable to open image `/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg':  @ error/blob.c/OpenBlob/2587.
        stream: missing an image filename `/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg' @ error/stream.c/StreamImageCommand/762.
        convert: unexpected end-of-file `-':  @ error/rgb.c/ReadRGBImage/231.
      	at org.nuxeo.ecm.platform.pictures.tiles.magick.tiler.MagickTiler.getTilesFromFile(MagickTiler.java:137)
      	at org.nuxeo.ecm.platform.pictures.tiles.service.PictureTilingComponent.computeTiles(PictureTilingComponent.java:391)
      	at org.nuxeo.ecm.platform.pictures.tiles.service.PictureTilingComponent.getTilesWithSync(PictureTilingComponent.java:323)
      	at org.nuxeo.ecm.platform.pictures.tiles.service.PictureTilingComponent.getTiles(PictureTilingComponent.java:228)
      	at org.nuxeo.ecm.platform.pictures.tiles.api.adapter.PictureTilesAdapterImpl.getTiles(PictureTilesAdapterImpl.java:84)
      	at org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters.assertTilingIsWorkingFor(TestAdapters.java:93)
      	at org.nuxeo.ecm.platform.pictures.tiles.service.test.TestAdapters.testAdapter(TestAdapters.java:86)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)
      	at org.jmock.integration.junit4.JMock$1.invoke(JMock.java:37)
      	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)
      	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
      	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)
      	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
      	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
      	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:98)
      	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:61)
      	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:54)
      	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
      	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
      	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:52)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: /bin/sh -c stream -map rgb -storage-type char -extract  "259"x"259"+"0"+"0" "/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg" - | convert -depth 8 -size "259"x"259" -resize "255"x"255"!  rgb:-  "/tmp/8920adc02b7482148e64a42547b6dfd5/tiles-255-255-15/tile0-0-1382377463420.jpg"
      stream: unable to open image `/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg':  @ error/blob.c/OpenBlob/2587.
        stream: missing an image filename `/tmp/8920adc02b7482148e64a42547b6dfd5/1647801193.jpg' @ error/stream.c/StreamImageCommand/762.
        convert: unexpected end-of-file `-':  @ error/rgb.c/ReadRGBImage/231.
      	at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:61)
      	at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:98)
      	at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:160)
      	at org.nuxeo.ecm.platform.picture.magick.MagickExecutor.execCommand(MagickExecutor.java:43)
      	at org.nuxeo.ecm.platform.picture.magick.utils.ImageCropperAndResizer.cropAndResize(ImageCropperAndResizer.java:46)
      	at org.nuxeo.ecm.platform.pictures.tiles.magick.tiler.MagickTiler.getTilesFromFile(MagickTiler.java:133)
      

      -> see if this is a real issue (and move this to NXP) or if it's a specific issue on chipolata

      when issue if fixed, job contribution should be updated to stop avoiding running builds on chipolata (see https://qa.nuxeo.org/jenkins/job/nuxeo-features-master/jobConfigHistory/showDiffFiles?timestamp1=2013-09-30_16-55-37&timestamp2=2013-10-21_21-10-01)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: