Closed opensearch-ci-bot closed 2 weeks ago
> 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.
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
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