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

yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new e390f34  [KYUUBI #2135] Build and test all modules on Linux ARM64
e390f34 is described below

commit e390f34c83b3023afc73cb79a498514303a8fd6b
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Mon Mar 21 17:21:45 2022 +0800

    [KYUUBI #2135] Build and test all modules on Linux ARM64
    
    ### _Why are the changes needed?_
    
    This is a follow-up of #1918
    There were some problems with Zookeeper and because of that only the tests 
of `kyuubi-common` module were enabled.
    I've just tested latest `master` on my Linux ARM64 machine and now the 
Zookeeper related tests pass!
    
    ### _How was this patch tested?_
    
    I've executed `mvn clean install` locally and many more Maven modules were 
successfully built and tested!
    There was a test failure in the Flink related tests. I want to see whether 
the same will fail at TravisCI too. If it does then I will disable the Flink 
module in .travisci.yaml until it is resolved too.
    
    Closes #2135 from martin-g/enable-more-testing-on-arm64.
    
    Closes #2135
    
    2ef1aa38 [Martin Tzvetanov Grigorov] Fix the name of Trino module in 
.travis-ci.yml
    79a48223 [Martin Tzvetanov Grigorov] Try to build external/ modules in 
separate jobs
    0ed86526 [Martin Tzvetanov Grigorov] Build and test more modules on Linux 
ARM64
    
    Authored-by: Martin Tzvetanov Grigorov <[email protected]>
    Signed-off-by: Kent Yao <[email protected]>
---
 .travis.yml | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e8316ee..13ed67d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,13 +16,17 @@
 #
 
 sudo: required
+dist: focal
+arch: arm64-graviton2
+group: edge
+virt: vm
+env: SPARK_LOCAL_IP=localhost
 
 branches:
   only:
     - master
 
 # https://releases.ubuntu.com/ use the latest LTS release of ubuntu
-dist: bionic
 language: scala
 scala:
   - 2.12.15
@@ -31,11 +35,21 @@ jdk:
 
 matrix:
   include:
-  - name: Build Kyuubi on Linux ARM64
-    dist: focal
-    arch: arm64-graviton2
-    group: edge
-    virt: vm
+  - name: Build Kyuubi common on Linux ARM64
+    script:
+      - ./build/mvn test $MVN_ARGS -pl 
kyuubi-common,kyuubi-zookeeper,kyuubi-ha,kyuubi-ctl,kyuubi-metrics,kyuubi-hive-beeline,kyuubi-hive-jdbc,kyuubi-server-plugin
 -am
+  - name: Build Kyuubi Flink on Linux ARM64
+    script:
+      - ./build/mvn test $MVN_ARGS -pl 
externals/kyuubi-flink-sql-engine,kyuubi-server
+  - name: Build Kyuubi Spark on Linux ARM64
+    script:
+      - ./build/mvn test $MVN_ARGS -pl 
externals/kyuubi-spark-sql-engine,kyuubi-server
+  - name: Build Kyuubi Trino on Linux ARM64
+    script:
+      - ./build/mvn test $MVN_ARGS -pl 
externals/kyuubi-trino-engine,kyuubi-server
+  - name: Build Kyuubi Hive on Linux ARM64
+    script:
+      - ./build/mvn test $MVN_ARGS -pl 
externals/kyuubi-hive-sql-engine,kyuubi-server
 
 cache:
   directories:
@@ -44,10 +58,10 @@ cache:
 install:
   - ./build/mvn --version
 
-script:
+before_script:
   - export MVN_ARGS="-Dmaven.javadoc.skip=true -V -B -ntp 
-Dorg.slf4j.simpleLogger.defaultLogLevel=warn"
   - ./build/mvn clean install -DskipTests $MVN_ARGS
-  - ./build/mvn test $MVN_ARGS -pl kyuubi-common -am
+
 
 after_success:
   - echo "Travis exited with ${TRAVIS_TEST_RESULT}"

Reply via email to