Skip to content

[Test] Stabilize bootstrap of proxy instance used for testing and facilitate troubleshooting - #7606

Open
gmarciani wants to merge 2 commits into
aws:developfrom
gmarciani:wip/mgiacomo/3170/test-bini-stabilize-proxy-0903-1
Open

[Test] Stabilize bootstrap of proxy instance used for testing and facilitate troubleshooting#7606
gmarciani wants to merge 2 commits into
aws:developfrom
gmarciani:wip/mgiacomo/3170/test-bini-stabilize-proxy-0903-1

Conversation

@gmarciani

@gmarciani gmarciani commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description of changes

Improvement to the bootstrap of proxy infra used for testing:

  1. stabilized bootstrap by preventing failure caused by dpkg locking
  2. facilitate troubleshooting by surfacing the broken instance id in the failure message reported by the test.

Tests

Executed the following tests, which all succeeded the bootstrap of the proxy infrastructure.

test-suites:
  createami:
    test_createami.py::test_build_image_no_internet:
      dimensions:
        # RHEL family (rhel8, rhel9) -> Red Hat Enterprise Linux reservation platform
        - regions: [{{ g4dn_2xlarge_CAPACITY_RESERVATION_2_INSTANCES_3_HOURS_NOPG_rhel9 }}]
          instances: ["g4dn.2xlarge"]
          oss: ["rhel8", "rhel9"]
        # Non-RHEL family (alinux2023, ubuntu2204, ubuntu2404, rocky8, rocky9) -> Linux/UNIX reservation platform
        - regions: [{{ g4dn_2xlarge_CAPACITY_RESERVATION_5_INSTANCES_3_HOURS_NOPG_ubuntu2404 }}]
          instances: ["g4dn.2xlarge"]
          oss: ["alinux2023", "ubuntu2204", "ubuntu2404", "rocky8", "rocky9"]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…ilure message to facilitate troubleshooting.
…and disable unattended upgrades.

 This is meant to prevent failures in Proxy and ProxyClient bootstrap caused by boot-time upgrades holding the dpkg lock.
@gmarciani
gmarciani marked this pull request as ready for review September 3, 2026 22:21
@gmarciani
gmarciani requested review from a team as code owners September 3, 2026 22:21
@gmarciani gmarciani added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x Test labels Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x skip-changelog-update Disables the check that enforces changelog updates in PRs Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant