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] Build Failure OpenSearchExtensions.kt: (277, 18): Unresolved reference: injectProperty #144

Closed
peternied opened this issue Sep 10, 2021 · 2 comments
Labels
bug Something isn't working v1.1.0

Comments

@peternied
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Use OpenSearch-build workflow ./bundle-workflow/build.sh manifests/opensearch-1.1.0.yml --component index-management --snapshot

Test output

> Task :compileKotlin
e: /tmp/tmpm8u86961/index-management/src/main/kotlin/org/opensearch/indexmanagement/opensearchapi/OpenSearchExtensions.kt: (277, 18): Unresolved reference: injectProperty

> Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 4s
2 actionable tasks: 2 executed
2021-09-10 19:43:32 ERROR    Error building index-management, retry with: /var/jenkins/workspace/bundle-build/bundle-workflow/build.sh manifests/opensearch-1.1.0.yml --component index-management --snapshot
Traceback (most recent call last):
  File "/var/jenkins/workspace/bundle-build/bundle-workflow/src/build.py", line 63, in <module>
    builder.build(manifest.build.version, arch, args.snapshot)
  File "/var/jenkins/workspace/bundle-build/bundle-workflow/src/build_workflow/builder.py", line 37, in build
    self.git_repo.execute(build_command)
  File "/var/jenkins/workspace/bundle-build/bundle-workflow/src/git/git_repository.py", line 67, in execute
    subprocess.check_call(command, cwd=cwd, shell=True)
  File "/usr/lib64/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/var/jenkins/workspace/bundle-build/bundle-workflow/scripts/default/build.sh -v 1.1.0 -a x64 -s true -o artifacts' returned non-zero exit status 1.
@peternied peternied added bug Something isn't working Beta v1.1.0 labels Sep 10, 2021
@bowenlan-amzn
Copy link
Member

Missing one commit in common-utils 1.1 branch, PR for backport that: opensearch-project/common-utils#70

@peternied
Copy link
Member Author

Confirmed resolved in build 107

thalurur pushed a commit to thalurur/open-index-management that referenced this issue Oct 22, 2021
Add support for Kibana 7.10.0

Co-authored-by: Yan Zeng <[email protected]>
Co-authored-by: Yuanqi(Ella) Zhu <[email protected]>
Co-authored-by: Tianli Feng <[email protected]>
Co-authored-by: Drew Baugher <[email protected]>
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
Projects
None yet
Development

No branches or pull requests

2 participants