apache / apache/beam

[Bug]: Test container leak

Open
#30,173 1 comment 0 reactions 0 assignees View on GitHub
bug docker P3 pinned
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

THere are many stale containers generated every day and staged in GCR

- For Java tests, there is a clean up script https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/scripts/cleanup_untagged_gcr_images.sh run after each postcommit. However it seems there is still leftovers
- For Pyhon&Go ARM tests, afaik it does not remove stale container after test run

Also, I am not sure the Python ARM test ever use the container for dataflow tests: it pushes image: https://github.com/apache/beam/blob/a221f98a5f46be985afcb98a65fcec3b46b81f92/sdks/python/test-suites/dataflow/common.gradle#L149

but the later test is not referring the container pushed to GCR, and just uses beam-master one

### Issue Priority

Priority: 3 (minor)

### Issue Components

- [ ] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam YAML
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.