Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7318

PreparePackageMojoTest.testSubsystemBaseGeneration fails intermittently

    XMLWordPrintableJSON

    Details

      Description

      In case the test execution fails the Maven output looks like this

      org.apache.sling.maven.slingstart.PreparePackageMojoTest
      testSubsystemBaseGeneration(org.apache.sling.maven.slingstart.PreparePackageMojoTest)  Time elapsed: 0.013 sec  <<< ERROR!
      org.apache.maven.plugin.MojoExecutionException: Problem creating subsystem .esa file /tmp/PreparePackageMojoTest3862315247356430887/slingstart-tmp/test1.subsystem-base
      	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
      	at java.nio.file.Files.newByteChannel(Files.java:361)
      	at java.nio.file.Files.newByteChannel(Files.java:407)
      	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
      	at java.nio.file.Files.newInputStream(Files.java:152)
      	at java.nio.file.Files.copy(Files.java:3068)
      	at org.apache.sling.maven.slingstart.PreparePackageMojo.createSubsystemBaseFile(PreparePackageMojo.java:382)
      	at org.apache.sling.maven.slingstart.PreparePackageMojo.buildSubsystemBase(PreparePackageMojo.java:255)
      	at org.apache.sling.maven.slingstart.PreparePackageMojo.buildContentsMap(PreparePackageMojo.java:235)
      	at org.apache.sling.maven.slingstart.PreparePackageMojo.prepareGlobal(PreparePackageMojo.java:141)
      	at org.apache.sling.maven.slingstart.PreparePackageMojo.execute(PreparePackageMojo.java:131)
      	at org.apache.sling.maven.slingstart.PreparePackageMojoTest.testSubsystemBaseGeneration(PreparePackageMojoTest.java:176)
      

      This happens from time to time also on the ASF Jenkins (e.g. in https://builds.apache.org/view/S-Z/view/Sling/job/sling-slingstart-maven-plugin-1.8/12/org.apache.sling$slingstart-maven-plugin/console).

      This was also reported via https://www.mail-archive.com/dev@sling.apache.org/msg73131.html.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kwin Konrad Windszus
                Reporter:
                kwin Konrad Windszus
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: