Skip to content

BUG | CI fails on Ubuntu 26.04: no Python 3.9, and a bats teardown typo #339

Closed

Description

@diego-ojeda-binbash

Problem

CI fails on every pull request since ubuntu-latest moved to Ubuntu 26.04 (2026-11-14, e.g. run 43601198822 on #338):

  1. Python 3.9 is not available on Ubuntu 26.04: setup-python fails with The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04. unit_tests (3.9) fails, and fail-fast cancels the other versions; the ref-arch job on 3.9 fails the same way.
  2. integration_tests (bats) fails in teardown: tests/bats/leverage_terraform.bats sets TEST_ROOT in setup but runs cd "$TESTS_ROOT" in teardown, so it always ran cd "". Older bash treated that as a no-op; the bash on Ubuntu 26.04 fails with cd: null directory.

Fix

  • Run the jobs that use Python 3.9 (unit_tests, integration_tests_cli_refarch) on ubuntu-24.04 until 3.9 support is dropped.
  • Fix the variable name in the bats setup.

Dropping Python 3.9 (end of life since 2025-10) is a separate decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions