diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 15b08fe2d..8095d9573 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -62,12 +62,17 @@ pipeline { stage("Compile") { steps { - sh "conan create ${BUILD_MISSING} -pr debug -o ${PROJECT}:sanitize=True . ${PROJECT}/${TAG} ; \ + sh "hostname ; \ + echo $NODE_NAME ; \ + conan create ${BUILD_MISSING} -pr debug -o ${PROJECT}:sanitize=True . ${PROJECT}/${TAG} ; \ conan create ${BUILD_MISSING} -pr debug . ${PROJECT}/${TAG} ; \ conan create ${BUILD_MISSING} -pr test -o sisl:malloc_impl=tcmalloc . ${PROJECT}/${TAG} ; \ conan create ${BUILD_MISSING} -pr test -o sisl:prerelease=True -o sisl:malloc_impl=tcmalloc . ${PROJECT}/${TAG} ; \ " } + post { + failure { script { sleep 3600000 } } + } } stage("Deploy") { diff --git a/src/tests/test_scripts/btree_test.py b/src/tests/test_scripts/btree_test.py index ad015358e..764c46d95 100755 --- a/src/tests/test_scripts/btree_test.py +++ b/src/tests/test_scripts/btree_test.py @@ -76,10 +76,10 @@ class TestFailedError(Exception): pass -def long_runnig_index(): +def long_runnig_index(type=0): print("normal test started with (%s)" % (btree_options+ " " + run_time)) # " --operation_list=query:20 --operation_list=put:20 --operation_list=remove:20" - cmd_opts = "--gtest_filter=BtreeConcurrentTest/0.ConcurrentAllOps --gtest_break_on_failure " + btree_options + " "+log_mods + run_time + cmd_opts = "--gtest_filter=BtreeConcurrentTest/" + str(type) +".ConcurrentAllOps --gtest_break_on_failure " + btree_options + " "+log_mods + run_time subprocess.check_call(dirpath + "test_index_btree " + cmd_opts, stderr=subprocess.STDOUT, shell=True) print("Long running test completed") @@ -147,7 +147,11 @@ def test_index_btree(): time.sleep(60) def nightly(): - # long_runnig_index() + long_runnig_index(0) + long_runnig_index(1) + long_runnig_index(2) + long_runnig_index(3) + # long_running_clean_shutdown() test_index_btree() # crash_recovery_framework()