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]: ci failed for manifest opensearch-2.1.0.yml #2294

Closed
tianleh opened this issue Jul 5, 2022 · 1 comment · Fixed by #2295
Closed

[Bug]: ci failed for manifest opensearch-2.1.0.yml #2294

tianleh opened this issue Jul 5, 2022 · 1 comment · Fixed by #2295
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@tianleh
Copy link
Member

tianleh commented Jul 5, 2022

Describe the bug

./ci.sh manifests/2.1.0/opensearch-2.1.0.yml --snapshot failed with this error Project 'plugin' not found in root project 'opensearch-sql'.

The complete error is

2022-07-04 03:18:01 INFO     Executing "./gradlew plugin:dependencies -Dopensearch.version=2.1.0-SNAPSHOT -Dbuild.snapshot=true --configuration compileOnly | grep -e "---"" in /tmp/tmpn5q5akha/sql
FAILURE: Build failed with an exception.
* What went wrong:
Project 'plugin' not found in root project 'opensearch-sql'.
* 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.
* Get more help at https://help.gradle.org/
BUILD FAILED in 1s
2022-07-04 03:18:06 ERROR    CI Manifest check failed
Traceback (most recent call last):
  File "./src/run_ci.py", line 25, in <module>
    sys.exit(main())
  File "./src/run_ci.py", line 20, in main
    CiManifests.from_file(args.manifest, args).check()
  File "/home/runner/work/opensearch-build/opensearch-build/src/ci_workflow/ci_manifest.py", line 21, in check
    self.__check__()
  File "/home/runner/work/opensearch-build/opensearch-build/src/ci_workflow/ci_input_manifest.py", line 41, in __check__
    ci_check_list.check()
  File "/home/runner/work/opensearch-build/opensearch-build/src/ci_workflow/ci_check_list_source.py", line 43, in check
    instance = klass(self.component, self.git_repo, self.target, check.args)
  File "/home/runner/work/opensearch-build/opensearch-build/src/ci_workflow/ci_check_gradle_dependencies.py", line 22, in __init__
    self.dependencies = self.__get_dependencies()
  File "/home/runner/work/opensearch-build/opensearch-build/src/ci_workflow/ci_check_gradle_dependencies.py", line 39, in __get_dependencies
    lines = self.git_repo.output(cmd)
  File "/home/runner/work/opensearch-build/opensearch-build/src/git/git_repository.py", line 78, in output
    return subprocess.check_output(command, cwd=cwd, shell=True).decode().strip()
  File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command './gradlew plugin:dependencies -Dopensearch.version=2.1.0-SNAPSHOT -Dbuild.snapshot=true --configuration compileOnly | grep -e "---"' returned non-zero exit status 1.
Error: Process completed with exit code 1.

See this run for details https://github.com/opensearch-project/opensearch-build/runs/7173513928?check_suite_focus=true

To reproduce

Run ./ci.sh manifests/2.1.0/opensearch-2.1.0.yml --snapshot

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

@tianleh tianleh added bug Something isn't working untriaged Issues that have not yet been triaged labels Jul 5, 2022
@prudhvigodithi
Copy link
Member

This could be because of recent gradle project Name change for sql
opensearch-project/sql#670

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

Successfully merging a pull request may close this issue.

2 participants