diff options
author | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-10-14 15:37:32 +0000 |
---|---|---|
committer | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-10-14 15:37:32 +0000 |
commit | 7900ba5b80928c193e0a244c49b4f564cf4893e7 (patch) | |
tree | 1cc4cb3b35668d6b05c8d1d5eb0ef31c018cf552 /jenkins | |
parent | 4abe03e488ee32bf9d865af353e444e553b3c4b8 (diff) |
force: #124: 0: [TCWG CI] https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/
Results :
| # reset_artifacts:
| -10
| # build_abe binutils:
| -8
| # 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:
| -7
| # build_abe newlib:
| -5
| # 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:
| -4
| # build_abe gdb:
| -3
| # build_abe qemu:
| -2
| # build_abe dejagnu:
| -1
| # build_abe check_gcc -- --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 --set target_board_options={-mthumb/-march=armv7-m/-mtune=cortex-m3/-mfloat-abi=softfp/-mfpu=auto} --qemu-cpu cortex-m3:
| 0
check_regression status : 0
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/build-name | 2 | ||||
-rw-r--r-- | jenkins/notify-full.log | 534 | ||||
-rw-r--r-- | jenkins/notify-init.log | 159 | ||||
-rw-r--r-- | jenkins/rewrite.log | 18 | ||||
-rw-r--r-- | jenkins/run-build.env | 12 |
5 files changed, 418 insertions, 307 deletions
diff --git a/jenkins/build-name b/jenkins/build-name index a26081e..e54476c 100644 --- a/jenkins/build-name +++ b/jenkins/build-name @@ -1 +1 @@ -#122-binutils-gdb-R0 +#124-gcc-R0-force diff --git a/jenkins/notify-full.log b/jenkins/notify-full.log index 3c45c7e..47f5d4d 100644 --- a/jenkins/notify-full.log +++ b/jenkins/notify-full.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh ++ remote_exec build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh + set -euf -o pipefail + local host -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -d: -f 1 -+ host=build-03.tcwglab ++ host=build-01.tcwglab + local port -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 4 -+ opts=-p51584 ++ opts=-p49341 + local env_vars -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 5 + env_vars= + shift @@ -59,7 +59,7 @@ + cmd+=("$(printf '%q' "$i")") ++ printf %q tcwg_gnu-build.sh ++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_1 -+ ssh -p51584 build-03.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh' ++ ssh -p49341 build-01.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh' /home/tcwg-buildslave/workspace/tcwg_gnu_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh @@ -87,17 +87,17 @@ ++ get_baseline_manifest BUILD_URL ++ get_manifest base-artifacts/manifest.sh BUILD_URL false ++ set +x -# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/120/ +# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/ # Using dir : base-artifacts -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/120/' ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/' + echo '# Using dir : base-artifacts' ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x -# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/ +# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/ # Using dir : artifacts -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/' ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify @@ -111,7 +111,7 @@ ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x -+ '[' onsuccess '!=' init ']' ++ '[' force '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components @@ -121,97 +121,102 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' -+++ echo -ne binutils ++++ '[' xbaseline '!=' xbaseline ']' ++++ for c in ${rr[components]} ++++ '[' xhttps://github.com/gcc-mirror/gcc.git#6223ea766daf7c9155106b9784302442e2ff98d3 '!=' xbaseline ']' ++++ echo -ne gcc +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} -+++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' -+++ echo -ne ' gdb' -+++ delim=' ' -+++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ 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 -++ '[' x518eb2b4511cdd5a54a8c96373c8b013f5d86391 '!=' xd7680f13df105aa8fa0edbdf8efae31a5411f579 ']' -++ echo -ne binutils -++ delim=' ' -++ for c in $(print_updated_components) -+++ get_current_git gdb_rev ++++ get_current_git gcc_rev +++ set -euf -o pipefail -+++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x -+++ cat artifacts/git/gdb_rev -+++ get_baseline_git gdb_rev ++++ cat artifacts/git/gcc_rev ++++ get_baseline_git gcc_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 ']' ++++ 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/gdb_rev -++ '[' x518eb2b4511cdd5a54a8c96373c8b013f5d86391 '!=' xd7680f13df105aa8fa0edbdf8efae31a5411f579 ']' -++ echo -ne ' gdb' ++++ cat base-artifacts/git/gcc_rev +++ '[' x6223ea766daf7c9155106b9784302442e2ff98d3 '!=' x9ea74d235c7e7816b996a17c61288f02ef767985 ']' +++ echo -ne gcc ++ delim=' ' ++ echo + local c base_rev cur_rev c_commits -+ '[' 2 = 0 ']' -+ '[' 2 = 1 ']' -+ change_kind=multiple_components -+ changed_single_component= -# Debug traces : -# change_kind=multiple_components : binutils gdb -+ echo '# Debug traces :' -+ echo '# change_kind=multiple_components : binutils gdb' -+ for c in "${changed_components[@]}" -++ get_baseline_git binutils_rev ++ '[' 1 = 0 ']' ++ '[' 1 = 1 ']' ++ changed_single_component=gcc +++ 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 ++ first_bad=6223ea766daf7c9155106b9784302442e2ff98d3 +++ get_baseline_git gcc_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 ']' +++ 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/binutils_rev -+ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -++ get_current_git binutils_rev +++ cat base-artifacts/git/gcc_rev ++ last_good=9ea74d235c7e7816b996a17c61288f02ef767985 ++ local res ++ res=0 ++ wait 1345288 ++ git -C gcc rev-parse --verify HEAD ++ assert_with_msg 'Cannot parse HEAD in repo gcc' '[' 0 = 0 ']' ++ set -euf -o pipefail +x ++ single_commit_p gcc ++ set -euf -o pipefail ++ local c=gcc ++ local base_rev cur_rev sha1 +++ get_baseline_git gcc_rev ++ set -euf -o pipefail -++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ 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 artifacts/git/binutils_rev -+ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ git -C binutils rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -# rev for binutils : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits) -+ c_commits=25 -+ echo '# rev for binutils : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits)' +++ cat base-artifacts/git/gcc_rev ++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 +++ 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=6223ea766daf7c9155106b9784302442e2ff98d3 +++ git -C gcc rev-parse '6223ea766daf7c9155106b9784302442e2ff98d3^@' ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 14c481f7fc0a90de7e5b7aec109e12b7b5220d65 = 9ea74d235c7e7816b996a17c61288f02ef767985 ']' ++ return 1 +# Debug traces : +# change_kind=single_component : gcc ++ change_kind=single_component ++ echo '# Debug traces :' ++ echo '# change_kind=single_component : gcc' + for c in "${changed_components[@]}" -++ get_baseline_git gdb_rev +++ get_baseline_git gcc_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 ']' +++ 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/gdb_rev -+ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -++ get_current_git gdb_rev +++ cat base-artifacts/git/gcc_rev ++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 +++ get_current_git gcc_rev ++ set -euf -o pipefail -++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x -++ cat artifacts/git/gdb_rev -+ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ git -C gdb rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -# rev for gdb : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits) +++ cat artifacts/git/gcc_rev ++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 +++ git -C gcc rev-list --count 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +# rev for gcc : 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 (16 commits) -+ c_commits=25 -+ echo '# rev for gdb : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits)' ++ c_commits=16 ++ echo '# rev for gcc : 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 (16 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -237,25 +242,26 @@ + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' multiple_components '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return + '[' full '!=' full ']' + gnu_generate_extra_details + set -euf -o pipefail + '[' -d artifacts/sumfiles ']' -+ wait 8930 ++ wait 1345312 + gcc-compare-results/compare_tests -compr none -pass-thresh 0.9 base-artifacts/sumfiles artifacts/sumfiles ++ true + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false -+ '[' xmultiple_components '!=' xsingle_commit ']' ++ '[' xsingle_component '!=' xsingle_commit ']' + return + post_interesting_commits full # post_interesting_commits + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=full -+ '[' multiple_components '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return + true + generate_jira_dir @@ -266,7 +272,7 @@ ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 -++ '[' xmultiple_components '!=' xsingle_commit ']' +++ '[' xsingle_component '!=' xsingle_commit ']' ++ return 0 + icommit_entry= + '[' '' '!=' '' ']' @@ -284,10 +290,10 @@ ++ local validate_failures=gcc-compare-results/contrib/testsuite-management/validate_failures.py ++ local xfails=artifacts/sumfiles/xfails.xfail ++ '[' -f artifacts/sumfiles/xfails.xfail ']' -++ wait 8987 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 -++ wait 8988 +++ wait 1345369 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ wait 1345370 ++ local n_regressions n_progressions pass_fail=PASS ++ '[' 0 '!=' 0 ']' +++ grep -c '^[A-Z]\+:' artifacts/notify/regressions.sum @@ -298,10 +304,10 @@ ++ n_progressions=0 ++ printf PASS ++ '[' 0 '!=' 0 ']' -# print all notification files ++ rm artifacts/notify/regressions.sum ++ '[' 0 '!=' 0 ']' ++ rm artifacts/notify/progressions.sum +# print all notification files ++ printf '\n' ++ '[' --oneline = --oneline ']' ++ return 0 @@ -311,71 +317,212 @@ +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x -++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts +++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts ++ '[' '' '!=' '' ']' -++ echo 'https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts/notify/mail-body.txt/*view*/' +++ echo 'https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts/notify/mail-body.txt/*view*/' + echo '# print all notification files' + true + generate_mail_files + set -euf -o pipefail + print_mail_recipients + set -euf -o pipefail -+ local c= ++ local c=gcc ++ '[' gcc = '' ']' ++ local -A emails ++ emails["tcwg-validation@linaro.org"]=bcc ++ emails["author"]=cc ++ emails["committer"]=to ++ case "$ci_project/$ci_config:$c" in ++ emails["author"]=no ++ emails["committer"]=no ++ emails["christophe.lyon@linaro.org"]=to ++ local c email base_rev cur_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 ++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 +++ 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=6223ea766daf7c9155106b9784302442e2ff98d3 ++ read -r email +++ git -C gcc log --pretty=%ae 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ local precommit_postcommit=postcommit + '[' '' = '' ']' -+ echo bcc:tcwg-validation@linaro.org -+ return 0 +++ 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=9ea74d235c7e7816b996a17c61288f02ef767985 +++ 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=6223ea766daf7c9155106b9784302442e2ff98d3 ++ read -r email +++ git -C gcc log --pretty=%ce 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ emails["$email"]=no ++ read -r email ++ unset 'emails[author]' 'emails[committer]' ++ local type ++ recipients=() ++ local -a recipients ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=bcc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ for email in "${!emails[@]}" ++ type=no ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ IFS=, ++ echo bcc:tcwg-validation@linaro.org,christophe.lyon@linaro.org ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline -++ '[' multiple_components = no_change ']' +++ '[' single_component = no_change ']' ++ local more_lines -++ '[' multiple_components = single_commit ']' -++ '[' multiple_components = single_component ']' -++ '[' multiple_components = multiple_components ']' +++ '[' single_component = single_commit ']' +++ '[' single_component = single_component ']' ++ local new_commits c base_rev cur_rev c_commits components ++ local commits_or_patches ++ '[' '' '!=' '' ']' ++ commits_or_patches=commits ++ new_commits=0 ++ for c in "${changed_components[@]}" -+++ get_baseline_git binutils_rev ++++ get_baseline_git gcc_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 ']' ++++ 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/binutils_rev -++ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ get_current_git binutils_rev ++++ cat base-artifacts/git/gcc_rev +++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 ++++ get_current_git gcc_rev +++ set -euf -o pipefail -+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x -+++ cat artifacts/git/binutils_rev -++ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C binutils rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 -++ new_commits=25 -++ 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=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ 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=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C gdb rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 -++ new_commits=50 -+++ echo binutils gdb ++++ cat artifacts/git/gcc_rev +++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 ++++ git -C gcc rev-list --count 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +++ c_commits=16 +++ new_commits=16 ++++ echo gcc +++ tr ' ' , -++ components=binutils,gdb -++ echo '50 commits in binutils,gdb' +++ components=gcc +++ echo '16 commits in gcc' ++ '[' --oneline = --oneline ']' ++ return 0 ++ gnu_print_result --oneline @@ -385,10 +532,10 @@ ++ local validate_failures=gcc-compare-results/contrib/testsuite-management/validate_failures.py ++ local xfails=artifacts/sumfiles/xfails.xfail ++ '[' -f artifacts/sumfiles/xfails.xfail ']' -++ wait 9033 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 -++ wait 9034 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 +++ wait 1345426 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ wait 1345427 ++ local n_regressions n_progressions pass_fail=PASS ++ '[' 0 '!=' 0 ']' +++ grep -c '^[A-Z]\+:' artifacts/notify/regressions.sum @@ -405,113 +552,74 @@ ++ printf '\n' ++ '[' --oneline = --oneline ']' ++ return 0 -+ echo '[Linaro-TCWG-CI]' '50 commits in binutils,gdb: PASS' ++ echo '[Linaro-TCWG-CI]' '16 commits in gcc: PASS' + 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_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts ++ bad_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/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_check_gcc--master-thumb_m3_eabi-build/120/artifact/artifacts ++ good_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts + cat ++ print_commits --short ++ sed -e 's/^/ | /' ++ set -euf -o pipefail ++ false ++ local print_arg=--short -++ '[' multiple_components = no_change ']' +++ '[' single_component = no_change ']' ++ local more_lines -++ '[' multiple_components = single_commit ']' -++ '[' multiple_components = single_component ']' -++ '[' multiple_components = multiple_components ']' +++ '[' single_component = single_commit ']' +++ '[' single_component = single_component ']' ++ local new_commits c base_rev cur_rev c_commits components ++ local commits_or_patches ++ '[' '' '!=' '' ']' ++ commits_or_patches=commits ++ new_commits=0 ++ for c in "${changed_components[@]}" -+++ get_baseline_git binutils_rev ++++ get_baseline_git gcc_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 ']' ++++ 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/binutils_rev -++ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ get_current_git binutils_rev ++++ cat base-artifacts/git/gcc_rev +++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 ++++ get_current_git gcc_rev +++ set -euf -o pipefail -+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x -+++ cat artifacts/git/binutils_rev -++ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C binutils rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 -++ new_commits=25 -++ 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=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ 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=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C gdb rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 -++ new_commits=50 -+++ echo binutils gdb ++++ cat artifacts/git/gcc_rev +++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 ++++ git -C gcc rev-list --count 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +++ c_commits=16 +++ new_commits=16 ++++ echo gcc +++ tr ' ' , -++ components=binutils,gdb -++ echo '50 commits in binutils,gdb' +++ components=gcc +++ echo '16 commits in gcc' ++ '[' --short = --oneline ']' ++ for c in "${changed_components[@]}" -+++ get_baseline_git binutils_rev -+++ set -euf -o pipefail -+++ local base_artifacts=base-artifacts -+++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' -+++ set -euf -o pipefail +x -+++ cat base-artifacts/git/binutils_rev -++ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ 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=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C binutils rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 -++ '[' '' '!=' '' ']' -++ git -C binutils log -n 5 --oneline d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ '[' 25 -gt 5 ']' -++ echo '... and 20 more commits in binutils' -++ '[' '' '!=' '' ']' -++ for c in "${changed_components[@]}" -+++ get_baseline_git gdb_rev ++++ get_baseline_git gcc_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 ']' ++++ 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/gdb_rev -++ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -+++ get_current_git gdb_rev ++++ cat base-artifacts/git/gcc_rev +++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 ++++ get_current_git gcc_rev +++ set -euf -o pipefail -+++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x -+++ cat artifacts/git/gdb_rev -++ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -+++ git -C gdb rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ c_commits=25 ++++ cat artifacts/git/gcc_rev +++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 ++++ git -C gcc rev-list --count 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +++ c_commits=16 ++ '[' '' '!=' '' ']' -++ git -C gdb log -n 5 --oneline d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ '[' 25 -gt 5 ']' -++ echo '... and 20 more commits in gdb' +++ git -C gcc log -n 5 --oneline 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +++ '[' 16 -gt 5 ']' +++ echo '... and 11 more commits in gcc' ++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short @@ -521,10 +629,10 @@ ++ local validate_failures=gcc-compare-results/contrib/testsuite-management/validate_failures.py ++ local xfails=artifacts/sumfiles/xfails.xfail ++ '[' -f artifacts/sumfiles/xfails.xfail ']' -++ wait 9108 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 -++ wait 9109 -++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230917 --build_dir=artifacts/sumfiles --verbosity=1 +++ wait 1345480 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ gcc-compare-results/contrib/testsuite-management/validate_failures.py --inverse_match --manifest=artifacts/sumfiles/xfails.xfail --expiry_date=20230918 --build_dir=artifacts/sumfiles --verbosity=1 +++ wait 1345481 ++ local n_regressions n_progressions pass_fail=PASS ++ '[' 0 '!=' 0 ']' +++ grep -c '^[A-Z]\+:' artifacts/notify/regressions.sum @@ -555,30 +663,30 @@ ++++ get_current_manifest BUILD_URL ++++ get_manifest artifacts/manifest.sh BUILD_URL ++++ set +x -+++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts ++++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts +++ '[' '' '!=' '' ']' -+++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts/00-sumfiles/ ++++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts/00-sumfiles/ +++ print_artifacts_url notify/ +++ 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_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts ++++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts +++ '[' '' '!=' '' ']' -+++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts/notify/ ++++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts/notify/ +++ print_artifacts_url sumfiles/xfails.xfail +++ 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_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts ++++ url=https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts +++ '[' '' '!=' '' ']' -+++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/artifact/artifacts/sumfiles/xfails.xfail ++++ echo https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/artifact/artifacts/sumfiles/xfails.xfail ++ print_config ++ : -+ '[' multiple_components '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return # generate dashboard # generate_dashboard_squad diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log index 4119ba5..50e74c9 100644 --- a/jenkins/notify-init.log +++ b/jenkins/notify-init.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh ++ remote_exec build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh + set -euf -o pipefail + local host -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -d: -f 1 -+ host=build-03.tcwglab ++ host=build-01.tcwglab + local port -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 4 -+ opts=-p51584 ++ opts=-p49341 + local env_vars -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 5 + env_vars= + shift @@ -59,7 +59,7 @@ + cmd+=("$(printf '%q' "$i")") ++ printf %q tcwg_gnu-build.sh ++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_1 -+ ssh -p51584 build-03.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh' ++ ssh -p49341 build-01.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh' /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 @@ -87,17 +87,17 @@ ++ get_baseline_manifest BUILD_URL ++ get_manifest base-artifacts/manifest.sh BUILD_URL false ++ set +x -# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/120/ +# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/ # Using dir : base-artifacts -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/120/' ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/' + echo '# Using dir : base-artifacts' ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x -# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/ +# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/ # Using dir : artifacts -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/122/' ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_m3_eabi-build/124/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify @@ -111,7 +111,7 @@ ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x -+ '[' onsuccess '!=' init ']' ++ '[' force '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components @@ -121,97 +121,102 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' -+++ echo -ne binutils ++++ '[' xbaseline '!=' xbaseline ']' ++++ for c in ${rr[components]} ++++ '[' xhttps://github.com/gcc-mirror/gcc.git#6223ea766daf7c9155106b9784302442e2ff98d3 '!=' xbaseline ']' ++++ echo -ne gcc +++ delim=' ' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ for c in ${rr[components]} -+++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' -+++ echo -ne ' gdb' -+++ delim=' ' -+++ for c in ${rr[components]} +++ '[' xbaseline '!=' xbaseline ']' +++ 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 -++ '[' x518eb2b4511cdd5a54a8c96373c8b013f5d86391 '!=' xd7680f13df105aa8fa0edbdf8efae31a5411f579 ']' -++ echo -ne binutils -++ delim=' ' -++ for c in $(print_updated_components) -+++ get_current_git gdb_rev ++++ get_current_git gcc_rev +++ set -euf -o pipefail -+++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x -+++ cat artifacts/git/gdb_rev -+++ get_baseline_git gdb_rev ++++ cat artifacts/git/gcc_rev ++++ get_baseline_git gcc_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 ']' ++++ 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/gdb_rev -++ '[' x518eb2b4511cdd5a54a8c96373c8b013f5d86391 '!=' xd7680f13df105aa8fa0edbdf8efae31a5411f579 ']' -++ echo -ne ' gdb' ++++ cat base-artifacts/git/gcc_rev +++ '[' x6223ea766daf7c9155106b9784302442e2ff98d3 '!=' x9ea74d235c7e7816b996a17c61288f02ef767985 ']' +++ echo -ne gcc ++ delim=' ' ++ echo -# Debug traces : -# change_kind=multiple_components : binutils gdb + local c base_rev cur_rev c_commits -+ '[' 2 = 0 ']' -+ '[' 2 = 1 ']' -+ change_kind=multiple_components -+ changed_single_component= -+ echo '# Debug traces :' -+ echo '# change_kind=multiple_components : binutils gdb' -+ for c in "${changed_components[@]}" -++ get_baseline_git binutils_rev ++ '[' 1 = 0 ']' ++ '[' 1 = 1 ']' ++ changed_single_component=gcc +++ 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 ++ first_bad=6223ea766daf7c9155106b9784302442e2ff98d3 +++ get_baseline_git gcc_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 ']' +++ 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/binutils_rev -+ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -++ get_current_git binutils_rev +++ cat base-artifacts/git/gcc_rev ++ last_good=9ea74d235c7e7816b996a17c61288f02ef767985 ++ local res ++ res=0 ++ wait 1345177 ++ git -C gcc rev-parse --verify HEAD ++ assert_with_msg 'Cannot parse HEAD in repo gcc' '[' 0 = 0 ']' ++ set -euf -o pipefail +x ++ single_commit_p gcc ++ set -euf -o pipefail ++ local c=gcc ++ local base_rev cur_rev sha1 +++ get_baseline_git gcc_rev ++ set -euf -o pipefail -++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' +++ 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=9ea74d235c7e7816b996a17c61288f02ef767985 +++ 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/binutils_rev -+ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ git -C binutils rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -# rev for binutils : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits) -+ c_commits=25 -+ echo '# rev for binutils : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits)' +++ cat artifacts/git/gcc_rev ++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 +++ git -C gcc rev-parse '6223ea766daf7c9155106b9784302442e2ff98d3^@' +# Debug traces : +# change_kind=single_component : gcc ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 14c481f7fc0a90de7e5b7aec109e12b7b5220d65 = 9ea74d235c7e7816b996a17c61288f02ef767985 ']' ++ return 1 ++ change_kind=single_component ++ echo '# Debug traces :' ++ echo '# change_kind=single_component : gcc' + for c in "${changed_components[@]}" -++ get_baseline_git gdb_rev +++ get_baseline_git gcc_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 ']' +++ 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/gdb_rev -+ base_rev=d7680f13df105aa8fa0edbdf8efae31a5411f579 -++ get_current_git gdb_rev +++ cat base-artifacts/git/gcc_rev ++ base_rev=9ea74d235c7e7816b996a17c61288f02ef767985 +++ get_current_git gcc_rev ++ set -euf -o pipefail -++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++ set -euf -o pipefail +x -++ cat artifacts/git/gdb_rev -+ cur_rev=518eb2b4511cdd5a54a8c96373c8b013f5d86391 -++ git -C gdb rev-list --count d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 -# rev for gdb : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits) +++ cat artifacts/git/gcc_rev ++ cur_rev=6223ea766daf7c9155106b9784302442e2ff98d3 +++ git -C gcc rev-list --count 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 +# rev for gcc : 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 (16 commits) -+ c_commits=25 -+ echo '# rev for gdb : d7680f13df105aa8fa0edbdf8efae31a5411f579..518eb2b4511cdd5a54a8c96373c8b013f5d86391 (25 commits)' ++ c_commits=16 ++ echo '# rev for gcc : 9ea74d235c7e7816b996a17c61288f02ef767985..6223ea766daf7c9155106b9784302442e2ff98d3 (16 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -237,7 +242,7 @@ + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' multiple_components '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return Init stage ran successfully. + '[' init '!=' full ']' diff --git a/jenkins/rewrite.log b/jenkins/rewrite.log index 3d29c82..a10d36e 100644 --- a/jenkins/rewrite.log +++ b/jenkins/rewrite.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: ./jenkins-scripts/round-robin-baseline.sh '@@rr[top_artifacts]' artifacts __build_script tcwg_gnu-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100 ++ remote_exec build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ./jenkins-scripts/round-robin-baseline.sh '@@rr[top_artifacts]' artifacts __build_script tcwg_gnu-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100 + set -euf -o pipefail + local host -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -d: -f 1 -+ host=build-03.tcwglab ++ host=build-01.tcwglab + local port -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 4 -+ opts=-p51584 ++ opts=-p49341 + local env_vars -++ echo build-03.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p51584: +++ echo build-01.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p49341: ++ cut -s -d: -f 5 + env_vars= + shift @@ -59,7 +59,7 @@ + cmd+=("$(printf '%q' "$i")") ++ printf %q 100 ++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_1 -+ ssh -p51584 build-03.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-baseline.sh @@rr\[top_artifacts\] artifacts __build_script tcwg_gnu-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100' ++ ssh -p49341 build-01.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_1 && exec ./jenkins-scripts/round-robin-baseline.sh @@rr\[top_artifacts\] artifacts __build_script tcwg_gnu-build.sh __push_base_artifacts true __rewrite_base_artifacts true __rewrite_num 100' + declare -g rewrite_base_artifacts_first=true + true + update_baseline diff --git a/jenkins/run-build.env b/jenkins/run-build.env index 05a387b..7c5fb7d 100644 --- a/jenkins/run-build.env +++ b/jenkins/run-build.env @@ -1,11 +1,9 @@ -build_name="#122" +build_name="#124" docker_opts=(--distro default ) source build_container.sh trap "cleanup_all_containers" EXIT -build_name="#122-binutils-gdb" -branch_opt=(==rr\[binutils_git\] -git://sourceware.org/git/binutils-gdb.git#master -==rr\[gdb_git\] -git://sourceware.org/git/binutils-gdb.git#master ) -build_name="#122-binutils-gdb-R0" +build_name="#124-gcc" +branch_opt=(==rr\[gcc_git\] +https://github.com/gcc-mirror/gcc.git#6223ea766daf7c9155106b9784302442e2ff98d3 ) +build_name="#124-gcc-R0-force" |