[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:
Dmitrii Kuvaiskii
2019-12-14 12:53:45 -08:00
parent c47642b318
commit b4673dc171
7 changed files with 58 additions and 1 deletions
+10
View File
@@ -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
+9
View File
@@ -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
+10
View File
@@ -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
+9
View File
@@ -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
+9
View File
@@ -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
+10
View File
@@ -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