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

gurwls223 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 82475b1cab3 [SPARK-41063][BUILD] Clean all except files in Git 
repository before running Mima
82475b1cab3 is described below

commit 82475b1cab37e7e3b4631e8cdb83741a101fdec1
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Fri Nov 11 10:40:31 2022 +0900

    [SPARK-41063][BUILD] Clean all except files in Git repository before 
running Mima
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to clean all (except the files in Git repository) before 
running Mima.
    
    ### Why are the changes needed?
    
    For an unknown reason, the compilation goes into an infinite loop at Scala 
2.13 build (see 
https://github.com/apache/spark/actions/runs/3422432297/jobs/5699849548), 
presumably some leftovers some SBT or Zinc 
(https://github.com/sbt/sbt/issues/6183).
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    CI in this PR should test it out.
    
    Closes #38599 from HyukjinKwon/SPARK-41063.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 dev/run-tests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/run-tests.py b/dev/run-tests.py
index fc34b4c61b0..366b814f859 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -315,6 +315,7 @@ def detect_binary_inop_with_mima(extra_profiles):
         "[info] Detecting binary incompatibilities with MiMa using SBT with 
these profiles: ",
         profiles,
     )
+    run_cmd(["git", "clean", "-fxd"])  # See 
https://github.com/sbt/sbt/issues/6183
     run_cmd([os.path.join(SPARK_HOME, "dev", "mima"), profiles])
 
 


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

Reply via email to