Skip to content

Set Ubuntu Noble as the default stemcell for HAProxy acceptance tests#885

Merged
hoffmaen merged 4 commits intocloudfoundry:masterfrom
sap-contributions:CFN-6544-noble-cgroupv2
Apr 10, 2026
Merged

Set Ubuntu Noble as the default stemcell for HAProxy acceptance tests#885
hoffmaen merged 4 commits intocloudfoundry:masterfrom
sap-contributions:CFN-6544-noble-cgroupv2

Conversation

@mike-jc
Copy link
Copy Markdown
Contributor

@mike-jc mike-jc commented Mar 4, 2026

We set Ubuntu Noble as the default stemcell for HAProxy acceptance tests in this PR:

  • Dockerfile
    • Use of the updated Docker CPI base image that includes cgroupv2 support and is hosted in GitHub instead of DockerHub.
    • Added Python venv to operate with the Python environment.
  • HAProxy manifest
    • The default stemcell for HAProxy acceptance tests is now Ubuntu Noble.
    • Bumped versions of the releases.
  • Concourse pipeline
    • The default stemcell for HAProxy acceptance tests is now Ubuntu Noble.
  • run-local.sh
    • It now updates the stemcell archive even if it already exists, but the version changes.
  • start-bosh.sh
    • Changes are inspired by start-bosh.sh from Bosh.
    • Added sanitizing of cgroups in the tests container; added correct mounting of the cgroups file system.
    • OS limits tuning to support high container nesting.
    • Some tuning via ops files to cover possible slowness in the Concourse pipeline due to high nesting of containers (Concourse VM -> worker container -> task container -> tests container -> Bosh & HAProxy VM containers).
      • Bosh scale-out (now 12 workers).
      • Timeouts increased.
    • Refactoring (renaming, formatting, etc.).
  • Acceptance tests
    • A test that previously ran on Ubuntu Bionic has been updated to run on Ubuntu Jammy.
    • Extended parametrization of test entry point (now supports verbosity and parallelization).
    • Extracted writeLog() from the suite file to make it visible everywhere (the IDE could not see it before).

@mike-jc mike-jc force-pushed the CFN-6544-noble-cgroupv2 branch 3 times, most recently from 1ec5fe9 to 1213e6c Compare March 18, 2026 12:36
@mike-jc mike-jc marked this pull request as ready for review March 18, 2026 15:17
@mike-jc mike-jc requested review from a team and CFN-CI as code owners March 18, 2026 15:17
@hoffmaen
Copy link
Copy Markdown
Contributor

Please update the documentation in acceptance-test/README.md.
Please check if the current statement - tests not working with Docker for Mac - is still valid.

@mike-jc
Copy link
Copy Markdown
Contributor Author

mike-jc commented Mar 26, 2026

Please update the documentation in acceptance-test/README.md. Please check if the current statement - tests not working with Docker for Mac - is still valid

Yes, done with both.

@mike-jc mike-jc force-pushed the CFN-6544-noble-cgroupv2 branch from 6cf3c5a to f6fea52 Compare March 26, 2026 14:43
@hoffmaen hoffmaen added the run-ci Allow this PR to be tested on Concourse label Mar 26, 2026
hoffmaen
hoffmaen previously approved these changes Mar 27, 2026
Copy link
Copy Markdown
Contributor

@hoffmaen hoffmaen left a comment

Choose a reason for hiding this comment

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

Approve for run/ci

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Mar 27, 2026
hoffmaen
hoffmaen previously approved these changes Mar 27, 2026
Copy link
Copy Markdown
Contributor

@hoffmaen hoffmaen left a comment

Choose a reason for hiding this comment

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

approval for ci

@mike-jc
Copy link
Copy Markdown
Contributor Author

mike-jc commented Apr 10, 2026

PR's acceptance tests have been successfully passed.
PR 885, Noble stemcell 1.305, Jammy stemcell 1.1143

image image

hoffmaen
hoffmaen previously approved these changes Apr 10, 2026
@mike-jc mike-jc force-pushed the CFN-6544-noble-cgroupv2 branch from 4ca8076 to 479d785 Compare April 10, 2026 12:17
Copy link
Copy Markdown
Contributor

@hoffmaen hoffmaen left a comment

Choose a reason for hiding this comment

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

approving for CI

@hoffmaen hoffmaen merged commit 34eafd9 into cloudfoundry:master Apr 10, 2026
4 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Apr 10, 2026
@hoffmaen hoffmaen deleted the CFN-6544-noble-cgroupv2 branch April 10, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci Allow this PR to be tested on Concourse

Projects

Development

Successfully merging this pull request may close these issues.

2 participants