Skip to content

CI: altinityinfra/python-bottle:latest flips architecture and breaks glue/STS/CAS tests #2879

Open

Description

@CarlosFelipeOR

Describe the situation

Integration tests that use altinityinfra/python-bottle:latest fail at setup whenever that tag holds only one architecture. Today it's amd64-only, so every arm run of these modules fails on antalya-26.8. A rerun doesn't help.

This has happened since at least 2026-10-28, on amd and on arm, in antalya-26.3, stable-26.3, antalya-26.6, antalya-26.8 and stable-26.8.

Evidence

On arm, antalya-26.8, MasterCI run 43534391248 (log):

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)
bash: line 1: /usr/bin/clickhouse: cannot execute: required file not found

On amd, PR #2810 on 2026-11-06 (log) fails with the same required file not found.

Since 2026-11-13, the 5 modules below have 170 failures and 0 passes on arm in antalya-26.8.

Cause

The old CI (23.8 to 25.3) builds each architecture separately, and each build pushes :latest alone (tests/ci/docker_images_check.py). The last build to finish wins. On 2026-11-13, PR #2867 pushed amd64 last. The test mounts the host's clickhouse binary into that container. When the architectures differ, the binary can't run and cluster.start() times out.

Affected tests

  • test_database_glue and test_storage_s3/test_sts.py: all 26.x branches.
  • test_datalake_glue_token_forwarding, test_cas_gcs and test_cas_gcs_relink_liveness: antalya-26.6 and antalya-26.8.

Fix

  1. In these tests, replace tag="latest" with the tag the CI pins:
    tag=os.environ.get("DOCKER_PYTHON_BOTTLE_TAG", "latest"),
  2. Until then, restore a multi-arch :latest:
    docker buildx imagetools create -t altinityinfra/python-bottle:latest altinityinfra/python-bottle:99a04d92eceed16e2bfc
    
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