This is an automated email from the ASF dual-hosted git repository.

yangjie01 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 a258f922515d [SPARK-52441][INFRA] Skip testing `sql/pipelines` module 
in the Maven daily test when the input branch is branch-4.0
a258f922515d is described below

commit a258f922515d451db60bf42c3bc0fd3371e3cbe1
Author: yangjie01 <yangji...@baidu.com>
AuthorDate: Wed Jun 11 21:04:45 2025 +0800

    [SPARK-52441][INFRA] Skip testing `sql/pipelines` module in the Maven daily 
test when the input branch is branch-4.0
    
    ### What changes were proposed in this pull request?
    This pr aims to skip testing `sql/pipelines` module in the Maven daily test 
when the input branch is branch-4.0 because branch-4.0 doesn't have this module
    
    ### Why are the changes needed?
    Fix branch-4.0 maven daily test:
    - https://github.com/apache/spark/actions/runs/15561695563/job/43815397047
    
    
![image](https://github.com/user-attachments/assets/583289f0-0fbf-4ff2-b45d-97de9e59bacf)
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    - Monitor the Maven daily tests for branch-4.0 after merged
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #51151 from LuciferYang/SPARK-52441.
    
    Authored-by: yangjie01 <yangji...@baidu.com>
    Signed-off-by: yangjie01 <yangji...@baidu.com>
---
 .github/workflows/maven_test.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml
index e0a5e411571a..2bab9bb570dd 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -190,6 +190,7 @@ jobs:
           export MAVEN_OPTS="-Xss64m -Xmx4g -Xms4g 
-XX:ReservedCodeCacheSize=128m -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
           export MAVEN_CLI_OPTS="--no-transfer-progress"
           export JAVA_VERSION=${{ matrix.java }}
+          export INPUT_BRANCH=${{ inputs.branch }}
           export ENABLE_KINESIS_TESTS=0
           # Replace with the real module name, for example, 
connector#kafka-0-10 -> connector/kafka-0-10
           export TEST_MODULES=`echo "$MODULES_TO_TEST" | sed -e "s%#%/%g"`
@@ -209,6 +210,10 @@ jobs:
           elif [[ "$MODULES_TO_TEST" == *"sql#hive-thriftserver"* ]]; then
             # To avoid a compilation loop, for the `sql/hive-thriftserver` 
module, run `clean install` instead
             ./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} clean 
install -fae
+          elif [[ "$MODULES_TO_TEST" == *"sql#pipelines"* && "$INPUT_BRANCH" 
== "branch-4.0" ]]; then
+            # SPARK-52441: Remove sql/pipelines from TEST_MODULES for 
branch-4.0, this branch can be deleted after the EOL of branch-4.0.
+            TEST_MODULES=${TEST_MODULES/,sql\/pipelines/}
+            ./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn 
-Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Pspark-ganglia-lgpl 
-Phadoop-cloud -Pjvm-profiler -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea} 
test -fae
           else
             ./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn 
-Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Pspark-ganglia-lgpl 
-Phadoop-cloud -Pjvm-profiler -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea} 
test -fae
           fi


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to