diff options
author | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-10-13 17:43:04 +0000 |
---|---|---|
committer | TCWG BuildSlave <tcwg-buildslave@linaro.org> | 2023-10-13 17:43:04 +0000 |
commit | c3ebfae75aec50b4a373c81dfb1c61c7dcc585ba (patch) | |
tree | e0d2f412ce7070fc06fa9066f0bb986af629e38a /jenkins | |
parent | 3d73187a8563a5ef8f3214f1a2e7c7593ff3ba9e (diff) |
onsuccess: #238: 1: [TCWG CI] https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/
Results :
| # reset_artifacts:
| -10
| # true:
| 0
| # build_abe bootstrap_ubsan:
| 1
check_regression status : 0
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/build-name | 2 | ||||
-rw-r--r-- | jenkins/notify-full.log | 766 | ||||
-rw-r--r-- | jenkins/notify-init.log | 140 | ||||
-rw-r--r-- | jenkins/rewrite.log | 22 | ||||
-rw-r--r-- | jenkins/run-build.env | 11 |
5 files changed, 833 insertions, 108 deletions
diff --git a/jenkins/build-name b/jenkins/build-name index 9c14a57..89d5b46 100644 --- a/jenkins/build-name +++ b/jenkins/build-name @@ -1 +1 @@ -#237-R1-force +#238-gcc-R1 diff --git a/jenkins/notify-full.log b/jenkins/notify-full.log index a2044ff..bbce4df 100644 --- a/jenkins/notify-full.log +++ b/jenkins/notify-full.log @@ -1,26 +1,26 @@ ++ pwd ++ cat -+ remote_exec tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ./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 tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ./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 tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -d: -f 1 -+ host=tcwg-jade-06 ++ host=tcwg-snow-02 + local port -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 2 + port= + local dir -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 3 -+ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_4 ++ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_0 + local opts -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 4 -+ opts=-p33842 ++ opts=-p38705 + local env_vars -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ++ cut -s -d: -f 5 +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: + env_vars= + shift + local -a cmd @@ -58,10 +58,10 @@ + for i in "$@" + cmd+=("$(printf '%q' "$i")") ++ printf %q tcwg_gnu-build.sh -++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_4 -+ ssh -p33842 tcwg-jade-06 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_4 && 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' +++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_0 ++ ssh -p38705 tcwg-snow-02 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_0 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh' -/home/tcwg-buildslave/workspace/tcwg_gnu_4/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_0/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true __build_script tcwg_gnu-build.sh + false + dryrun= @@ -70,8 +70,8 @@ + declare -a changed_components + declare print_commits_f print_result_f print_config_f print_last_icommit_f + dump_model_only=false -+ setup_notify_environment # setup_notify_environment ++ setup_notify_environment + echo '# setup_notify_environment' + top_artifacts=artifacts ++ get_current_manifest '{rr[ci_project]}' @@ -81,37 +81,37 @@ ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x -+ ci_config=master-aarch64-bootstrap_ubsan # Debug traces : ++ ci_config=master-aarch64-bootstrap_ubsan + 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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/235/ -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/235/' +# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ # Using dir : base-artifacts ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/' + 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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/' +# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/ # Using dir : artifacts ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' + set +x +# check_source_changes + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes -# check_source_changes + echo '# check_source_changes' ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x -+ '[' force '!=' init ']' ++ '[' onsuccess '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components @@ -121,18 +121,94 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' ++++ echo -ne gcc ++++ delim=' ' +++ echo +++ for c in $(print_updated_components) ++++ get_current_git gcc_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/gcc_rev ++++ get_baseline_git gcc_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/gcc_rev +++ '[' x8be20f3b0bded7f9b690b27cbee58b283dbe827b '!=' x5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ']' +++ echo -ne gcc +++ delim=' ' ++ echo + local c base_rev cur_rev c_commits -+ '[' 0 = 0 ']' -+ change_kind=no_change ++ '[' 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ 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 ++ last_good=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ++ local res ++ res=0 ++ wait 280096 ++ 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 +++ 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ git -C gcc rev-parse '8be20f3b0bded7f9b690b27cbee58b283dbe827b^@' # Debug traces : -# change_kind=no_change : - -+ changed_single_component= +# change_kind=single_component : gcc ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 3179ad72f67f31824c444ef30ef171ad7495d274 = 5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ']' ++ return 1 ++ change_kind=single_component + echo '# Debug traces :' -+ echo '# change_kind=no_change : ' ++ echo '# change_kind=single_component : gcc' ++ for c in "${changed_components[@]}" +++ get_baseline_git gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ base_rev=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ git -C gcc rev-list --count 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b ++ c_commits=71 +# rev for gcc : 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b (71 commits) + ++ echo '# rev for gcc : 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b (71 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -155,11 +231,11 @@ + generate_extra_details_f=gnu_generate_extra_details + print_config_f=gnu_print_config + post_interesting_commits init -+ set -euf -o pipefail # post_interesting_commits ++ set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' no_change '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return + '[' full '!=' full ']' + gnu_generate_extra_details @@ -169,14 +245,14 @@ + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false -+ '[' xno_change '!=' xsingle_commit ']' ++ '[' xsingle_component '!=' xsingle_commit ']' + return + post_interesting_commits full -+ set -euf -o pipefail # post_interesting_commits ++ set -euf -o pipefail + echo '# post_interesting_commits' + local stage=full -+ '[' no_change '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return + true + generate_jira_dir @@ -187,7 +263,7 @@ ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 -++ '[' xno_change '!=' xsingle_commit ']' +++ '[' xsingle_component '!=' xsingle_commit ']' ++ return 0 + icommit_entry= + '[' '' '!=' '' ']' @@ -215,9 +291,9 @@ +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x -++ url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/artifact/artifacts +++ url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/artifact/artifacts ++ '[' '' '!=' '' ']' -++ echo 'https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/artifact/artifacts/notify/mail-body.txt/*view*/' +++ echo 'https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/artifact/artifacts/notify/mail-body.txt/*view*/' # print all notification files + echo '# print all notification files' + true @@ -225,16 +301,538 @@ + 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["gcc-regression@gcc.gnu.org"]=cc_postcommit ++ 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b ++ read -r email +++ git -C gcc log --pretty=%ae 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ emails["$email"]=cc ++ read -r email ++ local precommit_postcommit=postcommit + '[' '' = '' ']' -+ 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b ++ read -r email +++ git -C gcc log --pretty=%ce 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ emails["$email"]=to ++ read -r email ++ unset 'emails[author]' 'emails[committer]' ++ local type ++ recipients=() ++ local -a recipients ++ for email in "${!emails[@]}" ++ type=cc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=bcc ++ case "$precommit_postcommit:$type" in ++ 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=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=cc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=cc_postcommit ++ case "$precommit_postcommit:$type" in ++ type=cc ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=cc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ 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") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=cc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=to ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$email") ++ for email in "${!emails[@]}" ++ type=cc ++ case "$precommit_postcommit:$type" in ++ case "$type" in ++ recipients+=("$type:$email") ++ IFS=, ++ echo cc:jun.zhang@intel.com,fweimer@redhat.com,hp@bitrange.com,bcc:tcwg-validation@linaro.org,cc:yangyujie@loongson.cn,jakub@redhat.com,gaiusmod2@gmail.com,cc:mary.bennett@embecosm.com,cc:gcc-regression@gcc.gnu.org,amacleod@redhat.com,kito.cheng@sifive.com,cc:zewei.mo@intel.com,pault@gcc.gnu.org,tamar.christina@arm.com,meissner@linux.ibm.com,tobias@codesourcery.com,cc:juzhe.zhong@rivai.ai,jlaw@ventanamicro.com,hongyu.wang@intel.com,avr@gjlay.de,lehua.ding@rivai.ai,rguenther@suse.de,chenglulu@loongson.cn,gccadmin@gcc.gnu.org,pinskia@gmail.com,pan2.li@intel.com,cc:hp@axis.com,hongtao.liu@intel.com,christoph.muellner@vrull.eu,alex.coplan@arm.com,lin1.hu@intel.com,linkw@linux.ibm.com,cc:panchenghui@loongson.cn ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline -++ '[' no_change = no_change ']' -++ echo 'baseline build' +++ '[' single_component = no_change ']' +++ local more_lines +++ '[' single_component = single_commit ']' +++ '[' single_component = single_component ']' +++ local new_commits c base_rev cur_rev c_commits components +++ local commits_or_patches +++ '[' '' '!=' '' ']' +++ commits_or_patches=commits +++ new_commits=0 +++ for c in "${changed_components[@]}" ++++ get_baseline_git 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ++++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b ++++ git -C gcc rev-list --count 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ c_commits=71 +++ new_commits=71 ++++ echo gcc ++++ tr ' ' , +++ components=gcc +++ echo '71 commits in gcc' +++ '[' --oneline = --oneline ']' ++ return 0 ++ gnu_print_result --oneline ++ false @@ -249,7 +847,7 @@ ++ return 0 ++ gnu_print_config --oneline ++ false -++ . /home/tcwg-buildslave/workspace/tcwg_gnu_4/jenkins-scripts/tcwg_gnu-config.sh +++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/tcwg_gnu-config.sh ++ gcc_override_configure=() ++ local -a gcc_override_configure ++ gcc_target_board_options=() @@ -298,21 +896,21 @@ ++ case "$print_arg" in ++ case "$ci_config" in ++ echo aarch64 -+ echo '[Linaro-TCWG-CI]' 'baseline build: Success on aarch64' ++ echo '[Linaro-TCWG-CI]' '71 commits in gcc: Success on aarch64' + 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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/artifact/artifacts ++ bad_artifacts_url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/235/artifact/artifacts ++ good_artifacts_url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/artifact/artifacts + cat ++ gnu_print_config --short ++ false -++ . /home/tcwg-buildslave/workspace/tcwg_gnu_4/jenkins-scripts/tcwg_gnu-config.sh +++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/tcwg_gnu-config.sh ++ gcc_override_configure=() ++ local -a gcc_override_configure ++ gcc_target_board_options=() @@ -356,13 +954,63 @@ ++ local print_arg=--short ++ case "$print_arg" in ++ echo 'bootstrap_build master-aarch64-bootstrap_ubsan' -++ print_commits --short ++ sed -e 's/^/ | /' +++ print_commits --short ++ set -euf -o pipefail ++ false ++ local print_arg=--short -++ '[' no_change = no_change ']' -++ echo 'baseline build' +++ '[' single_component = no_change ']' +++ local more_lines +++ '[' single_component = single_commit ']' +++ '[' single_component = single_component ']' +++ local new_commits c base_rev cur_rev c_commits components +++ local commits_or_patches +++ '[' '' '!=' '' ']' +++ commits_or_patches=commits +++ new_commits=0 +++ for c in "${changed_components[@]}" ++++ get_baseline_git 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ++++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b ++++ git -C gcc rev-list --count 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ c_commits=71 +++ new_commits=71 ++++ echo gcc ++++ tr ' ' , +++ components=gcc +++ echo '71 commits in gcc' +++ '[' --short = --oneline ']' +++ for c in "${changed_components[@]}" ++++ get_baseline_git gcc_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/gcc_rev +++ base_rev=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ++++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b ++++ git -C gcc rev-list --count 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ c_commits=71 +++ '[' '' '!=' '' ']' +++ git -C gcc log -n 5 --oneline 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ '[' 71 -gt 5 ']' +++ echo '... and 66 more commits in gcc' +++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short ++ false @@ -392,7 +1040,7 @@ ++ return 0 ++ gnu_print_config --long ++ false -++ . /home/tcwg-buildslave/workspace/tcwg_gnu_4/jenkins-scripts/tcwg_gnu-config.sh +++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/tcwg_gnu-config.sh ++ gcc_override_configure=() ++ local -a gcc_override_configure ++ gcc_target_board_options=() @@ -440,38 +1088,38 @@ ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'CI config tcwg_bootstrap_build/master-aarch64-bootstrap_ubsan' -+ '[' no_change '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return # generate dashboard + echo '# generate dashboard' + generate_dashboard_squad ++ local results_date # generate_dashboard_squad ... Skipping -+ local results_date +# post_dashboard_squad +... Skipping + echo '# generate_dashboard_squad' + false + echo '... Skipping' + return + post_dashboard_squad -# post_dashboard_squad + echo '# post_dashboard_squad' -... Skipping + false + echo '... Skipping' + return + generate_lnt_report -+ wait 280432 ++ wait 280261 +# generate_lnt_report + set -euf -o pipefail + echo '# generate_lnt_report' -# generate_lnt_report + true + case "$ci_project" in -+ . /home/tcwg-buildslave/workspace/tcwg_gnu_4/jenkins-scripts/lnt-utils.sh ++ . /home/tcwg-buildslave/workspace/tcwg_gnu_0/jenkins-scripts/lnt-utils.sh ++ get_current_manifest BUILD_URL ++ get_manifest artifacts/manifest.sh BUILD_URL ++ set +x -+ generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ tcwg_bootstrap_build master-aarch64-bootstrap_ubsan artifacts/sumfiles artifacts/notify/lnt_report.json -+ local build_url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ ++ generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/ tcwg_bootstrap_build master-aarch64-bootstrap_ubsan artifacts/sumfiles artifacts/notify/lnt_report.json ++ local build_url=https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/ + local ci_project=tcwg_bootstrap_build + local ci_config=master-aarch64-bootstrap_ubsan + local sumfiles_dir=artifacts/sumfiles @@ -485,8 +1133,8 @@ find: ‘artifacts/sumfiles’: No such file or directory + false + post_to_jira + set -euf -o pipefail -# post_to_jira + echo '# post_to_jira' +# post_to_jira + local post_card_comment=false + local post_template_comment=false + false diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log index 32ae55c..ac783ae 100644 --- a/jenkins/notify-init.log +++ b/jenkins/notify-init.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh ++ remote_exec tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ./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 tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -d: -f 1 -+ host=tcwg-jade-06 ++ host=tcwg-snow-02 + local port -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 2 + port= + local dir -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 3 -+ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_4 ++ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_0 + local opts -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 4 -+ opts=-p33842 ++ opts=-p38705 + local env_vars -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 5 + env_vars= + shift @@ -58,10 +58,10 @@ + for i in "$@" + cmd+=("$(printf '%q' "$i")") ++ printf %q tcwg_gnu-build.sh -++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_4 -+ ssh -p33842 tcwg-jade-06 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_4 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh' +++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_0 ++ ssh -p38705 tcwg-snow-02 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_0 && 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_4/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_0/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh + false + dryrun= @@ -70,8 +70,8 @@ + declare -a changed_components + declare print_commits_f print_result_f print_config_f print_last_icommit_f + dump_model_only=false -+ setup_notify_environment # setup_notify_environment ++ setup_notify_environment + echo '# setup_notify_environment' + top_artifacts=artifacts ++ get_current_manifest '{rr[ci_project]}' @@ -81,37 +81,37 @@ ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x -+ ci_config=master-aarch64-bootstrap_ubsan # Debug traces : ++ ci_config=master-aarch64-bootstrap_ubsan + 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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/235/ -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/235/' -+ echo '# Using dir : base-artifacts' +# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ # Using dir : base-artifacts ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/' ++ 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_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/ -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/237/' -+ echo '# Using dir : artifacts' +# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/ # Using dir : artifacts ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_bootstrap_build--master-aarch64-bootstrap_ubsan-build/238/' ++ echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify + '[' -f /home/tcwg-buildslave/.jipdate.yml ']' +# check_source_changes + set +x + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes + echo '# check_source_changes' -# check_source_changes ++ get_current_manifest '{rr[update_baseline]}' ++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}' ++ set +x -+ '[' force '!=' init ']' ++ '[' onsuccess '!=' init ']' + IFS=' ' + read -r -a changed_components ++ print_changed_components @@ -121,18 +121,94 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' ++++ echo -ne gcc ++++ delim=' ' +++ echo +++ for c in $(print_updated_components) ++++ get_current_git gcc_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/gcc_rev ++++ get_baseline_git gcc_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/gcc_rev +++ '[' x8be20f3b0bded7f9b690b27cbee58b283dbe827b '!=' x5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ']' +++ echo -ne gcc +++ delim=' ' ++ echo + local c base_rev cur_rev c_commits -+ '[' 0 = 0 ']' -+ change_kind=no_change ++ '[' 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ 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 ++ last_good=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ++ local res ++ res=0 ++ wait 279983 ++ 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 +++ 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=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ git -C gcc rev-parse '8be20f3b0bded7f9b690b27cbee58b283dbe827b^@' ++ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") ++ '[' 3179ad72f67f31824c444ef30ef171ad7495d274 = 5ef248c15ec3490f4b98cda4bc27a667a8cf8206 ']' ++ return 1 # Debug traces : -# change_kind=no_change : - -+ changed_single_component= +# change_kind=single_component : gcc ++ change_kind=single_component + echo '# Debug traces :' -+ echo '# change_kind=no_change : ' ++ echo '# change_kind=single_component : gcc' ++ for c in "${changed_components[@]}" +++ get_baseline_git gcc_rev +++ set -euf -o pipefail +++ local base_artifacts=base-artifacts +++ assert_with_msg 'ERROR: No gcc_rev in baseline git' '[' -f base-artifacts/git/gcc_rev ']' +++ set -euf -o pipefail +x +++ cat base-artifacts/git/gcc_rev ++ base_rev=5ef248c15ec3490f4b98cda4bc27a667a8cf8206 +++ 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=8be20f3b0bded7f9b690b27cbee58b283dbe827b +++ git -C gcc rev-list --count 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b +# rev for gcc : 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b (71 commits) + ++ c_commits=71 ++ echo '# rev for gcc : 5ef248c15ec3490f4b98cda4bc27a667a8cf8206..8be20f3b0bded7f9b690b27cbee58b283dbe827b (71 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -155,13 +231,13 @@ + generate_extra_details_f=gnu_generate_extra_details + print_config_f=gnu_print_config + post_interesting_commits init -+ set -euf -o pipefail # post_interesting_commits ++ set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' no_change '!=' single_commit ']' ++ '[' single_component '!=' single_commit ']' + return +Init stage ran successfully. + '[' init '!=' full ']' + echo 'Init stage ran successfully.' -Init stage ran successfully. + exit 0 diff --git a/jenkins/rewrite.log b/jenkins/rewrite.log index 98db445..81e5975 100644 --- a/jenkins/rewrite.log +++ b/jenkins/rewrite.log @@ -1,26 +1,26 @@ ++ pwd ++ cat -+ remote_exec tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ./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 tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ./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 tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -d: -f 1 -+ host=tcwg-jade-06 ++ host=tcwg-snow-02 + local port -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 2 + port= + local dir -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ cut -s -d: -f 3 -+ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_4 ++ dir=/home/tcwg-buildslave/workspace/tcwg_gnu_0 + local opts -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ++ cut -s -d: -f 4 -+ opts=-p33842 +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: ++ opts=-p38705 + local env_vars -++ echo tcwg-jade-06::/home/tcwg-buildslave/workspace/tcwg_gnu_4:-p33842: ++ cut -s -d: -f 5 +++ echo tcwg-snow-02::/home/tcwg-buildslave/workspace/tcwg_gnu_0:-p38705: + env_vars= + shift + local -a cmd @@ -58,8 +58,8 @@ + for i in "$@" + cmd+=("$(printf '%q' "$i")") ++ printf %q 100 -++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_4 -+ ssh -p33842 tcwg-jade-06 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_4 && 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' +++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_0 ++ ssh -p38705 tcwg-snow-02 'cd /home/tcwg-buildslave/workspace/tcwg_gnu_0 && 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 04daef4..03eb170 100644 --- a/jenkins/run-build.env +++ b/jenkins/run-build.env @@ -1,12 +1,13 @@ -build_name="#237" +build_name="#238" docker_opts=(--distro default --arch arm64 --node -tcwg-jade-06 ) +tcwg-snow-02 ) source build_container.sh trap "cleanup_all_containers" EXIT -build_name="#237" -branch_opt=() -build_name="#237-R1-force" +build_name="#238-gcc" +branch_opt=(==rr\[gcc_git\] +https://github.com/gcc-mirror/gcc.git#master ) +build_name="#238-gcc-R1" |