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] Gradle check is broken #1285

Closed
dblock opened this issue Sep 23, 2021 · 2 comments
Closed

[BUG] Gradle check is broken #1285

dblock opened this issue Sep 23, 2021 · 2 comments
Labels
bug Something isn't working v1.1.0 Issues, PRs, related to the 1.1.0 release

Comments

@dblock
Copy link
Member

dblock commented Sep 23, 2021

Describe the bug

Gradle check is now failing on #1275. The name of the archive was changed in #1094, but gradle check still runs a bunch of checks expecting the old name.

I am not sure how that's possible and why it's checking versions 1.1 or 1.2 when we're building main that is 2.0.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:staged:buildBwcLinuxTar'.
> Building 1.1.0 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/staged/build/bwc/checkout-1.1/distribution/archives/linux-tar/build/distributions/opensearch-1.1.0-SNAPSHOT-linux-x64.tar.gz

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:minor:buildBwcLinuxTar'.
> Building 1.2.0 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/minor/build/bwc/checkout-1.x/distribution/archives/linux-tar/build/distributions/opensearch-1.2.0-SNAPSHOT-linux-x64.tar.gz

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
@dblock dblock added bug Something isn't working untriaged v1.1.0 Issues, PRs, related to the 1.1.0 release and removed untriaged labels Sep 23, 2021
@xuezhou25
Copy link
Contributor

xuezhou25 commented Sep 23, 2021

@dblock
Should we add -min to 1.0 or just modify bwc test when check 1.0 version?

@dblock
Copy link
Member Author

dblock commented Sep 23, 2021

@dblock
Should we add -min to 1.0 or just modify bwc test when check 1.0 version?

No, that release (and 1.0.1) has shipped and should not be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.1.0 Issues, PRs, related to the 1.1.0 release
Projects
None yet
Development

No branches or pull requests

3 participants