diff options
author | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-12-07 18:08:34 +0000 |
---|---|---|
committer | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-12-07 18:09:00 +0000 |
commit | 46920a7083992d101f4a5869cd3ca2ecf0d937a7 (patch) | |
tree | 16793828704c8b212cfb7bed5a6e01e2f6ab75aa /jenkins | |
parent | 40061e8f6537f43d56ba321eb2294fcbdf0a9a32 (diff) |
onsuccess: #77: 1: [TCWG CI] https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/
Results :
| # reset_artifacts:
| -10
| # build_bmk_llvm:
| -3
| # benchmark -- -O2_LTO_marm:
| 1
check_regression status : 0
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/build-name | 2 | ||||
-rw-r--r-- | jenkins/notify-full.log | 1904 | ||||
-rw-r--r-- | jenkins/notify-init.log | 243 | ||||
-rw-r--r-- | jenkins/rewrite.log | 67 | ||||
-rw-r--r-- | jenkins/run-build.env | 15 |
5 files changed, 2230 insertions, 1 deletions
diff --git a/jenkins/build-name b/jenkins/build-name index 19d279a..afd5a71 100644 --- a/jenkins/build-name +++ b/jenkins/build-name @@ -1 +1 @@ -#48-llvm-R1 +#77-llvm-R1 diff --git a/jenkins/notify-full.log b/jenkins/notify-full.log new file mode 100644 index 0000000..3f85e74 --- /dev/null +++ b/jenkins/notify-full.log @@ -0,0 +1,1904 @@ +++ pwd +++ cat ++ remote_exec 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_bmk-build.sh ++ set -euf -o pipefail ++ local host +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -d: -f 1 ++ host=tcwg-snow_bmk-02 ++ local port +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 2 ++ port= ++ local dir +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 3 ++ dir=/home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ local opts +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 4 ++ opts=-p36338 ++ local env_vars +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 5 ++ env_vars='ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ++ shift ++ local -a cmd ++ cmd=() ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q ./jenkins-scripts/round-robin-notify.sh ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q '@@rr[top_artifacts]' ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q artifacts ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __TCWG_JIRA_TOKEN ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q ijQW9spm0p7HwZnUtLFx7CCA ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __stage ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q full ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __verbose ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q true ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __build_script ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q tcwg_bmk-build.sh +++ printf %q /home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ ssh -p36338 tcwg-snow_bmk-02 'export ssh_host=tcwg-snow_bmk-02 ssh_port=36338 && cd /home/tcwg-buildslave/workspace/tcwg_bmk_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_bmk-build.sh' + +/home/tcwg-buildslave/workspace/tcwg_bmk_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_bmk-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_bmk-code_speed-cpu2017rate +++ get_current_manifest '{rr[ci_config]}' +++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' +++ set +x +# Debug traces : ++ ci_config=llvm-arm-master-O2_LTO ++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/76/ +# Using dir : base-artifacts ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/76/' ++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/ +# Using dir : artifacts + ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/' ++ echo '# Using dir : artifacts' ++ echo '' ++ mkdir -p artifacts/notify ++ '[' -f /home/tcwg-buildslave/.jipdate.yml ']' ++ set +x ++ 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/llvm/llvm-project.git#main '!=' xbaseline ']' ++++ echo -ne llvm ++++ delim=' ' ++++ echo +++ for c in $(print_updated_components) ++++ get_current_git llvm_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/llvm_rev ++++ get_baseline_git llvm_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/llvm_rev +++ '[' x029c9c31769c26c53108aba7436d46f9ab63ed8d '!=' x17649a7726d3ce1ddba2bbf3ef73af03ea204753 ']' +++ echo -ne llvm +++ delim=' ' +++ echo ++ local c base_rev cur_rev c_commits ++ '[' 1 = 0 ']' ++ '[' 1 = 1 ']' ++ changed_single_component=llvm +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ first_bad=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ last_good=17649a7726d3ce1ddba2bbf3ef73af03ea204753 ++ local res ++ res=0 ++ wait 41426 ++ git -C llvm rev-parse --verify HEAD ++ assert_with_msg 'Cannot parse HEAD in repo llvm' '[' 0 = 0 ']' ++ set -euf -o pipefail +x ++ single_commit_p llvm ++ set -euf -o pipefail ++ local c=llvm ++ local base_rev cur_rev sha1 +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ git -C llvm rev-parse '029c9c31769c26c53108aba7436d46f9ab63ed8d^@' ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 95ce3c23c2597c882aa01fa31c70e3d5413a9c6e = 17649a7726d3ce1ddba2bbf3ef73af03ea204753 ']' ++ return 1 ++ change_kind=single_component +# Debug traces : ++ echo '# Debug traces :' +# change_kind=single_component : llvm ++ echo '# change_kind=single_component : llvm' ++ for c in "${changed_components[@]}" +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ git -C llvm rev-list --count 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d ++ c_commits=199 +# rev for llvm : 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d (199 commits) ++ echo '# rev for llvm : 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d (199 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 ++ 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=bmk_print_result ++ print_config_f=bmk_print_config ++ generate_extra_details_f=bmk_generate_extra_details ++ 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 ']' ++ bmk_generate_extra_details ++ set -euf -o pipefail ++ local artifacts_mail_dir ++ artifacts_mail_dir=artifacts/notify ++ /home/tcwg-buildslave/workspace/tcwg_bmk_1/jenkins-scripts/../bmk-scripts/output-bmk-results.py artifacts/results-vs-prev/compare-results-internal.csv artifacts/results-vs-prev/bmk-specific-variability.csv artifacts/notify/ sample build verbose ++ 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 +++ jira_card=LLVM-651 +++ echo LLVM-651 +++ bmk_print_result --oneline +++ set -euf -o pipefail +++ false +++ local print_arg=--oneline +++ artifacts_mail_dir=artifacts/notify +++ '[' full '!=' full ']' +++ local improved_or_regressed +++ '[' -f artifacts/notify/exe.regression ']' +++ '[' -f artifacts/notify/symbol.regression ']' +++ improved_or_regressed=improvement +++ declare -A changed_by_msg +++ changed_by_msg[size-regression]='grew in size by' +++ changed_by_msg[size-improvement]='reduced in size by' +++ changed_by_msg[sample-regression]='slowed down by' +++ changed_by_msg[sample-improvement]='speeds up by' +++ changed_by_msg[num_vect_loops-regression]='reduced the number of vect loops by' +++ changed_by_msg[num_vect_loops-improvement]='increased the number of vect loops by' +++ changed_by_msg[num_sve_loops-regression]='reduced the number of sve instructions by' +++ changed_by_msg[num_sve_loops-improvement]='increased the number of sve instructions by' +++ changed_by='speeds up by' +++ case ${rr[metric_id]} in +++ exe_threshold=3 +++ symbol_threshold=15 +++ case "$print_arg" in +++ assert_with_msg 'Builds with infra problems should never get here' '[' 0 '!=' 125 ']' +++ set -euf -o pipefail +x +++ local metric bmk symbol short_diag long_diag +++ '[' -f artifacts/notify/exe.improvement ']' +++ '[' -f artifacts/notify/symbol.improvement ']' +++ short_diag='No change' +++ echo 'No change' +++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/artifact/artifacts +++ '[' '' '!=' '' ']' +++ echo 'https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/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=llvm ++ '[' llvm = '' ']' ++ local -A emails ++ emails["tcwg-validation@linaro.org"]=bcc ++ emails["author"]=cc ++ emails["committer"]=to ++ case "$ci_project/$ci_config:$c" in ++ emails["author"]=no ++ emails["committer"]=no ++ emails["maxim.kuvyrkov@linaro.org"]=to ++ local c email base_rev cur_rev +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d ++ read -r email +++ git -C llvm log --pretty=%ae 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ local precommit_postcommit=postcommit ++ '[' '' = '' ']' +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d ++ read -r email +++ git -C llvm log --pretty=%ce 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ unset 'emails[author]' 'emails[committer]' ++ local type ++ recipients=() ++ local -a recipients ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=bcc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ IFS=, ++ echo bcc:tcwg-validation@linaro.org,maxim.kuvyrkov@linaro.org +++ 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 llvm_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/llvm_rev +++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 ++++ get_current_git llvm_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/llvm_rev +++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d ++++ git -C llvm rev-list --count 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d +++ c_commits=199 +++ new_commits=199 ++++ echo llvm ++++ tr ' ' , +++ components=llvm +++ echo '199 commits in llvm' +++ '[' --oneline = --oneline ']' +++ return 0 +++ bmk_print_result --oneline +++ set -euf -o pipefail +++ false +++ local print_arg=--oneline +++ artifacts_mail_dir=artifacts/notify +++ '[' full '!=' full ']' +++ local improved_or_regressed +++ '[' -f artifacts/notify/exe.regression ']' +++ '[' -f artifacts/notify/symbol.regression ']' +++ improved_or_regressed=improvement +++ declare -A changed_by_msg +++ changed_by_msg[size-regression]='grew in size by' +++ changed_by_msg[size-improvement]='reduced in size by' +++ changed_by_msg[sample-regression]='slowed down by' +++ changed_by_msg[sample-improvement]='speeds up by' +++ changed_by_msg[num_vect_loops-regression]='reduced the number of vect loops by' +++ changed_by_msg[num_vect_loops-improvement]='increased the number of vect loops by' +++ changed_by_msg[num_sve_loops-regression]='reduced the number of sve instructions by' +++ changed_by_msg[num_sve_loops-improvement]='increased the number of sve instructions by' +++ changed_by='speeds up by' +++ case ${rr[metric_id]} in +++ exe_threshold=3 +++ symbol_threshold=15 +++ case "$print_arg" in +++ assert_with_msg 'Builds with infra problems should never get here' '[' 0 '!=' 125 ']' +++ set -euf -o pipefail +x +++ local metric bmk symbol short_diag long_diag +++ '[' -f artifacts/notify/exe.improvement ']' +++ '[' -f artifacts/notify/symbol.improvement ']' +++ short_diag='No change' +++ echo 'No change' ++ echo '[Linaro-TCWG-CI]' '199 commits in llvm: No change' ++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/76/artifact/artifacts ++ cat +++ 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 llvm_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/llvm_rev +++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 ++++ get_current_git llvm_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/llvm_rev +++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d ++++ git -C llvm rev-list --count 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d +++ c_commits=199 +++ new_commits=199 ++++ echo llvm ++++ tr ' ' , +++ components=llvm +++ echo '199 commits in llvm' +++ '[' --short = --oneline ']' +++ for c in "${changed_components[@]}" ++++ get_baseline_git llvm_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/llvm_rev +++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 ++++ get_current_git llvm_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/llvm_rev +++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d ++++ git -C llvm rev-list --count 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d +++ c_commits=199 +++ '[' '' '!=' '' ']' +++ git -C llvm log -n 5 --oneline 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d +++ '[' 199 -gt 5 ']' +++ echo '... and 194 more commits in llvm' +++ '[' '' '!=' '' ']' +++ return 0 +++ bmk_print_result --short +++ set -euf -o pipefail +++ false +++ local print_arg=--short +++ artifacts_mail_dir=artifacts/notify +++ '[' full '!=' full ']' +++ local improved_or_regressed +++ '[' -f artifacts/notify/exe.regression ']' +++ '[' -f artifacts/notify/symbol.regression ']' +++ improved_or_regressed=improvement +++ declare -A changed_by_msg +++ changed_by_msg[size-regression]='grew in size by' +++ changed_by_msg[size-improvement]='reduced in size by' +++ changed_by_msg[sample-regression]='slowed down by' +++ changed_by_msg[sample-improvement]='speeds up by' +++ changed_by_msg[num_vect_loops-regression]='reduced the number of vect loops by' +++ changed_by_msg[num_vect_loops-improvement]='increased the number of vect loops by' +++ changed_by_msg[num_sve_loops-regression]='reduced the number of sve instructions by' +++ changed_by_msg[num_sve_loops-improvement]='increased the number of sve instructions by' +++ changed_by='speeds up by' +++ case ${rr[metric_id]} in +++ exe_threshold=3 +++ symbol_threshold=15 +++ case "$print_arg" in +++ '[' -f artifacts/notify/exe.improvement ']' +++ '[' -f artifacts/notify/symbol.improvement ']' +++ '[' -f artifacts/notify/exe.improvement ']' +++ '[' -f artifacts/notify/symbol.improvement ']' +++ echo 'No change' +++ bmk_print_config +++ . /home/tcwg-buildslave/workspace/tcwg_bmk_1/jenkins-scripts/tcwg_bmk-config.sh ++++ [[ -v rr[ci_project] ]] ++++ [[ -v rr[ci_config] ]] ++++ declare -A bmk_data ++++ bmk_data[tcwg_bmk-code_size-coremark--gnu_eabi-arm_eabi]=stm32:coremark ++++ bmk_data[tcwg_bmk-code_size-cpu2017fast--gnu-aarch64]=sq_64:spec2017_fast ++++ bmk_data[tcwg_bmk-code_size-cpu2017fast--llvm-aarch64]=sq_64:spec2017_fast ++++ bmk_data[tcwg_bmk-code_size-cpu2017rate--gnu-arm]=sq_32:spec2017_rate ++++ bmk_data[tcwg_bmk-code_size-cpu2017rate--llvm-arm]=sq_32:spec2017_rate_nofortran ++++ bmk_data[tcwg_bmk-code_size-spec2k6--gnu-aarch64]=sq_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_size-spec2k6--gnu-arm]=sq_32:spec2006_all ++++ bmk_data[tcwg_bmk-code_size-spec2k6--llvm-aarch64]=sq_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_size-spec2k6--llvm-arm]=sq_32:spec2006_nofortran ++++ bmk_data[tcwg_bmk-code_speed-coremark--gnu_eabi-arm_eabi]=stm32:coremark ++++ bmk_data[tcwg_bmk-code_speed-cpu2017rate--gnu-aarch64]=tx1_64:spec2017_rate ++++ bmk_data[tcwg_bmk-code_speed-cpu2017rate--gnu-arm]=tk1_32:spec2017_rate ++++ bmk_data[tcwg_bmk-code_speed-cpu2017rate--llvm-aarch64]=tx1_64:spec2017_rate ++++ bmk_data[tcwg_bmk-code_speed-cpu2017rate--llvm-arm]=tk1_32:spec2017_rate_nofortran ++++ bmk_data[tcwg_bmk-code_speed-cpu2017speed--gnu-aarch64]=apm_64:spec2017_speed ++++ bmk_data[tcwg_bmk-code_speed-cpu2017speed--llvm-aarch64]=apm_64:spec2017_speed ++++ bmk_data[tcwg_bmk-qc_speed-cpu2017rate--llvm-aarch64]=qc_64:spec2017_rate ++++ bmk_data[tcwg_bmk-code_speed-spec2k6--gnu-aarch64]=tx1_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_speed-spec2k6--gnu-arm]=tk1_32:spec2006_all ++++ bmk_data[tcwg_bmk-code_speed-spec2k6--llvm-aarch64]=tx1_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_speed-spec2k6--llvm-arm]=tk1_32:spec2006_nofortran ++++ bmk_data[tcwg_bmk-fujitsu_speed-cpu2017speed--gnu-aarch64]=fx_64:spec2017_speed ++++ bmk_data[tcwg_bmk-fujitsu_speed-cpu2017speed--llvm-aarch64]=fx_64:spec2017_speed ++++ bmk_data[tcwg_bmk-code_sve-cpu2017fast--gnu-aarch64]=fx_64:spec2017_fast ++++ bmk_data[tcwg_bmk-code_vect-cpu2017fast--gnu-aarch64]=sq_64:spec2017_fast ++++ bmk_data[tcwg_bmk-code_vect-cpu2017fast--llvm-aarch64]=sq_64:spec2017_fast ++++ bmk_data[tcwg_bmk-code_vect-cpu2017rate--gnu-arm]=sq_32:spec2017_rate ++++ bmk_data[tcwg_bmk-code_vect-cpu2017rate--llvm-arm]=sq_32:spec2017_rate_nofortran ++++ bmk_data[tcwg_bmk-code_vect-spec2k6--gnu-aarch64]=sq_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_vect-spec2k6--gnu-arm]=sq_32:spec2006_all ++++ bmk_data[tcwg_bmk-code_vect-spec2k6--llvm-aarch64]=sq_64:spec2006_all ++++ bmk_data[tcwg_bmk-code_vect-spec2k6--llvm-arm]=sq_32:spec2006_nofortran +++ false +++ IFS=- +++ read -a ci_pjt_cfg +++ local toolchain target cflags +++ toolchain=llvm +++ target=arm +++ cflags=O2_LTO +++ local bmk_suite publish_save_temps +++ bmk_suite= +++ publish_save_temps=false +++ case "$(tcwg_bmk_benchs)" in ++++ tcwg_bmk_benchs ++++ '[' x = xset ']' ++++ local data data_key +++++ echo tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO +++++ cut -d- -f1-6 ++++ data_key=tcwg_bmk-code_speed-cpu2017rate--llvm-arm ++++ data=tk1_32:spec2017_rate_nofortran ++++ '[' xtk1_32:spec2017_rate_nofortran = xunset ']' ++++ echo tk1_32:spec2017_rate_nofortran ++++ cut -d: -f2 +++ bmk_suite='SPEC CPU2017' +++ publish_save_temps=true +++ cat +++ true +++ mkdir -p artifacts/top-artifacts +++ local s_t +++ read s_t ++++ find results-1 -path 'save.*.temps/*.tar.xz' +++ '[' -d artifacts/top-artifacts/save-temps/ ']' +++ local compiler= libc= linker= version= bmk_flags= hw= +++ case "$toolchain" in +++ compiler=Clang +++ libc=Glibc +++ linker='LLVM Linker' +++ case "$ci_config" in +++ version='tip of trunk' ++++ echo O2_LTO ++++ sed -e 's/_/ -/g' -e s/LTO/flto/g -e s/VECT/fdump-tree-vect-details/g +++ bmk_flags='O2 -flto' +++ case "$(tcwg_bmk_hw)" in ++++ tcwg_bmk_hw ++++ local data data_key +++++ echo tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO +++++ cut -d- -f1-6 ++++ data_key=tcwg_bmk-code_speed-cpu2017rate--llvm-arm ++++ data=tk1_32:spec2017_rate_nofortran ++++ '[' xtk1_32:spec2017_rate_nofortran = xunset ']' ++++ echo tk1_32:spec2017_rate_nofortran ++++ cut -d: -f1 +++ hw='NVidia TK1 4x Cortex-A15' +++ cat ++++ print_gnu_target arm ++++ set -euf -o pipefail ++++ local target=arm ++++ case "$target" in ++++ target=arm-linux-gnueabihf ++++ echo arm-linux-gnueabihf ++ '[' single_component '!=' single_commit ']' ++ return ++ 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 ++ false ++ 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.' diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log new file mode 100644 index 0000000..6308564 --- /dev/null +++ b/jenkins/notify-init.log @@ -0,0 +1,243 @@ +++ pwd +++ cat ++ remote_exec 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts --notify ignore __stage init __verbose true __build_script tcwg_bmk-build.sh ++ set -euf -o pipefail ++ local host +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -d: -f 1 ++ host=tcwg-snow_bmk-02 ++ local port +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 2 ++ port= ++ local dir +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 3 ++ dir=/home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ local opts +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 4 ++ opts=-p36338 ++ local env_vars +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 5 ++ env_vars='ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ++ shift ++ local -a cmd ++ cmd=() ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q ./jenkins-scripts/round-robin-notify.sh ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q '@@rr[top_artifacts]' ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q artifacts ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q --notify ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q ignore ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __stage ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q init ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __verbose ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q true ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __build_script ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q tcwg_bmk-build.sh +++ printf %q /home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ ssh -p36338 tcwg-snow_bmk-02 'export ssh_host=tcwg-snow_bmk-02 ssh_port=36338 && cd /home/tcwg-buildslave/workspace/tcwg_bmk_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts --notify ignore __stage init __verbose true __build_script tcwg_bmk-build.sh' + +/home/tcwg-buildslave/workspace/tcwg_bmk_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify ignore __stage init __verbose true __build_script tcwg_bmk-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_bmk-code_speed-cpu2017rate +++ get_current_manifest '{rr[ci_config]}' +++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' +++ set +x +# Debug traces : ++ ci_config=llvm-arm-master-O2_LTO ++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/76/ +# Using dir : base-artifacts ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/76/' ++ 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_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/ ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2_LTO-build/77/' ++ echo '# Using dir : artifacts' +# Using dir : artifacts + ++ echo '' ++ mkdir -p artifacts/notify ++ '[' -f /home/tcwg-buildslave/.jipdate.yml ']' ++ set +x ++ 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/llvm/llvm-project.git#main '!=' xbaseline ']' ++++ echo -ne llvm ++++ delim=' ' ++++ echo +++ for c in $(print_updated_components) ++++ get_current_git llvm_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/llvm_rev ++++ get_baseline_git llvm_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/llvm_rev +++ '[' x029c9c31769c26c53108aba7436d46f9ab63ed8d '!=' x17649a7726d3ce1ddba2bbf3ef73af03ea204753 ']' +++ echo -ne llvm +++ delim=' ' +++ echo ++ local c base_rev cur_rev c_commits ++ '[' 1 = 0 ']' ++ '[' 1 = 1 ']' ++ changed_single_component=llvm +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ first_bad=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ last_good=17649a7726d3ce1ddba2bbf3ef73af03ea204753 ++ local res ++ res=0 ++ wait 41315 ++ git -C llvm rev-parse --verify HEAD ++ assert_with_msg 'Cannot parse HEAD in repo llvm' '[' 0 = 0 ']' ++ set -euf -o pipefail +x ++ single_commit_p llvm ++ set -euf -o pipefail ++ local c=llvm ++ local base_rev cur_rev sha1 +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ git -C llvm rev-parse '029c9c31769c26c53108aba7436d46f9ab63ed8d^@' ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 95ce3c23c2597c882aa01fa31c70e3d5413a9c6e = 17649a7726d3ce1ddba2bbf3ef73af03ea204753 ']' ++ return 1 ++ change_kind=single_component +# Debug traces : ++ echo '# Debug traces :' +# change_kind=single_component : llvm ++ echo '# change_kind=single_component : llvm' ++ for c in "${changed_components[@]}" +++ get_baseline_git llvm_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_rev in baseline git' '[' -f base-artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_rev ++ base_rev=17649a7726d3ce1ddba2bbf3ef73af03ea204753 +++ get_current_git llvm_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No llvm_rev in current git' '[' -f artifacts/git/llvm_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/llvm_rev ++ cur_rev=029c9c31769c26c53108aba7436d46f9ab63ed8d +++ git -C llvm rev-list --count 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d ++ c_commits=199 +# rev for llvm : 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d (199 commits) + ++ echo '# rev for llvm : 17649a7726d3ce1ddba2bbf3ef73af03ea204753..029c9c31769c26c53108aba7436d46f9ab63ed8d (199 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 ++ 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=bmk_print_result ++ print_config_f=bmk_print_config ++ generate_extra_details_f=bmk_generate_extra_details ++ post_interesting_commits init ++ set -euf -o pipefail +# post_interesting_commits ++ echo '# post_interesting_commits' ++ local stage=init ++ '[' single_component '!=' single_commit ']' ++ return ++ '[' init '!=' full ']' ++ echo 'Init stage ran successfully.' +Init stage ran successfully. ++ exit 0 diff --git a/jenkins/rewrite.log b/jenkins/rewrite.log new file mode 100644 index 0000000..18754ec --- /dev/null +++ b/jenkins/rewrite.log @@ -0,0 +1,67 @@ +++ pwd +++ cat ++ remote_exec 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ./jenkins-scripts/round-robin-baseline.sh '@@rr[top_artifacts]' artifacts __build_script tcwg_bmk-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100 ++ set -euf -o pipefail ++ local host +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -d: -f 1 ++ host=tcwg-snow_bmk-02 ++ local port +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 2 ++ port= ++ local dir +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 3 ++ dir=/home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ local opts +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 4 ++ opts=-p36338 ++ local env_vars +++ echo 'tcwg-snow_bmk-02::/home/tcwg-buildslave/workspace/tcwg_bmk_1:-p36338:ssh_host=tcwg-snow_bmk-02 ssh_port=36338' +++ cut -s -d: -f 5 ++ env_vars='ssh_host=tcwg-snow_bmk-02 ssh_port=36338' ++ shift ++ local -a cmd ++ cmd=() ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q ./jenkins-scripts/round-robin-baseline.sh ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q '@@rr[top_artifacts]' ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q artifacts ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __build_script ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q tcwg_bmk-build.sh ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __push_base_artifacts ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q true ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __rewrite_base_artifacts ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q true ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q __rewrite_num ++ for i in "$@" ++ cmd+=("$(printf '%q' "$i")") +++ printf %q 100 +++ printf %q /home/tcwg-buildslave/workspace/tcwg_bmk_1 ++ ssh -p36338 tcwg-snow_bmk-02 'export ssh_host=tcwg-snow_bmk-02 ssh_port=36338 && cd /home/tcwg-buildslave/workspace/tcwg_bmk_1 && exec ./jenkins-scripts/round-robin-baseline.sh @@rr\[top_artifacts\] artifacts __build_script tcwg_bmk-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100' ++ declare -g rewrite_base_artifacts_first=true ++ true ++ update_baseline ++ set -euf -o pipefail ++ rsync -aI --del --exclude /.git artifacts/ base-artifacts/ diff --git a/jenkins/run-build.env b/jenkins/run-build.env new file mode 100644 index 0000000..9a7e980 --- /dev/null +++ b/jenkins/run-build.env @@ -0,0 +1,15 @@ +build_name="#77" +docker_opts=(--distro +default +--arch +armhf +--node +tcwg-snow_bmk-02 +--ssh_info +true ) +source build_container.sh +trap "cleanup_all_containers" EXIT +build_name="#77-llvm" +branch_opt=(==rr\[llvm_git\] +https://github.com/llvm/llvm-project.git#main ) +build_name="#77-llvm-R1" |