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

[AUTOCUT] Distribution Build Failed for alerting-2.15.0 #1579

Closed
opensearch-ci-bot opened this issue Jun 13, 2024 · 2 comments
Closed

[AUTOCUT] Distribution Build Failed for alerting-2.15.0 #1579

opensearch-ci-bot opened this issue Jun 13, 2024 · 2 comments
Labels
autocut untriaged v2.15.0 Issues targeting release v2.15.0

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building alerting, retry with: ./build.sh manifests/2.15.0/opensearch-2.15.0.yml --component alerting.
alerting failed during the distribution build for version: 2.15.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9969/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@opensearch-ci-bot opensearch-ci-bot added autocut untriaged v2.15.0 Issues targeting release v2.15.0 labels Jun 13, 2024
@peterzhuamazon
Copy link
Member


> Task :alerting:compileKotlin FAILED
e: file:///tmp/tmppyvbx85w/alerting/alerting/src/main/kotlin/org/opensearch/alerting/resthandler/RestIndexAlertingCommentAction.kt:79:35 None of the following functions can be called with the arguments supplied: 
public constructor IndexCommentRequest(entityId: String, commentId: String, seqNo: Long, primaryTerm: Long, method: RestRequest.Method, content: String) defined in org.opensearch.commons.alerting.action.IndexCommentRequest
public constructor IndexCommentRequest(sin: StreamInput) defined in org.opensearch.commons.alerting.action.IndexCommentRequest
e: file:///tmp/tmppyvbx85w/alerting/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportIndexAlertingCommentAction.kt:130:32 Unresolved reference: entityType
e: file:///tmp/tmppyvbx85w/alerting/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportIndexAlertingCommentAction.kt:134:115 Unresolved reference: entityType
e: file:///tmp/tmppyvbx85w/alerting/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportIndexAlertingCommentAction.kt:186:17 Cannot find a parameter with this name: entityType
e: file:///tmp/tmppyvbx85w/alerting/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportIndexAlertingCommentAction.kt:186:38 Unresolved reference: entityType

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':alerting:compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > 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 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for alerting has passed for version: 2.15.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9970/display/redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut untriaged v2.15.0 Issues targeting release v2.15.0
Projects
None yet
Development

No branches or pull requests

2 participants