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

backupccl: deflake TestBackupRestoreSystemJobProgress #68961

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

adityamaru
Copy link
Contributor

In the case of backup we only update the jobs fraction
progressed if we have exported a complete span. This
change adds some logic to wait until atleast one complete
span has been exported, before checking for a progress update.

Release note: None

@adityamaru adityamaru requested review from dt, pbardea and a team August 15, 2021 02:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@adityamaru
Copy link
Contributor Author

I've got stress passing for several minutes now, but the test seems too heavyweight to get any stressrace runs in. Open to ideas on how to make it run quicker.

In the case of backup we only update the jobs fraction
progressed if we have exported a complete span. This
change adds some logic to wait until atleast one complete
span has been exported, before checking for a progress update.

Release note: None
Copy link
Contributor

@pbardea pbardea left a comment

Choose a reason for hiding this comment

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

Nice find! I think a lot of the backup tests are pretty heavy weight in terms of running under stressrace. I'm not quite sure what we could do to this test in particular?

@adityamaru
Copy link
Contributor Author

adityamaru commented Aug 16, 2021

Yeah, I'm inclined to bors this for now to unclog CI. TFTR!

bors r=pbardea

@craig
Copy link
Contributor

craig bot commented Aug 16, 2021

Build succeeded:

@craig craig bot merged commit dfe97af into cockroachdb:master Aug 16, 2021
@adityamaru adityamaru deleted the skip-test-progress branch August 16, 2021 15:22
craig bot pushed a commit that referenced this pull request Aug 16, 2021
68812: randgen: generate random expression indexes r=mgartner a=mgartner

#### randgen: refactor random expression generation

This commit refactors the code that generates random computed columns so
that the logic for generating random expressions can be used in a future
commit to generate random expression indexes.

Release note: None

#### randgen: generate random expression indexes

The `randgen` package now generates schemas with random expression
indexes. This allows for random testing of expression indexes in
`sqlsmith` and ternary logic partitioning (TLP).

Fixes #68174

Release note: None


68918: Revert "streamingccl: hang processors on losing connection with sinkless stream client" r=arulajmani a=adityamaru

This reverts commit f5244f4.

68990: roachtest/tests: adjust sqlsmith slightly r=yuzefovich a=yuzefovich

This commit adjusts `sqlsmith` roachtest slightly so that vectorized
panic injection occurs with 50% probability (instead of 100%). This is
done to check whether the panic injection is the root cause of the inbox
communication errors we have been seeing sporadically.

Informs: #66174.

Release note: None

69003: backupccl: skip TestBackupRestoreSystemJobProgress under stressrace r=arulajmani a=adityamaru

The test times out under stressrace. It runs without flaking under `stress` after #68961.

Release note: None

Co-authored-by: Marcus Gartner <[email protected]>
Co-authored-by: Aditya Maru <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
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.

3 participants