++ pwd ++ cat + remote_exec 'tcwg-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ./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-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ++ cut -d: -f 1 + host=tcwg-jade-03 + local port ++ echo 'tcwg-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ++ cut -s -d: -f 2 + port= + local dir ++ echo 'tcwg-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_bmk_0 + local opts ++ echo 'tcwg-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ++ cut -s -d: -f 4 + opts=-p56053 + local env_vars ++ echo 'tcwg-jade-03::/home/tcwg-buildslave/workspace/tcwg_bmk_0:-p56053:ssh_host=tcwg-jade-03 ssh_port=56053' ++ cut -s -d: -f 5 + env_vars='ssh_host=tcwg-jade-03 ssh_port=56053' + 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_0 + ssh -p56053 tcwg-jade-03 'export ssh_host=tcwg-jade-03 ssh_port=56053 && cd /home/tcwg-buildslave/workspace/tcwg_bmk_0 && 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_0/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_size-spec2k6 ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x # Debug traces : + ci_config=llvm-arm-master-O3 + 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_size-spec2k6--llvm-arm-master-O3-build/65/ + echo '# Baseline : https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/65/' # 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_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ # Using dir : artifacts + echo '# Artifacts : https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x + declare -Ag pw + '[' onregression = 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 + '[' force '!=' 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#a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 '!=' 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 ++ '[' xa292e7edf8b2fc51d3e86a96ff5dff45d16bd264 '!=' x6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ']' ++ 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=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ 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=6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 + local res + res=0 + wait 55936 + 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=6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ++ 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=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ git -C llvm rev-parse 'a292e7edf8b2fc51d3e86a96ff5dff45d16bd264^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 = 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ']' + return 0 + change_kind=single_commit # Debug traces : + echo '# Debug traces :' # change_kind=single_commit : llvm + echo '# change_kind=single_commit : 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=6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ++ 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=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ git -C llvm rev-list --count 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3..a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + c_commits=1 # rev for llvm : 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3..a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 (1 commits) + echo '# rev for llvm : 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3..a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 (1 commits)' + echo '' + setup_stages_to_run + '[' onregression = onregression ']' + '[' 1 = 0 ']' + '[' single_commit '!=' single_commit ']' + '[' onregression = precommit ']' + '[' onregression = ignore ']' + '[' onregression = 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=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_commit '!=' single_commit ']' + clone_or_update_repo interesting-commits master https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master + set -euf -o pipefail + local dir=interesting-commits + local ref=master + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local reference=auto + local single_branch=master + local remote=origin + clone_or_update_repo_no_checkout interesting-commits https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master origin + set -euf -o pipefail + local dir=interesting-commits + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local reference=auto + local single_branch=master + local remote=origin + local refopt= + case "$reference" in + local ref_dir + for ref_dir in $url $dir ++ basename https://git-us.linaro.org/toolchain/ci/interesting-commits.git .git + ref_dir=interesting-commits + ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git + git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir + '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']' + for ref_dir in $url $dir ++ basename interesting-commits .git + ref_dir=interesting-commits + ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git + git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir + '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']' + git -C interesting-commits status + '[' -d interesting-commits ']' + '[' x '!=' x ']' + '[' -d interesting-commits ']' + rm -f interesting-commits/.git/gc.log + git -C interesting-commits config gc.autoDetach false + git -C interesting-commits gc --auto --force --prune=all + find interesting-commits/.git -name '*.lock' -delete + local i + for i in am cherry-pick rebase + git -C interesting-commits am --abort + true + for i in am cherry-pick rebase + git -C interesting-commits cherry-pick --abort + true + for i in am cherry-pick rebase + git -C interesting-commits rebase --abort + true + git_set_remote interesting-commits origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git master + set -euf -o pipefail + local dir=interesting-commits + local remote=origin + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local single_branch=master + git -C interesting-commits remote rm origin + git -C interesting-commits remote add -t master origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local refspec + '[' xmaster = x ']' + refspec=+refs/heads/master:refs/remotes/origin/master + run_with_timeout_and_retry 1h 3 git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + local duration=1h + shift + local tries=3 + shift + local n=0 + local ret=0 + '[' 0 -eq 3 ']' + echo timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + ret=0 + wait 56016 + timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + '[' 0 -eq 0 ']' + break + return 0 + git_checkout interesting-commits master origin + set -euf -o pipefail + local dir=interesting-commits + local ref=master + local remote=origin + git_clean interesting-commits + set -euf -o pipefail + local dir=interesting-commits + shift + fresh_dir interesting-commits 'interesting-commits/.git/*' + set -euf -o pipefail + local dir=interesting-commits + shift 1 ++ dirname interesting-commits/something + dir=interesting-commits + mkdir -p interesting-commits + find_opts=("!" "-path" "$dir") + for keep_pattern in "$@" + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname 'interesting-commits/.git/*' + keep_pattern=interesting-commits/.git + '[' xinteresting-commits/.git = xinteresting-commits ']' + assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']' + set -euf -o pipefail +x + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname interesting-commits/.git + keep_pattern=interesting-commits + '[' xinteresting-commits = xinteresting-commits ']' + break + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';' + chmod -R +rw interesting-commits + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete + git -C interesting-commits reset -q --hard + local sha1 ++ git_rev_parse interesting-commits master origin ++ set -euf -o pipefail ++ local dir=interesting-commits ++ local ref=master ++ local remote=origin ++ '[' 3 -ge 3 ']' ++ remote=origin ++ git_rev_parse_1 interesting-commits master origin --short ++ set -euf -o pipefail ++ local dir=interesting-commits ++ local ref=master ++ local remote=origin ++ local opts=--short ++ local ret ++ cd interesting-commits ++ local sha1 try_ref ++ case "$ref" in ++ try_ref=refs/remotes/origin/master ++ ret=0 +++ git rev-parse --short refs/remotes/origin/master ++ sha1=9a18d7194 ++ '[' 0 -ne 0 ']' ++ echo 9a18d7194 + sha1=9a18d7194 + git -C interesting-commits checkout --detach 9a18d7194 HEAD is now at 9a18d7194 Add entry a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 from https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ + true + local jira_dir jira_key= ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira + '[' init = full ']' + true + git -C interesting-commits remote update -p Fetching origin + git_clean interesting-commits refs/remotes/origin/master + set -euf -o pipefail + local dir=interesting-commits + shift + fresh_dir interesting-commits 'interesting-commits/.git/*' + set -euf -o pipefail + local dir=interesting-commits + shift 1 ++ dirname interesting-commits/something + dir=interesting-commits + mkdir -p interesting-commits + find_opts=("!" "-path" "$dir") + for keep_pattern in "$@" + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname 'interesting-commits/.git/*' + keep_pattern=interesting-commits/.git + '[' xinteresting-commits/.git = xinteresting-commits ']' + assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']' + set -euf -o pipefail +x + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname interesting-commits/.git + keep_pattern=interesting-commits + '[' xinteresting-commits = xinteresting-commits ']' + break + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';' + chmod -R +rw interesting-commits + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete + git -C interesting-commits reset -q --hard refs/remotes/origin/master # update_interesting_commits + update_interesting_commits init '' + echo '# update_interesting_commits' + local stage=init + local jira_key= + local subdir3 subdir4 subdir4 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + subdir3=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 tcwg_bmk-code_size-spec2k6 ++ local dir=llvm/sha1 ++ '[' 3 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 3 -ge 3 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ '[' 3 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 + subdir4=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 tcwg_bmk-code_size-spec2k6 llvm-arm-master-O3 ++ local dir=llvm/sha1 ++ '[' 4 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 4 -ge 3 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ '[' 4 -ge 4 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + subdir5=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + '[' -d interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ']' + mkdir -p interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + get_current_manifest BUILD_URL + get_manifest artifacts/manifest.sh BUILD_URL + set +x + echo 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/build_url llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/last_good + '[' init '!=' full ']' + return ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x + git -C interesting-commits commit -m 'Add entry a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 from https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/' HEAD detached from 680b03b05 nothing to commit, working tree clean + break + '[' 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_0/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/ size build verbose + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false + '[' xsingle_commit '!=' xsingle_commit ']' + local isubdir ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + isubdir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/first_url ']' + local first_url ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/first_url + first_url=https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x + '[' https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ = https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ ']' + first_icommit_to_report=true + post_interesting_commits full + set -euf -o pipefail # post_interesting_commits + echo '# post_interesting_commits' + local stage=full + '[' single_commit '!=' single_commit ']' + clone_or_update_repo interesting-commits master https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master + set -euf -o pipefail + local dir=interesting-commits + local ref=master + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local reference=auto + local single_branch=master + local remote=origin + clone_or_update_repo_no_checkout interesting-commits https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master origin + set -euf -o pipefail + local dir=interesting-commits + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local reference=auto + local single_branch=master + local remote=origin + local refopt= + case "$reference" in + local ref_dir + for ref_dir in $url $dir ++ basename https://git-us.linaro.org/toolchain/ci/interesting-commits.git .git + ref_dir=interesting-commits + ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git + git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir + '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']' + for ref_dir in $url $dir ++ basename interesting-commits .git + ref_dir=interesting-commits + ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git + git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir + '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']' + git -C interesting-commits status + '[' -d interesting-commits ']' + '[' x '!=' x ']' + '[' -d interesting-commits ']' + rm -f interesting-commits/.git/gc.log + git -C interesting-commits config gc.autoDetach false + git -C interesting-commits gc --auto --force --prune=all + find interesting-commits/.git -name '*.lock' -delete + local i + for i in am cherry-pick rebase + git -C interesting-commits am --abort + true + for i in am cherry-pick rebase + git -C interesting-commits cherry-pick --abort + true + for i in am cherry-pick rebase + git -C interesting-commits rebase --abort + true + git_set_remote interesting-commits origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git master + set -euf -o pipefail + local dir=interesting-commits + local remote=origin + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local single_branch=master + git -C interesting-commits remote rm origin + git -C interesting-commits remote add -t master origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git + local refspec + '[' xmaster = x ']' + refspec=+refs/heads/master:refs/remotes/origin/master + run_with_timeout_and_retry 1h 3 git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + local duration=1h + shift + local tries=3 + shift + local n=0 + local ret=0 + '[' 0 -eq 3 ']' + echo timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + ret=0 + wait 67433 + timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + '[' 0 -eq 0 ']' + break + return 0 + git_checkout interesting-commits master origin + set -euf -o pipefail + local dir=interesting-commits + local ref=master + local remote=origin + git_clean interesting-commits + set -euf -o pipefail + local dir=interesting-commits + shift + fresh_dir interesting-commits 'interesting-commits/.git/*' + set -euf -o pipefail + local dir=interesting-commits + shift 1 ++ dirname interesting-commits/something + dir=interesting-commits + mkdir -p interesting-commits + find_opts=("!" "-path" "$dir") + for keep_pattern in "$@" + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname 'interesting-commits/.git/*' + keep_pattern=interesting-commits/.git + '[' xinteresting-commits/.git = xinteresting-commits ']' + assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']' + set -euf -o pipefail +x + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname interesting-commits/.git + keep_pattern=interesting-commits + '[' xinteresting-commits = xinteresting-commits ']' + break + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';' + chmod -R +rw interesting-commits + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete + git -C interesting-commits reset -q --hard + local sha1 ++ git_rev_parse interesting-commits master origin ++ set -euf -o pipefail ++ local dir=interesting-commits ++ local ref=master ++ local remote=origin ++ '[' 3 -ge 3 ']' ++ remote=origin ++ git_rev_parse_1 interesting-commits master origin --short ++ set -euf -o pipefail ++ local dir=interesting-commits ++ local ref=master ++ local remote=origin ++ local opts=--short ++ local ret ++ cd interesting-commits ++ local sha1 try_ref ++ case "$ref" in ++ try_ref=refs/remotes/origin/master ++ ret=0 +++ git rev-parse --short refs/remotes/origin/master ++ sha1=9a18d7194 ++ '[' 0 -ne 0 ']' ++ echo 9a18d7194 + sha1=9a18d7194 + git -C interesting-commits checkout --detach 9a18d7194 HEAD is now at 9a18d7194 Add entry a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 from https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ + true + local jira_dir jira_key= ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira + '[' full = full ']' + true + true + '[' '' = '' ']' + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ']' ++ create_jira_card ++ set -euf -o pipefail ++ local template project parent assignee yaml +++ 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 ++ template=LLVM-651 ++ project=LLVM +++ jipsearch -j key=LLVM-651 -s parent:key +++ sed -e 's/.* , //' ++ parent=LLVM-874 +++ jipsearch -j key=LLVM-874 -s assignee:emailAddress +++ sed -e 's/.* , //' ++ assignee=maxim.kuvyrkov@linaro.org +++ mktemp ++ yaml=/tmp/tmp.whcW1bVPze ++ trap 'rm /tmp/tmp.whcW1bVPze' EXIT ++ cat ++ local key +++ jipcreate -f /tmp/tmp.whcW1bVPze +++ sed -e 's#.*/##' ++ key=LLVM-929 ++ echo LLVM-929 +++ rm /tmp/tmp.whcW1bVPze + jira_key=LLVM-929 + true + git -C interesting-commits remote update -p Fetching origin + git_clean interesting-commits refs/remotes/origin/master + set -euf -o pipefail + local dir=interesting-commits + shift + fresh_dir interesting-commits 'interesting-commits/.git/*' + set -euf -o pipefail + local dir=interesting-commits + shift 1 ++ dirname interesting-commits/something + dir=interesting-commits + mkdir -p interesting-commits + find_opts=("!" "-path" "$dir") + for keep_pattern in "$@" + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname 'interesting-commits/.git/*' + keep_pattern=interesting-commits/.git + '[' xinteresting-commits/.git = xinteresting-commits ']' + assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']' + set -euf -o pipefail +x + : + find_opts+=("!" "-path" "$keep_pattern") ++ dirname interesting-commits/.git + keep_pattern=interesting-commits + '[' xinteresting-commits = xinteresting-commits ']' + break + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';' + chmod -R +rw interesting-commits + find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete + git -C interesting-commits reset -q --hard refs/remotes/origin/master # update_interesting_commits + update_interesting_commits full LLVM-929 + echo '# update_interesting_commits' + local stage=full + local jira_key=LLVM-929 + local subdir3 subdir4 subdir4 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + subdir3=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 tcwg_bmk-code_size-spec2k6 ++ local dir=llvm/sha1 ++ '[' 3 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 3 -ge 3 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ '[' 3 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 + subdir4=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 tcwg_bmk-code_size-spec2k6 llvm-arm-master-O3 ++ local dir=llvm/sha1 ++ '[' 4 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 4 -ge 3 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ '[' 4 -ge 4 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + subdir5=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + '[' -d interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ']' + mkdir -p interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 + get_current_manifest BUILD_URL + get_manifest artifacts/manifest.sh BUILD_URL + set +x + echo 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/build_url llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/last_good + '[' full '!=' full ']' + bmk_print_result --long + set -euf -o pipefail + false + local print_arg=--long + artifacts_mail_dir=artifacts/notify + '[' full '!=' full ']' + local improved_or_regressed + '[' -f artifacts/notify/exe.regression ']' + improved_or_regressed=regression + 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='grew in size by' + case ${rr[metric_id]} in + exe_threshold=1 + symbol_threshold=10 + case "$print_arg" in + '[' -f artifacts/notify/exe.regression ']' + sort -gr -o artifacts/notify/exe.regression artifacts/notify/exe.regression + echo 'the following benchmarks grew in size by more than 1%:' + local metric exe symbol short_diag long_diag + IFS=, + read metric exe symbol short_diag long_diag + echo '- 470.lbm grew in size by 2% from 11169 to 11408 bytes ' + '[' -f artifacts/notify/470.lbm.symbols-regression ']' + IFS=, + read metric exe symbol short_diag long_diag + '[' -f artifacts/notify/symbol.regression ']' + '[' -f artifacts/notify/exe.regression ']' + bmk_print_result --oneline + sed 's/^/* /' + 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 ']' + improved_or_regressed=regression + 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='grew in size by' + case ${rr[metric_id]} in + exe_threshold=1 + symbol_threshold=10 + case "$print_arg" in + assert_with_msg 'Builds with infra problems should never get here' '[' 1 '!=' 125 ']' + set -euf -o pipefail +x + local metric bmk symbol short_diag long_diag + '[' -f artifacts/notify/exe.regression ']' + IFS=, + read metric bmk symbol short_diag long_diag ++ head -n1 artifacts/notify/exe.regression + echo '470.lbm grew in size by 2%' + print_icommits_link llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/details.txt + set -euf -o pipefail + local path=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/details.txt + local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git + echo https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/details.txt + cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/build_url + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/details.txt llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/status.txt + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/summary.txt ']' + 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_size-spec2k6--llvm-arm-master-O3-build/66/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_size-spec2k6--llvm-arm-master-O3-build/65/artifact/artifacts + cat + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/reproduction_instructions.txt + local ci_config + read ci_config ++ cd interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 ++ ls + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/summary.txt ']' + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/status.txt ']' + echo '* llvm-arm-master-O3' + cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/status.txt + sed 's/^/*/' + read ci_config + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt/summary.txt ']' + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt/status.txt ']' + continue + read ci_config + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt + local ci_project + read ci_project ++ cd interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ ls + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/first_url/status.txt ']' + continue + read ci_project + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/status.txt/status.txt ']' + continue + read ci_project + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt ']' + echo '* tcwg_bmk-code_size-spec2k6' + cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt + sed 's/^/*/' + read ci_project + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/status.txt + print_commits --short + set -euf -o pipefail + false + local print_arg=--short + '[' single_commit = no_change ']' + local more_lines + '[' single_commit = single_commit ']' + local c=llvm + '[' --short = --link ']' + local describe + '[' '' = '' ']' ++ describe_sha1 llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 true ++ local component=llvm ++ local sha1=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local anything=true ++ match=() ++ local -a match ++ case "$component" in ++ git -C llvm describe a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + describe=llvmorg-18-init-6129-ga292e7edf8b2 ++ echo llvmorg-18-init-6129-ga292e7edf8b2 ++ sed 's,^basepoints/,,' + describe=llvmorg-18-init-6129-ga292e7edf8b2 + '[' --short = --oneline ']' + '[' '' = '' ']' + echo 'commit llvmorg-18-init-6129-ga292e7edf8b2' + local tmpfile ++ mktemp + tmpfile=/tmp/tmp.LuOx9BERx5 + git -C llvm log -n1 a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + tail -n +2 + head -n 10 /tmp/tmp.LuOx9BERx5 ++ cat /tmp/tmp.LuOx9BERx5 ++ wc -l + more_lines=3 + '[' 3 -gt 0 ']' + echo '... 3 lines of the commit log omitted.' + rm /tmp/tmp.LuOx9BERx5 + '[' '' '!=' '' ']' + return 0 + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/commit-log.txt + true + local jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira + '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ']' + '[' -e interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira ']' + mkdir interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira + '[' LLVM-929 '!=' '' ']' + echo LLVM-929 + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline ++ '[' single_commit = no_change ']' ++ local more_lines ++ '[' single_commit = single_commit ']' ++ local c=llvm ++ '[' --oneline = --link ']' ++ local describe ++ '[' '' = '' ']' +++ describe_sha1 llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 true +++ local component=llvm +++ local sha1=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local anything=true +++ match=() +++ local -a match +++ case "$component" in +++ git -C llvm describe a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 +++ echo llvmorg-18-init-6129-ga292e7edf8b2 +++ sed 's,^basepoints/,,' ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 ++ '[' --oneline = --oneline ']' ++ echo llvmorg-18-init-6129-ga292e7edf8b2 ++ 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 ']' ++ improved_or_regressed=regression ++ 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='grew in size by' ++ case ${rr[metric_id]} in ++ exe_threshold=1 ++ symbol_threshold=10 ++ case "$print_arg" in ++ assert_with_msg 'Builds with infra problems should never get here' '[' 1 '!=' 125 ']' ++ set -euf -o pipefail +x ++ local metric bmk symbol short_diag long_diag ++ '[' -f artifacts/notify/exe.regression ']' ++ IFS=, ++ read metric bmk symbol short_diag long_diag +++ head -n1 artifacts/notify/exe.regression ++ echo '470.lbm grew in size by 2%' + echo 'llvmorg-18-init-6129-ga292e7edf8b2: 470.lbm grew in size by 2%' + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/summary + cat ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/commit-log.txt ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/status.txt ++ print_icommits_link llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml ++ set -euf -o pipefail ++ local path=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml ++ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git ++ echo https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/description + update_jira_card + set -euf -o pipefail + echo '# update_jira_card' # update_jira_card + local jira_dir ++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local dir=llvm/sha1 ++ '[' 2 -ge 2 ']' ++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira + components=() + local -a components + case "$changed_single_component" in + components+=(LLVM) + IFS=, + echo LLVM + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/components + local commit_date ++ git -C llvm log -n1 --pretty=%cd --date=iso a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + commit_date='2023-09-19 09:13:02 -0400' + date -d '2023-09-19 09:13:02 -0400' +%Y-%m-%d + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/startdate + local key project ++ print_jira_card_key ++ set -euf -o pipefail ++ local jira_dir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local dir=llvm/sha1 +++ '[' 2 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira ++ '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ']' ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key + key=LLVM-929 + '[' -z LLVM-929 ']' + project=LLVM + local yaml=interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml + cat + sed -e 's/^/ /' interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/summary + cat ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/components ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/startdate + sed -e 's/^/ /' interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/description + git -C interesting-commits add llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml + local describe ++ describe_sha1 llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 false ++ local component=llvm ++ local sha1=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ local anything=false ++ match=() ++ local -a match ++ case "$component" in ++ git -C llvm describe a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + describe=llvmorg-18-init-6129-ga292e7edf8b2 + '[' llvmorg-18-init-6129-ga292e7edf8b2 '!=' '' ']' + local d ++ dirname llvmorg-18-init-6129-ga292e7edf8b2 + d=. + mkdir -p interesting-commits/llvm/. + local symlink= + '[' . '!=' . ']' + symlink=sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + rm -f interesting-commits/llvm/llvmorg-18-init-6129-ga292e7edf8b2 + ln -s sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 interesting-commits/llvm/llvmorg-18-init-6129-ga292e7edf8b2 + git -C interesting-commits add llvm/llvmorg-18-init-6129-ga292e7edf8b2 ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x + git -C interesting-commits commit -m 'Add entry a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 from https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/' [detached HEAD dc485a00c] Add entry a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 from https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/ 13 files changed, 94 insertions(+) create mode 120000 llvm/llvmorg-18-init-6129-ga292e7edf8b2 create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/commit-log.txt create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/components create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/description create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/startdate create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/summary create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/yaml create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/status.txt create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/details.txt create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/reproduction_instructions.txt create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/status.txt create mode 100644 llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/status.txt + wait 79141 + git -C interesting-commits push ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git HEAD:refs/heads/master remote: Sending notification emails to: tcwg-commits@lists.linaro.org post-git trigger: updating grokmirror To ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git 9a18d7194..dc485a00c HEAD -> master + break + 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_commit '!=' xsingle_commit ']' ++ local isubdir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local dir=llvm/sha1 +++ '[' 2 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ isubdir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ case "$print_arg" in ++ echo interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + icommit_entry=interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + '[' interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 '!=' '' ']' + '[' -d interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira ']' + rsync -a interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/ artifacts/notify/jira/ + '[' -f artifacts/notify/jira/key ']' ++ cat artifacts/notify/jira/key + jira_key=LLVM-929 + '[' LLVM-929 '!=' '' ']' + cat ++ 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 ']' ++ improved_or_regressed=regression ++ 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='grew in size by' ++ case ${rr[metric_id]} in ++ exe_threshold=1 ++ symbol_threshold=10 ++ case "$print_arg" in ++ assert_with_msg 'Builds with infra problems should never get here' '[' 1 '!=' 125 ']' ++ set -euf -o pipefail +x ++ local metric bmk symbol short_diag long_diag ++ '[' -f artifacts/notify/exe.regression ']' ++ IFS=, ++ read metric bmk symbol short_diag long_diag +++ head -n1 artifacts/notify/exe.regression ++ echo '470.lbm grew in size by 2%' ++ 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_size-spec2k6--llvm-arm-master-O3-build/66/artifact/artifacts ++ '[' '' '!=' '' ']' ++ echo 'https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/artifact/artifacts/notify/mail-body.txt/*view*/' + 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 ']' ++ improved_or_regressed=regression ++ 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='grew in size by' ++ case ${rr[metric_id]} in ++ exe_threshold=1 ++ symbol_threshold=10 ++ case "$print_arg" in ++ assert_with_msg 'Builds with infra problems should never get here' '[' 1 '!=' 125 ']' ++ set -euf -o pipefail +x ++ local metric bmk symbol short_diag long_diag ++ '[' -f artifacts/notify/exe.regression ']' ++ IFS=, ++ read metric bmk symbol short_diag long_diag +++ head -n1 artifacts/notify/exe.regression ++ echo '470.lbm grew in size by 2%' ++ 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_size-spec2k6--llvm-arm-master-O3-build/66/artifact/artifacts ++ '[' '' '!=' '' ']' ++ echo 'https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/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=6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ++ 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=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + read -r email ++ git -C llvm log --pretty=%ae 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3..a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + 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=6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3 ++ 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=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + read -r email ++ git -C llvm log --pretty=%ce 6d1c6ecbdc4e94cafd51ade0331d7112161a4cf3..a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 + 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=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=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + IFS=, + echo bcc:tcwg-validation@linaro.org,maxim.kuvyrkov@linaro.org ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline ++ '[' single_commit = no_change ']' ++ local more_lines ++ '[' single_commit = single_commit ']' ++ local c=llvm ++ '[' --oneline = --link ']' ++ local describe ++ '[' '' = '' ']' +++ describe_sha1 llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 true +++ local component=llvm +++ local sha1=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local anything=true +++ match=() +++ local -a match +++ case "$component" in +++ git -C llvm describe a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 +++ echo llvmorg-18-init-6129-ga292e7edf8b2 +++ sed 's,^basepoints/,,' ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 ++ '[' --oneline = --oneline ']' ++ echo llvmorg-18-init-6129-ga292e7edf8b2 ++ 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 ']' ++ improved_or_regressed=regression ++ 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='grew in size by' ++ case ${rr[metric_id]} in ++ exe_threshold=1 ++ symbol_threshold=10 ++ case "$print_arg" in ++ assert_with_msg 'Builds with infra problems should never get here' '[' 1 '!=' 125 ']' ++ set -euf -o pipefail +x ++ local metric bmk symbol short_diag long_diag ++ '[' -f artifacts/notify/exe.regression ']' ++ IFS=, ++ read metric bmk symbol short_diag long_diag +++ head -n1 artifacts/notify/exe.regression ++ echo '470.lbm grew in size by 2%' + echo '[Linaro-TCWG-CI]' 'llvmorg-18-init-6129-ga292e7edf8b2: 470.lbm grew in size by 2%' + 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_size-spec2k6--llvm-arm-master-O3-build/66/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_size-spec2k6--llvm-arm-master-O3-build/65/artifact/artifacts + cat ++ print_commits --short ++ sed -e 's/^/ | /' ++ set -euf -o pipefail ++ false ++ local print_arg=--short ++ '[' single_commit = no_change ']' ++ local more_lines ++ '[' single_commit = single_commit ']' ++ local c=llvm ++ '[' --short = --link ']' ++ local describe ++ '[' '' = '' ']' +++ describe_sha1 llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 true +++ local component=llvm +++ local sha1=a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local anything=true +++ match=() +++ local -a match +++ case "$component" in +++ git -C llvm describe a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 +++ echo llvmorg-18-init-6129-ga292e7edf8b2 +++ sed 's,^basepoints/,,' ++ describe=llvmorg-18-init-6129-ga292e7edf8b2 ++ '[' --short = --oneline ']' ++ '[' '' = '' ']' ++ echo 'commit llvmorg-18-init-6129-ga292e7edf8b2' ++ local tmpfile +++ mktemp ++ tmpfile=/tmp/tmp.krFmYNtnUy ++ git -C llvm log -n1 a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ tail -n +2 ++ head -n 10 /tmp/tmp.krFmYNtnUy +++ cat /tmp/tmp.krFmYNtnUy +++ wc -l ++ more_lines=3 ++ '[' 3 -gt 0 ']' ++ echo '... 3 lines of the commit log omitted.' ++ rm /tmp/tmp.krFmYNtnUy ++ '[' '' '!=' '' ']' ++ 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 ']' ++ improved_or_regressed=regression ++ 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='grew in size by' ++ case ${rr[metric_id]} in ++ exe_threshold=1 ++ symbol_threshold=10 ++ case "$print_arg" in ++ '[' -f artifacts/notify/exe.regression ']' ++ sort -gr -o artifacts/notify/exe.regression artifacts/notify/exe.regression ++ echo 'the following benchmarks grew in size by more than 1%:' ++ local metric exe symbol short_diag long_diag ++ IFS=, ++ read metric exe symbol short_diag long_diag ++ echo '- 470.lbm grew in size by 2% from 11169 to 11408 bytes ' ++ '[' -f artifacts/notify/470.lbm.symbols-regression ']' ++ IFS=, ++ read metric exe symbol short_diag long_diag ++ '[' -f artifacts/notify/symbol.regression ']' ++ '[' -f artifacts/notify/exe.regression ']' ++ bmk_print_config ++ . /home/tcwg-buildslave/workspace/tcwg_bmk_0/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=O3 ++ 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_size-spec2k6--llvm-arm-master-O3 ++++ cut -d- -f1-6 +++ data_key=tcwg_bmk-code_size-spec2k6--llvm-arm +++ data=sq_32:spec2006_nofortran +++ '[' xsq_32:spec2006_nofortran = xunset ']' +++ echo sq_32:spec2006_nofortran +++ cut -d: -f2 ++ cat ++ false ++ '[' -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 O3 +++ sed -e 's/_/ -/g' -e s/LTO/flto/g -e s/VECT/fdump-tree-vect-details/g ++ bmk_flags=O3 ++ case "$(tcwg_bmk_hw)" in +++ tcwg_bmk_hw +++ local data data_key ++++ echo tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3 ++++ cut -d- -f1-6 +++ data_key=tcwg_bmk-code_size-spec2k6--llvm-arm +++ data=sq_32:spec2006_nofortran +++ '[' xsq_32:spec2006_nofortran = xunset ']' +++ echo sq_32:spec2006_nofortran +++ cut -d: -f1 ++ hw='' ++ cat +++ print_gnu_target arm +++ set -euf -o pipefail +++ local target=arm +++ case "$target" in +++ target=arm-linux-gnueabihf +++ echo arm-linux-gnueabihf + '[' single_commit '!=' single_commit ']' + '[' '' '!=' '' ']' + local key ++ print_jira_card_key ++ set -euf -o pipefail ++ local jira_dir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local dir=llvm/sha1 +++ '[' 2 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira ++ '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ']' ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key + key=LLVM-929 + '[' -z LLVM-929 ']' + cat ++ print_last_icommit --reproduction_instructions_link tcwg_bmk-code_size-spec2k6 llvm-arm-master-O3 ++ false ++ set -euf -o pipefail ++ local print_arg=--reproduction_instructions_link ++ shift 1 ++ '[' xsingle_commit '!=' xsingle_commit ']' ++ local isubdir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 tcwg_bmk-code_size-spec2k6 llvm-arm-master-O3 +++ local dir=llvm/sha1 +++ '[' 4 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 4 -ge 3 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6 +++ '[' 4 -ge 4 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 ++ isubdir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3 ++ case "$print_arg" in ++ print_icommits_link llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/reproduction_instructions.txt ++ set -euf -o pipefail ++ local path=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/reproduction_instructions.txt ++ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git ++ echo https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/tcwg_bmk-code_size-spec2k6/llvm-arm-master-O3/reproduction_instructions.txt ++ print_commits --link ++ set -euf -o pipefail ++ false ++ local print_arg=--link ++ '[' single_commit = no_change ']' ++ local more_lines ++ '[' single_commit = single_commit ']' ++ local c=llvm ++ '[' --link = --link ']' ++ local url +++ get_baseline_git llvm_url +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No llvm_url in baseline git' '[' -f base-artifacts/git/llvm_url ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/llvm_url ++ url=https://github.com/llvm/llvm-project.git ++ [[ https://github.com/llvm/llvm-project.git =~ git://sourceware.org/git/ ]] ++ [[ https://github.com/llvm/llvm-project.git =~ https://github.com/ ]] ++ echo https://github.com/llvm/llvm-project/commit/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ return 0 ++ print_last_icommit --status ++ false ++ set -euf -o pipefail ++ local print_arg=--status ++ shift 1 ++ '[' xsingle_commit '!=' xsingle_commit ']' ++ local isubdir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local dir=llvm/sha1 +++ '[' 2 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ isubdir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ case "$print_arg" in ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/status.txt # generate dashboard + echo '# generate dashboard' + generate_dashboard_squad # generate_dashboard_squad ... Skipping + local results_date + echo '# generate_dashboard_squad' + false + echo '... Skipping' + return # post_dashboard_squad ... Skipping # release_notification_files + post_dashboard_squad + echo '# post_dashboard_squad' + false + echo '... Skipping' + return + true + release_notification_files + echo '# release_notification_files' + '[' -d artifacts/jenkins ']' + local f + for f in mail-body.txt mail-subject.txt mail-recipients.txt + '[' -s artifacts/notify/mail-body.txt ']' + cp artifacts/notify/mail-body.txt artifacts/jenkins/mail-body.txt + for f in mail-body.txt mail-subject.txt mail-recipients.txt + '[' -s artifacts/notify/mail-subject.txt ']' + cp artifacts/notify/mail-subject.txt artifacts/jenkins/mail-subject.txt + for f in mail-body.txt mail-subject.txt mail-recipients.txt + '[' -s artifacts/notify/mail-recipients.txt ']' + cp artifacts/notify/mail-recipients.txt artifacts/jenkins/mail-recipients.txt ... Done + echo '... Done' + post_to_jira + set -euf -o pipefail # post_to_jira + echo '# post_to_jira' + local post_card_comment=true + local post_template_comment=true + true + '[' -f artifacts/notify/jira/yaml ']' + local key status ++ print_jira_card_key ++ set -euf -o pipefail ++ local jira_dir +++ interesting_subdir llvm a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ local dir=llvm/sha1 +++ '[' 2 -ge 2 ']' +++ dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264 ++ jira_dir=llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira ++ '[' -f interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key ']' ++ cat interesting-commits/llvm/sha1/a292e7edf8b2fc51d3e86a96ff5dff45d16bd264/jira/key + key=LLVM-929 ++ jipsearch -j key=LLVM-929 -s status:name ++ sed -e 's/.* , //' + status=Open + case "$status" in + jipcreate -f artifacts/notify/jira/yaml Existing issue updated: https://linaro.atlassian.net/browse/LLVM-929 + post_template_comment=false + true + '[' -f artifacts/notify/jira/comment-card.txt ']' + echo y + jipdate -f artifacts/notify/jira/comment-card.txt These JIRA cards will be updated as follows: [LLVM-929] 470.lbm grew in size by 2% Details: https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/artifact/artifacts/notify/mail-body.txt/*view*/ Server to update: https://linaro.atlassian.net Are you sure you want to update Jira with the information above? [y/n] Successfully updated your Jira tickets! This is your status: --- [LLVM-929] 470.lbm grew in size by 2% Details: https://ci.linaro.org/job/tcwg_bmk-code_size-spec2k6--llvm-arm-master-O3-build/66/artifact/artifacts/notify/mail-body.txt/*view*/ + false + echo 'Full stage ran successfully.' Full stage ran successfully.