diff --git a/CHANGELOG.md b/CHANGELOG.md index 8017f03..8131574 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed `mepo status` code to allow for quiet failures. There seems to be an odd scenario on non-internet-connected machines where + `mepo status` will fail unless first run on a node with internet access. We are as yet uncertain why this is the case. + ### Removed ### Added diff --git a/esma_support/esma_mepo_status.cmake b/esma_support/esma_mepo_status.cmake index 2c8f2d2..448cbd3 100644 --- a/esma_support/esma_mepo_status.cmake +++ b/esma_support/esma_mepo_status.cmake @@ -20,10 +20,11 @@ function(esma_capture_mepo_status) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_FILE "${OUTPUT_FILE}" RESULT_VARIABLE MEPO_STATUS_RESULT + ERROR_QUIET ) if(NOT MEPO_STATUS_RESULT EQUAL 0) - message(WARNING "mepo state and command were found but failed to run mepo status --hashes. This is odd.") + message(WARNING "mepo state and command were found but failed to run mepo status --hashes. This seems to happen when internet access is not available. Sometimes. We are not sure yet.") else() message(STATUS "mepo status output captured in ${OUTPUT_FILE_NAME}")