This is an automated email from the ASF dual-hosted git repository.
sarutak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new fcbafc3fbff1 [SPARK-53914][BUILD][FOLLOWUP] Fix branch-4.0 daily maven
test
fcbafc3fbff1 is described below
commit fcbafc3fbff12094eff9483e63b23b9230d4c0fb
Author: Cheng Pan <[email protected]>
AuthorDate: Fri Oct 24 00:04:25 2025 +0900
[SPARK-53914][BUILD][FOLLOWUP] Fix branch-4.0 daily maven test
### What changes were proposed in this pull request?
I apologize for making a silly mistake.
https://github.com/apache/spark/actions/runs/18718856740/job/53385398202
```
[ERROR] Could not find the selected project in the reactor:
sql/connect/client/jdbc
[ERROR] Could not find the selected project in the reactor:
sql/connect/client/jdbc -> [Help 1]
```
The issue is,
```
elif [[ "$MODULES_TO_TEST" == "connect" && "$INPUT_BRANCH" == "branch-4.0"
]]; then
...
```
should be defined before
```
elif [[ "$MODULES_TO_TEST" == "connect" ]]; then
...
```
### Why are the changes needed?
Fix branch-4.0 daily maven test
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Monitor daily Maven CI stability.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52707 from pan3793/SPARK-53914-followup.
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Kousuke Saruta <[email protected]>
---
.github/workflows/maven_test.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml
index 38a6ed1e56dc..95c9aac33fc6 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -205,11 +205,11 @@ jobs:
if [[ "$INCLUDED_TAGS" != "" ]]; then
./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn
-Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Phadoop-cloud -Pjvm-profiler
-Pspark-ganglia-lgpl -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea}
-Dtest.include.tags="$INCLUDED_TAGS" test -fae
- elif [[ "$MODULES_TO_TEST" == "connect" ]]; then
- ./build/mvn $MAVEN_CLI_OPTS -Djava.version=${JAVA_VERSION/-ea} -pl
sql/connect/client/jdbc,sql/connect/client/jvm,sql/connect/common,sql/connect/server
test -fae
elif [[ "$MODULES_TO_TEST" == "connect" && "$INPUT_BRANCH" ==
"branch-4.0" ]]; then
# SPARK-53914: Remove sql/connect/client/jdbc from `-pl` for
branch-4.0, this branch can be deleted after the EOL of branch-4.0.
./build/mvn $MAVEN_CLI_OPTS -Djava.version=${JAVA_VERSION/-ea} -pl
sql/connect/client/jvm,sql/connect/common,sql/connect/server test -fae
+ elif [[ "$MODULES_TO_TEST" == "connect" ]]; then
+ ./build/mvn $MAVEN_CLI_OPTS -Djava.version=${JAVA_VERSION/-ea} -pl
sql/connect/client/jdbc,sql/connect/client/jvm,sql/connect/common,sql/connect/server
test -fae
elif [[ "$EXCLUDED_TAGS" != "" ]]; then
./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn
-Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Phadoop-cloud -Pjvm-profiler
-Pspark-ganglia-lgpl -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea}
-Dtest.exclude.tags="$EXCLUDED_TAGS" test -fae
elif [[ "$MODULES_TO_TEST" == *"sql#hive-thriftserver"* ]]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]