-
Notifications
You must be signed in to change notification settings - Fork 340
DAOS-18402 test: Fix test_lost_majority_ps_replicas to make sure it r… #17339
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
base: master
Are you sure you want to change the base?
Conversation
…emoves rdb-pool from 2 ranks Currently, the algorithm removes rbd-pool only from /mnt/daos0/<pool>. rdb-pool is created in 3 out of 4 ranks randomly. Thus, if it’s not created in /mnt/daos0/<pool> of one of the nodes, the test will only remove one rdb-pool and the test will fail. Fix it so that it removes two rdb-pool. Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Signed-off-by: Makito Kano <makito.kano@hpe.com>
|
Ticket title is 'CR Test Fix - recovery/pool_list_consolidation.py test_lost_majority_ps_replicas' |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Signed-off-by: Makito Kano <makito.kano@hpe.com>
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Test-repeat: 5 Signed-off-by: Makito Kano <makito.kano@hpe.com>
|
Test stage Functional Hardware Medium completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17339/3/testReport/ |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Test-repeat: 5
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Signed-off-by: Makito Kano <makito.kano@hpe.com>
| if self.server_managers[0].manager.job.using_control_metadata: | ||
| self.log.info("MD-on-SSD cluster. It will be supported later.") | ||
| # return results in PASS. | ||
| return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a cancel, not a pass
| if self.server_managers[0].manager.job.using_control_metadata: | |
| self.log.info("MD-on-SSD cluster. It will be supported later.") | |
| # return results in PASS. | |
| return | |
| if self.server_managers[0].manager.job.using_control_metadata: | |
| self.log.info("MD-on-SSD cluster. It will be supported later.") | |
| self.cancelForTicket('DAOS-18402') |
| rdb_pool_path_0 = f"/mnt/daos0/{pool.uuid.lower()}/rdb-pool" | ||
| rdb_pool_path_1 = f"/mnt/daos1/{pool.uuid.lower()}/rdb-pool" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get these mount paths from the params instead of hardcoding. E.g.
daos/src/tests/ftest/pool/verify_space.py
Lines 220 to 222 in d5ef326
| scm_mounts = set() | |
| for engine_params in self.server_managers[0].manager.job.yaml.engine_params: | |
| scm_mounts.add(engine_params.get_value('scm_mount')) |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas
Also get the mount paths from self.server_managers[0].manager.job.yaml.engine_params Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test-medium: false Test-tag: test_lost_majority_ps_replicas Signed-off-by: Makito Kano <makito.kano@hpe.com>
…emoves rdb-pool from 2 ranks
Currently, the algorithm removes rbd-pool only from /mnt/daos0/. rdb-pool is created in 3 out of 4 ranks randomly. Thus, if it’s not created in
/mnt/daos0/ of one of the nodes, the test will only remove one rdb-pool and the test will fail. Fix it so that it removes two rdb-pool.
Skip-unit-tests: true
Skip-fault-injection-test: true
Skip-func-hw-test-medium: false
Test-tag: test_lost_majority_ps_replicas
Steps for the author:
After all prior steps are complete: