[jboss-jira] [JBoss JIRA] (WFCORE-1048) IOException from EmbeddedServerFactorySetupUnitTestCase on Windows

Tomaz Cerar (JIRA) issues at jboss.org
Tue Oct 13 05:01:01 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117634#comment-13117634 ] 

Tomaz Cerar commented on WFCORE-1048:
-------------------------------------

Another solution would be to remove the directories after each test run.

But yes, I completely agree with your evaluation. 
I will look into fixing this.

> IOException from EmbeddedServerFactorySetupUnitTestCase on Windows
> ------------------------------------------------------------------
>
>                 Key: WFCORE-1048
>                 URL: https://issues.jboss.org/browse/WFCORE-1048
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Test Suite
>    Affects Versions: 2.0.0.CR6
>         Environment: Windows
>            Reporter: Petr Kremensky
>            Assignee: Tomaz Cerar
>         Attachments: TEST-org.wildfly.core.embedded.EmbeddedServerFactorySetupUnitTestCase.xml
>
>
> org.wildfly.core.embedded.EmbeddedServerFactorySetupUnitTestCase fails on Windows with
> {noformat}
> java.lang.IllegalStateException: WFLYEMB0020: Cannot setup embedded server
> 	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81)
> 	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
> 	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
> 	at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504)
> 	at java.nio.file.Files.createDirectory(Files.java:674)
> 	at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory.getTempRoot(EmbeddedStandaloneServerFactory.java:178)
> 	at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory.setupCleanDirectories(EmbeddedStandaloneServerFactory.java:107)
> 	at org.wildfly.core.embedded.EmbeddedServerFactorySetupUnitTestCase.testServerOverrideAndDataAndConfigOverride(EmbeddedServerFactorySetupUnitTestCase.java:112)
> {noformat}
> Reproducer job running against the latest core bits https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-core-embedded-windows-reproducer/
> I am able to reproduce locally on my VM host, however test doesn't seem to throw the exception on regular basis (see #4, where build on w2k12 passed (same slave for w2k12 as for #3))



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list