You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by la...@apache.org on 2020/04/28 15:37:14 UTC

[incubator-mxnet] branch master updated: [CI] Fix ASAN tests on Ubuntu 18.04 (#18181)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4774e58  [CI] Fix ASAN tests on Ubuntu 18.04 (#18181)
4774e58 is described below

commit 4774e58f37ed65a3ca97e64280230974ba4cde7e
Author: vexilligera <ve...@gmail.com>
AuthorDate: Tue Apr 28 15:36:26 2020 +0000

    [CI] Fix ASAN tests on Ubuntu 18.04 (#18181)
    
    * fix ci asan
    
    * use ubuntu_cpu
    
    * remove comments
---
 ci/docker/runtime_functions.sh  |  1 -
 ci/jenkins/Jenkins_steps.groovy | 10 ++--------
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index 12b5013..8bb19a4 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -1261,7 +1261,6 @@ integrationtest_ubuntu_gpu_python() {
 
 integrationtest_ubuntu_cpu_asan() {
     set -ex
-    export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5
     export DMLC_LOG_STACK_TRACE_DEPTH=10
 
     cd /work/mxnet/build/cpp-package/example/
diff --git a/ci/jenkins/Jenkins_steps.groovy b/ci/jenkins/Jenkins_steps.groovy
index f129fe1..91b8e6e 100644
--- a/ci/jenkins/Jenkins_steps.groovy
+++ b/ci/jenkins/Jenkins_steps.groovy
@@ -566,10 +566,7 @@ def compile_unix_asan_cpu() {
         ws('workspace/build-cpu-asan') {
           timeout(time: max_time, unit: 'MINUTES') {
             utils.init_git()
-            // TODO(leezu) ubuntu_nightly_cpu temporarily used ASAN tests fail
-            // with Ubuntu 18.04 used on ubuntu_cpu image. ubuntu_nightly_cpu
-            // still uses Ubuntu 16.04
-            utils.docker_run('ubuntu_nightly_cpu', 'build_ubuntu_cpu_cmake_asan', false)
+            utils.docker_run('ubuntu_cpu', 'build_ubuntu_cpu_cmake_asan', false)
             utils.pack_lib('cpu_asan', mx_lib_cpp_examples_cpu)
           }
         }
@@ -1722,10 +1719,7 @@ def misc_asan_cpu() {
       node(NODE_LINUX_CPU) {
         ws('workspace/ut-python3-cpu-asan') {
             utils.unpack_and_init('cpu_asan', mx_lib_cpp_examples_cpu)
-            // TODO(leezu) ubuntu_nightly_cpu temporarily used ASAN tests fail
-            // with Ubuntu 18.04 used on ubuntu_cpu image. ubuntu_nightly_cpu
-            // still uses Ubuntu 16.04
-            utils.docker_run('ubuntu_nightly_cpu', 'integrationtest_ubuntu_cpu_asan', false)
+            utils.docker_run('ubuntu_cpu', 'integrationtest_ubuntu_cpu_asan', false)
         }
       }
     }]