You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2020/11/05 16:43:09 UTC

[incubator-mxnet] branch master updated: Skip flaky memory profiler tests (#19346)

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

zhasheng 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 b409371  Skip flaky memory profiler tests (#19346)
b409371 is described below

commit b4093712c276ecc2b962e02da8f0a72d8ef7e4dc
Author: Leonard Lausen <la...@amazon.com>
AuthorDate: Thu Nov 5 16:40:38 2020 +0000

    Skip flaky memory profiler tests (#19346)
    
    * Skip GPU memory profiler tests due to flaky segmentation faults
    
    * Skip test_aggregate_duplication(
---
 tests/python/gpu/test_profiler_gpu.py  | 2 +-
 tests/python/unittest/test_profiler.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/python/gpu/test_profiler_gpu.py b/tests/python/gpu/test_profiler_gpu.py
index 4206c3f..f5f1b37 100644
--- a/tests/python/gpu/test_profiler_gpu.py
+++ b/tests/python/gpu/test_profiler_gpu.py
@@ -29,7 +29,7 @@ sys.path.insert(0, os.path.join(curr_path, '../unittest'))
 # They will be detected by test framework, as long as the current file has a different filename
 from test_profiler import *
 
-
+@pytest.mark.skip(reason='https://github.com/apache/incubator-mxnet/issues/18564')
 def test_gpu_memory_profiler_symbolic():
     enable_profiler('test_profiler.json')
     profiler.set_state('run')
diff --git a/tests/python/unittest/test_profiler.py b/tests/python/unittest/test_profiler.py
index eabebf4..f284c7a 100644
--- a/tests/python/unittest/test_profiler.py
+++ b/tests/python/unittest/test_profiler.py
@@ -281,6 +281,7 @@ def test_aggregate_stats_sorting():
     profiler.set_state('stop')
 
 
+@pytest.mark.skip(reason='https://github.com/apache/incubator-mxnet/issues/18564')
 def test_aggregate_duplication():
     file_name = 'test_aggregate_duplication.json'
     enable_profiler(profile_filename=file_name, run=True, continuous_dump=True, \