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

DAOS-16027 test: Adding daos_test REBUILD31-34 subtests #14584

Merged
merged 6 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 65 additions & 1 deletion src/tests/ftest/daos_test/rebuild.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'''
(C) Copyright 2018-2023 Intel Corporation.
(C) Copyright 2018-2024 Intel Corporation.

SPDX-License-Identifier: BSD-2-Clause-Patent
'''
Expand All @@ -7,7 +7,7 @@
from daos_core_base import DaosCoreBase


class DaosCoreTestRebuild(DaosCoreBase):

Check warning on line 10 in src/tests/ftest/daos_test/rebuild.py

View workflow job for this annotation

GitHub Actions / Pylint check

too-many-public-methods, Too many public methods (21/20)
"""Run just the daos_test rebuild tests.

:avocado: recursive
Expand Down Expand Up @@ -284,3 +284,67 @@
:avocado: tags=DaosCoreTestRebuild,daos_test,daos_core_test_rebuild,test_rebuild_30
"""
self.run_subtest()

def test_rebuild_31(self):
"""Jira ID: DAOS-16027

Test Description:
Run daos_test -r -s5 -u subtests=31

Use cases:
Core tests for daos_test rebuild

:avocado: tags=all,pr,daily_regression
:avocado: tags=hw,medium
:avocado: tags=unittest
:avocado: tags=DaosCoreTestRebuild,daos_test,daos_core_test_rebuild,test_rebuild_31
"""
self.run_subtest()

def test_rebuild_32(self):
"""Jira ID: DAOS-16027

Test Description:
Run daos_test -r -s5 -u subtests=32

Use cases:
Core tests for daos_test rebuild

:avocado: tags=all,pr,daily_regression
:avocado: tags=hw,medium
:avocado: tags=unittest
:avocado: tags=DaosCoreTestRebuild,daos_test,daos_core_test_rebuild,test_rebuild_32
"""
self.run_subtest()

def test_rebuild_33(self):
"""Jira ID: DAOS-16027

Test Description:
Run daos_test -r -s5 -u subtests=33

Use cases:
Core tests for daos_test rebuild

:avocado: tags=all,pr,daily_regression
:avocado: tags=hw,medium
:avocado: tags=unittest
:avocado: tags=DaosCoreTestRebuild,daos_test,daos_core_test_rebuild,test_rebuild_33
"""
self.run_subtest()

def test_rebuild_34(self):
"""Jira ID: DAOS-16027

Test Description:
Run daos_test -r -s5 -u subtests=34

Use cases:
Core tests for daos_test rebuild

:avocado: tags=all,pr,daily_regression
:avocado: tags=hw,medium
:avocado: tags=unittest
:avocado: tags=DaosCoreTestRebuild,daos_test,daos_core_test_rebuild,test_rebuild_34
"""
self.run_subtest()
18 changes: 18 additions & 0 deletions src/tests/ftest/daos_test/rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
# required quantity is indicated by the placeholders
hosts:
test_servers: 4

timeout: 800
timeouts:
test_rebuild_0to10: 2000
test_rebuild_12to15: 1500
test_rebuild_27: 1500

pool:
nvme_size: 0G

server_config:
name: daos_server
engines_per_host: 2
Expand Down Expand Up @@ -39,12 +42,15 @@ server_config:
storage: auto
transport_config:
allow_insecure: false

agent_config:
transport_config:
allow_insecure: false

dmg:
transport_config:
allow_insecure: false

daos_tests:
num_clients: 1
num_replicas: 1
Expand All @@ -66,6 +72,10 @@ daos_tests:
test_rebuild_28: DAOS_Rebuild_28
test_rebuild_29: DAOS_Rebuild_29
test_rebuild_30: DAOS_Rebuild_30
test_rebuild_31: DAOS_Rebuild_31
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately test_rebuild_31 currently hangs. I discussed with @liuxuezhao and that failure is related to some overall rebuild error case handling that needs refinement, https://daosio.atlassian.net/browse/DAOS-15847.

He gave me an idea to try with test_rebuild_31 using a different type of fault injection. I can check that out separately. In the meantime, maybe we could (if the tests are able to pass) enable tests 32-35.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added skip list entries for test_rebuild_31 and test_rebuild_32.

test_rebuild_32: DAOS_Rebuild_32
test_rebuild_33: DAOS_Rebuild_33
test_rebuild_34: DAOS_Rebuild_34
daos_test:
test_rebuild_0to10: r
test_rebuild_12to15: r
Expand All @@ -84,6 +94,10 @@ daos_tests:
test_rebuild_28: r
test_rebuild_29: r
test_rebuild_30: r
test_rebuild_31: r
test_rebuild_32: r
test_rebuild_33: r
test_rebuild_34: r
args:
test_rebuild_0to10: -s3 -u subtests="0-10"
test_rebuild_12to15: -s3 -u subtests="12-15"
Expand All @@ -102,6 +116,10 @@ daos_tests:
test_rebuild_28: -s3 -u subtests="28"
test_rebuild_29: -s5 -u subtests="29"
test_rebuild_30: -s5 -u subtests="30"
test_rebuild_31: -s5 -u subtests="31"
test_rebuild_32: -s5 -u subtests="32"
test_rebuild_33: -s5 -u subtests="33"
test_rebuild_34: -s5 -u subtests="34"
stopped_ranks:
test_rebuild_26: ["random"]
test_rebuild_27: ["random"]
Expand Down
Loading