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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 6faf3680d4d558f7f5577f9997ebaea1d9bc7b77
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Thu Aug 17 11:32:27 2023 +0200

    [FLINK-32834] Force parallelism of 1
    
    The maven output parsers rely on certain order of messages which can be 
broken by multi-threaded builds.
---
 tools/ci/compile.sh                 | 3 ++-
 tools/ci/verify_bundled_optional.sh | 3 ++-
 tools/ci/verify_scala_suffixes.sh   | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/tools/ci/compile.sh b/tools/ci/compile.sh
index ee4ba13d940..0603e7b7e48 100755
--- a/tools/ci/compile.sh
+++ b/tools/ci/compile.sh
@@ -58,8 +58,9 @@ echo 
"==========================================================================
 
 EXIT_CODE=0
 
+# run with -T1 because our maven output parsers don't support multi-threaded 
builds
 $MVN clean deploy 
-DaltDeploymentRepository=validation_repository::default::file:$MVN_VALIDATION_DIR
 -Dflink.convergence.phase=install -Pcheck-convergence \
-    -Dmaven.javadoc.skip=true -U -DskipTests "${@}" | tee 
$MVN_CLEAN_COMPILE_OUT
+    -Dmaven.javadoc.skip=true -U -DskipTests "${@}" -T1 | tee 
$MVN_CLEAN_COMPILE_OUT
 
 EXIT_CODE=${PIPESTATUS[0]}
 
diff --git a/tools/ci/verify_bundled_optional.sh 
b/tools/ci/verify_bundled_optional.sh
index 276d95eb634..e0f5a22255d 100755
--- a/tools/ci/verify_bundled_optional.sh
+++ b/tools/ci/verify_bundled_optional.sh
@@ -48,7 +48,8 @@ MVN=${MVN:-./mvnw}
 
 dependency_plugin_output=/tmp/optional_dep.txt
 
-$MVN dependency:tree -B > "${dependency_plugin_output}"
+# run with -T1 because our maven output parsers don't support multi-threaded 
builds
+$MVN dependency:tree -B -T1 > "${dependency_plugin_output}"
 EXIT_CODE=$?
 
 if [ $EXIT_CODE != 0 ]; then
diff --git a/tools/ci/verify_scala_suffixes.sh 
b/tools/ci/verify_scala_suffixes.sh
index 9747066b4c8..f6aae040731 100755
--- a/tools/ci/verify_scala_suffixes.sh
+++ b/tools/ci/verify_scala_suffixes.sh
@@ -63,7 +63,8 @@ echo "If you haven't built the project, please do so first by 
running \"mvn clea
 
 dependency_plugin_output=/tmp/dep.txt
 
-$MVN dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} > 
"${dependency_plugin_output}"
+# run with -T1 because our maven output parsers don't support multi-threaded 
builds
+$MVN dependency:tree -Dincludes=org.scala-lang,:*_2.1*:: ${MAVEN_ARGUMENTS} 
-T1 > "${dependency_plugin_output}"
 EXIT_CODE=$?
 
 if [ $EXIT_CODE != 0 ]; then

Reply via email to