diff --git a/test/config.ini.cmake.in b/test/config.ini.cmake.in --- a/test/config.ini.cmake.in +++ b/test/config.ini.cmake.in @@ -8,6 +8,7 @@ [environment] PACKAGE_NAME=${PACKAGE_NAME} +PACKAGE_BUGREPORT=${PACKAGE_BUGREPORT} SRCDIR=${CMAKE_SOURCE_DIR} BUILDDIR=${CMAKE_BINARY_DIR} EXEEXT=${CMAKE_EXECUTABLE_SUFFIX} diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -302,8 +302,15 @@ else: self.log.error( "Test failed. Test logging available at {}/test_framework.log".format(self.options.tmpdir)) + self.log.error("") self.log.error("Hint: Call {} '{}' to consolidate all logs".format(os.path.normpath( os.path.dirname(os.path.realpath(__file__)) + "/../combine_logs.py"), self.options.tmpdir)) + self.log.error("") + self.log.error( + "If this failure happened unexpectedly or intermittently, please" + " file a bug and provide a link or upload of the combined log.") + self.log.error(self.config['environment']['PACKAGE_BUGREPORT']) + self.log.error("") exit_code = TEST_EXIT_FAILED # Logging.shutdown will not remove stream- and filehandlers, so we must # do it explicitly. Handlers are removed so the next test run can apply