+ set +x /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 + 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-build/116/ # Using dir : base-artifacts + echo '# Baseline : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2-build/116/' + 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-build/117/ # Using dir : artifacts + echo '# Artifacts : https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O2-build/117/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x + case "$notify" in + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes # check_source_changes + echo '# check_source_changes' ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x + '[' onsuccess '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components ++ set -euf -o pipefail ++ local c delim= +++ print_updated_components +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} +++ '[' xhttps://github.com/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 ++ '[' x9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 '!=' xd77067d08a3f56dc2d0e6c95bd2852c943df743a ']' ++ 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=9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 ++ 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=d77067d08a3f56dc2d0e6c95bd2852c943df743a + local res + res=0 + wait 51652 + 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=d77067d08a3f56dc2d0e6c95bd2852c943df743a ++ 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=9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 ++ git -C llvm rev-parse '9f5afc3de95d6f2b5f85024a8cf7f021fef41db0^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' fb877c19c048040702bb99423b0f11539192e89c = d77067d08a3f56dc2d0e6c95bd2852c943df743a ']' + return 1 + change_kind=single_component + echo '# Debug traces :' # 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=d77067d08a3f56dc2d0e6c95bd2852c943df743a ++ 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=9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 ++ git -C llvm rev-list --count d77067d08a3f56dc2d0e6c95bd2852c943df743a..9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 + c_commits=1177 + echo '# rev for llvm : d77067d08a3f56dc2d0e6c95bd2852c943df743a..9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 (1177 commits)' # rev for llvm : d77067d08a3f56dc2d0e6c95bd2852c943df743a..9f5afc3de95d6f2b5f85024a8cf7f021fef41db0 (1177 commits) + echo '' + setup_stages_to_run + '[' ignore = onregression ']' + '[' ignore = precommit ']' + '[' ignore = ignore ']' + post_jira_comment=false + post_jira_card=false + post_icommits=false + '[' ignore = ignore ']' + post_mail=false + '[' ignore = precommit ']' + generate_dashboard=false + post_dashboard=false + print_commits_f=print_commits + print_result_f=print_result + print_config_f=print_config + print_last_icommit_f=print_last_icommit + generate_extra_details_f=generate_extra_details + case "$ci_project" in + print_result_f=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 stage ran successfully. + '[' init '!=' full ']' + echo 'Init stage ran successfully.' + exit 0