+ set +x /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify onregression __stage init __verbose true __build_script tcwg_gnu-build.sh + false + dryrun= + declare top_artifacts ci_project ci_config + declare change_kind changed_single_component last_good first_bad + declare -a changed_components + declare print_commits_f print_result_f print_config_f print_last_icommit_f + dump_model_only=false # setup_notify_environment + setup_notify_environment + echo '# setup_notify_environment' + top_artifacts=artifacts ++ get_current_manifest '{rr[ci_project]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_project]}' # Debug traces : ++ set +x + ci_project=tcwg_gnu_embed_check_gcc ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x + ci_config=master-thumb_m3_eabi + 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_embed_check_gcc--master-thumb_m3_eabi-build/184/ # Using dir : base-artifacts + echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/184/' + 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_embed_check_gcc--master-thumb_m3_eabi-build/185/ # Using dir : artifacts + echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/185/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x # check_source_changes + declare -Ag pw + '[' onregression = precommit ']' + 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]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} +++ '[' xgit://sourceware.org/git/newlib-cygwin.git#3d94e07c49b50caecf836eea34e03dddde8c29c1 '!=' xbaseline ']' +++ echo -ne newlib +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ echo ++ for c in $(print_updated_components) +++ get_current_git newlib_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No newlib_rev in current git' '[' -f artifacts/git/newlib_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/newlib_rev +++ get_baseline_git newlib_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No newlib_rev in baseline git' '[' -f base-artifacts/git/newlib_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/newlib_rev ++ '[' x3d94e07c49b50caecf836eea34e03dddde8c29c1 '!=' x7863c07a9282b7aed358c5783976296adfa63505 ']' ++ echo -ne newlib ++ delim=' ' ++ echo + local c base_rev cur_rev c_commits + '[' 1 = 0 ']' + '[' 1 = 1 ']' + changed_single_component=newlib ++ get_current_git newlib_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No newlib_rev in current git' '[' -f artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/newlib_rev + first_bad=3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ get_baseline_git newlib_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No newlib_rev in baseline git' '[' -f base-artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/newlib_rev + last_good=7863c07a9282b7aed358c5783976296adfa63505 + local res + res=0 + wait 20703 + git -C newlib rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo newlib' '[' 0 = 0 ']' + set -euf -o pipefail +x + single_commit_p newlib + set -euf -o pipefail + local c=newlib + local base_rev cur_rev sha1 ++ get_baseline_git newlib_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No newlib_rev in baseline git' '[' -f base-artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/newlib_rev + base_rev=7863c07a9282b7aed358c5783976296adfa63505 ++ get_current_git newlib_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No newlib_rev in current git' '[' -f artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/newlib_rev + cur_rev=3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ git -C newlib rev-parse '3d94e07c49b50caecf836eea34e03dddde8c29c1^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") + '[' 7863c07a9282b7aed358c5783976296adfa63505 = 7863c07a9282b7aed358c5783976296adfa63505 ']' + return 0 # Debug traces : # change_kind=single_commit : newlib + change_kind=single_commit + echo '# Debug traces :' + echo '# change_kind=single_commit : newlib' + for c in "${changed_components[@]}" ++ get_baseline_git newlib_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No newlib_rev in baseline git' '[' -f base-artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/newlib_rev + base_rev=7863c07a9282b7aed358c5783976296adfa63505 ++ get_current_git newlib_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No newlib_rev in current git' '[' -f artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/newlib_rev + cur_rev=3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ git -C newlib rev-list --count 7863c07a9282b7aed358c5783976296adfa63505..3d94e07c49b50caecf836eea34e03dddde8c29c1 # rev for newlib : 7863c07a9282b7aed358c5783976296adfa63505..3d94e07c49b50caecf836eea34e03dddde8c29c1 (1 commits) + c_commits=1 + echo '# rev for newlib : 7863c07a9282b7aed358c5783976296adfa63505..3d94e07c49b50caecf836eea34e03dddde8c29c1 (1 commits)' + echo '' + setup_stages_to_run + '[' onregression = onregression ']' + '[' 2 = 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=gnu_print_result + generate_extra_details_f=gnu_generate_extra_details + print_config_f=gnu_print_config + post_interesting_commits init # post_interesting_commits + set -euf -o pipefail + 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 timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune + 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 + ret=0 + wait 20783 + 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=cabb4fb0 ++ '[' 0 -ne 0 ']' ++ echo cabb4fb0 + sha1=cabb4fb0 + git -C interesting-commits checkout --detach cabb4fb0 Warning: you are leaving 1 commit behind, not connected to any of your branches: 2bbf91c9 Add entry 7863c07a9282b7aed358c5783976296adfa63505 from https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/184/ If you want to keep it by creating a new branch, this may be a good time to do so with: git branch 2bbf91c9 HEAD is now at cabb4fb0 Add entry 3f176e1adc6bc9cc2c21222d776b51d9f43cb66b from https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m23_eabi-build/185/ + true + local jira_dir jira_key= ++ interesting_subdir newlib 3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ local dir=newlib/sha1 ++ '[' 2 -ge 2 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 + jira_dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 + jira_dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/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 newlib 3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ local dir=newlib/sha1 ++ '[' 2 -ge 2 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ '[' 2 -ge 3 ']' ++ '[' 2 -ge 4 ']' ++ echo newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 + subdir3=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ interesting_subdir newlib 3d94e07c49b50caecf836eea34e03dddde8c29c1 tcwg_gnu_embed_check_gcc ++ local dir=newlib/sha1 ++ '[' 3 -ge 2 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ '[' 3 -ge 3 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc ++ '[' 3 -ge 4 ']' ++ echo newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc + subdir4=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc ++ interesting_subdir newlib 3d94e07c49b50caecf836eea34e03dddde8c29c1 tcwg_gnu_embed_check_gcc master-thumb_m3_eabi ++ local dir=newlib/sha1 ++ '[' 4 -ge 2 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ++ '[' 4 -ge 3 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc ++ '[' 4 -ge 4 ']' ++ dir=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi ++ echo newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi + subdir5=newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi + '[' -d interesting-commits/newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1 ']' + mkdir -p interesting-commits/newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi + get_current_manifest BUILD_URL + get_manifest artifacts/manifest.sh BUILD_URL + set +x + echo 7863c07a9282b7aed358c5783976296adfa63505 + git -C interesting-commits add newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi/build_url newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi/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 3d94e07c49b50caecf836eea34e03dddde8c29c1 from https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/185/' [detached HEAD bd6c3a28] Add entry 3d94e07c49b50caecf836eea34e03dddde8c29c1 from https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/185/ 2 files changed, 2 insertions(+) create mode 100644 newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi/build_url create mode 100644 newlib/sha1/3d94e07c49b50caecf836eea34e03dddde8c29c1/tcwg_gnu_embed_check_gcc/master-thumb_m3_eabi/last_good + wait 742 + 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 cabb4fb0..bd6c3a28 HEAD -> master + break Init stage ran successfully. + '[' init '!=' full ']' + echo 'Init stage ran successfully.' + exit 0