[jboss-jira] [JBoss JIRA] (WFCORE-1048) IOException from EmbeddedServerFactorySetupUnitTestCase on Windows
Brian Stansberry (JIRA)
issues at jboss.org
Mon Oct 12 10:25:00 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reassigned WFCORE-1048:
----------------------------------------
Assignee: Tomaz Cerar (was: Brian Stansberry)
[~ctomc] Does this ring any bells with you? It's trying to create a dir at /some/path/20151012162021345 which is down to ms precision, so the fact that the dir already exists (the specifically mentioned reason for IOE on Files.createDirectory()) seems unlikely for a failure that occurs more than once in a great while.
[~pkremens] In any output associated with the test is a "caused by" part of the stacktrace reported? It's not in the TEST-xxx.xml file for some reason. The ISE is created with a cause though.
> 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