diff options
Diffstat (limited to 'jenkins/notify-full.log')
-rw-r--r-- | jenkins/notify-full.log | 1653 |
1 files changed, 1361 insertions, 292 deletions
diff --git a/jenkins/notify-full.log b/jenkins/notify-full.log index cc0ebb3..f3868ea 100644 --- a/jenkins/notify-full.log +++ b/jenkins/notify-full.log @@ -18,25 +18,25 @@ ++ set +x + ci_project=tcwg_gnu_embed_build ++ get_current_manifest '{rr[ci_config]}' +# Debug traces : +# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/ +# Using dir : base-artifacts ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x -# Debug traces : + 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_build--master-thumb_m3_eabi-build/75/ -# Using dir : base-artifacts -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/75/' ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/' + 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_m3_eabi-build/77/ +# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ # Using dir : artifacts -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/' ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify @@ -45,7 +45,7 @@ # check_source_changes + case "$notify" in + declare -Ag pw -+ '[' ignore = precommit ']' ++ '[' onregression = precommit ']' + check_source_changes + echo '# check_source_changes' ++ get_current_manifest '{rr[update_baseline]}' @@ -65,7 +65,7 @@ +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} -+++ '[' xgit://sourceware.org/git/newlib-cygwin.git#b67114d7d826194d20a002869ac3f2ef2db47b8f '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/newlib-cygwin.git#f81bf08f7caaebf877956d5d09c56a5d501de08a '!=' xbaseline ']' +++ echo -ne newlib +++ delim=' ' +++ for c in ${rr[components]} @@ -85,7 +85,7 @@ +++ 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 -++ '[' xb67114d7d826194d20a002869ac3f2ef2db47b8f '!=' x57e311e0deb23492edc94518c78cc57a224dbad9 ']' +++ '[' xf81bf08f7caaebf877956d5d09c56a5d501de08a '!=' xb67114d7d826194d20a002869ac3f2ef2db47b8f ']' ++ echo -ne newlib ++ delim=' ' ++ echo @@ -98,17 +98,17 @@ ++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f ++ first_bad=f81bf08f7caaebf877956d5d09c56a5d501de08a ++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 ++ last_good=b67114d7d826194d20a002869ac3f2ef2db47b8f + local res + res=0 -+ wait 255653 ++ wait 132142 + git -C newlib rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo newlib' '[' 0 = 0 ']' + set -euf -o pipefail +x @@ -122,22 +122,22 @@ ++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 ++ base_rev=b67114d7d826194d20a002869ac3f2ef2db47b8f ++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -++ git -C newlib rev-parse 'b67114d7d826194d20a002869ac3f2ef2db47b8f^@' ++ cur_rev=f81bf08f7caaebf877956d5d09c56a5d501de08a +++ git -C newlib rev-parse 'f81bf08f7caaebf877956d5d09c56a5d501de08a^@' # Debug traces : -# change_kind=single_component : newlib +# change_kind=single_commit : newlib + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") -+ '[' 60c6397133b741a532579670929dbf47e25fbd31 = 57e311e0deb23492edc94518c78cc57a224dbad9 ']' -+ return 1 -+ change_kind=single_component ++ '[' b67114d7d826194d20a002869ac3f2ef2db47b8f = b67114d7d826194d20a002869ac3f2ef2db47b8f ']' ++ return 0 ++ change_kind=single_commit + echo '# Debug traces :' -+ echo '# change_kind=single_component : newlib' ++ echo '# change_kind=single_commit : newlib' + for c in "${changed_components[@]}" ++ get_baseline_git newlib_rev ++ set -euf -o pipefail @@ -145,29 +145,26 @@ ++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 ++ base_rev=b67114d7d826194d20a002869ac3f2ef2db47b8f ++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -++ git -C newlib rev-list --count 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -# rev for newlib : 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f (3 commits) ++ cur_rev=f81bf08f7caaebf877956d5d09c56a5d501de08a +++ git -C newlib rev-list --count b67114d7d826194d20a002869ac3f2ef2db47b8f..f81bf08f7caaebf877956d5d09c56a5d501de08a +# rev for newlib : b67114d7d826194d20a002869ac3f2ef2db47b8f..f81bf08f7caaebf877956d5d09c56a5d501de08a (1 commits) -+ c_commits=3 -+ echo '# rev for newlib : 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f (3 commits)' ++ c_commits=1 ++ echo '# rev for newlib : b67114d7d826194d20a002869ac3f2ef2db47b8f..f81bf08f7caaebf877956d5d09c56a5d501de08a (1 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 ']' ++ '[' 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 @@ -184,8 +181,244 @@ + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' single_component '!=' single_commit ']' ++ '[' 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 ++ break ++ local fresh_clone=false ++ true ++ '[' -d interesting-commits ']' ++ 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 132222 ++ timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune ++ '[' 0 -eq 0 ']' ++ break ++ return 0 ++ break ++ 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=da11593c0 +++ '[' 0 -ne 0 ']' +++ echo da11593c0 ++ sha1=da11593c0 ++ git -C interesting-commits checkout --detach da11593c0 +HEAD is now at da11593c0 Add entry f81bf08f7caaebf877956d5d09c56a5d501de08a from https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ ++ true ++ local jira_dir jira_key= +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ++ '[' init = full ']' ++ true +Fetching origin ++ git -C interesting-commits remote update -p ++ 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 f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ subdir3=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a tcwg_gnu_embed_build +++ local dir=newlib/sha1 +++ '[' 3 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 3 -ge 3 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ '[' 3 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build ++ subdir4=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a tcwg_gnu_embed_build master-thumb_m3_eabi +++ local dir=newlib/sha1 +++ '[' 4 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 4 -ge 3 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ '[' 4 -ge 4 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi ++ subdir5=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi ++ '[' -d interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ']' ++ mkdir -p interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x ++ echo https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts ++ echo b67114d7d826194d20a002869ac3f2ef2db47b8f ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/build_url newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/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 f81bf08f7caaebf877956d5d09c56a5d501de08a from https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/' +HEAD detached from 9d6f39a5c +nothing to commit, working tree clean ++ break + '[' full '!=' full ']' + gnu_generate_extra_details + set -euf -o pipefail @@ -248,20 +481,20 @@ ++ assert_with_msg 'ERROR: No newlib in current git' '[' -f base-artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x +++ cat base-artifacts/git/newlib_rev -++ git -C newlib show --no-patch --pretty=%ct 57e311e0deb23492edc94518c78cc57a224dbad9 -+ base_d=1702786270 +++ git -C newlib show --no-patch --pretty=%ct b67114d7d826194d20a002869ac3f2ef2db47b8f ++ base_d=1703011022 ++ get_current_component_date newlib ++ set -euf -o pipefail ++ assert_with_msg 'ERROR: No newlib in current git' '[' -f artifacts/git/newlib_rev ']' ++ set -euf -o pipefail +x +++ cat artifacts/git/newlib_rev -++ git -C newlib show --no-patch --pretty=%ct b67114d7d826194d20a002869ac3f2ef2db47b8f -+ cur_d=1703011022 -+ '[' x1702786270 '!=' x ']' -+ '[' x1703011022 = x ']' -+ '[' 1703011022 -lt 1702786270 ']' -+ '[' x1703011022 = x ']' -+ '[' 1703011022 -gt 1703046271 ']' +++ git -C newlib show --no-patch --pretty=%ct f81bf08f7caaebf877956d5d09c56a5d501de08a ++ cur_d=1703012292 ++ '[' x1703011022 '!=' x ']' ++ '[' x1703012292 = x ']' ++ '[' 1703012292 -lt 1703011022 ']' ++ '[' x1703012292 = x ']' ++ '[' 1703012292 -gt 1703046271 ']' + for c in $(get_current_manifest "{rr[components]}") ++ get_baseline_component_date gdb ++ set -euf -o pipefail @@ -309,28 +542,681 @@ ++ get_baseline_manifest '{rr[results_date]}' ++ get_manifest base-artifacts/manifest.sh '{rr[results_date]}' false ++ set +x -+ base_d=1702913216 -+ '[' 1702913216 '!=' '' ']' -+ assert '[' 1703046271 -ge 1702913216 ']' ++ base_d=1702979743 ++ '[' 1702979743 '!=' '' ']' ++ assert '[' 1703046271 -ge 1702979743 ']' + set -euf -o pipefail +x -+ '[' 1703046271 -gt 1702913216 ']' -+ results_date=1702979743 -+ rr[results_date]=1702979743 ++ '[' 1703046271 -gt 1702979743 ']' ++ results_date=1703013007 ++ rr[results_date]=1703013007 + cat + manifest_out + cat + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false -+ '[' xsingle_component '!=' xsingle_commit ']' -+ return ++ '[' xsingle_commit '!=' xsingle_commit ']' ++ local isubdir +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ isubdir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/first_url ']' ++ local first_url +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/first_url ++ first_url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_v8a_hard_eabi-build/84/ +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x ++ '[' https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_v8a_hard_eabi-build/84/ = https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ ']' ++ '[' onregression = onregression ']' ++ post_mail=false + post_interesting_commits full # post_interesting_commits + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=full -+ '[' single_component '!=' single_commit ']' -+ return ++ '[' 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 ++ break ++ local fresh_clone=false ++ true ++ '[' -d interesting-commits ']' ++ 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 146470 ++ timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune ++ '[' 0 -eq 0 ']' ++ break ++ return 0 ++ break ++ 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=da11593c0 +++ '[' 0 -ne 0 ']' +++ echo da11593c0 ++ sha1=da11593c0 ++ git -C interesting-commits checkout --detach da11593c0 +HEAD is now at da11593c0 Add entry f81bf08f7caaebf877956d5d09c56a5d501de08a from https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ ++ true ++ local jira_dir jira_key= +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ++ '[' full = full ']' ++ true ++ false ++ true +Fetching origin ++ git -C interesting-commits remote update -p ++ 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 '' ++ echo '# update_interesting_commits' ++ local stage=full ++ local jira_key= ++ local subdir3 subdir4 subdir4 +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ subdir3=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a tcwg_gnu_embed_build +++ local dir=newlib/sha1 +++ '[' 3 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 3 -ge 3 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ '[' 3 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build ++ subdir4=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a tcwg_gnu_embed_build master-thumb_m3_eabi +++ local dir=newlib/sha1 +++ '[' 4 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 4 -ge 3 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ '[' 4 -ge 4 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi ++ subdir5=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi ++ '[' -d interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ']' ++ mkdir -p interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x ++ echo https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts ++ echo b67114d7d826194d20a002869ac3f2ef2db47b8f ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/build_url newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/last_good ++ '[' full '!=' full ']' ++ gnu_print_result --oneline ++ false ++ local print_arg=--oneline ++ '[' -d artifacts/sumfiles ']' ++ print_result --oneline ++ false ++ local print_arg=--oneline ++ case "$print_arg" in ++ '[' 1 = 0 ']' ++ echo Failure ++ return 0 ++ merge_status_summary interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build ++ set -euf -o pipefail ++ local subdir=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build ++ local cur_file cur best= best_file ++ read -r cur_file +++ find interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build -mindepth 2 -maxdepth 2 -name status-summary.txt +++ sort +++ sed -e 's/.* \([0-9]\+\)[ %].*/\1/' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m33_eabi/status-summary.txt ++ cur=Failure ++ '[' Failure -le '' ']' +/home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh: line 1068: [: Failure: integer expression expected ++ best=Failure ++ best_file=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m33_eabi/status-summary.txt ++ read -r cur_file +++ sed -e 's/.* \([0-9]\+\)[ %].*/\1/' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status-summary.txt ++ cur=Failure ++ '[' Failure -le Failure ']' +/home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh: line 1068: [: Failure: integer expression expected ++ best=Failure ++ best_file=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status-summary.txt ++ read -r cur_file +++ sed -e 's/.* \([0-9]\+\)[ %].*/\1/' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/status-summary.txt ++ cur=Failure ++ '[' Failure -le Failure ']' +/home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh: line 1068: [: Failure: integer expression expected ++ best=Failure ++ best_file=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/status-summary.txt ++ read -r cur_file ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/status-summary.txt ++ merge_status_summary interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ set -euf -o pipefail ++ local subdir=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ local cur_file cur best= best_file ++ read -r cur_file +++ find interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a -mindepth 2 -maxdepth 2 -name status-summary.txt +++ sort +++ sed -e 's/.* \([0-9]\+\)[ %].*/\1/' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt ++ cur=Failure ++ '[' Failure -le '' ']' +/home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh: line 1068: [: Failure: integer expression expected ++ best=Failure ++ best_file=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt ++ read -r cur_file ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status-summary.txt newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status-summary.txt ++ gnu_print_result --long ++ false ++ local print_arg=--long ++ '[' -d artifacts/sumfiles ']' ++ print_result --long ++ false ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'Results changed to' +++ cat artifacts/results ++ echo '# reset_artifacts: +-10 +# true: +0 +# build_abe binutils: +1 +# build_abe stage1 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: +2 +# build_abe newlib: +# FAILED +# build_abe stage2 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: +# build_abe gdb: +# build_abe qemu: +# First few build errors in logs: +# 00:00:27 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:27 make[4]: *** [Makefile:2487: arm/_exit.o] Error 1 +# 00:00:27 make[3]: *** [Makefile:4931: all-recursive] Error 1 +# 00:00:27 make[2]: *** [Makefile:1213: all] Error 2 +# 00:00:27 make[1]: *** [Makefile:9528: all-target-libgloss] Error 2 +# 00:00:27 make: *** [Makefile:879: all] Error 2 +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 make[4]: *** [Makefile:5367: arm/rdimon-crt0-v2m.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:5361: arm/rdpmon-crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:2345: arm/redboot-crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:2345: arm/crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:5364: arm/rdimon-crt0.o] Error 1' ++ echo '' ++ echo From +++ cat base-artifacts/results ++ echo '# reset_artifacts: +-10 +# true: +0 +# build_abe binutils: +1 +# build_abe stage1 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: +2 +# build_abe newlib: +4 +# build_abe stage2 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: +5 +# build_abe gdb: +6 +# build_abe qemu: +7' ++ return 0 ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status-summary.txt ++ sed 's/^/* /' ++ print_icommits_link newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/details.txt ++ set -euf -o pipefail ++ local path=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/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/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/details.txt ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/build_url ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/details.txt newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status.txt ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/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_gnu_embed_build--master-thumb_m3_eabi-build/78/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_embed_build--master-thumb_m3_eabi-build/77/artifact/artifacts ++ cat ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/reproduction_instructions.txt ++ local ci_config ++ read ci_config +++ cd interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build +++ ls ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m33_eabi/summary.txt ']' ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m33_eabi/status.txt ']' ++ echo '* master-thumb_m33_eabi' ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m33_eabi/status.txt ++ sed 's/^/*/' ++ read ci_config ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/summary.txt ']' ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status.txt ']' ++ echo '* master-thumb_m3_eabi' ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status.txt ++ sed 's/^/*/' ++ read ci_config ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/summary.txt ']' ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/status.txt ']' ++ echo '* master-thumb_v8a_hard_eabi' ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_v8a_hard_eabi/status.txt ++ sed 's/^/*/' ++ read ci_config ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt/summary.txt ']' ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status-summary.txt/status.txt ']' ++ continue ++ read ci_config ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status.txt/summary.txt ']' ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status.txt/status.txt ']' ++ continue ++ read ci_config ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status.txt ++ local ci_project ++ read ci_project +++ cd interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ ls ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/commit-log.txt/status.txt ']' ++ continue ++ read ci_project ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/first_url/status.txt ']' ++ continue ++ read ci_project ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/status.txt ']' ++ continue ++ read ci_project ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status-summary.txt/status.txt ']' ++ continue ++ read ci_project ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status.txt/status.txt ']' ++ continue ++ read ci_project ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status.txt ']' ++ echo '* tcwg_gnu_embed_build' ++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/status.txt ++ sed 's/^/*/' ++ read ci_project ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/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=newlib ++ '[' --short = --link ']' ++ local describe ++ '[' '' = '' ']' +++ describe_sha1 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a true +++ local component=newlib +++ local sha1=f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local anything=true +++ match=() +++ local -a match +++ case "$component" in +++ match=(--match "newlib*") +++ git -C newlib describe --match 'newlib*' f81bf08f7caaebf877956d5d09c56a5d501de08a ++ describe=newlib-4.3.0-378-gf81bf08f7 +++ echo newlib-4.3.0-378-gf81bf08f7 +++ sed 's,^basepoints/,,' ++ describe=newlib-4.3.0-378-gf81bf08f7 ++ '[' --short = --oneline ']' ++ '[' '' = '' ']' ++ echo 'commit newlib-4.3.0-378-gf81bf08f7' ++ local tmpfile +++ mktemp ++ tmpfile=/tmp/tmp.g8AiMylv7x ++ git -C newlib log -n1 f81bf08f7caaebf877956d5d09c56a5d501de08a ++ tail -n +2 ++ head -n 10 /tmp/tmp.g8AiMylv7x +++ cat /tmp/tmp.g8AiMylv7x +++ wc -l ++ more_lines=-6 ++ '[' -6 -gt 0 ']' ++ rm /tmp/tmp.g8AiMylv7x ++ '[' '' '!=' '' ']' ++ return 0 ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/commit-log.txt ++ true ++ local jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ']' ++ assert_with_msg 'Should not have created multiple jira cards' '[' '' = '' ']' ++ set -euf -o pipefail +x +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ++ jira_key=GNU-1082 ++ '[' -e interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ']' ++ git -C interesting-commits rm -rf newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/components' +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/description' +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key' +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/startdate' +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/summary' +rm 'newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/yaml' ++ mkdir interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ++ '[' GNU-1082 '!=' '' ']' ++ echo GNU-1082 ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/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=newlib +++ '[' --oneline = --link ']' +++ local describe +++ '[' '' = '' ']' ++++ describe_sha1 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a true ++++ local component=newlib ++++ local sha1=f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local anything=true ++++ match=() ++++ local -a match ++++ case "$component" in ++++ match=(--match "newlib*") ++++ git -C newlib describe --match 'newlib*' f81bf08f7caaebf877956d5d09c56a5d501de08a +++ describe=newlib-4.3.0-378-gf81bf08f7 ++++ echo newlib-4.3.0-378-gf81bf08f7 ++++ sed 's,^basepoints/,,' +++ describe=newlib-4.3.0-378-gf81bf08f7 +++ '[' --oneline = --oneline ']' +++ echo newlib-4.3.0-378-gf81bf08f7 +++ return 0 +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status-summary.txt ++ echo newlib-4.3.0-378-gf81bf08f7: Failure ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/summary ++ cat +++ 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=newlib +++ '[' --link = --link ']' +++ local url ++++ get_baseline_git newlib_url ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No newlib_url in baseline git' '[' -f base-artifacts/git/newlib_url ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/newlib_url +++ url=git://sourceware.org/git/newlib-cygwin.git +++ [[ git://sourceware.org/git/newlib-cygwin.git =~ git://sourceware.org/git/ ]] +++ url=newlib-cygwin.git +++ url='https://sourceware.org/git/?p=newlib-cygwin.git' +++ echo 'https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=f81bf08f7caaebf877956d5d09c56a5d501de08a' +++ return 0 +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/commit-log.txt +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status.txt +++ print_icommits_link newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/yaml +++ set -euf -o pipefail +++ local path=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/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/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/yaml ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/description ++ update_jira_card +# update_jira_card ++ set -euf -o pipefail ++ echo '# update_jira_card' ++ local jira_dir +++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local dir=newlib/sha1 +++ '[' 2 -ge 2 ']' +++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ '[' 2 -ge 3 ']' +++ '[' 2 -ge 4 ']' +++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ++ components=() ++ local -a components ++ case "$changed_single_component" in ++ components+=(Newlib) ++ IFS=, ++ echo Newlib ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/components ++ local commit_date +++ git -C newlib log -n1 --pretty=%cd --date=iso f81bf08f7caaebf877956d5d09c56a5d501de08a ++ commit_date='2023-12-19 13:58:12 -0500' ++ date -d '2023-12-19 13:58:12 -0500' +%Y-%m-%d ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/startdate ++ local key project +++ print_jira_card_key +++ set -euf -o pipefail +++ local jira_dir ++++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local dir=newlib/sha1 ++++ '[' 2 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 2 -ge 3 ']' ++++ '[' 2 -ge 4 ']' ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira +++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ']' +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ++ key=GNU-1082 ++ '[' -z GNU-1082 ']' ++ project=GNU ++ local yaml=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/yaml ++ cat ++ sed -e 's/^/ /' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/summary ++ cat +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/components +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/startdate ++ sed -e 's/^/ /' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/description ++ git -C interesting-commits add newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/yaml ++ local describe +++ describe_sha1 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a false +++ local component=newlib +++ local sha1=f81bf08f7caaebf877956d5d09c56a5d501de08a +++ local anything=false +++ match=() +++ local -a match +++ case "$component" in +++ match=(--match "newlib*") +++ git -C newlib describe --match 'newlib*' f81bf08f7caaebf877956d5d09c56a5d501de08a ++ describe=newlib-4.3.0-378-gf81bf08f7 ++ '[' newlib-4.3.0-378-gf81bf08f7 '!=' '' ']' ++ local d +++ dirname newlib-4.3.0-378-gf81bf08f7 ++ d=. ++ mkdir -p interesting-commits/newlib/. ++ local symlink= ++ '[' . '!=' . ']' ++ symlink=sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ rm -f interesting-commits/newlib/newlib-4.3.0-378-gf81bf08f7 ++ ln -s sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a interesting-commits/newlib/newlib-4.3.0-378-gf81bf08f7 ++ git -C interesting-commits add newlib/newlib-4.3.0-378-gf81bf08f7 +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x ++ git -C interesting-commits commit -m 'Add entry f81bf08f7caaebf877956d5d09c56a5d501de08a from https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/' +[detached HEAD fa59cde74] Add entry f81bf08f7caaebf877956d5d09c56a5d501de08a from https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ + 8 files changed, 84 insertions(+) + create mode 100644 newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/details.txt + create mode 100644 newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/reproduction_instructions.txt + create mode 100644 newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status-summary.txt + create mode 100644 newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/status.txt ++ wait 160979 ++ 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 + da11593c0..fa59cde74 HEAD -> master ++ break + true + generate_jira_dir + set -euf -o pipefail @@ -340,12 +1226,47 @@ ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 -++ '[' xsingle_component '!=' xsingle_commit ']' +++ '[' xsingle_commit '!=' xsingle_commit ']' +++ local isubdir ++++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local dir=newlib/sha1 ++++ '[' 2 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 2 -ge 3 ']' ++++ '[' 2 -ge 4 ']' ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ isubdir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ case "$print_arg" in +++ echo interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ icommit_entry=interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++ '[' interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a '!=' '' ']' ++ '[' -d interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira ']' ++ rsync -a interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/ artifacts/notify/jira/ ++ '[' -f artifacts/notify/jira/key ']' +++ cat artifacts/notify/jira/key ++ jira_key=GNU-1082 ++ '[' GNU-1082 '!=' '' ']' ++ cat +++ gnu_print_result --oneline +++ false +++ local print_arg=--oneline +++ '[' -d artifacts/sumfiles ']' +++ print_result --oneline +++ false +++ local print_arg=--oneline +++ case "$print_arg" in +++ '[' 1 = 0 ']' +++ echo Failure ++ return 0 -+ icommit_entry= -+ '[' '' '!=' '' ']' -+ mkdir -p artifacts/notify/jira -+ '[' '' '!=' '' ']' +++ 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_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts +++ '[' '' '!=' '' ']' +++ echo 'https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts/notify/mail-body.txt/*view*/' + cat ++ print_jira_template_card ++ local jira_card=GNU-692 @@ -359,8 +1280,8 @@ ++ false ++ local print_arg=--oneline ++ case "$print_arg" in -++ '[' 0 = 0 ']' -++ echo Success +++ '[' 1 = 0 ']' +++ echo Failure ++ return 0 ++ print_artifacts_url 'notify/mail-body.txt/*view*/' ++ set -euf -o pipefail @@ -368,9 +1289,9 @@ +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x -++ url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/artifact/artifacts +++ url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts ++ '[' '' '!=' '' ']' -++ echo 'https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/artifact/artifacts/notify/mail-body.txt/*view*/' +++ echo 'https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts/notify/mail-body.txt/*view*/' # print all notification files + echo '# print all notification files' + true @@ -393,19 +1314,15 @@ ++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 ++ base_rev=b67114d7d826194d20a002869ac3f2ef2db47b8f ++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -+ read -r email -++ git -C newlib log --pretty=%ae 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -+ emails["$email"]=cc -+ read -r email -+ emails["$email"]=cc ++ cur_rev=f81bf08f7caaebf877956d5d09c56a5d501de08a + read -r email +++ git -C newlib log --pretty=%ae b67114d7d826194d20a002869ac3f2ef2db47b8f..f81bf08f7caaebf877956d5d09c56a5d501de08a + emails["$email"]=cc + read -r email + local precommit_postcommit=postcommit @@ -416,19 +1333,15 @@ ++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 ++ base_rev=b67114d7d826194d20a002869ac3f2ef2db47b8f ++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -+ read -r email -++ git -C newlib log --pretty=%ce 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -+ emails["$email"]=to -+ read -r email -+ emails["$email"]=to ++ cur_rev=f81bf08f7caaebf877956d5d09c56a5d501de08a + read -r email +++ git -C newlib log --pretty=%ce b67114d7d826194d20a002869ac3f2ef2db47b8f..f81bf08f7caaebf877956d5d09c56a5d501de08a + emails["$email"]=to + read -r email + unset 'emails[author]' 'emails[committer]' @@ -442,11 +1355,6 @@ + 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 @@ -456,53 +1364,34 @@ + 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=cc -+ case "$precommit_postcommit:$type" in -+ case "$type" in -+ recipients+=("$type:$email") + IFS=, -+ echo cc:linaro-toolchain@lists.linaro.org,cc:freddie.chopin@gmail.com,bcc:tcwg-validation@linaro.org,jjohnstn@redhat.com,jeffreyalaw@gmail.com,cc:vapier@gentoo.org ++ echo cc:linaro-toolchain@lists.linaro.org,bcc:tcwg-validation@linaro.org,jjohnstn@redhat.com ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline -++ '[' single_component = no_change ']' +++ '[' single_commit = 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 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=57e311e0deb23492edc94518c78cc57a224dbad9 -+++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -+++ git -C newlib rev-list --count 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -++ c_commits=3 -++ new_commits=3 -+++ echo newlib -+++ tr ' ' , -++ components=newlib -++ echo '3 commits in newlib' +++ '[' single_commit = single_commit ']' +++ local c=newlib +++ '[' --oneline = --link ']' +++ local describe +++ '[' '' = '' ']' ++++ describe_sha1 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a true ++++ local component=newlib ++++ local sha1=f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local anything=true ++++ match=() ++++ local -a match ++++ case "$component" in ++++ match=(--match "newlib*") ++++ git -C newlib describe --match 'newlib*' f81bf08f7caaebf877956d5d09c56a5d501de08a +++ describe=newlib-4.3.0-378-gf81bf08f7 ++++ echo newlib-4.3.0-378-gf81bf08f7 ++++ sed 's,^basepoints/,,' +++ describe=newlib-4.3.0-378-gf81bf08f7 ++ '[' --oneline = --oneline ']' +++ echo newlib-4.3.0-378-gf81bf08f7 ++ return 0 ++ gnu_print_result --oneline ++ false @@ -512,8 +1401,8 @@ ++ false ++ local print_arg=--oneline ++ case "$print_arg" in -++ '[' 0 = 0 ']' -++ echo Success +++ '[' 1 = 0 ']' +++ echo Failure ++ return 0 ++ gnu_print_config --oneline ++ false @@ -542,21 +1431,39 @@ ++ case "$print_arg" in ++ case "$ci_config" in ++ echo master-thumb_m3_eabi -+ echo '[Linaro-TCWG-CI]' '3 commits in newlib: Success on master-thumb_m3_eabi' ++ echo '[Linaro-TCWG-CI]' 'newlib-4.3.0-378-gf81bf08f7: Failure on master-thumb_m3_eabi' + 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_embed_build--master-thumb_m3_eabi-build/77/artifact/artifacts ++ bad_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/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_embed_build--master-thumb_m3_eabi-build/75/artifact/artifacts ++ good_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/artifact/artifacts + local key= -+ '[' single_component = single_commit ']' ++ '[' single_commit = single_commit ']' ++ '[' '' = '' ']' +++ print_jira_card_key +++ set -euf -o pipefail +++ local jira_dir ++++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local dir=newlib/sha1 ++++ '[' 2 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 2 -ge 3 ']' ++++ '[' 2 -ge 4 ']' ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira +++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ']' +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ++ key=GNU-1082 ++ '[' -z GNU-1082 ']' ++ cat ++ '[' GNU-1082 '!=' '' ']' + cat -+ '[' '' '!=' '' ']' + cat ++ gnu_print_config --short ++ false @@ -585,56 +1492,40 @@ ++ set -euf -o pipefail ++ false ++ local print_arg=--short -++ '[' single_component = no_change ']' +++ '[' single_commit = 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 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=57e311e0deb23492edc94518c78cc57a224dbad9 -+++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -+++ git -C newlib rev-list --count 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -++ c_commits=3 -++ new_commits=3 -+++ echo newlib -+++ tr ' ' , -++ components=newlib -++ echo '3 commits in newlib' +++ '[' single_commit = single_commit ']' +++ local c=newlib +++ '[' --short = --link ']' +++ local describe +++ '[' '' = '' ']' ++++ describe_sha1 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a true ++++ local component=newlib ++++ local sha1=f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local anything=true ++++ match=() ++++ local -a match ++++ case "$component" in ++++ match=(--match "newlib*") ++++ git -C newlib describe --match 'newlib*' f81bf08f7caaebf877956d5d09c56a5d501de08a +++ describe=newlib-4.3.0-378-gf81bf08f7 ++++ echo newlib-4.3.0-378-gf81bf08f7 ++++ sed 's,^basepoints/,,' +++ describe=newlib-4.3.0-378-gf81bf08f7 ++ '[' --short = --oneline ']' -++ 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=57e311e0deb23492edc94518c78cc57a224dbad9 -+++ 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=b67114d7d826194d20a002869ac3f2ef2db47b8f -+++ git -C newlib rev-list --count 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -++ c_commits=3 -++ '[' '' '!=' '' ']' -++ git -C newlib log -n 5 --oneline 57e311e0deb23492edc94518c78cc57a224dbad9..b67114d7d826194d20a002869ac3f2ef2db47b8f -++ '[' 3 -gt 5 ']' +++ '[' '' = '' ']' +++ echo 'commit newlib-4.3.0-378-gf81bf08f7' +++ local tmpfile ++++ mktemp +++ tmpfile=/tmp/tmp.kUwvODIIYl +++ git -C newlib log -n1 f81bf08f7caaebf877956d5d09c56a5d501de08a +++ tail -n +2 +++ head -n 10 /tmp/tmp.kUwvODIIYl ++++ cat /tmp/tmp.kUwvODIIYl ++++ wc -l +++ more_lines=-6 +++ '[' -6 -gt 0 ']' +++ rm /tmp/tmp.kUwvODIIYl ++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short @@ -656,13 +1547,27 @@ # build_abe stage1 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: 2 # build_abe newlib: -4 +# FAILED # build_abe stage2 -- --set gcc_override_configure=--disable-multilib --set gcc_override_configure=--with-mode=thumb --set gcc_override_configure=--with-cpu=cortex-m3 --set gcc_override_configure=--with-float=softfp: -5 # build_abe gdb: -6 # build_abe qemu: -7' +# First few build errors in logs: +# 00:00:27 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:27 make[4]: *** [Makefile:2487: arm/_exit.o] Error 1 +# 00:00:27 make[3]: *** [Makefile:4931: all-recursive] Error 1 +# 00:00:27 make[2]: *** [Makefile:1213: all] Error 2 +# 00:00:27 make[1]: *** [Makefile:9528: all-target-libgloss] Error 2 +# 00:00:27 make: *** [Makefile:879: all] Error 2 +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/libgloss/arm/arm.h:32:10: fatal error: arm-acle-compat.h: No such file or directory +# 00:00:24 make[4]: *** [Makefile:5367: arm/rdimon-crt0-v2m.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:5361: arm/rdpmon-crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:2345: arm/redboot-crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:2345: arm/crt0.o] Error 1 +# 00:00:24 make[4]: *** [Makefile:5364: arm/rdimon-crt0.o] Error 1' ++ echo '' ++ echo From +++ cat base-artifacts/results @@ -705,13 +1610,76 @@ ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'CI config tcwg_gnu_embed_build arm-eabi -mthumb -march=armv7-m -mtune=cortex-m3 -mfloat-abi=softfp -mfpu=auto' -+ '[' single_component '!=' single_commit ']' -+ return -+ true -+ generate_jenkins_html_files ++ '[' single_commit '!=' single_commit ']' ++ '[' '' '!=' '' ']' ++ cat +++ print_last_icommit --reproduction_instructions_link tcwg_gnu_embed_build master-thumb_m3_eabi +++ false +++ set -euf -o pipefail +++ local print_arg=--reproduction_instructions_link +++ shift 1 +++ '[' xsingle_commit '!=' xsingle_commit ']' +++ local isubdir ++++ interesting_subdir newlib f81bf08f7caaebf877956d5d09c56a5d501de08a tcwg_gnu_embed_build master-thumb_m3_eabi ++++ local dir=newlib/sha1 ++++ '[' 4 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 4 -ge 3 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build ++++ '[' 4 -ge 4 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ isubdir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi +++ case "$print_arg" in +++ print_icommits_link newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/reproduction_instructions.txt +++ set -euf -o pipefail +++ local path=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/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/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/tcwg_gnu_embed_build/master-thumb_m3_eabi/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=newlib +++ '[' --link = --link ']' +++ local url ++++ get_baseline_git newlib_url ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No newlib_url in baseline git' '[' -f base-artifacts/git/newlib_url ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/newlib_url +++ url=git://sourceware.org/git/newlib-cygwin.git +++ [[ git://sourceware.org/git/newlib-cygwin.git =~ git://sourceware.org/git/ ]] +++ url=newlib-cygwin.git +++ url='https://sourceware.org/git/?p=newlib-cygwin.git' +++ echo 'https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=f81bf08f7caaebf877956d5d09c56a5d501de08a' +++ 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 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local dir=newlib/sha1 ++++ '[' 2 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 2 -ge 3 ']' ++++ '[' 2 -ge 4 ']' ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ isubdir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ case "$print_arg" in +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/status.txt # generate_jenkins_html_files ... Skipping -+ wait 255861 ++ true ++ generate_jenkins_html_files ++ wait 161112 + set -euf -o pipefail + echo '# generate_jenkins_html_files' + true @@ -853,61 +1821,29 @@ ++ echo -n '<a href="./07-build_abe-newlib/make-newlib.log.xz">./07-build_abe-newlib/make-newlib.log.xz</a>' + echo '<li><a href="./07-build_abe-newlib/make-newlib.log.xz">./07-build_abe-newlib/make-newlib.log.xz</a>' + read -r cur_file -++ print_readme_link html ./08-build_abe-stage2/console.log.xz -++ set -euf -o pipefail -++ local text_type=html -++ local msg=./08-build_abe-stage2/console.log.xz -++ case $text_type in -++ echo -n '<a href="./08-build_abe-stage2/console.log.xz">./08-build_abe-stage2/console.log.xz</a>' -+ echo '<li><a href="./08-build_abe-stage2/console.log.xz">./08-build_abe-stage2/console.log.xz</a>' -+ read -r cur_file -++ print_readme_link html ./08-build_abe-stage2/make-gcc-stage2.log.xz -++ set -euf -o pipefail -++ local text_type=html -++ local msg=./08-build_abe-stage2/make-gcc-stage2.log.xz -++ case $text_type in -++ echo -n '<a href="./08-build_abe-stage2/make-gcc-stage2.log.xz">./08-build_abe-stage2/make-gcc-stage2.log.xz</a>' -+ echo '<li><a href="./08-build_abe-stage2/make-gcc-stage2.log.xz">./08-build_abe-stage2/make-gcc-stage2.log.xz</a>' -+ read -r cur_file -++ print_readme_link html ./09-build_abe-gdb/console.log.xz -++ set -euf -o pipefail -++ local text_type=html -++ local msg=./09-build_abe-gdb/console.log.xz -++ case $text_type in -++ echo -n '<a href="./09-build_abe-gdb/console.log.xz">./09-build_abe-gdb/console.log.xz</a>' -+ echo '<li><a href="./09-build_abe-gdb/console.log.xz">./09-build_abe-gdb/console.log.xz</a>' -+ read -r cur_file -++ print_readme_link html ./09-build_abe-gdb/make-gdb.log.xz -++ set -euf -o pipefail -++ local text_type=html -++ local msg=./09-build_abe-gdb/make-gdb.log.xz -++ case $text_type in -++ echo -n '<a href="./09-build_abe-gdb/make-gdb.log.xz">./09-build_abe-gdb/make-gdb.log.xz</a>' -+ echo '<li><a href="./09-build_abe-gdb/make-gdb.log.xz">./09-build_abe-gdb/make-gdb.log.xz</a>' -+ read -r cur_file -++ print_readme_link html ./10-build_abe-qemu/console.log.xz +++ print_readme_link html ./11-check_regression/console.log.xz ++ set -euf -o pipefail ++ local text_type=html -++ local msg=./10-build_abe-qemu/console.log.xz +++ local msg=./11-check_regression/console.log.xz ++ case $text_type in -++ echo -n '<a href="./10-build_abe-qemu/console.log.xz">./10-build_abe-qemu/console.log.xz</a>' -+ echo '<li><a href="./10-build_abe-qemu/console.log.xz">./10-build_abe-qemu/console.log.xz</a>' +++ echo -n '<a href="./11-check_regression/console.log.xz">./11-check_regression/console.log.xz</a>' ++ echo '<li><a href="./11-check_regression/console.log.xz">./11-check_regression/console.log.xz</a>' + read -r cur_file -++ print_readme_link html ./10-build_abe-qemu/make-qemu.log.xz +++ print_readme_link html ./11-check_regression/results.regressions ++ set -euf -o pipefail ++ local text_type=html -++ local msg=./10-build_abe-qemu/make-qemu.log.xz +++ local msg=./11-check_regression/results.regressions ++ case $text_type in -++ echo -n '<a href="./10-build_abe-qemu/make-qemu.log.xz">./10-build_abe-qemu/make-qemu.log.xz</a>' -+ echo '<li><a href="./10-build_abe-qemu/make-qemu.log.xz">./10-build_abe-qemu/make-qemu.log.xz</a>' +++ echo -n '<a href="./11-check_regression/results.regressions">./11-check_regression/results.regressions</a>' ++ echo '<li><a href="./11-check_regression/results.regressions">./11-check_regression/results.regressions</a>' + read -r cur_file -++ print_readme_link html ./11-check_regression/console.log.xz +++ print_readme_link html ./11-check_regression/trigger-bisect ++ set -euf -o pipefail ++ local text_type=html -++ local msg=./11-check_regression/console.log.xz +++ local msg=./11-check_regression/trigger-bisect ++ case $text_type in -++ echo -n '<a href="./11-check_regression/console.log.xz">./11-check_regression/console.log.xz</a>' -+ echo '<li><a href="./11-check_regression/console.log.xz">./11-check_regression/console.log.xz</a>' +++ echo -n '<a href="./11-check_regression/trigger-bisect">./11-check_regression/trigger-bisect</a>' ++ echo '<li><a href="./11-check_regression/trigger-bisect">./11-check_regression/trigger-bisect</a>' + read -r cur_file ++ print_readme_link html ./git/binutils_rev ++ set -euf -o pipefail @@ -1029,6 +1965,14 @@ ++ echo -n '<a href="./manifest.sh">./manifest.sh</a>' + echo '<li><a href="./manifest.sh">./manifest.sh</a>' + read -r cur_file +++ print_readme_link html ./notify/jira/comment-card.txt +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/comment-card.txt +++ case $text_type in +++ echo -n '<a href="./notify/jira/comment-card.txt">./notify/jira/comment-card.txt</a>' ++ echo '<li><a href="./notify/jira/comment-card.txt">./notify/jira/comment-card.txt</a>' ++ read -r cur_file ++ print_readme_link html ./notify/jira/comment-template.txt ++ set -euf -o pipefail ++ local text_type=html @@ -1037,6 +1981,54 @@ ++ echo -n '<a href="./notify/jira/comment-template.txt">./notify/jira/comment-template.txt</a>' + echo '<li><a href="./notify/jira/comment-template.txt">./notify/jira/comment-template.txt</a>' + read -r cur_file +++ print_readme_link html ./notify/jira/components +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/components +++ case $text_type in +++ echo -n '<a href="./notify/jira/components">./notify/jira/components</a>' ++ echo '<li><a href="./notify/jira/components">./notify/jira/components</a>' ++ read -r cur_file +++ print_readme_link html ./notify/jira/description +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/description +++ case $text_type in +++ echo -n '<a href="./notify/jira/description">./notify/jira/description</a>' ++ echo '<li><a href="./notify/jira/description">./notify/jira/description</a>' ++ read -r cur_file +++ print_readme_link html ./notify/jira/key +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/key +++ case $text_type in +++ echo -n '<a href="./notify/jira/key">./notify/jira/key</a>' ++ echo '<li><a href="./notify/jira/key">./notify/jira/key</a>' ++ read -r cur_file +++ print_readme_link html ./notify/jira/startdate +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/startdate +++ case $text_type in +++ echo -n '<a href="./notify/jira/startdate">./notify/jira/startdate</a>' ++ echo '<li><a href="./notify/jira/startdate">./notify/jira/startdate</a>' ++ read -r cur_file +++ print_readme_link html ./notify/jira/summary +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/summary +++ case $text_type in +++ echo -n '<a href="./notify/jira/summary">./notify/jira/summary</a>' ++ echo '<li><a href="./notify/jira/summary">./notify/jira/summary</a>' ++ read -r cur_file +++ print_readme_link html ./notify/jira/yaml +++ set -euf -o pipefail +++ local text_type=html +++ local msg=./notify/jira/yaml +++ case $text_type in +++ echo -n '<a href="./notify/jira/yaml">./notify/jira/yaml</a>' ++ echo '<li><a href="./notify/jira/yaml">./notify/jira/yaml</a>' ++ read -r cur_file ++ print_readme_link html ./notify/mail-body.txt ++ set -euf -o pipefail ++ local text_type=html @@ -1214,61 +2206,29 @@ ++ echo -n ./07-build_abe-newlib/make-newlib.log.xz + echo '- ./07-build_abe-newlib/make-newlib.log.xz' + read -r cur_file -++ print_readme_link txt ./08-build_abe-stage2/console.log.xz -++ set -euf -o pipefail -++ local text_type=txt -++ local msg=./08-build_abe-stage2/console.log.xz -++ case $text_type in -++ echo -n ./08-build_abe-stage2/console.log.xz -+ echo '- ./08-build_abe-stage2/console.log.xz' -+ read -r cur_file -++ print_readme_link txt ./08-build_abe-stage2/make-gcc-stage2.log.xz -++ set -euf -o pipefail -++ local text_type=txt -++ local msg=./08-build_abe-stage2/make-gcc-stage2.log.xz -++ case $text_type in -++ echo -n ./08-build_abe-stage2/make-gcc-stage2.log.xz -+ echo '- ./08-build_abe-stage2/make-gcc-stage2.log.xz' -+ read -r cur_file -++ print_readme_link txt ./09-build_abe-gdb/console.log.xz -++ set -euf -o pipefail -++ local text_type=txt -++ local msg=./09-build_abe-gdb/console.log.xz -++ case $text_type in -++ echo -n ./09-build_abe-gdb/console.log.xz -+ echo '- ./09-build_abe-gdb/console.log.xz' -+ read -r cur_file -++ print_readme_link txt ./09-build_abe-gdb/make-gdb.log.xz -++ set -euf -o pipefail -++ local text_type=txt -++ local msg=./09-build_abe-gdb/make-gdb.log.xz -++ case $text_type in -++ echo -n ./09-build_abe-gdb/make-gdb.log.xz -+ echo '- ./09-build_abe-gdb/make-gdb.log.xz' -+ read -r cur_file -++ print_readme_link txt ./10-build_abe-qemu/console.log.xz +++ print_readme_link txt ./11-check_regression/console.log.xz ++ set -euf -o pipefail ++ local text_type=txt -++ local msg=./10-build_abe-qemu/console.log.xz +++ local msg=./11-check_regression/console.log.xz ++ case $text_type in -++ echo -n ./10-build_abe-qemu/console.log.xz -+ echo '- ./10-build_abe-qemu/console.log.xz' +++ echo -n ./11-check_regression/console.log.xz ++ echo '- ./11-check_regression/console.log.xz' + read -r cur_file -++ print_readme_link txt ./10-build_abe-qemu/make-qemu.log.xz +++ print_readme_link txt ./11-check_regression/results.regressions ++ set -euf -o pipefail ++ local text_type=txt -++ local msg=./10-build_abe-qemu/make-qemu.log.xz +++ local msg=./11-check_regression/results.regressions ++ case $text_type in -++ echo -n ./10-build_abe-qemu/make-qemu.log.xz -+ echo '- ./10-build_abe-qemu/make-qemu.log.xz' +++ echo -n ./11-check_regression/results.regressions ++ echo '- ./11-check_regression/results.regressions' + read -r cur_file -++ print_readme_link txt ./11-check_regression/console.log.xz +++ print_readme_link txt ./11-check_regression/trigger-bisect ++ set -euf -o pipefail ++ local text_type=txt -++ local msg=./11-check_regression/console.log.xz +++ local msg=./11-check_regression/trigger-bisect ++ case $text_type in -++ echo -n ./11-check_regression/console.log.xz -+ echo '- ./11-check_regression/console.log.xz' +++ echo -n ./11-check_regression/trigger-bisect ++ echo '- ./11-check_regression/trigger-bisect' + read -r cur_file ++ print_readme_link txt ./git/binutils_rev ++ set -euf -o pipefail @@ -1390,6 +2350,14 @@ ++ echo -n ./manifest.sh + echo '- ./manifest.sh' + read -r cur_file +++ print_readme_link txt ./notify/jira/comment-card.txt +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/comment-card.txt +++ case $text_type in +++ echo -n ./notify/jira/comment-card.txt ++ echo '- ./notify/jira/comment-card.txt' ++ read -r cur_file ++ print_readme_link txt ./notify/jira/comment-template.txt ++ set -euf -o pipefail ++ local text_type=txt @@ -1398,6 +2366,54 @@ ++ echo -n ./notify/jira/comment-template.txt + echo '- ./notify/jira/comment-template.txt' + read -r cur_file +++ print_readme_link txt ./notify/jira/components +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/components +++ case $text_type in +++ echo -n ./notify/jira/components ++ echo '- ./notify/jira/components' ++ read -r cur_file +++ print_readme_link txt ./notify/jira/description +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/description +++ case $text_type in +++ echo -n ./notify/jira/description ++ echo '- ./notify/jira/description' ++ read -r cur_file +++ print_readme_link txt ./notify/jira/key +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/key +++ case $text_type in +++ echo -n ./notify/jira/key ++ echo '- ./notify/jira/key' ++ read -r cur_file +++ print_readme_link txt ./notify/jira/startdate +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/startdate +++ case $text_type in +++ echo -n ./notify/jira/startdate ++ echo '- ./notify/jira/startdate' ++ read -r cur_file +++ print_readme_link txt ./notify/jira/summary +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/summary +++ case $text_type in +++ echo -n ./notify/jira/summary ++ echo '- ./notify/jira/summary' ++ read -r cur_file +++ print_readme_link txt ./notify/jira/yaml +++ set -euf -o pipefail +++ local text_type=txt +++ local msg=./notify/jira/yaml +++ case $text_type in +++ echo -n ./notify/jira/yaml ++ echo '- ./notify/jira/yaml' ++ read -r cur_file ++ print_readme_link txt ./notify/mail-body.txt ++ set -euf -o pipefail ++ local text_type=txt @@ -1469,9 +2485,9 @@ + echo '... Skipping' + return + generate_lnt_report -+ wait 256057 -# generate_lnt_report ++ wait 161320 + set -euf -o pipefail +# generate_lnt_report + local results_date + echo '# generate_lnt_report' + true @@ -1480,24 +2496,33 @@ ++ get_current_manifest '{rr[results_date]}' ++ get_manifest artifacts/manifest.sh '{rr[results_date]}' ++ set +x -+ results_date=1702979743 -++ date '+%Y-%m-%d %H:%M:%S' --date @1702979743 -+ results_date='2023-12-19 09:55:43' ++ results_date=1703013007 +++ date '+%Y-%m-%d %H:%M:%S' --date @1703013007 ++ results_date='2023-12-19 19:10:07' + local jira_key= + '[' -f artifacts/notify/jira/key ']' +++ cat artifacts/notify/jira/key ++ jira_key=GNU-1082 + case "$ci_project" in ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x -# release_testresults_files -... Done -+ generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/ tcwg_gnu_embed_build master-thumb_m3_eabi '2023-12-19 09:55:43' '' artifacts/sumfiles artifacts/notify/lnt_report.json -+ local build_url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/77/ ++ generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ tcwg_gnu_embed_build master-thumb_m3_eabi '2023-12-19 19:10:07' GNU-1082 artifacts/sumfiles artifacts/notify/lnt_report.json ++ local build_url=https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/ + local ci_project=tcwg_gnu_embed_build + local ci_config=master-thumb_m3_eabi -+ local 'results_date=2023-12-19 09:55:43' -/home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/lnt-utils.sh: line 78: 5: parameter null or not set -+ true ++ local 'results_date=2023-12-19 19:10:07' ++ local jira_key=GNU-1082 ++ local sumfiles_dir=artifacts/sumfiles ++ local output_file=artifacts/notify/lnt_report.json ++ local -a sumfiles ++ readarray -t -d '' sumfiles +++ find artifacts/sumfiles -name '*.sum' -print0 +find: ‘artifacts/sumfiles’: No such file or directory ++ '[' 0 = 0 ']' ++ return +# release_testresults_files +... Done + false + true + release_testresults_files @@ -1507,12 +2532,56 @@ + echo '... Done' + post_to_jira # post_to_jira -Full stage ran successfully. + set -euf -o pipefail + echo '# post_to_jira' -+ local post_card_comment=false -+ local post_template_comment=false -+ false -+ false ++ 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 newlib f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ local dir=newlib/sha1 ++++ '[' 2 -ge 2 ']' ++++ dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a ++++ '[' 2 -ge 3 ']' ++++ '[' 2 -ge 4 ']' ++++ echo newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a +++ jira_dir=newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira +++ '[' -f interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ']' +++ cat interesting-commits/newlib/sha1/f81bf08f7caaebf877956d5d09c56a5d501de08a/jira/key ++ key=GNU-1082 +++ jipsearch -j key=GNU-1082 -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/GNU-1082 ++ 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: + +[GNU-1082] + Failure + Details: https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/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: + +--- + +[GNU-1082] +Failure +Details: https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m3_eabi-build/78/artifact/artifacts/notify/mail-body.txt/*view*/ + false +Full stage ran successfully. + echo 'Full stage ran successfully.' |