Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Windows builds failing #5688

Open
derek-ho opened this issue Jan 12, 2024 · 1 comment
Open

[BUG] Windows builds failing #5688

derek-ho opened this issue Jan 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working build Build related additions or modifications v2.13.0

Comments

@derek-ho
Copy link
Contributor

Describe the bug

I am trying to build OSD on a windows github runner and getting the following error:

info [  opensearch-dashboards  ] Cleaning npm from node
   │ debg Deleting patterns: [
   │        'D:/a/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/build/opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64/node/**/node_modules',
   │        'D:/a/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/build/opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64/node/**/npm*',
   │        'D:/a/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/build/opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64/node/**/npx*',
   │        'D:/a/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/build/opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64/node/**/corepack*',
   │        'D:/a/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/build/opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64/node/**/nodevars*'
   │      ]
   │ERROR failure 1 sec
   │ERROR Error: EPERM: operation not permitted, rmdir 'D:\a\security-dashboards-plugin\security-dashboards-plugin\OpenSearch-Dashboards\build\opensearch-dashboards-3.0.0-SNAPSHOT-windows-x64\node\fallback\node_modules\npm\node_modules\parallel-transform\node_modules\readable-stream'

Not sure if this is an issue with the build or with my github runner env? I also do see some windows failures on jenkins, although they seem to be slightly different, example:
https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch-dashboards/detail/distribution-build-opensearch-dashboards/7090/pipeline
error:

 info [  opensearch-dashboards  ] Cleaning all empty folders recursively
   │ debg Deleting all empty folders and their children recursively starting on  C:\Users\ContainerAdministrator\tmpe_yejzqg\OpenSearch-Dashboards\build\opensearch-dashboards
   │ERROR failure 16 sec
   │ERROR Error: EPERM: operation not permitted, scandir 'C:\Users\ContainerAdministrator\tmpe_yejzqg\OpenSearch-Dashboards\build\opensearch-dashboards\src\plugins\data_source_management\public\components'

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

OpenSearch Version
Please list the version of OpenSearch being used.

Dashboards Version
Please list the version of OpenSearch Dashboards being used.

Plugins

Please list all plugins currently enabled.

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

@kavilla
Copy link
Member

kavilla commented Feb 20, 2024

@AMoo-Miki can you find the parent issue for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Build related additions or modifications v2.13.0
Projects
None yet
Development

No branches or pull requests

3 participants