Repository navigation
Refactor load testing infra for upcoming GCS load tests - #40223
Merged
Merged
Conversation
…ng a fixed time Also fix a small bug where getDataProcessed was always queried with the legacy PCollection name.
shunping
marked this pull request as ready for review
September 22, 2026 17:03
Collaborator
Author
|
r: @derrickaw |
Contributor
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment |
Amar3tto
approved these changes
Sep 22, 2026
ahmedabu98
added a commit
to ahmedabu98/beam
that referenced
this pull request
Nov 18, 2026
LoadTestBase exported every metrics row with the insertId "rowId". BigQuery de-duplicates rows that reuse an insertId within about a minute, so when two exports land close together, one of them is silently dropped. Since apache#40223 replaced the fixed 4-minute sleep with polling, a test's write and read rows are exported seconds apart, and the read row is lost on every run.
ahmedabu98
added a commit
that referenced
this pull request
Nov 18, 2026
* [IcebergIO] Re-enable scheduled IcebergIO performance test IcebergPerformanceTest was dropped from the IO performance matrix in #39502 because scheduled runs check out the latest release, which did not contain :it:iceberg yet. v2.76.0 and later include it, so add it back. Without it, nothing writes IcebergIO metrics to the public table behind https://beam.apache.org/performance/icebergio/. Also: - Set fail-fast: false so one failing IO test no longer cancels the others. - Bump it/iceberg to Iceberg 1.12.0 to match sdks/java/io/iceberg. - Fix the Table Row Inference look ID in refresh_looker_metrics.py (270 is a PyTorch sentiment look; the tablerowinference page expects 351). - Bump the trigger file so the suite runs on this PR. * Use a unique BigQuery insertId for each load test metrics row LoadTestBase exported every metrics row with the insertId "rowId". BigQuery de-duplicates rows that reuse an insertId within about a minute, so when two exports land close together, one of them is silently dropped. Since #40223 replaced the fixed 4-minute sleep with polling, a test's write and read rows are exported seconds apart, and the read row is lost on every run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR improves load testing infrastructure in preparation for adding additional GCS file-based I/O load tests:
FileBasedIOLTtoTextIOLT. The test specifically testsTextIOread and write performance rather than all file-based I/O formats. Renaming toTextIOLTclarifies its scope and opens up naming space for upcoming load tests (e.g.,ParquetIOLT).Awaitilityinstead of fixed sleep.getDataProcessed()was always querying with the legacy PCollection name instead ofinputPCollectionV2()when running on Dataflow Runner V2.