+ set +x /home/tcwg-buildslave/workspace/tcwg_gnu_6/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __stage full __verbose true __build_script tcwg_gnu-build.sh + false + dryrun= + declare top_artifacts ci_project ci_config + declare change_kind changed_single_component last_good first_bad + declare -a changed_components + declare print_commits_f print_result_f print_config_f print_last_icommit_f + dump_model_only=false + setup_notify_environment # setup_notify_environment + echo '# setup_notify_environment' + top_artifacts=artifacts ++ get_current_manifest '{rr[ci_project]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_project]}' ++ set +x + ci_project=tcwg_gdb_build ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x # Debug traces : + ci_config=master-aarch64 + echo '# Debug traces :' ++ get_baseline_manifest BUILD_URL ++ get_manifest base-artifacts/manifest.sh BUILD_URL false ++ set +x # Baseline : https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/566/ # Using dir : base-artifacts + echo '# Baseline : https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/566/' + echo '# Using dir : base-artifacts' ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x # Artifacts : https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/ + echo '# Artifacts : https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/' # Using dir : artifacts + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + case "$notify" in + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes # check_source_changes + echo '# check_source_changes' ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x + '[' onsuccess '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components ++ set -euf -o pipefail ++ local c delim= +++ print_updated_components +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} +++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' +++ echo -ne gdb +++ delim=' ' +++ echo ++ for c in $(print_updated_components) +++ get_current_git gdb_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev +++ get_baseline_git gdb_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ '[' x3396471b4cd4032adcc8eabb46d2a3ab0c876368 '!=' x77d242a06e352eee88908326d7bbf3b77086d5db ']' ++ echo -ne gdb ++ delim=' ' ++ echo + local c base_rev cur_rev c_commits + '[' 1 = 0 ']' + '[' 1 = 1 ']' + changed_single_component=gdb ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + first_bad=3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + last_good=77d242a06e352eee88908326d7bbf3b77086d5db + local res + res=0 + wait 53670 + git -C gdb rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo gdb' '[' 0 = 0 ']' + set -euf -o pipefail +x + single_commit_p gdb + set -euf -o pipefail + local c=gdb + local base_rev cur_rev sha1 ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + base_rev=77d242a06e352eee88908326d7bbf3b77086d5db ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ git -C gdb rev-parse '3396471b4cd4032adcc8eabb46d2a3ab0c876368^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' 06740cf11f601c6a5a0f3807f37aaac31d13a542 = 77d242a06e352eee88908326d7bbf3b77086d5db ']' + return 1 + change_kind=single_component # Debug traces : # change_kind=single_component : gdb + echo '# Debug traces :' + echo '# change_kind=single_component : gdb' + for c in "${changed_components[@]}" ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + base_rev=77d242a06e352eee88908326d7bbf3b77086d5db ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ git -C gdb rev-list --count 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 + c_commits=8 # rev for gdb : 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 (8 commits) + echo '# rev for gdb : 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 (8 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' + '[' ignore = precommit ']' + '[' ignore = ignore ']' + post_jira_comment=false + post_jira_card=false + post_icommits=false + '[' ignore = ignore ']' + post_mail=false + '[' ignore = precommit ']' + generate_dashboard=false + post_dashboard=false + print_commits_f=print_commits + print_result_f=print_result + print_config_f=print_config + print_last_icommit_f=print_last_icommit + generate_extra_details_f=generate_extra_details + case "$ci_project" in + print_result_f=gnu_print_result + generate_extra_details_f=gnu_generate_extra_details + print_config_f=gnu_print_config + post_interesting_commits init + set -euf -o pipefail # post_interesting_commits + echo '# post_interesting_commits' + local stage=init + '[' single_component '!=' single_commit ']' + return + '[' full '!=' full ']' + gnu_generate_extra_details + set -euf -o pipefail + '[' -d artifacts/sumfiles ']' + return 0 + calculate_results_date + set -euf -o pipefail + local c base_d cur_d results_date=0 ++ get_current_manifest '{rr[components]}' ++ get_manifest artifacts/manifest.sh '{rr[components]}' ++ set +x + for c in $(get_current_manifest "{rr[components]}") ++ get_baseline_component_date gdb ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb in current git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ git -C gdb show --no-patch --pretty=%ct 77d242a06e352eee88908326d7bbf3b77086d5db + base_d=1703811330 ++ get_current_component_date gdb ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev ++ git -C gdb show --no-patch --pretty=%ct 3396471b4cd4032adcc8eabb46d2a3ab0c876368 + cur_d=1703845870 + '[' x1703811330 '!=' x ']' + '[' x1703845870 = x ']' + '[' 1703845870 -lt 1703811330 ']' + '[' x1703845870 = x ']' + '[' 1703845870 -gt 0 ']' + results_date=1703845870 + assert_with_msg 'Failed to produce results_date' '[' 1703845870 -gt 0 ']' + set -euf -o pipefail +x ++ get_baseline_manifest '{rr[results_date]}' ++ get_manifest base-artifacts/manifest.sh '{rr[results_date]}' false ++ set +x + base_d=1703794030 + '[' 1703794030 '!=' '' ']' + '[' 1703845870 -gt 1703794030 ']' + results_date=1703819950 + rr[results_date]=1703819950 + cat + manifest_out + cat + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false + '[' xsingle_component '!=' xsingle_commit ']' + return + post_interesting_commits full + set -euf -o pipefail + echo '# post_interesting_commits' # post_interesting_commits + local stage=full + '[' single_component '!=' single_commit ']' + return + true + generate_jira_dir + set -euf -o pipefail + local icommit_entry jira_key= ++ print_last_icommit --entry ++ false ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 ++ '[' xsingle_component '!=' xsingle_commit ']' ++ return 0 + icommit_entry= + '[' '' '!=' '' ']' + mkdir -p artifacts/notify/jira + '[' '' '!=' '' ']' + cat ++ print_jira_template_card ++ local jira_card=GNU-692 ++ case "$ci_project/$ci_config:$changed_single_component" in ++ echo GNU-692 ++ gnu_print_result --oneline ++ false ++ local print_arg=--oneline ++ '[' -d artifacts/sumfiles ']' ++ print_result --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ '[' 0 = 0 ']' ++ echo Success ++ return 0 ++ print_artifacts_url 'notify/mail-body.txt/*view*/' ++ set -euf -o pipefail ++ local url +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x ++ url=https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/artifact/artifacts ++ '[' '' '!=' '' ']' ++ echo 'https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/artifact/artifacts/notify/mail-body.txt/*view*/' # print all notification files + echo '# print all notification files' + true + generate_mail_files + set -euf -o pipefail + print_mail_recipients + set -euf -o pipefail + local c=gdb + '[' gdb = '' ']' + local -A emails + emails["tcwg-validation@linaro.org"]=bcc + emails["author"]=cc + emails["committer"]=to + case "$ci_project/$ci_config:$c" in + emails["gdb-testers@sourceware.org"]=cc_postcommit + local c email base_rev cur_rev ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + base_rev=77d242a06e352eee88908326d7bbf3b77086d5db ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 + read -r email ++ git -C gdb log --pretty=%ae 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + local precommit_postcommit=postcommit + '[' '' = '' ']' ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + base_rev=77d242a06e352eee88908326d7bbf3b77086d5db ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 + read -r email ++ git -C gdb log --pretty=%ce 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + unset 'emails[author]' 'emails[committer]' + local type + recipients=() + local -a recipients + for email in "${!emails[@]}" + type=bcc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=cc_postcommit + case "$precommit_postcommit:$type" in + type=cc + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=cc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=cc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$email") + IFS=, + echo bcc:tcwg-validation@linaro.org,cc:gdb-testers@sourceware.org,abdul.b.ijaz@intel.com,cc:changjiachen@stu.xupt.edu.cn,liuzhensong@loongson.cn,cc:nils-christian.kempke@intel.com ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline ++ '[' single_component = no_change ']' ++ local more_lines ++ '[' single_component = single_commit ']' ++ '[' single_component = single_component ']' ++ local new_commits c base_rev cur_rev c_commits components ++ local commits_or_patches ++ '[' '' '!=' '' ']' ++ commits_or_patches=commits ++ new_commits=0 ++ for c in "${changed_components[@]}" +++ get_baseline_git gdb_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ base_rev=77d242a06e352eee88908326d7bbf3b77086d5db +++ get_current_git gdb_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev ++ cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 +++ git -C gdb rev-list --count 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ c_commits=8 ++ new_commits=8 +++ echo gdb +++ tr ' ' , ++ components=gdb ++ echo '8 commits in gdb' ++ '[' --oneline = --oneline ']' ++ return 0 ++ gnu_print_result --oneline ++ false ++ local print_arg=--oneline ++ '[' -d artifacts/sumfiles ']' ++ print_result --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ '[' 0 = 0 ']' ++ echo Success ++ return 0 ++ gnu_print_config --oneline ++ false ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_6/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_gdb_build master-aarch64 ++ local project=tcwg_gdb_build ++ local config=master-aarch64 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-aarch64 ++ gnu_data[long_config]=master-aarch64 ++ case "$project/$config" in +++ echo tcwg_gdb_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=gdb_build ++ local print_arg=--oneline ++ case "$print_arg" in ++ print_config --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ case "$ci_config" in ++ echo aarch64 + echo '[Linaro-TCWG-CI]' '8 commits in gdb: Success on aarch64' + print_mail_body + local bad_artifacts_url good_artifacts_url ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x + bad_artifacts_url=https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/artifact/artifacts ++ get_baseline_manifest BUILD_URL ++ get_manifest base-artifacts/manifest.sh BUILD_URL false ++ set +x + good_artifacts_url=https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/566/artifact/artifacts + local key= + '[' single_component = single_commit ']' + cat + '[' '' '!=' '' ']' + cat ++ gnu_print_config --short ++ false ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_6/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_gdb_build master-aarch64 ++ local project=tcwg_gdb_build ++ local config=master-aarch64 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-aarch64 ++ gnu_data[long_config]=master-aarch64 ++ case "$project/$config" in +++ echo tcwg_gdb_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=gdb_build ++ local print_arg=--short ++ case "$print_arg" in ++ echo 'gdb_build master-aarch64' ++ print_commits --short ++ sed -e 's/^/ | /' ++ set -euf -o pipefail ++ false ++ local print_arg=--short ++ '[' single_component = no_change ']' ++ local more_lines ++ '[' single_component = single_commit ']' ++ '[' single_component = single_component ']' ++ local new_commits c base_rev cur_rev c_commits components ++ local commits_or_patches ++ '[' '' '!=' '' ']' ++ commits_or_patches=commits ++ new_commits=0 ++ for c in "${changed_components[@]}" +++ get_baseline_git gdb_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ base_rev=77d242a06e352eee88908326d7bbf3b77086d5db +++ get_current_git gdb_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev ++ cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 +++ git -C gdb rev-list --count 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ c_commits=8 ++ new_commits=8 +++ echo gdb +++ tr ' ' , ++ components=gdb ++ echo '8 commits in gdb' ++ '[' --short = --oneline ']' ++ for c in "${changed_components[@]}" +++ get_baseline_git gdb_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ base_rev=77d242a06e352eee88908326d7bbf3b77086d5db +++ get_current_git gdb_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev ++ cur_rev=3396471b4cd4032adcc8eabb46d2a3ab0c876368 +++ git -C gdb rev-list --count 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ c_commits=8 ++ '[' '' '!=' '' ']' ++ git -C gdb log -n 5 --oneline 77d242a06e352eee88908326d7bbf3b77086d5db..3396471b4cd4032adcc8eabb46d2a3ab0c876368 ++ '[' 8 -gt 5 ']' ++ echo '... and 3 more commits in gdb' ++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short ++ false ++ local print_arg=--short ++ '[' -d artifacts/sumfiles ']' ++ print_result --short ++ false ++ local print_arg=--short ++ case "$print_arg" in ++ echo 'Results changed to' +++ cat artifacts/results ++ echo '# reset_artifacts: -10 # true: 0 # build_abe gdb: 1' ++ echo '' ++ echo From +++ cat base-artifacts/results ++ echo '# reset_artifacts: -10 # true: 0 # build_abe gdb: 1' ++ return 0 ++ gnu_print_config --long ++ false ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_6/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_gdb_build master-aarch64 ++ local project=tcwg_gdb_build ++ local config=master-aarch64 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-aarch64 ++ gnu_data[long_config]=master-aarch64 ++ case "$project/$config" in +++ echo tcwg_gdb_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=gdb_build ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'CI config tcwg_gdb_build master-aarch64' + '[' single_component '!=' single_commit ']' + return + true + generate_jenkins_html_files + wait 53846 + set -euf -o pipefail + echo '# generate_jenkins_html_files' # generate_jenkins_html_files + true + case "$ci_project" in ... Skipping + echo '... Skipping' + return + generate_readme html + set -euf -o pipefail + local text_type=html + local gnu_text=false + case "$ci_project" in + local list_start= + local list_end= + local 'list_item=- ' + local new_parag= + '[' html = html ']' + list_start='' + list_item='
  • ' + new_parag='

    ' + print_readme_header html + set -euf -o pipefail + local text_type=html + local 'msg=How to browse artifacts of this build' + case $text_type in + cat + cat + '[' -d artifacts/00-sumfiles ']' + cat ++ print_readme_link html git/ ++ set -euf -o pipefail ++ local text_type=html ++ local msg=git/ ++ case $text_type in ++ echo -n 'git/' ++ print_readme_link html jenkins/ ++ set -euf -o pipefail ++ local text_type=html ++ local msg=jenkins/ ++ case $text_type in ++ echo -n 'jenkins/' ++ print_readme_link html notify/ ++ set -euf -o pipefail ++ local text_type=html ++ local msg=notify/ ++ case $text_type in ++ echo -n 'notify/' + false + cat ++ print_readme_link html notify/ ++ set -euf -o pipefail ++ local text_type=html ++ local msg=notify/ ++ case $text_type in ++ echo -n 'notify/' + false + cat + read -r cur_file ++ cd artifacts ++ find . -type f ++ sort ++ print_readme_link html ./01-reset_artifacts/console.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./01-reset_artifacts/console.log.xz ++ case $text_type in ++ echo -n './01-reset_artifacts/console.log.xz' + echo '

  • ./01-reset_artifacts/console.log.xz' + read -r cur_file ++ print_readme_link html ./02-prepare_abe/console.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./02-prepare_abe/console.log.xz ++ case $text_type in ++ echo -n './02-prepare_abe/console.log.xz' + echo '
  • ./02-prepare_abe/console.log.xz' + read -r cur_file ++ print_readme_link html ./03-true/console.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./03-true/console.log.xz ++ case $text_type in ++ echo -n './03-true/console.log.xz' + echo '
  • ./03-true/console.log.xz' + read -r cur_file ++ print_readme_link html ./04-build_abe-gdb/console.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./04-build_abe-gdb/console.log.xz ++ case $text_type in ++ echo -n './04-build_abe-gdb/console.log.xz' + echo '
  • ./04-build_abe-gdb/console.log.xz' + read -r cur_file ++ print_readme_link html ./04-build_abe-gdb/make-gdb.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./04-build_abe-gdb/make-gdb.log.xz ++ case $text_type in ++ echo -n './04-build_abe-gdb/make-gdb.log.xz' + echo '
  • ./04-build_abe-gdb/make-gdb.log.xz' + read -r cur_file ++ print_readme_link html ./05-check_regression/console.log.xz ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./05-check_regression/console.log.xz ++ case $text_type in ++ echo -n './05-check_regression/console.log.xz' + echo '
  • ./05-check_regression/console.log.xz' + read -r cur_file ++ print_readme_link html ./git/gdb_rev ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./git/gdb_rev ++ case $text_type in ++ echo -n './git/gdb_rev' + echo '
  • ./git/gdb_rev' + read -r cur_file ++ print_readme_link html ./git/gdb_url ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./git/gdb_url ++ case $text_type in ++ echo -n './git/gdb_url' + echo '
  • ./git/gdb_url' + read -r cur_file ++ print_readme_link html ./jenkins/build-name ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./jenkins/build-name ++ case $text_type in ++ echo -n './jenkins/build-name' + echo '
  • ./jenkins/build-name' + read -r cur_file ++ print_readme_link html ./jenkins/notify-full.log ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./jenkins/notify-full.log ++ case $text_type in ++ echo -n './jenkins/notify-full.log' + echo '
  • ./jenkins/notify-full.log' + read -r cur_file ++ print_readme_link html ./jenkins/notify-init.log ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./jenkins/notify-init.log ++ case $text_type in ++ echo -n './jenkins/notify-init.log' + echo '
  • ./jenkins/notify-init.log' + read -r cur_file ++ print_readme_link html ./jenkins/run-build.env ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./jenkins/run-build.env ++ case $text_type in ++ echo -n './jenkins/run-build.env' + echo '
  • ./jenkins/run-build.env' + read -r cur_file ++ print_readme_link html ./manifest.sh ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./manifest.sh ++ case $text_type in ++ echo -n './manifest.sh' + echo '
  • ./manifest.sh' + read -r cur_file ++ print_readme_link html ./notify/jira/comment-template.txt ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./notify/jira/comment-template.txt ++ case $text_type in ++ echo -n './notify/jira/comment-template.txt' + echo '
  • ./notify/jira/comment-template.txt' + read -r cur_file ++ print_readme_link html ./notify/mail-body.txt ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./notify/mail-body.txt ++ case $text_type in ++ echo -n './notify/mail-body.txt' + echo '
  • ./notify/mail-body.txt' + read -r cur_file ++ print_readme_link html ./notify/mail-recipients.txt ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./notify/mail-recipients.txt ++ case $text_type in ++ echo -n './notify/mail-recipients.txt' + echo '
  • ./notify/mail-recipients.txt' + read -r cur_file ++ print_readme_link html ./notify/mail-subject.txt ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./notify/mail-subject.txt ++ case $text_type in ++ echo -n './notify/mail-subject.txt' + echo '
  • ./notify/mail-subject.txt' + read -r cur_file ++ print_readme_link html ./README.html ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./README.html ++ case $text_type in ++ echo -n './README.html' + echo '
  • ./README.html' + read -r cur_file ++ print_readme_link html ./results ++ set -euf -o pipefail ++ local text_type=html ++ local msg=./results ++ case $text_type in ++ echo -n './results' + echo '
  • ./results' + read -r cur_file + cat + print_readme_footer html + set -euf -o pipefail + local text_type=html + case $text_type in + cat + generate_readme txt + set -euf -o pipefail + local text_type=txt + local gnu_text=false + case "$ci_project" in + local list_start= + local list_end= + local 'list_item=- ' + local new_parag= + '[' txt = html ']' + print_readme_header txt + set -euf -o pipefail + local text_type=txt + local 'msg=How to browse artifacts of this build' + case $text_type in + cat + cat + '[' -d artifacts/00-sumfiles ']' + cat ++ print_readme_link txt git/ ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=git/ ++ case $text_type in ++ echo -n git/ ++ print_readme_link txt jenkins/ ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=jenkins/ ++ case $text_type in ++ echo -n jenkins/ ++ print_readme_link txt notify/ ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=notify/ ++ case $text_type in ++ echo -n notify/ + false + cat ++ print_readme_link txt notify/ ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=notify/ ++ case $text_type in ++ echo -n notify/ + false + cat + read -r cur_file ++ cd artifacts ++ find . -type f ++ sort ++ print_readme_link txt ./01-reset_artifacts/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./01-reset_artifacts/console.log.xz ++ case $text_type in ++ echo -n ./01-reset_artifacts/console.log.xz + echo '- ./01-reset_artifacts/console.log.xz' + read -r cur_file ++ print_readme_link txt ./02-prepare_abe/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./02-prepare_abe/console.log.xz ++ case $text_type in ++ echo -n ./02-prepare_abe/console.log.xz + echo '- ./02-prepare_abe/console.log.xz' + read -r cur_file ++ print_readme_link txt ./03-true/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./03-true/console.log.xz ++ case $text_type in ++ echo -n ./03-true/console.log.xz + echo '- ./03-true/console.log.xz' + read -r cur_file ++ print_readme_link txt ./04-build_abe-gdb/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./04-build_abe-gdb/console.log.xz ++ case $text_type in ++ echo -n ./04-build_abe-gdb/console.log.xz + echo '- ./04-build_abe-gdb/console.log.xz' + read -r cur_file ++ print_readme_link txt ./04-build_abe-gdb/make-gdb.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./04-build_abe-gdb/make-gdb.log.xz ++ case $text_type in ++ echo -n ./04-build_abe-gdb/make-gdb.log.xz + echo '- ./04-build_abe-gdb/make-gdb.log.xz' + read -r cur_file ++ print_readme_link txt ./05-check_regression/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./05-check_regression/console.log.xz ++ case $text_type in ++ echo -n ./05-check_regression/console.log.xz + echo '- ./05-check_regression/console.log.xz' + read -r cur_file ++ print_readme_link txt ./git/gdb_rev ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./git/gdb_rev ++ case $text_type in ++ echo -n ./git/gdb_rev + echo '- ./git/gdb_rev' + read -r cur_file ++ print_readme_link txt ./git/gdb_url ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./git/gdb_url ++ case $text_type in ++ echo -n ./git/gdb_url + echo '- ./git/gdb_url' + read -r cur_file ++ print_readme_link txt ./jenkins/build-name ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./jenkins/build-name ++ case $text_type in ++ echo -n ./jenkins/build-name + echo '- ./jenkins/build-name' + read -r cur_file ++ print_readme_link txt ./jenkins/notify-full.log ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./jenkins/notify-full.log ++ case $text_type in ++ echo -n ./jenkins/notify-full.log + echo '- ./jenkins/notify-full.log' + read -r cur_file ++ print_readme_link txt ./jenkins/notify-init.log ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./jenkins/notify-init.log ++ case $text_type in ++ echo -n ./jenkins/notify-init.log + echo '- ./jenkins/notify-init.log' + read -r cur_file ++ print_readme_link txt ./jenkins/run-build.env ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./jenkins/run-build.env ++ case $text_type in ++ echo -n ./jenkins/run-build.env + echo '- ./jenkins/run-build.env' + read -r cur_file ++ print_readme_link txt ./manifest.sh ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./manifest.sh ++ case $text_type in ++ echo -n ./manifest.sh + echo '- ./manifest.sh' + read -r cur_file ++ print_readme_link txt ./notify/jira/comment-template.txt ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./notify/jira/comment-template.txt ++ case $text_type in ++ echo -n ./notify/jira/comment-template.txt + echo '- ./notify/jira/comment-template.txt' + read -r cur_file ++ print_readme_link txt ./notify/mail-body.txt ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./notify/mail-body.txt ++ case $text_type in ++ echo -n ./notify/mail-body.txt + echo '- ./notify/mail-body.txt' + read -r cur_file ++ print_readme_link txt ./notify/mail-recipients.txt ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./notify/mail-recipients.txt ++ case $text_type in ++ echo -n ./notify/mail-recipients.txt + echo '- ./notify/mail-recipients.txt' + read -r cur_file ++ print_readme_link txt ./notify/mail-subject.txt ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./notify/mail-subject.txt ++ case $text_type in ++ echo -n ./notify/mail-subject.txt + echo '- ./notify/mail-subject.txt' + read -r cur_file ++ print_readme_link txt ./README.html ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./README.html ++ case $text_type in ++ echo -n ./README.html + echo '- ./README.html' + read -r cur_file ++ print_readme_link txt ./README.txt ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./README.txt ++ case $text_type in ++ echo -n ./README.txt + echo '- ./README.txt' + read -r cur_file ++ print_readme_link txt ./results ++ set -euf -o pipefail ++ local text_type=txt ++ local msg=./results ++ case $text_type in ++ echo -n ./results + echo '- ./results' + read -r cur_file + cat + print_readme_footer txt + set -euf -o pipefail + local text_type=txt + case $text_type in + echo '# generate dashboard' # generate dashboard + generate_dashboard_squad + local results_date # generate_dashboard_squad + echo '# generate_dashboard_squad' + false + echo '... Skipping' ... Skipping + return + post_dashboard_squad # post_dashboard_squad ... Skipping + echo '# post_dashboard_squad' + false + echo '... Skipping' + return + generate_lnt_report + wait 53966 + set -euf -o pipefail + local results_date + echo '# generate_lnt_report' # generate_lnt_report + true + . /home/tcwg-buildslave/workspace/tcwg_gnu_6/jenkins-scripts/lnt-utils.sh ++ declare is_first_lnt_entry ++ get_current_manifest '{rr[results_date]}' ++ get_manifest artifacts/manifest.sh '{rr[results_date]}' ++ set +x + results_date=1703819950 ++ date '+%Y-%m-%d %H:%M:%S' --date @1703819950 + results_date='2023-12-29 03:19:10' + local jira_key=- + '[' -f artifacts/notify/jira/key ']' + case "$ci_project" in ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x + generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/ tcwg_gdb_build master-aarch64 '2023-12-29 03:19:10' - artifacts/sumfiles artifacts/notify/lnt_report.json + local build_url=https://ci.linaro.org/job/tcwg_gdb_build--master-aarch64-build/567/ + local ci_project=tcwg_gdb_build + local ci_config=master-aarch64 + local 'results_date=2023-12-29 03:19:10' + local jira_key=- + local sumfiles_dir=artifacts/sumfiles + local output_file=artifacts/notify/lnt_report.json + local -a sumfiles + readarray -t -d '' sumfiles ++ find artifacts/sumfiles -name '*.sum' -print0 find: ‘artifacts/sumfiles’: No such file or directory + '[' 0 = 0 ']' + return + false + true + release_testresults_files # release_testresults_files ... Done + echo '# release_testresults_files' + '[' -d artifacts/jenkins ']' + '[' -f artifacts/testresults/testresults-mail-recipients.txt ']' + echo '... Done' + post_to_jira + set -euf -o pipefail + echo '# post_to_jira' # post_to_jira + local post_card_comment=false + local post_template_comment=false + false + false + false Full stage ran successfully. + echo 'Full stage ran successfully.'