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 security-analytics-2.15.0 #1044

Closed
opensearch-ci-bot opened this issue May 23, 2024 · 19 comments
Closed

Comments

@opensearch-ci-bot
Copy link
Collaborator

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@peterzhuamazon
Copy link
Member

> Task :compileJava

/tmp/tmprlj5sre5/security-analytics/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java:136: error: no suitable constructor found for GetAlertsRequest(Table,String,String,<null>,String,List<String>,<null>,<null>)

                new org.opensearch.commons.alerting.action.GetAlertsRequest(

                ^

    constructor GetAlertsRequest.GetAlertsRequest(Table,String,String,String,String,List<String>,List<String>,List<String>,BoolQueryBuilder) is not applicable

      (actual and formal argument lists differ in length)

    constructor GetAlertsRequest.GetAlertsRequest(StreamInput) is not applicable

      (actual and formal argument lists differ in length)

/tmp/tmprlj5sre5/security-analytics/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java:250: error: no suitable constructor found for GetAlertsRequest(Table,String,String,<null>,String,<null>,<null>,List<String>)

        GetAlertsRequest request = new GetAlertsRequest(

                                   ^

    constructor GetAlertsRequest.GetAlertsRequest(Table,String,String,String,String,List<String>,List<String>,List<String>,BoolQueryBuilder) is not applicable

      (actual and formal argument lists differ in length)

    constructor GetAlertsRequest.GetAlertsRequest(StreamInput) is not applicable

      (actual and formal argument lists differ in length)

/tmp/tmprlj5sre5/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:249: 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

/tmp/tmprlj5sre5/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

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.

2 errors

2 warnings


> Task :compileJava FAILED

@opensearch-ci-bot
Copy link
Collaborator Author

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

@opensearch-ci-bot
Copy link
Collaborator Author

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

@abhijeetdandekaribm
Copy link

@peterzhuamazon, I am facing the same issue while building the security-analytics plugin with version 2.15.0.0, could you tell how you fixed this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants