opensearch-project / security-analytics

Security Analytics enables users for detecting security threats on their security event log data. It will also allow them to modify/tailor the pre-packaged solution.
Apache License 2.0
72 stars 72 forks source link

[AUTOCUT] Distribution Build Failed for security-analytics-2.13.0 #904

Closed opensearch-ci-bot closed 7 months ago

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

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

gaiksaya commented 7 months ago

Error:

=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.5
  OS Info               : Linux 6.1.49-70.116.amzn2023.x86_64 (amd64)
  JDK Version           : 21 (Eclipse Temurin JDK)
  JAVA_HOME             : /opt/java/openjdk-21
  Random Testing Seed   : 4F2AD11449A76E14
  In FIPS 140 mode      : false
=======================================

> Task :compileJava
/tmp/tmprodyfmvt/security-analytics/src/main/java/org/opensearch/securityanalytics/findings/FindingsService.java:133: error: no suitable constructor found for GetFindingsRequest(<null>,Table,<null>,String,List<String>)
                new org.opensearch.commons.alerting.action.GetFindingsRequest(
                ^
    constructor GetFindingsRequest.GetFindingsRequest(String,Table,String,String,List<String>,BoolQueryBuilder) is not applicable
      (actual and formal argument lists differ in length)
    constructor GetFindingsRequest.GetFindingsRequest(StreamInput) is not applicable
      (actual and formal argument lists differ in length)
/tmp/tmprodyfmvt/security-analytics/src/main/java/org/opensearch/securityanalytics/util/MonitorService.java:70: warning: non-varargs call of varargs method with inexact argument type for last parameter;
                log.error("Error deleting monitors", e.getSuppressed());
                                                                    ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
/tmp/tmprodyfmvt/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:243: warning: non-varargs call of varargs method with inexact argument type for last parameter;
                            new OpenSearchStatusException(String.format(Locale.getDefault(), "User doesn't have read permissions for one or more configured index %s", detectorIndices), RestStatus.FORBIDDEN)
                                                                                                                                                                       ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
2 warnings

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

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.

BUILD FAILED in 16s
1 actionable task: 1 executed
2024-03-14 19:30:29 ERROR    Error building security-analytics, retry with: ./build.sh manifests/2.13.0/opensearch-2.13.0.yml --component security-analytics

cc: @praveensameneni @getsaurabh02

gaiksaya commented 7 months ago

Hello maintainers,

@amsiglan @AWSHurneyt @getsaurabh02 @lezzago @praveensameneni @sbcd90 @eirsep @jowg-amazon @engechas @goyamegh @riysaxen-amzn

Please take a look into above failure in order to unblock 2.13.0 build pipeline. Thanks!

opensearch-ci-bot commented 7 months ago

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

opensearch-ci-bot commented 7 months ago

Closing the issue as the distribution build for security-analytics has passed for version: 2.13.0. Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9587/display/redirect