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

Testsuite bugs #764

Open
1 of 2 tasks
DanaSunal opened this issue Jun 2, 2023 · 1 comment
Open
1 of 2 tasks

Testsuite bugs #764

DanaSunal opened this issue Jun 2, 2023 · 1 comment
Assignees
Labels
bug_from_testsuite_run bugs identified from running test-suite in pipeline testsuite_to_be_changed

Comments

@DanaSunal
Copy link
Collaborator

DanaSunal commented Jun 2, 2023

  • ServiceLayer / BasicPart / /v1/list-ltps-and-fcs / Acceptance / vs oam put - 26 Requests in the folder

Iteration: 1 - dummy es-c/index-alias (test passes) fails on 500 Internal Server Error

with request body

{
  "elasticsearch-client-interface-1-0:index-alias": "walckpwhrvem"
}

Elasticsearch throws:

Elasticsearch error occurred: {"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [walckpwhrvem]: an index or data stream exists with the same name as the alias"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [walckpwhrvem]: an index or data stream exists with the same name as the alias"},"status":400}

which suggests, that the same index alias was used in some previous test.

  • ServiceLayer / BasicPart / /v1/update-operation-client / Continuous Integration / Service Idempotent? - 2 Requests in the folder

Request body is formed with undefined parameters:

{
  "application-name": "ElasticSearch",
  "release-number": "1.0.0",
  "old-operation-name": "undefined",
  "new-operation-name": "undefined"
}

I believe this is because ElasticSearch does not have any operations, which means it should be excluded from the randomized input.

@DanaSunal DanaSunal added bug_from_testsuite_run bugs identified from running test-suite in pipeline testsuite_to_be_changed labels Jun 2, 2023
@IswaryaaS
Copy link
Collaborator

IswaryaaS commented Jun 6, 2023

For point#1, need to include a request that deletes the dummy index in ES through API directly from testcases after testing for index-alias is completed.
Also, in services like /v1/redirect-topology-change-information and core-model-1-4:control-construct (OAM Layer), this step of reverting index-alias shall be included.

@IswaryaaS IswaryaaS transferred this issue from openBackhaul/ExecutionAndTraceLog Jun 27, 2023
@IswaryaaS IswaryaaS added this to the AP v2.0.2_test milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug_from_testsuite_run bugs identified from running test-suite in pipeline testsuite_to_be_changed
Projects
None yet
Development

No branches or pull requests

2 participants