Skip to content

fix(it): run the UI test MySQL on the shipped collation, and clean up a server that fails to start (backport 2.1 #37142) - #37143

Merged
manerow merged 3 commits into
2.1from
fix/it-containerized-server-failed-launch-2.1
Nov 6, 2026
Merged

manerow merged 3 commits into
2.1from
fix/it-containerized-server-failed-launch-2.1

Conversation

@manerow

@manerow manerow commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Issue

Cherry-pick of #37142 to 2.1 (no issue).

What it fixes

The containerized UI test MySQL now runs on the collation OpenMetadata ships with (utf8mb4_0900_ai_ci, the MySQL 8 default) instead of utf8mb4_unicode_ci, on which the 2.1.0 migration cannot finish and the server never starts. And when the server does fail to start, the harness stops the MySQL and OpenSearch containers it started, and every later test fails at once instead of booting another stack. Without this, the 2.1 nightly "Java UI ITs (embedded)" jobs leak a stack per test class until the runner node runs out of memory. Full explanation in #37142.

How it was tested

@manerow manerow added safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Nov 5, 2026
@manerow manerow changed the title fix(it): stop a containerized UI test server that fails to start, and fail fast after it (backport 2.1 #37142) fix(it): run the UI test MySQL on the shipped collation, and clean up a server that fails to start (backport 2.1 #37142) Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

@gitar-bot

gitar-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Changing UI-test MySQL collation and making boot failures sticky could cause later tests to abort after a transient startup error.

Containerized UI test MySQL now uses the server default collation (utf8mb4_0900_ai_ci) instead of utf8mb4_unicode_ci, and a failed server launch now stops the MySQL and OpenSearch containers and fails later tests fast via a cached boot failure in UiTestServer. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@manerow
manerow merged commit 4fcaf51 into 2.1 Nov 6, 2026
61 of 62 checks passed
@manerow
manerow deleted the fix/it-containerized-server-failed-launch-2.1 branch November 6, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants