You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/06/28 12:15:47 UTC

[incubator-mxnet] branch master updated: [MXNET-602] [MXNET-603] Disabling a number of tests to improve CI stability. (#11422)

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

marcoabreu 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 2fe5144  [MXNET-602] [MXNET-603] Disabling a number of tests to improve CI stability. (#11422)
2fe5144 is described below

commit 2fe5144d517dcd7971b7609f60979211b19fb678
Author: Kellen Sunderland <ke...@gmail.com>
AuthorDate: Thu Jun 28 14:15:40 2018 +0200

    [MXNET-602] [MXNET-603] Disabling a number of tests to improve CI stability. (#11422)
    
    * NIT: cleanup whitespace in Jenkinsfile
    
    * Mark test_get_optimal_thresholds as flaky
    
    See https://github.com/apache/incubator-mxnet/issues/11456
    
    * Marking test_hybrid_static_memory_switching as flaky
---
 Jenkinsfile                                    | 2 +-
 tests/python/quantization/test_quantization.py | 2 ++
 tests/python/unittest/test_gluon.py            | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 20ee040..bff78e3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -859,7 +859,7 @@ try {
                 C:\\mxnet\\test_gpu.bat"""
             } finally {
               collect_test_results_windows('nosetests_gpu_forward.xml', 'nosetests_gpu_forward_windows_python3_gpu.xml')
-              collect_test_results_windows('nosetests_gpu_operator.xml', 'nosetests_gpu_operator_windows_python3_gpu.xml')       
+              collect_test_results_windows('nosetests_gpu_operator.xml', 'nosetests_gpu_operator_windows_python3_gpu.xml')
             }
           }
         }
diff --git a/tests/python/quantization/test_quantization.py b/tests/python/quantization/test_quantization.py
index 15e8582..b6e9bd9 100644
--- a/tests/python/quantization/test_quantization.py
+++ b/tests/python/quantization/test_quantization.py
@@ -25,6 +25,7 @@ from mxnet.test_utils import assert_almost_equal, rand_ndarray, rand_shape_nd, s
 from common import with_seed
 from mxnet.module import Module
 from mxnet.io import NDArrayIter
+import unittest
 
 def is_test_for_gpu():
     return mx.current_context().device_type == 'gpu'
@@ -485,6 +486,7 @@ def test_quantize_sym_with_calib():
 
 
 @with_seed()
+@unittest.skip("Flaky test: https://github.com/apache/incubator-mxnet/issues/11456")
 def test_get_optimal_thresholds():
     # Given an ndarray with elements following a uniform distribution, the optimal threshold
     # for quantizing the ndarray should be either abs(min(nd)) or abs(max(nd)).
diff --git a/tests/python/unittest/test_gluon.py b/tests/python/unittest/test_gluon.py
index 8dd6934..7fff6b8 100644
--- a/tests/python/unittest/test_gluon.py
+++ b/tests/python/unittest/test_gluon.py
@@ -1196,6 +1196,7 @@ def check_hybrid_static_memory_switching(**kwargs):
         y.backward()
     mx.nd.waitall()
 
+@unittest.skip("Flaky test: https://github.com/apache/incubator-mxnet/issues/11171")
 def test_hybrid_static_memory_switching():
     check_hybrid_static_memory_switching()
     check_hybrid_static_memory_switching(static_alloc=True)