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

[AUTOCUT] Distribution Build Failed for OpenSearch-Dashboards-3.0.0 #5413

Closed
opensearch-ci-bot opened this issue Oct 31, 2023 · 59 comments · Fixed by #5455
Closed

[AUTOCUT] Distribution Build Failed for OpenSearch-Dashboards-3.0.0 #5413

opensearch-ci-bot opened this issue Oct 31, 2023 · 59 comments · Fixed by #5455
Labels
autocut Skip the changelog verification check on backports v3.0.0

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6730/consoleFull

@opensearch-ci-bot opensearch-ci-bot added autocut Skip the changelog verification check on backports untriaged v3.0.0 labels Oct 31, 2023
@manasvinibs
Copy link
Member

@opensearch-project/opensearch-build cc @bbarani
Looks like Node js no longer supports build for v14.21.3 for Darwin + arm64. The error in the logs is pointing to nodejs executables and getting 404 for not finding the executable for node-v14.21.3 for Darwin platform arm64 arch. Do not see it in the available list of releases for v14.21.3 https://nodejs.org/download/release/v14.21.3/

debg Downloading shasum values for node version 18.16.0 from https://nodejs.org/dist/v18.16.0/SHASUMS256.txt
   │ debg Downloading shasum values for node version 14.21.3 from https://nodejs.org/dist/v14.21.3/SHASUMS256.txt
   │ERROR failure 0 sec
   │ERROR Error: sha256 checksum of https://nodejs.org/dist/v14.21.3/node-v14.21.3-darwin-arm64.tar.gz not provided, refusing to download.
   │          at download (/tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/lib/download.ts:66:11)
   │          at /tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/tasks/nodejs/download_node_builds_task.ts:69:15
   │          at processTicksAndRejections (node:internal/process/task_queues:95:5)
   │          at async Promise.all (index 8)
   │          at Object.run (/tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/tasks/nodejs/download_node_builds_task.ts:50:5)
   │          at execTask (/tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/lib/runner.ts:69:7)
   │          at run (/tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/lib/runner.ts:95:7)
   │          at buildDistributables (/tmp/tmp_tedgmgz/OpenSearch-Dashboards/src/dev/build/build_distributables.ts:66:3)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2023-10-31 12:37:10 ERROR    Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards
2023-10-31 12:37:10 INFO     Removing /tmp/tmp_tedgmgz
Traceback (most recent call last):
  File "/var/jenkins/workspace/distribution-build-opensearch-dashboards@2/./src/run_build.py", line 88, in <module>
    sys.exit(main())
  File "/var/jenkins/workspace/distribution-build-opensearch-dashboards@2/./src/run_build.py", line 69, in main
    builder.build(build_recorder)
  File "/var/jenkins/workspace/distribution-build-opensearch-dashboards@2/src/build_workflow/builder_from_source.py", line 56, in build
    self.git_repo.execute(build_command)
  File "/var/jenkins/workspace/distribution-build-opensearch-dashboards@2/src/git/git_repository.py", line 85, in execute
    subprocess.check_call(command, cwd=cwd, shell=True)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'bash /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/components/OpenSearch-Dashboards/build.sh -v 3.0.0 -p linux -a x64 -d rpm -s false -o builds' returned non-zero exit status 1.

@bbarani
Copy link
Member

bbarani commented Oct 31, 2023

Tagging @opensearch-project/engineering-effectiveness team.

@gaiksaya
Copy link
Member

Hi @manasvinibs,

Any idea how the CI check is passing in this case for opensearch-dashboards? Or is it something only being executed during distribution builds? I believe this is the PR that introduced darwin arm64 config: #5290

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6731/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6731/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6732/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6732/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6733/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6733/consoleFull

@kavilla
Copy link
Member

kavilla commented Nov 1, 2023

Hi @manasvinibs,

Any idea how the CI check is passing in this case for opensearch-dashboards? Or is it something only being executed during distribution builds? I believe this is the PR that introduced darwin arm64 config: #5290

@gaiksaya we can do further investigation, but initial discovery @manasvinibs and I were able to see certain builds for versions have this darwin arm64. Looking online others also say this as well. Our current guess is what we are experiencing pain with as well. That Node 14 is EOL, and is vulnerable and to fix these vulnerabilities become more and more unmaintainable. At the time NodeJS hosted a link that was available for download, but since its EOL, it is probably easier (IMO the right thing) to drop support.

Which probably something we will have to think about as we grow. We would have to build and maintain a Node 14 version ourselves. Fixing vulnerabilities until we officially no longer support Node 14. But then we would have to think about this for every upstream dependencies. Node 18, Node Latest, Java, etc.

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6734/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6734/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6735/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6751/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6752/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6752/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6753/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6754/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6755/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6755/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6756/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6756/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6758/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6758/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6759/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6759/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6760/consoleFull

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for OpenSearch-Dashboards has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6761/consoleFull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports v3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants