Skip to content

Commit

Permalink
Excluding 'large_mmap' for DCAP in LibOS with musl
Browse files Browse the repository at this point in the history
In this commit, the testcase 'large_mmap' is skipped for DCAP
in LibOS suite compiled with musl.
  • Loading branch information
aniket-intelx authored and jinengandhi-intel committed Dec 8, 2021
1 parent a757320 commit 1dab491
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions ci/stage-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,27 @@ stage('test') {
sh '''
export GRAMINE_MUSL=1
cd LibOS/shim/test/regression
# For some unknown reason it fails without this clean on sgx-18.04 pipeline
gramine-test clean
RA_CLIENT_SPID=${ra_client_spid} gramine-test -n tests_musl.toml build -v
python3 -m pytest -v --junit-xml libos-regression-musl.xml
if test -n "$SGX"
then
RA_CLIENT_SPID=${ra_client_spid} gramine-test --sgx -n tests_musl.toml build -v
else
RA_CLIENT_SPID=${ra_client_spid} gramine-test -n tests_musl.toml build -v
fi
'''
if (env.node_label == "graphene_dcap") {
sh '''
export GRAMINE_MUSL=1
cd LibOS/shim/test/regression
python3 -m pytest -v -k "not large_mmap" --junit-xml libos-regression-musl.xml
'''
} else {
sh '''
export GRAMINE_MUSL=1
cd LibOS/shim/test/regression
python3 -m pytest -v -k "not attestation" --junit-xml libos-regression-musl.xml
'''
}
} catch (Exception e){
env.build_ok = false
sh 'echo "LibOS Test with musl Failed"'
Expand Down

0 comments on commit 1dab491

Please sign in to comment.