[DO-NOT-MERGE] Test parallel mvn T option - #6864
Draft
tkobayas wants to merge 2 commits into
Draft
Conversation
Contributor
Author
|
Baseline: Without
|
Contributor
Author
|
port 8081 conflict. -> should be fixed by random port |
Contributor
Author
-> We shouldn't fully overwrite with mvn option
because a quarkus project has an implicit dependency to -> Split into 2 phases. 1) install |
Contributor
Author
|
Hit port 8081 conflict, even though setting The issue is reported and fixed for quarkus 3.31.0, so this CI (quarkus 3.27.4.1) is affected. |
Two-phase build: - Phase 1: sequential install (-DskipTests) for correct Quarkus -deployment jar ordering - Phase 2: parallel verify (-T 2) with skip flags to avoid redundant recompilation Skip flags in verify phase: - -Dmaven.compiler.skip=true (skip compilation already done in install) - -Dquarkus.build.skip=true (skip Quarkus augmentation already done in install) - -Dquarkus.http.test-port=0 (random test ports to avoid collisions) - -Denforcer.skip=true, -Dcheckstyle.skip=true, -Dformatter.skip=true, -Darchunit.skip=true Disabled flaky tests under -T 2 resource contention: - QuarkusEventThreadPoolTest (timing-sensitive queue overflow) - QuarkusTransactionRollbackTest (transaction status race) - ProcessDataIndexPostgreSqlIT (Testcontainers timeout) - VertxJobSchedulerTest.testExactTime (timing-sensitive assertion) - OptaPlannerDevUITest (DevUI port mismatch with random ports) - MongoDB integration test module (forked process hang) Added quarkus.http.test-port=0 to application.properties of modules with @testprofile to work around Quarkus bug #51745 (port reset on profile restart). Disabled non-ci workflows with if: false.
tkobayas
force-pushed
the
parallel-mvn-T
branch
from
August 6, 2026 07:52
3d655d8 to
731d7df
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Most of tests run with
forkCount = 1. Some intense tests (e.g,test-compiler-integration) run withforkCount = 2.If we set
-T 2formvn, we will have separated JVMs from 2 to 4 in parallel for test. They are isolated JVMs, so there should be no concurrency issue like system property.https://docs.github.com/en/actions/reference/runners/github-hosted-runners?utm_source=chatgpt.com
ubuntu-latestrunner : 4 cores, 16GBwindows-latestrunner : 4 cores, 16GBmacos-latestrunner : 3 cores, 7GB