Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] SSH collector E2E fails when ECR Public limits Ubuntu base-image downloads

Open Beginner friendly
#4,477 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

@MasamiYui is already working on this.

Since Oct 19, 2026.

  • #4479 by @MasamiYui — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, java

Research direction

Locate the SSH E2E Dockerfile used by SshCollectE2eTest and read its current Ubuntu base-image reference. Check the official Docker Hub Ubuntu 24.04 multi-architecture image index and pin its index digest in that Dockerfile. Done when the image builds for amd64 and arm64 in the backend-maven-e2e job and SshCollectE2eTest.testSshCollect reaches its SSH assertions.

Written by the indexing model from the issue text.

Description

bug

Current behavior

The SSH collector E2E test fails before its SSH assertions when Testcontainers builds the test image. The Dockerfile pulls Ubuntu 24.04 from ECR Public, and the image fetch returned toomanyrequests: Data limit exceeded. The resulting ContainerFetchException fails SshCollectE2eTest.testSshCollect.

Failed run: https://github.com/apache/hertzbeat/actions/runs/39188861124/job/117857002393?pr=4454

Expected behavior

The SSH test image should build reliably on GitHub Actions for both amd64 and arm64, so the test can exercise SSH collection.

Steps to reproduce

  1. Run the backend-maven-e2e job with the current SSH test Dockerfile.
  2. Observe the Testcontainers image build fail while fetching public.ecr.aws/ubuntu/ubuntu:24.04@sha256:a54764b5b6340c272ffb45e303fe4c8064bbdfb76d732b325b79ae6b92900e4c.

Cause and proposed fix

The failure occurs at the external base-image fetch, before the collector code runs. ECR Public reports that its anonymous data-transfer limit has been exceeded. Use the official multi-architecture Ubuntu 24.04 image from Docker Hub with a pinned index digest in the SSH E2E Dockerfile. Keep the current image build and test logic unchanged; the index digest preserves amd64 and arm64 support.

This issue tracks the CI infrastructure failure observed on PR #4454; the failing job does not establish a regression in that PR's collector changes.

Dominant language
Java
Stars
7.4k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
35

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/hertzbeat

All issues in apache/hertzbeat

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.