ctest_start: Bug in APPEND when CTEST_NIGHTLY_START_TIME is not set
CC: @zackgalbreath, @brad.king
It appears there may be a bug in CTest in ctest_start()
when using the APPEND
argument and the var CTEST_NIGHTLY_START_TIME
is not set. We just removed that var from the Trilinos/CTestConfig.cmake
file yesterday (see https://github.com/trilinos/Trilinos/pull/7023) and today, all of the ATDM Trilinos builds that have to run the tests separately on a compute node are crashing in the ctest -S
script that runs the tests. The invocation of the tests uses ctest_start( ... APPEND )
in the ctest -S
script to run tests and append the same build on CDash but it crashes the ctest -S
process with error output that looks like:
Calling ctest_start(Nightly;TRACK;Specialized;APPEND)...
Run dashboard with model Nightly
Source directory: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/Trilinos
Build directory: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/BUILD
Track: Specialized
Reading ctest configuration file: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/Trilinos/CTestConfig.cmake
-- CTEST_DROP_SITE='testing.sandia.gov'
-- CTEST_PROJECT_NAME='Trilinos'
-- CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
-- CTEST_TRIGGER_SITE=''
-- CTEST_DROP_SITE_CDASH='TRUE'
-- TRIBITS_2ND_CTEST_DROP_SITE='testing-dev.sandia.gov'
-- TRIBITS_2ND_CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
Site: attaway
Build name: Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg
WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake
CMake Error at /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/Trilinos/cmake/tribits/ctest_driver/TribitsCTestDriverCore.cmake:1967 (CTEST_START):
CTEST_START unknown error.
Call Stack (most recent call first):
/nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/Trilinos/cmake/ctest/TrilinosCTestDriverCore.cmake:32 (TRIBITS_CTEST_DRIVER)
/nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/Trilinos/cmake/ctest/drivers/atdm/TrilinosCTestDriverCore.atdm.cmake:164 (TRILINOS_CTEST_DRIVER)
/nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/Trilinos/cmake/ctest/drivers/atdm/ctest-driver.cmake:10 (TRILINOS_SYSTEM_SPECIFIC_CTEST_DRIVER)
See that warning:
WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake
Note that the ctest_start()
in the first ctest -S
script that does the update, configure, and build that runs on the login/compile node does not show that warning and completes with:
Calling ctest_start(Nightly;TRACK;Specialized)...
Run dashboard with model Nightly
Source directory: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/Trilinos
Build directory: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/BUILD
Track: Specialized
Reading ctest configuration file: /nscratch/jenkins/attaway-slave/workspace/Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg/SRC_AND_BUILD/Trilinos/CTestConfig.cmake
-- CTEST_DROP_SITE='testing.sandia.gov'
-- CTEST_PROJECT_NAME='Trilinos'
-- CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
-- CTEST_TRIGGER_SITE=''
-- CTEST_DROP_SITE_CDASH='TRUE'
-- TRIBITS_2ND_CTEST_DROP_SITE='testing-dev.sandia.gov'
-- TRIBITS_2ND_CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
Site: attaway
Build name: Trilinos-atdm-cts1-intel-18.0.2_openmpi-2.0.3_openmp_static_dbg
Determine Nightly Start Time
Specified time: 04:00:00 UTC
Use Specialized tag: 20200318-0400
See, no warning about No nightly start time found
!