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.sh fails for manifests/1.3.0/opensearch-1.3.0.yml #1661

Closed
tianleh opened this issue Feb 21, 2022 · 5 comments
Closed

[Bug]: ci.sh fails for manifests/1.3.0/opensearch-1.3.0.yml #1661

tianleh opened this issue Feb 21, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@tianleh
Copy link
Member

tianleh commented Feb 21, 2022

Describe the bug

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

Got this error which is failing the PR check.


BUILD FAILED in 1s
2022-02-21 20:14:28 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 21, in main
    CiManifests.from_file(args.manifest, args).check()
  File "/usr/share/opensearch/workspace/main-build/opensearch-build/src/ci_workflow/ci_manifest.py", line 21, in check
    self.__check__()
  File "/usr/share/opensearch/workspace/main-build/opensearch-build/src/ci_workflow/ci_input_manifest.py", line 36, in __check__
    ci_check_list.check()
  File "/usr/share/opensearch/workspace/main-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 "/usr/share/opensearch/workspace/main-build/opensearch-build/src/ci_workflow/ci_check_gradle_properties.py", line 19, in __init__
    self.properties = self.__get_properties()
  File "/usr/share/opensearch/workspace/main-build/opensearch-build/src/ci_workflow/ci_check_gradle_properties.py", line 30, in __get_properties
    return PropertiesFile(self.git_repo.output(cmd))
  File "/usr/share/opensearch/workspace/main-build/opensearch-build/src/git/git_repository.py", line 78, in output
    return subprocess.check_output(command, cwd=cwd, shell=True).decode().strip()
  File "/usr/local/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/local/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command './gradlew properties -Dopensearch.version=1.3.0-SNAPSHOT -Dbuild.snapshot=true' returned non-zero exit status 1.

To reproduce

Check the current main branch (e.g till 947bc5d) and run ./ci.sh manifests/1.3.0/opensearch-1.3.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 Feb 21, 2022
@gaiksaya
Copy link
Member

Looks like issue with alerting plugin:

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/tmp1f3eej9k/alerting/build.gradle' line: 89

* What went wrong:
A problem occurred evaluating root project 'opensearch-alerting'.
> A problem occurred configuring project ':alerting'.
   > Cannot mutate content repository descriptor 'MavenLocal(file:/home/runner/.m2/repository/)' after repository has been used

* 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.

@gaiksaya
Copy link
Member

gaiksaya commented Feb 21, 2022

Can someone from @opensearch-project/alerting-plugin take a took? More details: https://github.com/opensearch-project/opensearch-build/runs/5279731203?check_suite_focus=true
Thanks!

@zelinh
Copy link
Member

zelinh commented Feb 22, 2022

Issue with alerting is tracking here opensearch-project/alerting#312

@peterzhuamazon peterzhuamazon removed the untriaged Issues that have not yet been triaged label Feb 22, 2022
@peterzhuamazon
Copy link
Member

[Triage] We have all the information about this issue, keep monitoring.

@peterzhuamazon
Copy link
Member

This should be fixed for now, close issue.
Thanks,

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

No branches or pull requests

4 participants