Przeglądaj źródła

[CI] Ignore LTP results under SGX

Graphene with SGX is currently experiencing random segfaults and the
testsuite is unstable. For now, the tests are still run, but the
returncode is ignored.

Also fixes Jenkins-SGX-18.04 pipeline, which was apparently broken but
its results are ignored and this problem was missed.
Wojtek Porczyk 6 lat temu
rodzic
commit
f265a21ce2
2 zmienionych plików z 15 dodań i 5 usunięć
  1. 7 2
      Jenkinsfiles/Linux-SGX
  2. 8 3
      Jenkinsfiles/Linux-SGX-18.04

+ 7 - 2
Jenkinsfiles/Linux-SGX

@@ -57,11 +57,14 @@ pipeline {
                                 make SGX=1 regression
                             '''
                         }
+
+                        // LTP is ignored under SGX because of random segfaults
                         sh '''
                             cd LibOS/shim/test/apps/ltp
                             make SGX=1 all sgx-tokens
-                            make SGX=1 ltp-sgx.xml
+                            make SGX=1 ltp-sgx.xml || :
                             '''
+
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/python
@@ -133,7 +136,9 @@ pipeline {
 
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'LibOS/shim/test/regression/libos-regression.xml'
-                            junit 'LibOS/shim/test/apps/ltp/ltp-sgx.xml'
+
+                            // LTP is ignored under SGX because of random segfaults
+                            //junit 'LibOS/shim/test/apps/ltp/ltp-sgx.xml'
                         }
                     }
                 }

+ 8 - 3
Jenkinsfiles/Linux-SGX-18.04

@@ -54,11 +54,14 @@ pipeline {
                                 make SGX=1 regression
                             '''
                         }
+
+                        // LTP is ignored under SGX because of random segfaults
                         sh '''
                             cd LibOS/shim/test/apps/ltp
-                            make
-                            make ltp-sgx.xml
+                            make SGX=1 all sgx-tokens
+                            make SGX=1 ltp-sgx.xml || :
                             '''
+
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/python
@@ -110,7 +113,9 @@ pipeline {
 
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'LibOS/shim/test/regression/libos-regression.xml'
-                            junit 'LibOS/shim/test/apps/ltp/ltp-sgx.xml'
+
+                            // LTP is ignored under SGX because of random segfaults
+                            //junit 'LibOS/shim/test/apps/ltp/ltp-sgx.xml'
                         }
                     }
                 }