-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Integration tests fail on Windows #39904
Copy link
Copy link
Closed
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructureTeam:DeliveryMeta label for Delivery teamMeta label for Delivery teamv8.0.0-alpha1
Description
The latest master cannot run integration tests on windows due to:
Exception in thread "main" java.nio.file.AccessDeniedException: C:\Windows\elasticsearch
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
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 java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at org.elasticsearch.tools.launchers.TempDirectory.main(TempDirectory.java:52)
It looks like the temporary folder is not set which causes the default/system folder (C:\Windows) to be used instead which obviously fails.
From try-outs it looks commit 465343f introduced this change in behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructureTeam:DeliveryMeta label for Delivery teamMeta label for Delivery teamv8.0.0-alpha1
Type
Fields
Give feedbackNo fields configured for issues without a type.