This is an automated email from the ASF dual-hosted git repository.

MartijnVisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new ec93e302560 [FLINK-40653][ci] Map the Docker socket into job containers
ec93e302560 is described below

commit ec93e302560285a80f5f95012ff5459e57e18fc7
Author: Martijn Visser <[email protected]>
AuthorDate: Mon Sep 14 14:51:16 2026 +0200

    [FLINK-40653][ci] Map the Docker socket into job containers
    
    Azure Pipelines agent 5.279.0 changed the default of mapDockerSocket to
    false on Linux, so the agent no longer maps /var/run/docker.sock into job
    containers and every testcontainers based test fails with "Could not find
    a valid Docker environment". The nightly test_cron_azure legs have failed
    this way since 2026-09-04. The other stages still pass because the ASF
    self-hosted agents run 5.278.0, and fork pipelines on hosted agents are
    affected already. Opt back in on both definitions.
    
    Generated-by: Claude Code (Claude Opus 5)
---
 azure-pipelines.yml                         | 3 +++
 tools/azure-pipelines/build-apache-repo.yml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 56f4da4aa6a..3ed9f57a04c 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -40,6 +40,9 @@ resources:
   # see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
   - container: flink-build-container
     image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_noble
+    # the testcontainers based tests need the host Docker daemon, which the 
agent does
+    # not map into job containers by default
+    mapDockerSocket: true
     # On AZP provided machines, set this flag to allow writing coredumps in 
docker
     options: --privileged
 
diff --git a/tools/azure-pipelines/build-apache-repo.yml 
b/tools/azure-pipelines/build-apache-repo.yml
index c32aab6165a..d62690888df 100644
--- a/tools/azure-pipelines/build-apache-repo.yml
+++ b/tools/azure-pipelines/build-apache-repo.yml
@@ -40,6 +40,9 @@ resources:
   # see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
   - container: flink-build-container
     image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_noble
+    # the testcontainers based tests need the host Docker daemon, which the 
agent does
+    # not map into job containers by default
+    mapDockerSocket: true
 
 variables:
   MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository

Reply via email to