-
Notifications
You must be signed in to change notification settings - Fork 35
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] Failure during the running of yarn osd bootstrap
#263
Comments
Having the same issue when assembling OSD distribution, |
This seems to break the build of opensearch-dashboards distribution with https://github.com/opensearch-project/opensearch-build, post my findings here: In the build script, when a plugin build successfully, that plugin source code folder will then be removed. However, when getting errors, the source code folder of reportsDashboards didn't get removed. This causes
|
This issue blocks functional test repo: opensearch-project/opensearch-dashboards-functional-test#985 |
Hi @ruanyl, thanks for providing more findings. Yes, I think for fixing the distribution failure we had 4 PRs in all the insights repos (dashboards-observability, reporting, visualization, and query-workbench) to sync the versions of these dependencies:
However, for the error msg of distribution build failure, both @derek-ho [1] and @cwperks [2] also found out that there are some of the other components needs to align their dependencies. Reference: |
i upgraded yarn.lock to latest versions following semver and bootstrapping once was enough. didn't check which one caused issues |
Hi @joshuali925, isn't that the |
not sure how you upgraded yarn.lock in #268? i did |
@joshuali925 Thanks for the info! I think I updated that in the above PR, but I will double check it to see if we can safely remove the retries in our CI workflow. |
@joshuali925 @RyanL1997 did you folks bootstrap with multiple plugins? I see different errors for multiple plugins, but it seems like there is also a windows failure, not sure if its related: https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/6871/nodes/76/steps/303/log/?start=0, either way there are a few issues here I think, not sure if it is only in this repo or not. |
For this thread I think it is just for the dashboards-reporting. And the PR #270 just fixed that. However, according to what we did to this repo, if there are multiple issues on the bootstrap, we recommended to update the |
@derek-ho the error log says that the cause was outdated dependency name
it should be But it should already be fixed except the dashboards-maps repo, for example in workbench it was fixed by opensearch-project/dashboards-query-workbench@b121775 Maybe should rerun build? |
What is the bug?
Here is the error log from GHA
During the development of the cypress CI workflow, I observed that the above error happens during the bootstrap step of OSD. However, if you retry the bootstrap command, the entire procedure will pass without a single error. (Reference to comment)
This error is constantly happening on GHA and local setup. For GHA, on PR #262, the current workaround is to add 3 retries on this command. And it is also constantly passing on its 2nd try. 😅
Reproduction of the bug?
yarn osd bootstrap
host/environment?
Exit criteria of this issue
The text was updated successfully, but these errors were encountered: