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]: 2.12.0 build.sh missing #4350

Closed
Tracked by #4115
derek-ho opened this issue Jan 17, 2024 · 5 comments · Fixed by #4351 or #4353
Closed
Tracked by #4115

[Bug]: 2.12.0 build.sh missing #4350

derek-ho opened this issue Jan 17, 2024 · 5 comments · Fixed by #4351 or #4353
Assignees
Labels
bug Something isn't working cicd untriaged Issues that have not yet been triaged v2.12.0

Comments

@derek-ho
Copy link
Contributor

Describe the bug

I am seeing the following error log from the autocut:

C:\Users\Administrator\jenkins\workspace\distribution-build-opensearch-dashboards\scripts\default\opensearch-dashboards\build.sh: line 13: ../../../lib/shell/file_management.sh: No such file or directory

Found a similar line for tar builds as well. I am suspecting something went wrong with the build process and the default script build.sh is not present

To reproduce

Logs: https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/7113/nodes/76/log/?start=0

Expected behavior

No response

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@derek-ho derek-ho added bug Something isn't working untriaged Issues that have not yet been triaged v2.12.0 labels Jan 17, 2024
@derek-ho
Copy link
Contributor Author

Similar issue for main/3.0.0:

2024-01-17 12:39:19 INFO Executing "bash /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/build.sh -v 3.0.0 -p linux -a x64 -s false -o builds" in /tmp/tmpqpkioqxq/securityDashboards

  • . ../../../lib/shell/file_management.sh
    /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/build.sh: line 13: ../../../lib/shell/file_management.sh: No such file or directory

https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/7115/nodes/70/log/?start=0

@prudhvigodithi
Copy link
Collaborator

prudhvigodithi commented Jan 17, 2024

Thanks @derek-ho, this is coming from the PR #4343. @peterzhuamazon can you please take a look.
Related issue: #4345
Thanks

@peterzhuamazon peterzhuamazon self-assigned this Jan 17, 2024
@peterzhuamazon peterzhuamazon added cicd and removed untriaged Issues that have not yet been triaged labels Jan 17, 2024
@github-actions github-actions bot added the untriaged Issues that have not yet been triaged label Jan 18, 2024
@peterzhuamazon
Copy link
Member

peterzhuamazon commented Jan 18, 2024

Seems like the cleanup is still not fully in effect: https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/7117/nodes/70/steps/297/log/?start=0


$ husky install
husky - Git hooks installed

ERROR [single_version_dependencies] Multiple version ranges for the same dependency
      were found declared across different package.json files. Please consolidate
      those to match across all package.json files. Different versions for the
      same dependency is not supported.

      If you have questions about this please reach out to the operations team.

      The conflicting dependencies are:

        plotly.js-dist
          ^1.57.1 => gantt-chart-dashboards
          ^2.2.0 => observability-dashboards
        react-plotly.js
          ^2.4.0 => gantt-chart-dashboards
          ^2.5.1 => observability-dashboards
error Command failed with exit code 1.

But obs already get removed and gantt still having issues:


Removing ../OpenSearch-Dashboards/plugins/observabilityDashboards
+ rm -rf -- ../OpenSearch-Dashboards/plugins/observabilityDashboards

Will need to take a deeper look on this.

@peterzhuamazon
Copy link
Member

Then right after gantt, dashboards-assistant also shows issues related to gantt and obs:


$ husky install
husky - Git hooks installed

 info [gantt-chart-dashboards] running yarn

[1/4] Resolving packages...
success Already up-to-date.

 info [observability-dashboards] running yarn

[1/4] Resolving packages...
success Already up-to-date.
$ husky install
husky - Git hooks installed

ERROR [single_version_dependencies] Multiple version ranges for the same dependency
      were found declared across different package.json files. Please consolidate
      those to match across all package.json files. Different versions for the
      same dependency is not supported.

      If you have questions about this please reach out to the operations team.

      The conflicting dependencies are:

        @types/react-test-renderer
          ^16.9.1 => assistant-dashboards
          ^18.0.0 => observability-dashboards
        husky
          ^8.0.0 => assistant-dashboards
          ^8.0.3 => observability-dashboards
        plotly.js-dist
          ^1.57.1 => gantt-chart-dashboards
          ^2.2.0 => observability-dashboards
        react-plotly.js
          ^2.4.0 => gantt-chart-dashboards
          ^2.5.1 => observability-dashboards
error Command failed with exit code 1.

@peterzhuamazon
Copy link
Member

Think I find the issue now:

2024-01-18 18:43:23 ERROR    Failed plugins are ['observabilityDashboards', 'customImportMapDashboards']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cicd untriaged Issues that have not yet been triaged v2.12.0
Projects
3 participants