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] Dashboards 2.x failed to build on Windows Agent #2554

Closed
peterzhuamazon opened this issue Oct 12, 2022 · 5 comments · Fixed by #2601
Closed

[BUG] Dashboards 2.x failed to build on Windows Agent #2554

peterzhuamazon opened this issue Oct 12, 2022 · 5 comments · Fixed by #2601
Assignees
Labels
bug Something isn't working v2.4.0 'Issues and PRs related to version v2.4.0' windows

Comments

@peterzhuamazon
Copy link
Member

+ yarn build-platform --all-platforms --skip-os-packages --version-qualifier=
yarn run v1.22.19
$ node scripts/build --all-platforms --skip-os-packages --version-qualifier=
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

 info [  global  ] Verifying environment meets requirements
   │ succ Node.js version verified
   │ succ ✓ 0 sec

 info [  global  ] Cleaning artifacts from previous builds
   │ debg Deleting patterns: [
   │        'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tmpr_kd6u__\\OpenSearch-Dashboards\\build',
   │        'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tmpr_kd6u__\\OpenSearch-Dashboards\\target',
   │        'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tmpr_kd6u__\\OpenSearch-Dashboards\\.node_binaries'
   │      ]
   │ debg Deleted 1 files/directories
   │ succ ✓ 0 sec

 info [  global  ] Downloading node.js builds for all platforms
   │ debg Downloading shasum values for node version 14.20.0 from https://nodejs.org/dist/v14.20.0/SHASUMS256.txt
   │ debg Attempting download of https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-x64.tar.gz 921680e244b813d6ffe06a4c22f87f05f39be635973c79486b2ded12a946cb37
   │ debg Attempting download of https://nodejs.org/dist/v14.20.0/node-v14.20.0-darwin-x64.tar.gz 4471111f666f1d1ec549b002e0d416a7222c0fd416aa62c90b19ff3930b07dba
   │ debg Attempting download of https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-arm64.tar.gz d2d15363a2f3a0446983d51a90af7942fe8b1dd4a7f16128dfe718b3bf56dc07
   │ debg Attempting download of https://nodejs.org/dist/v14.20.0/win-x64/node.exe ac38e3cc6ba00d9209b1890da4e224e6ae819e681a25cc933770c253d40cab46
   │ debg Downloaded https://nodejs.org/dist/v14.20.0/node-v14.20.0-darwin-x64.tar.gz and verified checksum
   │ debg Downloaded https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-x64.tar.gz and verified checksum
   │ debg Downloaded https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-arm64.tar.gz and verified checksum
   │ debg Downloaded https://nodejs.org/dist/v14.20.0/win-x64/node.exe and verified checksum
   │ succ ✓ 1 sec

 info [  global  ] Extracting node.js builds for all platforms

   │ succ ✓ 17 sec

 info [  opensearch-dashboards  ] Copying source into platform-generic build directory

   │ERROR failure 14 sec
   │ERROR Error: EINVAL: invalid argument, utime 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpr_kd6u__\OpenSearch-Dashboards\build\opensearch-dashboards\yarn.lock'

Running on Windows 2019 with nodejs 14.20.0 installed.
Able to run on Ubuntu with no issues.

Thanks.

@peterzhuamazon peterzhuamazon added bug Something isn't working untriaged windows labels Oct 12, 2022
@peterzhuamazon
Copy link
Member Author

Hi @opensearch-project/opensearch-dashboards-core could you take a look at this?
Thanks.

@seanneumann
Copy link
Contributor

seanneumann commented Oct 14, 2022

@AMoo-Miki is looking at this and will respond with LOE by EOD Monday.

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 20, 2022

@AMoo-Miki latest code in his fork is able to build windows on windows agent.
Tested on Jenkins.

@kavilla
Copy link
Member

kavilla commented Oct 24, 2022

@AMoo-Miki can this be closed?

@AMoo-Miki
Copy link
Collaborator

Thanks Peter for confirming. This is fixed by #2601.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.4.0 'Issues and PRs related to version v2.4.0' windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants