Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding 'large_mmap' for DCAP in LibOS with musl #69

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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