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] Integration Test failed for security: 2.9.0 tar distribution #2897

Closed
opensearch-ci-bot opened this issue Jun 23, 2023 · 3 comments
Assignees
Labels
autocut integ-test-failure Integration test failures triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. v2.9.0 v2.9.0

Comments

@opensearch-ci-bot
Copy link
Collaborator

The integration test failed at distribution level for component security
Version: 2.9.0
Distribution: tar
Architecture: arm64
Platform: linux

Please check the logs: https://build.ci.opensearch.org/job/integ-test/5221/display/redirect

* Steps to reproduce: See https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow#integration-tests
* Access components yml file:
- With security (if applicable)
- Without security (if applicable)

Note: All in one test report manifest with all the details coming soon. See opensearch-project/opensearch-build#1274

@opensearch-ci-bot opensearch-ci-bot added autocut v2.9.0 v2.9.0 integ-test-failure Integration test failures untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jun 23, 2023
@DarshitChanpura
Copy link
Member

[Triage] @DarshitChanpura to follow-up on this.

@DarshitChanpura DarshitChanpura self-assigned this Jun 26, 2023
@DarshitChanpura DarshitChanpura added triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. and removed untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jun 26, 2023
@cwperks
Copy link
Member

cwperks commented Jul 10, 2023

Its not clear from the output which test had failed. All I see is:

raise ClusterCreationException("Cluster is not available after 10 attempts")
test_workflow.integ_test.service.ClusterCreationException: Cluster is not available after 10 attempts

@cwperks
Copy link
Member

cwperks commented Jul 10, 2023

The latest integ test that ran with security failed with:


2023-07-05 03:59:30 INFO     /tmp/tmpcjv_8lcw/security/src/main/java/org/opensearch/security/privileges/PrivilegesEvaluator.java:81: error: cannot find symbol

import org.opensearch.common.collect.ImmutableOpenMap;

                                    ^

  symbol:   class ImmutableOpenMap

  location: package org.opensearch.common.collect

/tmp/tmpcjv_8lcw/security/src/main/java/org/opensearch/security/privileges/PrivilegesEvaluator.java:697: error: cannot find symbol

                    return clusterService.state().getMetadata().getIndices().valuesIt();

                                                                            ^

  symbol:   method valuesIt()

  location: interface Map<String,IndexMetadata>

/tmp/tmpcjv_8lcw/security/src/main/java/org/opensearch/security/privileges/PrivilegesEvaluator.java:722: error: cannot find symbol

            final ImmutableOpenMap<String, AliasMetadata> aliases = indexMetaData.getAliases();

                  ^

  symbol:   class ImmutableOpenMap

  location: class PrivilegesEvaluator

/tmp/tmpcjv_8lcw/security/src/main/java/org/opensearch/security/configuration/ClusterInfoHolder.java:115: error: cannot find symbol

        final Iterator<IndexMetadata> indices = state.metadata().indices().valuesIt();

                                                                          ^

  symbol:   method valuesIt()

  location: interface Map<String,IndexMetadata>

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.

4 errors



FAILURE: Build failed with an exception.

This error has been addressed in #2953

Closing this issue.

@cwperks cwperks closed this as completed Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut integ-test-failure Integration test failures triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. v2.9.0 v2.9.0
Projects
None yet
Development

No branches or pull requests

3 participants