From 9bcabb470517446648b579b763cfa36ac4fb6fe3 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 3 Dec 2024 18:25:04 -0600 Subject: [PATCH] Increase timeout to 3 hours --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0f6725d29eb..5ab5af29cb6 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,7 +42,7 @@ def rocmtestnode(Map conf) { rm -rf build mkdir build cd build - cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_DEV=On -DCMAKE_EXECUTE_PROCESS_COMMAND_ECHO=STDOUT -DMIGRAPHX_DISABLE_VIRTUAL_ENV=ON ${flags} .. + cmake -DCTEST_TIMEOUT=3600 -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_DEV=On -DCMAKE_EXECUTE_PROCESS_COMMAND_ECHO=STDOUT -DMIGRAPHX_DISABLE_VIRTUAL_ENV=ON ${flags} .. git diff git diff-index --quiet HEAD || (echo "Git repo is not clean after running cmake." && exit 1) make -j\$(nproc) generate VERBOSE=1 @@ -71,7 +71,7 @@ def rocmtestnode(Map conf) { pre() sh "docker pull ${DOCKER_IMAGE}:${env.IMAGE_TAG}" withDockerContainer(image: "${DOCKER_IMAGE}:${env.IMAGE_TAG}", args: "--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE -v=/home/jenkins/:/home/jenkins ${docker_args}") { - timeout(time: 2, unit: 'HOURS') { + timeout(time: 3, unit: 'HOURS') { body(cmake_build) } }