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

Fix #8083: Timeout in ControllerUpgradeTest.test_updating_cluster_when_executing_operations #8099

Merged
merged 4 commits into from
Jan 10, 2023

Conversation

rystsov
Copy link
Contributor

@rystsov rystsov commented Jan 6, 2023

Fix timeout in ControllerUpgradeTest.test_updating_cluster_when_executing_operations caused by treating failed rpk.alter_topic_config as if it were successful.

Fixes #8083

Backports Required

  • none - not a bug fix
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v22.3.x
  • v22.2.x
  • v22.1.x

UX Changes

  • none

Release Notes

  • none

@rystsov
Copy link
Contributor Author

rystsov commented Jan 7, 2023

New CI failure in ControllerUpgradeTest.test_updating_cluster_when_executing_operations. The problem was already present there but it was hidden by the faulty rpk wrapper which were treating failure as a success (fixed in this PR). We should not consider it as a blocker since it was already there.

parsing the output to fail on anything but success to avoid
slipping failures as success
@jcsp
Copy link
Contributor

jcsp commented Jan 10, 2023

LGTM, needs fixing for python lint errors.

I edited the Fixes line to make it Related, because this PR is not resolving the failure (it's failing the same way, just with a cleaner error instead of a timeout)

@jcsp jcsp changed the title Fix #8083: Timeout in ControllerUpgradeTest.test_updating_cluster_when_executing_operations tests: fix error handling on Rpk.alter_topic_config (via ControllerUpgradeTest.test_updating_cluster_when_executing_operations) Jan 10, 2023
AdminOperationsFuzzer retries operations when they fail assuming
they are idempotent but some operations used to use randomness
leading to strange effects, fixing them to use randomness only on
initialization
@rystsov
Copy link
Contributor Author

rystsov commented Jan 10, 2023

I edited the Fixes line to make it Related, because this PR is not resolving the failure (it's failing the same way, just with a cleaner error instead of a timeout)

I had segregated the errors:

This PR fixes #8083

Edited it back

@rystsov rystsov changed the title tests: fix error handling on Rpk.alter_topic_config (via ControllerUpgradeTest.test_updating_cluster_when_executing_operations) Fix #8083: Timeout in ControllerUpgradeTest.test_updating_cluster_when_executing_operations Jan 10, 2023
@rystsov rystsov merged commit 5c098ec into redpanda-data:dev Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Failure (Timeout) in ControllerUpgradeTest.test_updating_cluster_when_executing_operations
2 participants