sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-7318) PreparePackageMojoTest.testSubsystemBaseGeneration fails intermittently
Date Mon, 15 Jan 2018 14:50:04 GMT

     [ https://issues.apache.org/jira/browse/SLING-7318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konrad Windszus closed SLING-7318.
----------------------------------

> PreparePackageMojoTest.testSubsystemBaseGeneration fails intermittently
> -----------------------------------------------------------------------
>
>                 Key: SLING-7318
>                 URL: https://issues.apache.org/jira/browse/SLING-7318
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Slingstart Maven Plugin 1.7.10
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: Slingstart Maven Plugin 1.7.16
>
>
> In case the test execution fails the Maven output looks like this
> {code}
> 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)
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message