Cloud Manager Build Images step fails due to Debian Bullseye EOL

Adobe Experience Manager as a Cloud Service (AEMaaCS) Cloud Manager pipelines may fail during the Build Images step when an image relies on expired Debian Bullseye security repository metadata, causing apt-get update to fail with exit code 100. To resolve the issue, replace the Bullseye-based image with a supported base image, commit the change, and rerun the pipeline.

Description description

Environment

  • Adobe Experience Manager as a Cloud Service (AEMaaCS)
  • Cloud Manager pipelines using Debian 11/Bullseye-based images

Issue/Symptoms

  • Cloud Manager Non-Production deployment pipelines fail during the Build Images step.

  • Logs contain errors related to expired Debian Bullseye security repository metadata, such as:

    code language-none
    E: Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is expired... Updates for this repository will not be applied.
    
  • The following command returns a non-zero exit code of 100:

    code language-none
    /bin/sh -c apt-get -qqy update && apt-get -qqy --no-install-recommends install
    
  • The container fails during the build step with exit status 100.

  • The deployment is blocked at the image build stage.

Root Cause

The Debian Bullseye security repository metadata expires after the operating system reaches end-of-life, causing apt-get update to fail during the image build.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Update the base image used in the pipeline or Dockerfile to a supported image that doesn’t rely on Debian Bullseye repositories.
  2. For example, update the UI test image to a newer supported version such as:maven:3.9.11-eclipse-temurin-21
  3. Commit and push the changes to the repository so that Cloud Manager uses the updated image.
  4. Rerun the affected pipeline in Cloud Manager.
  5. Verify that the Build Images step completes successfully.
recommendation-more-help
experience-cloud-kcs-help-kbarticles