From 66ed7c8fad4bfa20518343d92bfb4877e056dbc3 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 4 Mar 2024 11:49:49 -0600 Subject: [PATCH] Run manual jobs with sequential executor by default Until we can drive down the amount of flakiness in ROS tests running under system load, run manual jobs with the sequential executor. --- create_jenkins_job.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/create_jenkins_job.py b/create_jenkins_job.py index 890bf69f7..8abbd818b 100755 --- a/create_jenkins_job.py +++ b/create_jenkins_job.py @@ -191,6 +191,7 @@ def create_job(os_name, job_name, template_file, additional_dict): # configure manual triggered job create_job(os_name, 'ci_' + os_name, 'ci_job.xml.em', { 'cmake_build_type': 'None', + 'test_args_default': data['test_args_default'] + ' --executor sequential', }) # configure test jobs for experimenting with job config changes # Keep parameters the same as the manual triggered job above. @@ -294,7 +295,7 @@ def create_job(os_name, job_name, template_file, additional_dict): 'cmake_build_type': 'None', 'compile_with_clang_default': 'true', 'build_args_default': clang_libcxx_build_args, - 'test_args_default': clang_libcxx_test_args, + 'test_args_default': clang_libcxx_test_args + ' --executor sequential', }) # configure nightly job for testing rmw/rcl based packages with thread sanitizer on linux @@ -429,7 +430,7 @@ def create_job(os_name, job_name, template_file, additional_dict): 'build_args_default': data['build_args_default'] + ' --packages-skip qt_gui_cpp --packages-skip-by-dep qt_gui_cpp ' + '--packages-up-to ' + ' '.join(quality_level_pkgs + testing_pkgs_for_quality_level), 'test_args_default': data['test_args_default'] + ' --packages-skip qt_gui_cpp --packages-skip-by-dep qt_gui_cpp ' + - '--packages-up-to ' + ' '.join(quality_level_pkgs + testing_pkgs_for_quality_level), + '--packages-up-to ' + ' '.join(quality_level_pkgs + testing_pkgs_for_quality_level) + ' --executor sequential', }) create_job(os_name, 'test_' + os_name + '_coverage', 'ci_job.xml.em', { 'cmake_build_type': 'Debug', @@ -532,6 +533,7 @@ def create_job(os_name, job_name, template_file, additional_dict): job_data['label_expression'] = 'built-in || master' job_data['os_specific_data'] = os_specific_data job_data['cmake_build_type'] = 'None' + job_data['test_args_default'] += ' --executor sequential' job_data.update(retention_data_by_job_type(launcher_job_name)) job_config = expand_template('ci_launcher_job.xml.em', job_data) configure_job(jenkins, launcher_job_name, job_config, **jenkins_kwargs)