Skip to content

Conversation

YotillaAntoni
Copy link
Contributor

@YotillaAntoni YotillaAntoni commented Jan 15, 2025

Description

Fixes #22698.

The CI pipeline runs several tests that boot up an Exasol container, using testcontainers. An Exasol container by default exposes 4 ports for different services. Docker tries to allocate and map ephemeral ports.

Due to an issue in docker, when it fails to allocate a port in can mess up with the process that was using this port (see moby/moby#48132)

The issue only happens when more than one port is exported, so the fix is rather simple: we only export in the container the strictly needed port for JDBC: 8563

Additional context and related issues

Release notes

(X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

Copy link

cla-bot bot commented Jan 15, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run stress tests on CI likes #21480.

@YotillaAntoni
Copy link
Contributor Author

Created PR for stress tests as requested: #24714
Test run succeeded https://github.com/trinodb/trino/actions/runs/12790671238

@ebyhr ebyhr force-pushed the fix-exasol-flaky-tests branch from 3732281 to 91e1610 Compare January 16, 2025 00:39
@cla-bot cla-bot bot added the cla-signed label Jan 16, 2025
@ebyhr ebyhr merged commit 41ba97d into trinodb:master Jan 16, 2025
12 of 15 checks passed
@github-actions github-actions bot added this to the 469 milestone Jan 16, 2025
@YotillaAntoni YotillaAntoni deleted the fix-exasol-flaky-tests branch January 16, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Flaky Exasol connector CI

3 participants