[
https://issues.apache.org/jira/browse/LUCENE-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427683#comment-17427683
]
Dawid Weiss commented on LUCENE-10169:
--------------------------------------
I added Windows and MacOS to the job matrix but this results in odd errors,
like this one from Windows Server 2019:
{code:java}
org.apache.lucene.misc.store.TestDirectIODirectory > testDeleteFile FAILED
344 java.lang.AssertionError
345 at
__randomizedtesting.SeedInfo.seed([7EC297CB9412B507:155080758322F0EC]:0)
346 at org.junit.Assert.fail(Assert.java:87)
347 at org.junit.Assert.assertTrue(Assert.java:42)
348 at org.junit.Assert.assertFalse(Assert.java:65)
349 at org.junit.Assert.assertFalse(Assert.java:75)
350 at
org.apache.lucene.store.BaseDirectoryTestCase.testDeleteFile(BaseDirectoryTestCase.java:123)
{code}
or:
{code:java}
org.apache.lucene.misc.store.TestDirectIODirectory >
testCreateOutputForExistingFile FAILED
392 java.nio.file.AccessDeniedException:
D:\a\lucene\lucene\lucene\misc\build\tmp\tests-tmp\lucene.misc.store.TestDirectIODirectory_7EC297CB9412B507-001\tempDir-005\file
393 at
__randomizedtesting.SeedInfo.seed([7EC297CB9412B507:F43630B8F8DD222E]:0)
394 at
java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
395 at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
396 at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
397 at
java.base/sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:120)
398 at
org.apache.lucene.mockfile.FilterFileSystemProvider.newFileChannel(FilterFileSystemProvider.java:200)
399 at
org.apache.lucene.mockfile.DisableFsyncFS.newFileChannel(DisableFsyncFS.java:44)
400 at
org.apache.lucene.mockfile.FilterFileSystemProvider.newFileChannel(FilterFileSystemProvider.java:200)
401 at
org.apache.lucene.mockfile.HandleTrackingFS.newFileChannel(HandleTrackingFS.java:171)
402 at
org.apache.lucene.mockfile.HandleTrackingFS.newFileChannel(HandleTrackingFS.java:171)
403 at
org.apache.lucene.mockfile.FilterFileSystemProvider.newFileChannel(FilterFileSystemProvider.java:200)
404 at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
405 at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
406 at
org.apache.lucene.misc.store.DirectIODirectory$DirectIOIndexOutput.<init>(DirectIODirectory.java:220)
407 at
org.apache.lucene.misc.store.DirectIODirectory.createOutput(DirectIODirectory.java:179)
408 at
org.apache.lucene.store.BaseDirectoryTestCase.testCreateOutputForExistingFile(BaseDirectoryTestCase.java:1217)
{code}
These don't reproduce for me on Windows 10.
> TestDirectIODirectory fails on Windows Server 2019
> --------------------------------------------------
>
> Key: LUCENE-10169
> URL: https://issues.apache.org/jira/browse/LUCENE-10169
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
>
> This is actually a reproducible error - took advantage of Apache's MSDN
> licenses and installed a virtualbox-hosted Windows Server 2019. The test does
> fail all the time there with exactly the same assertions as in LUCENE-10167.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]