You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/12 23:42:08 UTC

[GitHub] marcoabreu commented on a change in pull request #11199: [MXNET-538] Add XUnit to python tests

marcoabreu commented on a change in pull request #11199: [MXNET-538] Add XUnit to python tests
URL: https://github.com/apache/incubator-mxnet/pull/11199#discussion_r194920366
 
 

 ##########
 File path: Jenkinsfile
 ##########
 @@ -465,46 +479,69 @@ try {
     parallel 'Python2: CPU': {
       node('mxnetlinux-cpu') {
         ws('workspace/ut-python2-cpu') {
-          init_git()
-          unpack_lib('cpu')
-          python2_ut('ubuntu_cpu')
+          try {
+            init_git()
+            unpack_lib('cpu')
+            python2_ut('ubuntu_cpu')
+          } finally {
+            collect_test_results_unix('nosetests1.xml', 'nosetests_python2_cpu1.xml')
+            collect_test_results_unix('nosetests2.xml', 'nosetests_python2_cpu2.xml')
+            collect_test_results_unix('nosetests3.xml', 'nosetests_python2_cpu3.xml')
+          }
         }
       }
     },
     'Python3: CPU': {
       node('mxnetlinux-cpu') {
         ws('workspace/ut-python3-cpu') {
-          init_git()
-          unpack_lib('cpu')
-          python3_ut('ubuntu_cpu')
+          try {
+            init_git()
+            unpack_lib('cpu')
+            python3_ut('ubuntu_cpu')
+          } finally {
+            collect_test_results_unix('nosetests1.xml', 'nosetests_python3_cpu1.xml')
 
 Review comment:
   They will be available in the web UI like here: http://jenkins.mxnet-ci.amazon-ml.com/job/incubator-mxnet/view/change-requests/job/PR-11199/8/
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services