elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.12k stars 24.83k forks source link

[CI] WindowsServiceTests test33JavaChanged failing #113177

Open elasticsearchmachine opened 1 month ago

elasticsearchmachine commented 1 month ago

Build Scans:

Reproduction Line:

null

Applicable branches: main

Reproduces locally?: N/A

Failure History: See dashboard&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('test33JavaChanged'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.packaging.test.WindowsServiceTests'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))

Failure Message:

java.lang.RuntimeException: java.io.IOException: could not remove the following files (in the order of attempts):
   C:\tmp\elasticsearch\jdk.copy\bin\extnet.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\extnet.dll
   C:\tmp\elasticsearch\jdk.copy\bin\java.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\java.dll
   C:\tmp\elasticsearch\jdk.copy\bin\java.exe: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\java.exe
   C:\tmp\elasticsearch\jdk.copy\bin\jimage.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\jimage.dll
   C:\tmp\elasticsearch\jdk.copy\bin\jli.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\jli.dll
   C:\tmp\elasticsearch\jdk.copy\bin\jsvml.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\jsvml.dll
   C:\tmp\elasticsearch\jdk.copy\bin\le.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\le.dll
   C:\tmp\elasticsearch\jdk.copy\bin\management.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\management.dll
   C:\tmp\elasticsearch\jdk.copy\bin\management_ext.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\management_ext.dll
   C:\tmp\elasticsearch\jdk.copy\bin\msvcp140.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\msvcp140.dll
   C:\tmp\elasticsearch\jdk.copy\bin\net.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\net.dll
   C:\tmp\elasticsearch\jdk.copy\bin\nio.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\nio.dll
   C:\tmp\elasticsearch\jdk.copy\bin\server\jvm.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\server\jvm.dll
   C:\tmp\elasticsearch\jdk.copy\bin\server: java.nio.file.DirectoryNotEmptyException: C:\tmp\elasticsearch\jdk.copy\bin\server
   C:\tmp\elasticsearch\jdk.copy\bin\sunmscapi.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\sunmscapi.dll
   C:\tmp\elasticsearch\jdk.copy\bin\vcruntime140.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\vcruntime140.dll
   C:\tmp\elasticsearch\jdk.copy\bin\vcruntime140_1.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\vcruntime140_1.dll
   C:\tmp\elasticsearch\jdk.copy\bin\verify.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\verify.dll
   C:\tmp\elasticsearch\jdk.copy\bin\zip.dll: java.nio.file.AccessDeniedException: C:\tmp\elasticsearch\jdk.copy\bin\zip.dll
   C:\tmp\elasticsearch\jdk.copy\bin: java.nio.file.DirectoryNotEmptyException: C:\tmp\elasticsearch\jdk.copy\bin
   C:\tmp\elasticsearch\jdk.copy\lib\modules: java.nio.file.FileSystemException: C:\tmp\elasticsearch\jdk.copy\lib\modules: The process cannot access the file because it is being used by another process
   C:\tmp\elasticsearch\jdk.copy\lib: java.nio.file.DirectoryNotEmptyException: C:\tmp\elasticsearch\jdk.copy\lib
   C:\tmp\elasticsearch\jdk.copy: java.nio.file.DirectoryNotEmptyException: C:\tmp\elasticsearch\jdk.copy

Issue Reasons:

Note: This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

elasticsearchmachine commented 1 month ago

This has been muted on branch main

Mute Reasons:

Build Scans:

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-delivery (Team:Delivery)

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-core-infra (Team:Core/Infra)

mark-vieira commented 1 month ago

@thecoop I saw a message on Slack with you looking into this. Is that still the case or should this belong to delivery?

thecoop commented 1 month ago

@mark-vieira I had a look but didn't get very far. I think @rjernst knows what's happening here.

prdoyle commented 3 weeks ago

This "failure" occurs in PackagingTestCase.teardown and is unlikely to cause any problems for users (beyond the usual problems that users get due to Windows filesystem behaviour).