-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
159e366
commit cb0e841
Showing
10 changed files
with
48 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,42 @@ | ||
stage('stress-ng') { | ||
try { | ||
timeout(time: 180, unit: 'MINUTES') { | ||
sh ''' | ||
export cmd=graphene-direct | ||
cd Examples/stress-ng | ||
if test -n "$SGX" | ||
then | ||
make SGX=1 | ||
export cmd=graphene-sgx | ||
else | ||
make | ||
fi | ||
script { | ||
if (env.stress_ng_run == "True") { | ||
|
||
$cmd stress-ng --job hdd.job 2>&1 | tee hdd.log | ||
$cmd stress-ng --job seek.job 2>&1 | tee seek.log | ||
$cmd stress-ng --job seek-hdd.job 2>&1 | tee seek-hdd.log | ||
$cmd stress-ng --job interrupt.job 2>&1 | tee interrupt.log | ||
$cmd stress-ng --job filesystem.job 2>&1 | tee filesystem.log | ||
$cmd stress-ng --job filesystem_all.job 2>&1 | tee filesystem_all.log | ||
$cmd stress-ng --job scheduler.job 2>&1 | tee scheduler.log | ||
$cmd stress-ng --job scheduler_all.job 2>&1 | tee scheduler_all.log | ||
try { | ||
timeout(time: 180, unit: 'MINUTES') { | ||
sh ''' | ||
export cmd=graphene-direct | ||
cd Examples/stress-ng | ||
if test -n "$SGX" | ||
then | ||
make SGX=1 | ||
export cmd=graphene-sgx | ||
else | ||
make | ||
fi | ||
|
||
''' | ||
$cmd stress-ng --job hdd.job 2>&1 | tee hdd.log | ||
$cmd stress-ng --job seek.job 2>&1 | tee seek.log | ||
$cmd stress-ng --job seek-hdd.job 2>&1 | tee seek-hdd.log | ||
$cmd stress-ng --job interrupt.job 2>&1 | tee interrupt.log | ||
$cmd stress-ng --job filesystem.job 2>&1 | tee filesystem.log | ||
$cmd stress-ng --job filesystem_all.job 2>&1 | tee filesystem_all.log | ||
$cmd stress-ng --job scheduler.job 2>&1 | tee scheduler.log | ||
$cmd stress-ng --job scheduler_all.job 2>&1 | tee scheduler_all.log | ||
|
||
python3 parser_stressng.py --path=. | ||
|
||
''' | ||
} | ||
} catch (Exception e){ | ||
build_ok = false | ||
sh 'echo "Stress-ng Failed"' | ||
} finally { | ||
archiveArtifacts 'Examples/stress-ng/*.log' | ||
} | ||
} else { | ||
sh 'echo "Ignoring stress-ng run. For enabling pass True from Jenkins build parameters"' | ||
} | ||
} catch (Exception e){ | ||
build_ok = false | ||
sh 'echo "Stress-ng Failed"' | ||
} finally { | ||
archiveArtifacts 'Examples/stress-ng/*.log' | ||
} | ||
} | ||
|