mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-04 21:01:40 +00:00
[Jenkins] Add Redis test to all Jenkins pipelines
Redis is tested with select() syscall on 16.04 pipelines and with epoll() on 18.04 pipelines.
This commit is contained in:
@@ -79,6 +79,15 @@ pipeline {
|
||||
make test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make USE_SELECT=1
|
||||
make start-graphene-server &
|
||||
sleep 1
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make
|
||||
@@ -120,6 +129,7 @@ pipeline {
|
||||
make -C LibOS/shim/test/apps/curl clean
|
||||
make -C LibOS/shim/test/apps/gcc clean
|
||||
make -C LibOS/shim/test/apps/lmbench distclean
|
||||
make -C LibOS/shim/test/apps/redis distclean
|
||||
make -C LibOS/shim/test/apps/lighttpd distclean
|
||||
make -C LibOS/shim/test/apps/nginx distclean
|
||||
make -C LibOS/shim/test/apps/apache distclean
|
||||
|
||||
@@ -78,6 +78,15 @@ pipeline {
|
||||
make test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make
|
||||
make start-graphene-server &
|
||||
sleep 1
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make
|
||||
|
||||
@@ -77,6 +77,15 @@ pipeline {
|
||||
make test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make USE_SELECT=1
|
||||
make start-graphene-server &
|
||||
sleep 1
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make
|
||||
@@ -116,6 +125,7 @@ pipeline {
|
||||
make -C LibOS/shim/test/apps/curl clean
|
||||
make -C LibOS/shim/test/apps/gcc clean
|
||||
make -C LibOS/shim/test/apps/lmbench distclean
|
||||
make -C LibOS/shim/test/apps/redis distclean
|
||||
make -C LibOS/shim/test/apps/lighttpd distclean
|
||||
make -C LibOS/shim/test/apps/nginx distclean
|
||||
make -C LibOS/shim/test/apps/apache distclean
|
||||
|
||||
@@ -75,6 +75,15 @@ pipeline {
|
||||
make test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make
|
||||
make start-graphene-server &
|
||||
sleep 1
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make
|
||||
|
||||
@@ -82,6 +82,15 @@ pipeline {
|
||||
make SGX=1 test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 15, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make SGX=1
|
||||
make SGX=1 start-graphene-server &
|
||||
sleep 30
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make SGX=1
|
||||
|
||||
@@ -82,6 +82,15 @@ pipeline {
|
||||
make SGX=1 test N_RUNS=1 ENOUGH=100
|
||||
'''
|
||||
}
|
||||
timeout(time: 15, unit: 'MINUTES') {
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/redis
|
||||
make SGX=1 USE_SELECT=1
|
||||
make SGX=1 start-graphene-server &
|
||||
sleep 30
|
||||
./src/src/redis-benchmark
|
||||
'''
|
||||
}
|
||||
sh '''
|
||||
cd LibOS/shim/test/apps/lighttpd
|
||||
make SGX=1
|
||||
@@ -117,6 +126,7 @@ pipeline {
|
||||
make -C LibOS/shim/test/apps/curl SGX=1 clean
|
||||
make -C LibOS/shim/test/apps/gcc SGX=1 clean
|
||||
make -C LibOS/shim/test/apps/lmbench SGX=1 distclean
|
||||
make -C LibOS/shim/test/apps/redis SGX=1 distclean
|
||||
make -C LibOS/shim/test/apps/lighttpd SGX=1 distclean
|
||||
make -C LibOS/shim/test/apps/nginx SGX=1 distclean
|
||||
make -C LibOS/shim/test/apps/apache SGX=1 distclean
|
||||
|
||||
+1
-1
Submodule LibOS/shim/test/apps updated: 4f40531250...dfb8e3abf1
Reference in New Issue
Block a user