You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/06/06 20:55:29 UTC

[incubator-mxnet] branch master updated: Removing tutorial tests (#11170)

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

jxie 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 7511045  Removing tutorial tests (#11170)
7511045 is described below

commit 751104554046dc30f02889fe72fbab05bde0cb5c
Author: Thomas Delteil <th...@gmail.com>
AuthorDate: Wed Jun 6 13:55:22 2018 -0700

    Removing tutorial tests (#11170)
    
    * removing tutorial tests
    
    Removing tutorial tests for now until we figure out why they started failing so much
    
    * extend sleep time to > 1s
---
 Jenkinsfile                       | 22 ----------------------
 tests/tutorials/test_tutorials.py |  5 ++++-
 2 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 288f9a4..28edda0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -824,28 +824,6 @@ try {
           }
         }
       }
-    },
-    'tutorial tests Python 2 GPU': {
-      node('mxnetlinux-gpu') {
-        ws('workspace/it-tutorials-py2') {
-          timeout(time: max_time, unit: 'MINUTES') {
-            init_git()
-            unpack_lib('gpu')
-            docker_run('ubuntu_gpu', 'tutorialtest_ubuntu_python2_gpu', true, '3g')
-          }
-        }
-      }
-    },
-    'tutorial tests Python 3 GPU': {
-      node('mxnetlinux-gpu') {
-        ws('workspace/it-tutorials-py3') {
-          timeout(time: max_time, unit: 'MINUTES') {
-            init_git()
-            unpack_lib('gpu')
-            docker_run('ubuntu_gpu', 'tutorialtest_ubuntu_python3_gpu', true, '3g')
-          }
-        }
-      }
     }
   }
 
diff --git a/tests/tutorials/test_tutorials.py b/tests/tutorials/test_tutorials.py
index 4c19a8e..5070364 100644
--- a/tests/tutorials/test_tutorials.py
+++ b/tests/tutorials/test_tutorials.py
@@ -79,7 +79,10 @@ def _test_tutorial_nb(tutorial):
         os.makedirs(working_dir)
     try:
         notebook = nbformat.read(tutorial_path + '.ipynb', as_version=IPYTHON_VERSION)
-        time.sleep(0.5) # Adding a small delay to allow time for sockets to be freed
+        # Adding a small delay to allow time for sockets to be freed
+        # stop-gap measure to battle the 1000ms linger of socket hard coded
+        # in the kernel API code
+        time.sleep(1.1) 
         if kernel is not None:
             eprocessor = ExecutePreprocessor(timeout=TIME_OUT, kernel_name=kernel)
         else:

-- 
To stop receiving notification emails like this one, please contact
jxie@apache.org.