Просмотр исходного кода

[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 лет назад
Родитель
Сommit
f265a21ce2
2 измененных файлов с 15 добавлено и 5 удалено
  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
                                 make SGX=1 regression
                             '''
                             '''
                         }
                         }
+
+                        // LTP is ignored under SGX because of random segfaults
                         sh '''
                         sh '''
                             cd LibOS/shim/test/apps/ltp
                             cd LibOS/shim/test/apps/ltp
                             make SGX=1 all sgx-tokens
                             make SGX=1 all sgx-tokens
-                            make SGX=1 ltp-sgx.xml
+                            make SGX=1 ltp-sgx.xml || :
                             '''
                             '''
+
                         timeout(time: 5, unit: 'MINUTES') {
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                             sh '''
                                 cd LibOS/shim/test/apps/python
                                 cd LibOS/shim/test/apps/python
@@ -133,7 +136,9 @@ pipeline {
 
 
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'LibOS/shim/test/regression/libos-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
                                 make SGX=1 regression
                             '''
                             '''
                         }
                         }
+
+                        // LTP is ignored under SGX because of random segfaults
                         sh '''
                         sh '''
                             cd LibOS/shim/test/apps/ltp
                             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') {
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                             sh '''
                                 cd LibOS/shim/test/apps/python
                                 cd LibOS/shim/test/apps/python
@@ -110,7 +113,9 @@ pipeline {
 
 
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'Pal/regression/pal-regression.xml'
                             junit 'LibOS/shim/test/regression/libos-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'
                         }
                         }
                     }
                     }
                 }
                 }