+ set +x /home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify ignore __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]}' ++ set +x + ci_project=tcwg_gnu_embed_build ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x # Debug traces : + ci_config=master-thumb_m0_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_build--master-thumb_m0_eabi-build/72/ # Using dir : base-artifacts + echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m0_eabi-build/72/' + 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_build--master-thumb_m0_eabi-build/73/ # Using dir : artifacts + echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m0_eabi-build/73/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x + case "$notify" in + declare -Ag pw # check_source_changes + '[' 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=' ' +++ for c in ${rr[components]} +++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' +++ echo -ne ' gcc' +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xgit://sourceware.org/git/newlib-cygwin.git#master '!=' xbaseline ']' +++ echo -ne ' newlib' +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' +++ echo -ne ' gdb' +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xhttps://gitlab.com/qemu-project/qemu.git#master '!=' xbaseline ']' +++ echo -ne ' qemu' +++ 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 ++ '[' x1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 '!=' x515603a73285cc714f7a82e6b486c5d57634c10f ']' ++ echo -ne binutils ++ delim=' ' ++ for c in $(print_updated_components) +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gcc_rev +++ get_baseline_git gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ '[' xd2ae7cb2ef9067f91e751b9914665d6b59f23478 '!=' x7ad9058c042d473395ee90a4d2cdd33a456c3f7d ']' ++ echo -ne ' gcc' ++ delim=' ' ++ 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 ++ '[' x1a177610d8e181d09206a5a8ce2d873822751657 '!=' x5fa3b84da08f8dc03ee55c58cfc63e9b4450285a ']' ++ echo -ne ' newlib' ++ delim=' ' ++ for c in $(print_updated_components) +++ get_current_git gdb_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/gdb_rev +++ get_baseline_git gdb_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gdb_rev ++ '[' x1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 '!=' x515603a73285cc714f7a82e6b486c5d57634c10f ']' ++ echo -ne ' gdb' ++ delim=' ' ++ for c in $(print_updated_components) +++ get_current_git qemu_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No qemu_rev in current git' '[' -f artifacts/git/qemu_rev ']' +++ set -euf -o pipefail +x +++ cat artifacts/git/qemu_rev +++ get_baseline_git qemu_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No qemu_rev in baseline git' '[' -f base-artifacts/git/qemu_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/qemu_rev ++ '[' x80f1709aa0eb4de09b4240563463f991a5b9d855 '!=' x191710c221f65b1542f6ea7fa4d30dde6e134fd7 ']' ++ echo -ne ' qemu' ++ delim=' ' ++ echo # Debug traces : # change_kind=multiple_components : binutils gcc newlib gdb qemu + local c base_rev cur_rev c_commits + '[' 5 = 0 ']' + '[' 5 = 1 ']' + change_kind=multiple_components + changed_single_component= + echo '# Debug traces :' + echo '# change_kind=multiple_components : binutils gcc newlib gdb qemu' + 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=515603a73285cc714f7a82e6b486c5d57634c10f ++ 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=1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 ++ git -C binutils rev-list --count 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 # rev for binutils : 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 (81 commits) + c_commits=81 + echo '# rev for binutils : 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 (81 commits)' + for c in "${changed_components[@]}" ++ get_baseline_git gcc_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gcc_rev + base_rev=7ad9058c042d473395ee90a4d2cdd33a456c3f7d ++ get_current_git gcc_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gcc_rev + cur_rev=d2ae7cb2ef9067f91e751b9914665d6b59f23478 ++ git -C gcc rev-list --count 7ad9058c042d473395ee90a4d2cdd33a456c3f7d..d2ae7cb2ef9067f91e751b9914665d6b59f23478 # rev for gcc : 7ad9058c042d473395ee90a4d2cdd33a456c3f7d..d2ae7cb2ef9067f91e751b9914665d6b59f23478 (53 commits) + c_commits=53 + echo '# rev for gcc : 7ad9058c042d473395ee90a4d2cdd33a456c3f7d..d2ae7cb2ef9067f91e751b9914665d6b59f23478 (53 commits)' + 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=5fa3b84da08f8dc03ee55c58cfc63e9b4450285a ++ 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=1a177610d8e181d09206a5a8ce2d873822751657 ++ git -C newlib rev-list --count 5fa3b84da08f8dc03ee55c58cfc63e9b4450285a..1a177610d8e181d09206a5a8ce2d873822751657 # rev for newlib : 5fa3b84da08f8dc03ee55c58cfc63e9b4450285a..1a177610d8e181d09206a5a8ce2d873822751657 (13 commits) + c_commits=13 + echo '# rev for newlib : 5fa3b84da08f8dc03ee55c58cfc63e9b4450285a..1a177610d8e181d09206a5a8ce2d873822751657 (13 commits)' + for c in "${changed_components[@]}" ++ get_baseline_git gdb_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/gdb_rev + base_rev=515603a73285cc714f7a82e6b486c5d57634c10f ++ get_current_git gdb_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/gdb_rev + cur_rev=1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 ++ git -C gdb rev-list --count 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 # rev for gdb : 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 (81 commits) + c_commits=81 + echo '# rev for gdb : 515603a73285cc714f7a82e6b486c5d57634c10f..1bdba1b7730fbdb848b50ae05f8ae4a0b693a0e3 (81 commits)' + for c in "${changed_components[@]}" ++ get_baseline_git qemu_rev ++ set -euf -o pipefail ++ local base_artifacts=base-artifacts ++ assert_with_msg 'ERROR: No qemu_rev in baseline git' '[' -f base-artifacts/git/qemu_rev ']' ++ set -euf -o pipefail +x ++ cat base-artifacts/git/qemu_rev + base_rev=191710c221f65b1542f6ea7fa4d30dde6e134fd7 ++ get_current_git qemu_rev ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No qemu_rev in current git' '[' -f artifacts/git/qemu_rev ']' ++ set -euf -o pipefail +x ++ cat artifacts/git/qemu_rev + cur_rev=80f1709aa0eb4de09b4240563463f991a5b9d855 ++ git -C qemu rev-list --count 191710c221f65b1542f6ea7fa4d30dde6e134fd7..80f1709aa0eb4de09b4240563463f991a5b9d855 # rev for qemu : 191710c221f65b1542f6ea7fa4d30dde6e134fd7..80f1709aa0eb4de09b4240563463f991a5b9d855 (37 commits) + c_commits=37 + echo '# rev for qemu : 191710c221f65b1542f6ea7fa4d30dde6e134fd7..80f1709aa0eb4de09b4240563463f991a5b9d855 (37 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=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 + '[' multiple_components '!=' single_commit ']' + return Init stage ran successfully. + '[' init '!=' full ']' + echo 'Init stage ran successfully.' + exit 0