Skip to content

CI - ITs not always executed - Sometimes only the parent module is built #46367

@gsmet

Description

@gsmet

We recently split the ITs in a separate run in our JVM matrix. So that they can run in parallel of the main testing.

For a change to the BOM - an update to SmallRye Config, we have an issue: only the parent integration-tests/ module is built and the children are not.

See: https://github.com/quarkusio/quarkus/actions/runs/13415076450/job/37474673050 - change is: https://github.com/quarkusio/quarkus/pull/46359/files

The initial GIB run perfectly sees that the ITs should be run but somehow when actually executing the ITs, it doesn't. I'm wondering if not having the module in which the change was made could be a problem for GIB or if the fact we pass the modules as -f integration-tests -pl!exclusion1... is being problematic?

In the IT run itself, GIB says:

[INFO] No changed artifacts detected: Executing validate goal on current project only, skipping all submodules.
[INFO] gitflow-incremental-builder exiting...

@famod I would appreciate some help to figure out what we should do to fix it.

See:

JVM_TEST_INTEGRATION_TESTS_SELECTOR: "-f integration-tests -pl !gradle -pl !maven -pl !devmode -pl !devtools"

and:

run: |
if [[ "${{ matrix.java.category }}" == *"Integration"* ]]; then
PL=$JVM_TEST_INTEGRATION_TESTS_SELECTOR
else
PL=$JVM_TEST_NORMAL_TESTS_SELECTOR
fi
# Despite the pre-calculated run_jvm flag, GIB has to be re-run here to figure out the exact submodules to build.
./mvnw $COMMON_MAVEN_ARGS $COMMON_TEST_MAVEN_ARGS $PTS_MAVEN_ARGS $PL clean install -Dsurefire.timeout=1200 -Dno-test-kubernetes ${{ matrix.java.maven_args }} ${{ needs.build-jdk17.outputs.gib_args }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infrainternal and infrastructure related issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions