Purushottam Sinha created FLINK-41376:
-----------------------------------------

             Summary: Connectors/Elasticsearch: Upgrade Testcontainers so 
ITCases run on ubuntu-26.04 runners
                 Key: FLINK-41376
                 URL: https://issues.apache.org/jira/browse/FLINK-41376
             Project: Flink
          Issue Type: Bug
          Components: Connectors / ElasticSearch
    Affects Versions: elasticsearch-4.0.0, elasticsearch-3.1.0
            Reporter: Purushottam Sinha


Since GitHub's {{ubuntu-latest}} moved to ubuntu-26.04, every Docker-based 
ITCase fails before a container starts, because the runner's Docker daemon 
rejects the old API version used by Testcontainers 1.19.7. The weekly build has 
been red since 2026-10-25 and PR CI will fail the same way.

*Evidence*
* Weekly run 
https://github.com/apache/flink-connector-elasticsearch/actions/runs/41257629331:
 {{ElasticsearchWriterITCase}} fails with {{client version 1.32 is too old. 
Minimum supported API version is 1.40}}
* Last green weekly run (2026-10-18) used ubuntu-24.04. The failing runs 
(2026-10-25, 2026-11-01) used ubuntu-26.04
* {{pom.xml}} pins {{<testcontainers.version>1.19.7</testcontainers.version>}} 
on {{main}}, {{v4.0}} and {{v3.1}}

*Proposed fix*
* {{main}}: bump to Testcontainers 2.0.5 and rename the {{elasticsearch}} and 
{{junit-jupiter}} artifacts to their {{testcontainers-}} prefixed ids, as 
FLINK-41158 did for Kafka
* {{v4.0}} and {{v3.1}}: bump to 1.21.4, as FLINK-41071 and FLINK-41156 did for 
Cassandra and JDBC

*Acceptance*
* Weekly CI is green on ubuntu-26.04 for all branches in the matrix



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to