[FLINK-39107][tests] Run otel container from a prebuilt image#27637
Draft
Efrat19 wants to merge 1 commit intoapache:masterfrom
Draft
[FLINK-39107][tests] Run otel container from a prebuilt image#27637Efrat19 wants to merge 1 commit intoapache:masterfrom
Efrat19 wants to merge 1 commit intoapache:masterfrom
Conversation
Contributor
Author
|
@flinkbot run azure |
Collaborator
MartijnVisser
approved these changes
Feb 19, 2026
Contributor
MartijnVisser
left a comment
There was a problem hiding this comment.
LGTM, given that CI passes of course. Thanks for addressing it!
f071695 to
b2bca70
Compare
Contributor
Author
|
@flinkbot run azure |
We are hitting docker build issues when multiple tests are building otel from a dockerfile in parallel. While it could be addressed by a resource lock, we realized we could actually use the prebuilt image with a mounted output directory instead of building from dockerfile. It is also the recommended approach by docker to use volumes for writable locations, to avoid copy-on-write bottlenecks https://docs.docker.com/engine/storage/drivers/\#copying-makes-containers-efficient
Contributor
Author
|
@flinkbot run azure |
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.
What is the purpose of the change
We are hitting docker build issues when multiple tests are building otel from a dockerfile in parallel. While it could be addressed by a resource lock, we realized we could actually use the prebuilt image with a mounted output directory instead of building from dockerfile. It is also the recommended approach by docker to use volumes for writable locations, to avoid copy-on-write bottlenecks
Brief change log
Verifying this change
This change is already covered by existing tests, such as:
org.apache.flink.metrics.otel.OpenTelemetryMetricReporterITCaseorg.apache.flink.traces.otel.OpenTelemetryTraceReporterITCaseDoes this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation