++ pwd ++ cat + remote_exec build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true + set -euf -o pipefail + local host ++ echo build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ++ cut -d: -f 1 + host=build-02.tcwglab + local port ++ echo build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ++ cut -s -d: -f 2 + port= + local dir ++ echo build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_0 + local opts ++ echo build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ++ cut -s -d: -f 4 + opts=-p51348 + local env_vars ++ echo build-02.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p51348: ++ cut -s -d: -f 5 + env_vars= + 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 ++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_0 + ssh -p51348 build-02.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_0 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true' /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true + 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_gnu_woa_build ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x # Debug traces : + ci_config=master-woa64 + 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_gnu_woa_build--master-woa64-build/307/ # Using dir : base-artifacts + echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_woa_build--master-woa64-build/307/' + 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_gnu_woa_build--master-woa64-build/308/ # Using dir : artifacts + echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_woa_build--master-woa64-build/308/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x # check_source_changes + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes + echo '# check_source_changes' ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x + '[' onsuccess '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components ++ set -euf -o pipefail ++ local c delim= +++ print_updated_components +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} +++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' +++ echo -ne binutils +++ delim=' ' +++ echo ++ for c in $(print_updated_components) +++ get_current_git binutils_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/binutils_rev +++ get_baseline_git binutils_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/binutils_rev ++ '[' x2a546455f456ad190e8c4785fd2b170659bf2236 '!=' x0f020d9cedc947c09717984e0182828eb5f81208 ']' ++ echo -ne binutils ++ delim=' ' ++ echo + local c base_rev cur_rev c_commits + '[' 1 = 0 ']' + '[' 1 = 1 ']' + changed_single_component=binutils ++ get_current_git binutils_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/binutils_rev + first_bad=2a546455f456ad190e8c4785fd2b170659bf2236 ++ get_baseline_git binutils_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/binutils_rev + last_good=0f020d9cedc947c09717984e0182828eb5f81208 + local res + res=0 + wait 18765 + git -C binutils rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo binutils' '[' 0 = 0 ']' + set -euf -o pipefail +x + single_commit_p binutils + set -euf -o pipefail + local c=binutils + local base_rev cur_rev sha1 ++ get_baseline_git binutils_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/binutils_rev + base_rev=0f020d9cedc947c09717984e0182828eb5f81208 ++ get_current_git binutils_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/binutils_rev + cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 ++ git -C binutils rev-parse '2a546455f456ad190e8c4785fd2b170659bf2236^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' a303646f1754f9c6178448bedc6100d871f118c0 = 0f020d9cedc947c09717984e0182828eb5f81208 ']' + return 1 # Debug traces : # change_kind=single_component : binutils + change_kind=single_component + echo '# Debug traces :' + echo '# change_kind=single_component : binutils' + for c in "${changed_components[@]}" ++ get_baseline_git binutils_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/binutils_rev + base_rev=0f020d9cedc947c09717984e0182828eb5f81208 ++ get_current_git binutils_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/binutils_rev + cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 ++ git -C binutils rev-list --count 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 # rev for binutils : 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 (6 commits) + c_commits=6 + echo '# rev for binutils : 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 (6 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=gnu_print_result + generate_extra_details_f=gnu_generate_extra_details + post_interesting_commits init # post_interesting_commits + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init + '[' single_component '!=' single_commit ']' + return + '[' full '!=' full ']' + gnu_generate_extra_details + set -euf -o pipefail + '[' -d artifacts/sumfiles ']' + return 0 + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false + '[' xsingle_component '!=' xsingle_commit ']' + return + post_interesting_commits full # post_interesting_commits + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=full + '[' single_component '!=' single_commit ']' + return + true + generate_jira_dir + set -euf -o pipefail + local icommit_entry jira_key= ++ print_last_icommit --entry ++ false ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 ++ '[' xsingle_component '!=' xsingle_commit ']' ++ return 0 + icommit_entry= + '[' '' '!=' '' ']' + mkdir -p artifacts/notify/jira + '[' '' '!=' '' ']' + cat ++ print_jira_template_card ++ local jira_card=GNU-692 ++ case "$ci_project/$ci_config:$changed_single_component" in ++ echo GNU-692 ++ gnu_print_result --oneline ++ false ++ local print_arg=--oneline ++ '[' -d artifacts/sumfiles ']' ++ print_result --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ '[' 0 = 0 ']' ++ echo Success ++ return 0 ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x # 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=binutils + '[' binutils = '' ']' + local -A emails + emails["tcwg-validation@linaro.org"]=bcc + emails["author"]=cc + emails["committer"]=to + case "$ci_project/$ci_config:$c" in + emails["linaro-toolchain@lists.linaro.org"]=cc_postcommit + local c email base_rev cur_rev ++ get_baseline_git binutils_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/binutils_rev + base_rev=0f020d9cedc947c09717984e0182828eb5f81208 ++ get_current_git binutils_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/binutils_rev + cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 + read -r email ++ git -C binutils log --pretty=%ae 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + emails["$email"]=cc + read -r email + local precommit_postcommit=postcommit + '[' '' = '' ']' ++ get_baseline_git binutils_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/binutils_rev + base_rev=0f020d9cedc947c09717984e0182828eb5f81208 ++ get_current_git binutils_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/binutils_rev + cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 + read -r email ++ git -C binutils log --pretty=%ce 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + emails["$email"]=to + read -r email + unset 'emails[author]' 'emails[committer]' + local type + recipients=() + local -a recipients + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=cc_postcommit + case "$precommit_postcommit:$type" in + type=cc + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=cc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=bcc + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$type:$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + for email in "${!emails[@]}" + type=to + case "$precommit_postcommit:$type" in + case "$type" in + recipients+=("$email") + IFS=, + echo brobecker@adacore.com,cc:linaro-toolchain@lists.linaro.org,cc:gdbadmin@sourceware.org,bcc:tcwg-validation@linaro.org,research_trasio@irq.a4lg.com,christophe.lyon@linaro.org,tdevries@suse.de ++ 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 binutils_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/binutils_rev ++ base_rev=0f020d9cedc947c09717984e0182828eb5f81208 +++ get_current_git binutils_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/binutils_rev ++ cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 +++ git -C binutils rev-list --count 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 ++ c_commits=6 ++ new_commits=6 +++ echo binutils +++ tr ' ' , ++ components=binutils ++ echo '6 commits in binutils' ++ '[' --oneline = --oneline ']' ++ return 0 ++ gnu_print_result --oneline ++ false ++ local print_arg=--oneline ++ '[' -d artifacts/sumfiles ']' ++ print_result --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ '[' 0 = 0 ']' ++ echo Success ++ return 0 + echo '[Linaro-TCWG-CI]' '6 commits in binutils: Success' + 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_gnu_woa_build--master-woa64-build/308/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_gnu_woa_build--master-woa64-build/307/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 binutils_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/binutils_rev ++ base_rev=0f020d9cedc947c09717984e0182828eb5f81208 +++ get_current_git binutils_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/binutils_rev ++ cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 +++ git -C binutils rev-list --count 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 ++ c_commits=6 ++ new_commits=6 +++ echo binutils +++ tr ' ' , ++ components=binutils ++ echo '6 commits in binutils' ++ '[' --short = --oneline ']' ++ for c in "${changed_components[@]}" +++ get_baseline_git binutils_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/binutils_rev ++ base_rev=0f020d9cedc947c09717984e0182828eb5f81208 +++ get_current_git binutils_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/binutils_rev ++ cur_rev=2a546455f456ad190e8c4785fd2b170659bf2236 +++ git -C binutils rev-list --count 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 ++ c_commits=6 ++ '[' '' '!=' '' ']' ++ git -C binutils log -n 5 --oneline 0f020d9cedc947c09717984e0182828eb5f81208..2a546455f456ad190e8c4785fd2b170659bf2236 ++ '[' 6 -gt 5 ']' ++ echo '... and 1 more commits in binutils' ++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short ++ false ++ local print_arg=--short ++ '[' -d artifacts/sumfiles ']' ++ print_result --short ++ false ++ local print_arg=--short ++ case "$print_arg" in ++ echo 'Results changed to' +++ cat artifacts/results ++ echo '# reset_artifacts: -10 # true: 0 # build_abe binutils: 1' ++ echo '' ++ echo From +++ cat base-artifacts/results ++ echo '# reset_artifacts: -10 # true: 0 # build_abe binutils: 1' ++ return 0 ++ print_config ++ : + '[' single_component '!=' single_commit ']' + return # generate dashboard # generate_dashboard_squad ... Skipping + echo '# generate dashboard' + generate_dashboard_squad + local results_date + echo '# generate_dashboard_squad' + false + echo '... Skipping' + return + post_dashboard_squad # post_dashboard_squad ... Skipping # post_to_jira Full stage ran successfully. + echo '# post_dashboard_squad' + false + echo '... Skipping' + return + false + post_to_jira + echo '# post_to_jira' + false + false + echo 'Full stage ran successfully.'