Skip to content

[Test] Fix test_patching_cluster on Ubuntu by DEBIAN_FRONTEND=noninteractive and improve logging to facilitate troubleshooting#7479

Merged
gmarciani merged 3 commits into
aws:developfrom
gmarciani:wip/mgiacomo/3160/test-patching-0708-1
Jul 9, 2026
Merged

[Test] Fix test_patching_cluster on Ubuntu by DEBIAN_FRONTEND=noninteractive and improve logging to facilitate troubleshooting#7479
gmarciani merged 3 commits into
aws:developfrom
gmarciani:wip/mgiacomo/3160/test-patching-0708-1

Conversation

@gmarciani

@gmarciani gmarciani commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description of changes

Fix test_patching_cluster on Ubuntu by DEBIAN_FRONTEND=noninteractive and improve logging to facilitate troubleshooting

Also patching a minor bug on cluster stack deletion caused by missing import.

Tests

SUCCEEDED on Ubuntu. On RHEL9 it fails for known issue on lustre module broken by kernel bump.

test-suites:
  patching:
    test_patching.py::test_patching_cluster:
      dimensions:
        - regions: [{{ g4dn_8xlarge_CAPACITY_RESERVATION_3_INSTANCES_2_HOURS_NOPG_ubuntu2404 }}]
          instances: ["g4dn.8xlarge"]
          oss: ["ubuntu2404"]
          schedulers: ["slurm"]
          flags: ["patching:full"]
        - regions: [{{ g4dn_8xlarge_CAPACITY_RESERVATION_3_INSTANCES_2_HOURS_NOPG_rhel9 }}]
          instances: ["g4dn.8xlarge"]
          oss: ["rhel9"]
          schedulers: ["slurm"]
          flags: ["patching:full"]

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

@gmarciani gmarciani requested review from a team as code owners July 8, 2026 19:20
@gmarciani gmarciani added 3.x Test skip-changelog-update Disables the check that enforces changelog updates in PRs labels Jul 8, 2026
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/test-patching-0708-1 branch 2 times, most recently from 93f9637 to 40946f6 Compare July 9, 2026 17:20
@gmarciani gmarciani enabled auto-merge (rebase) July 9, 2026 17:20
@gmarciani gmarciani changed the title [Test] Fix test_patching_cluster by increasing the timeout when patching flavor 'full' is used. [Test] Fix test_patching_cluster on Ubuntu by DEBIAN_FRONTEND=noninteractive and improve logging to facilitate troubleshooting Jul 9, 2026
gmarciani added 2 commits July 9, 2026 13:35
…ve` to the sudo envars to prevent patching being stuck in Ubuntu.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/test-patching-0708-1 branch from 40946f6 to 3cd8bb3 Compare July 9, 2026 17:35
@gmarciani gmarciani closed this Jul 9, 2026
auto-merge was automatically disabled July 9, 2026 17:40

Pull request was closed

@gmarciani gmarciani reopened this Jul 9, 2026
@gmarciani gmarciani enabled auto-merge (rebase) July 9, 2026 17:43
Comment thread tests/integration-tests/clusters_factory.py
@gmarciani gmarciani merged commit 3fd1874 into aws:develop Jul 9, 2026
37 checks passed
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.

2 participants