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

CI Failure (Set changed size during iteration) in CloudStorageChunkReadTest.test_read_when_cache_smaller_than_segment_size #13233

Closed
ztlpn opened this issue Sep 1, 2023 · 1 comment · Fixed by #14032
Assignees
Labels
area/cloud-storage Shadow indexing subsystem ci-failure kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages

Comments

@ztlpn
Copy link
Contributor

ztlpn commented Sep 1, 2023

https://buildkite.com/redpanda/vtools/builds/9259#018a4d33-bbf5-4d66-93c4-3fd78903abcd

Module: rptest.tests.cloud_storage_chunk_read_path_test
Class:  CloudStorageChunkReadTest
Method: test_read_when_cache_smaller_than_segment_size
test_id:    rptest.tests.cloud_storage_chunk_read_path_test.CloudStorageChunkReadTest.test_read_when_cache_smaller_than_segment_size
status:     FAIL
run time:   55.521 seconds


    RuntimeError('Set changed size during iteration')
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 135, in run
    data = self.run_test()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 227, in run_test
    return self.test_context.function(self.test)
  File "/home/ubuntu/redpanda/tests/rptest/services/cluster.py", line 82, in wrapped
    r = f(self, *args, **kwargs)
  File "/home/ubuntu/redpanda/tests/rptest/tests/cloud_storage_chunk_read_path_test.py", line 377, in test_read_when_cache_smaller_than_segment_size
    for file in chunks_found:
RuntimeError: Set changed size during iteration
@ztlpn ztlpn added kind/bug Something isn't working ci-failure labels Sep 1, 2023
@dotnwat dotnwat added area/cloud-storage Shadow indexing subsystem sev/medium Bugs that do not meet criteria for high or critical, but are more severe than low. labels Sep 5, 2023
@abhijat abhijat self-assigned this Oct 3, 2023
@abhijat abhijat added sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages and removed sev/medium Bugs that do not meet criteria for high or critical, but are more severe than low. labels Oct 9, 2023
@abhijat
Copy link
Contributor

abhijat commented Oct 9, 2023

reclassified as sev-low because this is a test bug. the cache observer runs on a thread and the following sequence happened here:

  1. test starts cache observer
  2. cache observer checks variable in loop, sleeps and mutates the data set
  3. test issues stop to cache observer
  4. test starts reading from data set
  5. the observer may have been asleep, it wakes up and mutates the data set before stopping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cloud-storage Shadow indexing subsystem ci-failure kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants