[
https://issues.apache.org/jira/browse/FLINK-40653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115204#comment-18115204
]
Martijn Visser edited comment on FLINK-40653 at 9/14/26 5:36 PM:
-----------------------------------------------------------------
Fixed in apache/flink
master: ec93e302560285a80f5f95012ff5459e57e18fc7
release-2.3: 2acf0efad8e6ed79fd9e0a25c181e93eeb9f8d5d
release-2.2: cc89c5fd38bf7bafa3a5b1b3c05dfd43eef31fec
release-1.20: f319666879102055ef53b87ad3b501f9860b9b6a
was (Author: martijnvisser):
Fixed in apache/flink
master: ec93e302560285a80f5f95012ff5459e57e18fc7
release-2.3: pending
release-2.2: pending
release-1.20: pending
> Testcontainers tests fail with "Could not find a valid Docker environment" on
> the cron_azure profile
> ----------------------------------------------------------------------------------------------------
>
> Key: FLINK-40653
> URL: https://issues.apache.org/jira/browse/FLINK-40653
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.2.2, 1.20.6, 2.3.1, 2.4.0
>
>
> Since the 2026-09-04 nightly every testcontainers based test in the
> {{test_cron_azure}} legs fails:
> {code}
> java.lang.IllegalStateException: Could not find a valid Docker environment.
> Please see logs and check configuration
> at
> org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:265)
> at
> org.apache.flink.core.testutils.TestContainerExtension.instantiateTestContainer(TestContainerExtension.java:59)
> {code}
> On master that is SeaweedFsTestContainerTest and
> SeaweedFsNativeS3TestContainerTest, on the release branches
> MinioTestContainerTest.
> The socket is not present at all. The {{Restore docker images}} task in the
> same job says:
> {code}
> failed to connect to the docker API at unix:///var/run/docker.sock; check if
> the path is correct and if the daemon is running: dial unix
> /var/run/docker.sock: connect: no such file or directory
> {code}
> Docker itself works on those agents. All four {{e2e_*_cron_azure}} jobs
> passed in the same build and they use Docker heavily. e2e-template.yml
> declares no container so they run on the host, while the test jobs run inside
> flink-build-container.
> {{cron_azure}} is the only stage in build-apache-repo.yml whose
> test_pool_definition is {{vmImage: 'ubuntu-24.04'}} instead of {{name:
> Default}}. The other five stages run the same tests in the same container on
> the ASF pool and pass.
> Last green nightly 78606 (2026-09-03), first red 78686 (2026-09-04), and all
> eleven master nightlies since fail the same way. FLINK-40548 is not the
> cause, it was committed after 78686 had already run.
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=79017
> template.flink-ci.yml works around this on GitHub Actions by chmod'ing the
> socket and setting DOCKER_HOST, but that only helps where the socket exists.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)