Skip to content

qa/standalone/scrub: increase status updates frequency#59944

Merged
ronen-fr merged 1 commit intoceph:mainfrom
ronen-fr:wip-rf-standalone-query
Sep 25, 2024
Merged

qa/standalone/scrub: increase status updates frequency#59944
ronen-fr merged 1 commit intoceph:mainfrom
ronen-fr:wip-rf-standalone-query

Conversation

@ronen-fr
Copy link
Contributor

To prevent test timeouts.
Also - remove a failing assertion on a specific 'pg query' output, as it is not central to the test.

Fixes: https://tracker.ceph.com/issues/61385
Fixes: https://tracker.ceph.com/issues/64346

To prevent test timeouts.
Also - remove a failing assertion on a specific 'pg query'
output, as it is not central to the test.

Fixes: https://tracker.ceph.com/issues/61385
Fixes: https://tracker.ceph.com/issues/64346

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
declare -A cond_active_dmp=( ['dmp_state_has_scrubbing']="true" ['query_active']="false" )
sched_data=()
wait_any_cond $pgid 10 $saved_last_stamp cond_active_dmp "WaitingActive " sched_data || return 1
wait_any_cond $pgid 10 $saved_last_stamp cond_active_dmp "WaitingActive " sched_data
Copy link
Contributor

Choose a reason for hiding this comment

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

After the fix we don't return if wait_any_cond fails. Is this intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. That test is flaky, and I still don't know why. It might be just a synchronization issue, and the manager
parameter seems to help, but I am not sure that is all.
As this problem affects many runs, and especially my testing, I prefer to have this line fail without failing the test.
I'll have to find a better fix after all other related scrub changes settle.

@ronen-fr
Copy link
Contributor Author

jenkins test api

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants