+ set +x /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ATATT3xFfGF0T6lmyRRI1GPXAjFc6UC66WsAJyuXpga-0JusQbYQdlG4NfS8kED4ejPRlZs9E57FWxFlN7K67E-9t-EXcNqVpzVQwTRd2JDDboAUNRnk00rMY9KXELe8Jb9dKP7p3MTXz2HTqtpMKIM2VZQUmZf_TcIuAN0mVpSPtZtdoLZBnCk=34F9AA87 __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 + echo '# setup_notify_environment' # 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_bootstrap_build ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x + ci_config=master-arm-bootstrap_O3 # Debug traces : + 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_bootstrap_build--master-arm-bootstrap_O3-build/309/ + echo '# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-arm-bootstrap_O3-build/309/' # Using dir : base-artifacts + 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_bootstrap_build--master-arm-bootstrap_O3-build/310/ + echo '# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-arm-bootstrap_O3-build/310/' + echo '# Using dir : artifacts' # Using dir : artifacts + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x + 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]} +++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' +++ echo -ne gcc +++ delim=' ' +++ echo ++ for c in $(print_updated_components) +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev +++ get_baseline_git gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ '[' xfced59166f95e9922a72392955e4fed095afd47e '!=' x86b6daefc8ca00f6879779f6002ca575920d38d2 ']' ++ echo -ne gcc ++ delim=' ' ++ echo + local c base_rev cur_rev c_commits + '[' 1 = 0 ']' + '[' 1 = 1 ']' + changed_single_component=gcc ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + first_bad=fced59166f95e9922a72392955e4fed095afd47e ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + last_good=86b6daefc8ca00f6879779f6002ca575920d38d2 + local res + res=0 + wait 295132 + git -C gcc rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo gcc' '[' 0 = 0 ']' + set -euf -o pipefail +x + single_commit_p gcc + set -euf -o pipefail + local c=gcc + local base_rev cur_rev sha1 ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + cur_rev=fced59166f95e9922a72392955e4fed095afd47e ++ git -C gcc rev-parse 'fced59166f95e9922a72392955e4fed095afd47e^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' 7f26997e6479920c8c6f40894f7d02931f983f82 = 86b6daefc8ca00f6879779f6002ca575920d38d2 ']' + return 1 + change_kind=single_component # Debug traces : + echo '# Debug traces :' # change_kind=single_component : gcc + echo '# change_kind=single_component : gcc' + for c in "${changed_components[@]}" ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + cur_rev=fced59166f95e9922a72392955e4fed095afd47e ++ git -C gcc rev-list --count 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e + c_commits=58 + echo '# rev for gcc : 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e (58 commits)' # rev for gcc : 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e (58 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 gcc ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc in current git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ git -C gcc show --no-patch --pretty=%ct 86b6daefc8ca00f6879779f6002ca575920d38d2 + base_d=1702934336 ++ get_current_component_date gcc ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev ++ git -C gcc show --no-patch --pretty=%ct fced59166f95e9922a72392955e4fed095afd47e + cur_d=1703021635 + '[' x1702934336 '!=' x ']' + '[' x1703021635 = x ']' + '[' 1703021635 -lt 1702934336 ']' + '[' x1703021635 = x ']' + '[' 1703021635 -gt 0 ']' + results_date=1703021635 + assert_with_msg 'Failed to produce results_date' '[' 1703021635 -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=1702844646 + '[' 1702844646 '!=' '' ']' + assert '[' 1703021635 -ge 1702844646 ']' + set -euf -o pipefail +x + '[' 1703021635 -gt 1702844646 ']' + results_date=1702933140 + rr[results_date]=1702933140 + 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 # post_interesting_commits + echo '# 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_bootstrap_build--master-arm-bootstrap_O3-build/310/artifact/artifacts ++ '[' '' '!=' '' ']' ++ echo 'https://ci.linaro.org/job/tcwg_bootstrap_build--master-arm-bootstrap_O3-build/310/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=gcc + '[' gcc = '' ']' + local -A emails + emails["tcwg-validation@linaro.org"]=bcc + emails["author"]=cc + emails["committer"]=to + case "$ci_project/$ci_config:$c" in + emails["gcc-regression@gcc.gnu.org"]=cc_postcommit + local c email base_rev cur_rev ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + cur_rev=fced59166f95e9922a72392955e4fed095afd47e + read -r email ++ git -C gcc log --pretty=%ae 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e + 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 + 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 + 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 + 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 + 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 + 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 + 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 + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + local precommit_postcommit=postcommit + '[' '' = '' ']' ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + cur_rev=fced59166f95e9922a72392955e4fed095afd47e + read -r email ++ git -C gcc log --pretty=%ce 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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=cc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$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=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=bcc + 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=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$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_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=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") + 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=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=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") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$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") + IFS=, + echo cc:baird@adacore.com,cc:kliemann@adacore.com,roger@nextmovesoftware.com,sandra@codesourcery.com,cc:ebotcazou@adacore.com,david.faust@oracle.com,bcc:tcwg-validation@linaro.org,poulhies@adacore.com,jakub@redhat.com,wangfeng@eswincomputing.com,cc:indus@adacore.com,guojiufu@linux.ibm.com,cc:gcc-regression@gcc.gnu.org,iant@golang.org,cc:juzhe.zhong@rivai.ai,cc:fofanov@adacore.com,rguenther@suse.de,cc:bernstein@adacore.com,vmakarov@redhat.com,cc:bernardi@adacore.com,gccadmin@gcc.gnu.org,thomas@codesourcery.com,cc:dismukes@adacore.com,cc:trojanek@adacore.com,pan2.li@intel.com,cc:desplanques@adacore.com,xuli1@eswincomputing.com,nathanieloshead@gmail.com,fxcoudert@gcc.gnu.org,ppalka@redhat.com,cc:moy@adacore.com,alex.coplan@arm.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 gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev ++ cur_rev=fced59166f95e9922a72392955e4fed095afd47e +++ git -C gcc rev-list --count 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e ++ c_commits=58 ++ new_commits=58 +++ echo gcc +++ tr ' ' , ++ components=gcc ++ echo '58 commits in gcc' ++ '[' --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_0/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_bootstrap_build master-arm-bootstrap_O3 ++ local project=tcwg_bootstrap_build ++ local config=master-arm-bootstrap_O3 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-arm-bootstrap_O3 ++ gnu_data[long_config]=master-arm-bootstrap_O3 ++ case "$project/$config" in +++ echo tcwg_bootstrap_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=bootstrap_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 arm + echo '[Linaro-TCWG-CI]' '58 commits in gcc: Success on arm' + 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_bootstrap_build--master-arm-bootstrap_O3-build/310/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_bootstrap_build--master-arm-bootstrap_O3-build/309/artifact/artifacts + local key= + '[' single_component = single_commit ']' + cat + '[' '' '!=' '' ']' + cat ++ gnu_print_config --short ++ false ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_bootstrap_build master-arm-bootstrap_O3 ++ local project=tcwg_bootstrap_build ++ local config=master-arm-bootstrap_O3 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-arm-bootstrap_O3 ++ gnu_data[long_config]=master-arm-bootstrap_O3 ++ case "$project/$config" in +++ echo tcwg_bootstrap_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=bootstrap_build ++ local print_arg=--short ++ case "$print_arg" in ++ echo 'bootstrap_build master-arm-bootstrap_O3' ++ 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 gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev ++ cur_rev=fced59166f95e9922a72392955e4fed095afd47e +++ git -C gcc rev-list --count 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e ++ c_commits=58 ++ new_commits=58 +++ echo gcc +++ tr ' ' , ++ components=gcc ++ echo '58 commits in gcc' ++ '[' --short = --oneline ']' ++ for c in "${changed_components[@]}" +++ get_baseline_git gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ base_rev=86b6daefc8ca00f6879779f6002ca575920d38d2 +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev ++ cur_rev=fced59166f95e9922a72392955e4fed095afd47e +++ git -C gcc rev-list --count 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e ++ c_commits=58 ++ '[' '' '!=' '' ']' ++ git -C gcc log -n 5 --oneline 86b6daefc8ca00f6879779f6002ca575920d38d2..fced59166f95e9922a72392955e4fed095afd47e ++ '[' 58 -gt 5 ']' ++ echo '... and 53 more commits in gcc' ++ '[' '' '!=' '' ']' ++ 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 bootstrap_O3: 1' ++ echo '' ++ echo From +++ cat base-artifacts/results ++ echo '# reset_artifacts: -10 # true: 0 # build_abe bootstrap_O3: 1' ++ return 0 ++ gnu_print_config --long ++ false ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/tcwg_gnu-config.sh +++ declare -A gnu_data ++ settings_for_ci_project_and_config tcwg_bootstrap_build master-arm-bootstrap_O3 ++ local project=tcwg_bootstrap_build ++ local config=master-arm-bootstrap_O3 ++ gnu_data[gcc_override_configure]= ++ gnu_data[gcc_target_board_options]= ++ gnu_data[qemu_cpu]= ++ gnu_data[pretty_project]= ++ gnu_data[pretty_config]=master-arm-bootstrap_O3 ++ gnu_data[long_config]=master-arm-bootstrap_O3 ++ case "$project/$config" in +++ echo tcwg_bootstrap_build +++ sed 's/^tcwg_//' ++ gnu_data[pretty_project]=bootstrap_build ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'CI config tcwg_bootstrap_build master-arm-bootstrap_O3' + '[' single_component '!=' single_commit ']' + return + true + generate_jenkins_html_files + wait 295309 + set -euf -o pipefail # generate_jenkins_html_files ... Skipping + echo '# generate_jenkins_html_files' + true + case "$ci_project" in + 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='
' + 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 '