From 422e9bade75400ac43d52d709fe7d9e53dc16b3a Mon Sep 17 00:00:00 2001 From: TCWG BuildSlave Date: Mon, 23 Oct 2023 16:16:26 +0000 Subject: onsuccess: #457: 1: [TCWG CI] https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/ Results : | # reset_artifacts: | -10 | # true: | 0 | # build_abe binutils: | 1 | # build_abe stage1 --: | # FAILED | # build_abe linux: | # build_abe glibc: | # build_abe stage2 --: | # build_abe gdb: | # build_abe qemu: check_regression status : 0 --- jenkins/build-name | 2 +- jenkins/notify-full.log | 438 +++++++++++++++++++++++++----------------------- jenkins/notify-init.log | 201 ++++++++++++++-------- jenkins/rewrite.log | 18 +- jenkins/run-build.env | 20 ++- 5 files changed, 382 insertions(+), 297 deletions(-) (limited to 'jenkins') diff --git a/jenkins/build-name b/jenkins/build-name index 34a7162..aeeb618 100644 --- a/jenkins/build-name +++ b/jenkins/build-name @@ -1 +1 @@ -#456-gcc-R# build_abe qemu: +#457-binutils-gcc-gdb-glibc-linux-qemu-R# build_abe qemu: diff --git a/jenkins/notify-full.log b/jenkins/notify-full.log index 0b56c70..ec1ad92 100644 --- a/jenkins/notify-full.log +++ b/jenkins/notify-full.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: ./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-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ./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-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -d: -f 1 -+ host=build-08.tcwglab ++ host=build-05.tcwglab + local port -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 4 -+ opts=-p50018 ++ opts=-p52179 + local env_vars -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ 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 -p50018 build-08.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 -p52179 build-05.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_cross_build--master-aarch64-build/455/ +# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/ # Using dir : base-artifacts -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/455/' ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/' + 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_cross_build--master-aarch64-build/456/ +# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/ # Using dir : artifacts -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/' ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify @@ -121,21 +121,46 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' ++++ echo -ne binutils ++++ delim=' ' +++ for c in ${rr[components]} +++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' -+++ echo -ne gcc ++++ echo -ne ' gcc' +++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://git.linaro.org/kernel-org/linux.git#master '!=' xbaseline ']' ++++ echo -ne ' linux' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/glibc.git#master '!=' xbaseline ']' ++++ echo -ne ' glibc' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' ++++ echo -ne ' gdb' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://gitlab.com/qemu-project/qemu.git#master '!=' xbaseline ']' ++++ echo -ne ' qemu' ++++ delim=' ' +++ echo ++ for c in $(print_updated_components) ++++ get_current_git binutils_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/binutils_rev ++++ get_baseline_git binutils_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/binutils_rev +++ '[' xa0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 '!=' xe2c04ee000796100890bd176eeb2412f722b7e3f ']' +++ echo -ne binutils +++ delim=' ' +++ for c in $(print_updated_components) +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' @@ -147,59 +172,89 @@ +++ 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 -++ '[' x47b634a308c59f728783513123e7a9576fdc82aa '!=' x8abddb187b33480d8827f44ec655f45734a1749d ']' -++ echo -ne gcc +++ '[' x458db9b6149b2e9bef94ab76909eb914ed9f675a '!=' x47b634a308c59f728783513123e7a9576fdc82aa ']' +++ echo -ne ' gcc' ++ delim=' ' +++ for c in $(print_updated_components) ++++ get_current_git linux_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No linux_rev in current git' '[' -f artifacts/git/linux_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/linux_rev ++++ get_baseline_git linux_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No linux_rev in baseline git' '[' -f base-artifacts/git/linux_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/linux_rev +++ '[' x9c5d00cb7b6bbc5a7965d9ab7d223b5402d1f02c '!=' x9c5d00cb7b6bbc5a7965d9ab7d223b5402d1f02c ']' +++ for c in $(print_updated_components) ++++ get_current_git glibc_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No glibc_rev in current git' '[' -f artifacts/git/glibc_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/glibc_rev ++++ get_baseline_git glibc_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No glibc_rev in baseline git' '[' -f base-artifacts/git/glibc_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/glibc_rev +++ '[' x2aa0974d2573441bffd596b07bff8698b1f2f18c '!=' x2aa0974d2573441bffd596b07bff8698b1f2f18c ']' +++ for c in $(print_updated_components) ++++ get_current_git gdb_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/gdb_rev ++++ get_baseline_git gdb_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/gdb_rev +++ '[' x0e17d3fc080f543d81e6c2520ba0bd8046ea3a95 '!=' x0e17d3fc080f543d81e6c2520ba0bd8046ea3a95 ']' +++ for c in $(print_updated_components) ++++ get_current_git qemu_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No qemu_rev in current git' '[' -f artifacts/git/qemu_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/qemu_rev ++++ get_baseline_git qemu_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No qemu_rev in baseline git' '[' -f base-artifacts/git/qemu_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/qemu_rev +++ '[' x384dbdda94c0bba55bf186cccd3714bbb9b737e9 '!=' x384dbdda94c0bba55bf186cccd3714bbb9b737e9 ']' ++ echo +# Debug traces : +# change_kind=multiple_components : binutils gcc + local c base_rev cur_rev c_commits -+ '[' 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=47b634a308c59f728783513123e7a9576fdc82aa -++ get_baseline_git gcc_rev ++ '[' 2 = 0 ']' ++ '[' 2 = 1 ']' ++ change_kind=multiple_components ++ changed_single_component= ++ echo '# Debug traces :' ++ echo '# change_kind=multiple_components : binutils gcc' ++ for c in "${changed_components[@]}" +++ get_baseline_git binutils_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 ']' +++ 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/gcc_rev -+ last_good=8abddb187b33480d8827f44ec655f45734a1749d -+ local res -+ res=0 -+ wait 104561 -+ 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 +++ cat base-artifacts/git/binutils_rev ++ base_rev=e2c04ee000796100890bd176eeb2412f722b7e3f +++ get_current_git binutils_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 ']' +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x -++ cat base-artifacts/git/gcc_rev -+ base_rev=8abddb187b33480d8827f44ec655f45734a1749d -++ 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=47b634a308c59f728783513123e7a9576fdc82aa -++ git -C gcc rev-parse '47b634a308c59f728783513123e7a9576fdc82aa^@' -+ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") -+ '[' a0673ec5f9236dca6ada23f28343c591ccd575e4 = 8abddb187b33480d8827f44ec655f45734a1749d ']' -+ return 1 -# Debug traces : -# change_kind=single_component : gcc -+ change_kind=single_component -+ echo '# Debug traces :' -+ echo '# change_kind=single_component : gcc' +++ cat artifacts/git/binutils_rev ++ cur_rev=a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ git -C binutils rev-list --count e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +# rev for binutils : e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 (14 commits) ++ c_commits=14 ++ echo '# rev for binutils : e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 (14 commits)' + for c in "${changed_components[@]}" ++ get_baseline_git gcc_rev ++ set -euf -o pipefail @@ -207,18 +262,18 @@ ++ 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=8abddb187b33480d8827f44ec655f45734a1749d ++ base_rev=47b634a308c59f728783513123e7a9576fdc82aa ++ 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=47b634a308c59f728783513123e7a9576fdc82aa -++ git -C gcc rev-list --count 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -# rev for gcc : 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa (5 commits) ++ cur_rev=458db9b6149b2e9bef94ab76909eb914ed9f675a +++ git -C gcc rev-list --count 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +# rev for gcc : 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a (38 commits) -+ c_commits=5 -+ echo '# rev for gcc : 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa (5 commits)' ++ c_commits=38 ++ echo '# rev for gcc : 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a (38 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -245,7 +300,7 @@ + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' single_component '!=' single_commit ']' ++ '[' multiple_components '!=' single_commit ']' + return + '[' full '!=' full ']' + gnu_generate_extra_details @@ -255,14 +310,14 @@ + check_if_first_report + declare -g first_icommit_to_report + first_icommit_to_report=false -+ '[' xsingle_component '!=' xsingle_commit ']' ++ '[' xmultiple_components '!=' xsingle_commit ']' + return + post_interesting_commits full # post_interesting_commits + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=full -+ '[' single_component '!=' single_commit ']' ++ '[' multiple_components '!=' single_commit ']' + return + true + generate_jira_dir @@ -273,7 +328,7 @@ ++ set -euf -o pipefail ++ local print_arg=--entry ++ shift 1 -++ '[' xsingle_component '!=' xsingle_commit ']' +++ '[' xmultiple_components '!=' xsingle_commit ']' ++ return 0 + icommit_entry= + '[' '' '!=' '' ']' @@ -301,9 +356,9 @@ +++ get_current_manifest BUILD_URL +++ get_manifest artifacts/manifest.sh BUILD_URL +++ set +x -++ url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/artifact/artifacts +++ url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/artifact/artifacts ++ '[' '' '!=' '' ']' -++ echo 'https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/artifact/artifacts/notify/mail-body.txt/*view*/' +++ echo 'https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/artifact/artifacts/notify/mail-body.txt/*view*/' # print all notification files + echo '# print all notification files' + true @@ -311,128 +366,62 @@ + set -euf -o pipefail + print_mail_recipients + set -euf -o pipefail -+ 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=8abddb187b33480d8827f44ec655f45734a1749d -++ 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=47b634a308c59f728783513123e7a9576fdc82aa -+ read -r email -++ git -C gcc log --pretty=%ae 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -+ 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 ++ local c= + '[' '' = '' ']' -++ 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=8abddb187b33480d8827f44ec655f45734a1749d -++ 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=47b634a308c59f728783513123e7a9576fdc82aa -+ read -r email -++ git -C gcc log --pretty=%ce 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -+ 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=bcc -+ 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=cc -+ case "$precommit_postcommit:$type" in -+ case "$type" in -+ recipients+=("$type:$email") -+ IFS=, -+ echo bcc:tcwg-validation@linaro.org,cc:gcc-regression@gcc.gnu.org,iain@sandoe.co.uk,cc:fxcoudert@gcc.gnu.org ++ echo bcc:tcwg-validation@linaro.org ++ return 0 ++ print_commits --oneline ++ set -euf -o pipefail ++ false ++ local print_arg=--oneline -++ '[' single_component = no_change ']' +++ '[' multiple_components = no_change ']' ++ local more_lines -++ '[' single_component = single_commit ']' -++ '[' single_component = single_component ']' +++ '[' multiple_components = single_commit ']' +++ '[' multiple_components = single_component ']' +++ '[' multiple_components = multiple_components ']' ++ 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 ++++ 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=e2c04ee000796100890bd176eeb2412f722b7e3f ++++ 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=a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 ++++ git -C binutils rev-list --count e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ c_commits=14 +++ new_commits=14 +++ 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=8abddb187b33480d8827f44ec655f45734a1749d +++ base_rev=47b634a308c59f728783513123e7a9576fdc82aa +++ 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=47b634a308c59f728783513123e7a9576fdc82aa -+++ git -C gcc rev-list --count 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -++ c_commits=5 -++ new_commits=5 -+++ echo gcc +++ cur_rev=458db9b6149b2e9bef94ab76909eb914ed9f675a ++++ git -C gcc rev-list --count 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +++ c_commits=38 +++ new_commits=52 ++++ echo binutils gcc +++ tr ' ' , -++ components=gcc -++ echo '5 commits in gcc' +++ components=binutils,gcc +++ echo '52 commits in binutils,gcc' ++ '[' --oneline = --oneline ']' ++ return 0 ++ gnu_print_result --oneline @@ -494,17 +483,17 @@ ++ case "$print_arg" in ++ case "$ci_config" in ++ echo aarch64 -+ echo '[Linaro-TCWG-CI]' '5 commits in gcc: Success on aarch64' ++ echo '[Linaro-TCWG-CI]' '52 commits in binutils,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_gnu_cross_build--master-aarch64-build/456/artifact/artifacts ++ bad_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/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_cross_build--master-aarch64-build/455/artifact/artifacts ++ good_artifacts_url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/artifact/artifacts + cat ++ gnu_print_config --short ++ false @@ -554,56 +543,96 @@ ++ set -euf -o pipefail ++ false ++ local print_arg=--short -++ '[' single_component = no_change ']' +++ '[' multiple_components = no_change ']' ++ local more_lines -++ '[' single_component = single_commit ']' -++ '[' single_component = single_component ']' +++ '[' multiple_components = single_commit ']' +++ '[' multiple_components = single_component ']' +++ '[' multiple_components = multiple_components ']' ++ 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 ++++ 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=e2c04ee000796100890bd176eeb2412f722b7e3f ++++ 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=a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 ++++ git -C binutils rev-list --count e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ c_commits=14 +++ new_commits=14 +++ 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=8abddb187b33480d8827f44ec655f45734a1749d +++ base_rev=47b634a308c59f728783513123e7a9576fdc82aa +++ 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=47b634a308c59f728783513123e7a9576fdc82aa -+++ git -C gcc rev-list --count 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -++ c_commits=5 -++ new_commits=5 -+++ echo gcc +++ cur_rev=458db9b6149b2e9bef94ab76909eb914ed9f675a ++++ git -C gcc rev-list --count 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +++ c_commits=38 +++ new_commits=52 ++++ echo binutils gcc +++ tr ' ' , -++ components=gcc -++ echo '5 commits in gcc' +++ components=binutils,gcc +++ echo '52 commits in binutils,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=e2c04ee000796100890bd176eeb2412f722b7e3f ++++ 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=a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 ++++ git -C binutils rev-list --count e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ c_commits=14 +++ '[' '' '!=' '' ']' +++ git -C binutils log -n 5 --oneline e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ '[' 14 -gt 5 ']' +++ echo '... and 9 more commits in binutils' +++ '[' '' '!=' '' ']' +++ 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=8abddb187b33480d8827f44ec655f45734a1749d +++ base_rev=47b634a308c59f728783513123e7a9576fdc82aa +++ 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=47b634a308c59f728783513123e7a9576fdc82aa -+++ git -C gcc rev-list --count 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -++ c_commits=5 +++ cur_rev=458db9b6149b2e9bef94ab76909eb914ed9f675a ++++ git -C gcc rev-list --count 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +++ c_commits=38 ++ '[' '' '!=' '' ']' -++ git -C gcc log -n 5 --oneline 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -++ '[' 5 -gt 5 ']' +++ git -C gcc log -n 5 --oneline 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +++ '[' 38 -gt 5 ']' +++ echo '... and 33 more commits in gcc' ++ '[' '' '!=' '' ']' ++ return 0 ++ gnu_print_result --short @@ -644,16 +673,7 @@ # build_abe glibc: # build_abe stage2 --: # build_abe gdb: -# build_abe qemu: -# First few build errors in logs: -# 00:05:44 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgcc/config/aarch64/heap-trampoline.c:3:10: fatal error: unistd.h: No such file or directory -# 00:05:44 make[2]: *** [/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgcc/static-object.mk:17: heap-trampoline.o] Error 1 -# 00:05:44 make[1]: *** [Makefile:12984: all-target-libgcc] Error 2 -# 00:05:44 make: *** [Makefile:1034: all] Error 2 -# 00:05:35 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgcc/config/aarch64/heap-trampoline.c:3:10: fatal error: unistd.h: No such file or directory -# 00:05:35 make[2]: *** [/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgcc/static-object.mk:17: heap-trampoline.o] Error 1 -# 00:05:37 make[1]: *** [Makefile:12984: all-target-libgcc] Error 2 -# 00:05:39 make: *** [Makefile:1034: all] Error 2' +# build_abe qemu:' ++ return 0 ++ gnu_print_config --long ++ false @@ -702,7 +722,7 @@ ++ local print_arg=--long ++ case "$print_arg" in ++ echo 'CI config tcwg_gnu_cross_build/master-aarch64' -+ '[' single_component '!=' single_commit ']' ++ '[' multiple_components '!=' single_commit ']' + return # generate dashboard # generate_dashboard_squad @@ -722,9 +742,9 @@ + echo '... Skipping' + return + generate_lnt_report -+ wait 104717 -+ set -euf -o pipefail ++ wait 9425 # generate_lnt_report ++ set -euf -o pipefail + echo '# generate_lnt_report' + true + case "$ci_project" in @@ -732,8 +752,8 @@ ++ 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_gnu_cross_build--master-aarch64-build/456/ tcwg_gnu_cross_build master-aarch64 artifacts/sumfiles artifacts/notify/lnt_report.json -+ local build_url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/ ++ generate_lnt_gnu_check_report https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/ tcwg_gnu_cross_build master-aarch64 artifacts/sumfiles artifacts/notify/lnt_report.json ++ local build_url=https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/ + local ci_project=tcwg_gnu_cross_build + local ci_config=master-aarch64 + local sumfiles_dir=artifacts/sumfiles diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log index a2260cc..8f932cc 100644 --- a/jenkins/notify-init.log +++ b/jenkins/notify-init.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: ./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-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ./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-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -d: -f 1 -+ host=build-08.tcwglab ++ host=build-05.tcwglab + local port -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 4 -+ opts=-p50018 ++ opts=-p52179 + local env_vars -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ 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 -p50018 build-08.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 -p52179 build-05.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 @@ -78,26 +78,26 @@ ++ get_manifest artifacts/manifest.sh '{rr[ci_project]}' ++ set +x + ci_project=tcwg_gnu_cross_build -# Debug traces : -# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/455/ -# Using dir : base-artifacts ++ get_current_manifest '{rr[ci_config]}' ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x +# Debug traces : + ci_config=master-aarch64 + echo '# Debug traces :' ++ get_baseline_manifest BUILD_URL ++ get_manifest base-artifacts/manifest.sh BUILD_URL false ++ set +x -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/455/' +# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/ +# Using dir : base-artifacts ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/' + 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_cross_build--master-aarch64-build/456/ +# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/ # Using dir : artifacts -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/456/' ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gnu_cross_build--master-aarch64-build/457/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify @@ -121,21 +121,46 @@ +++ set -euf -o pipefail +++ local c delim= +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' ++++ echo -ne binutils ++++ delim=' ' +++ for c in ${rr[components]} +++ '[' xhttps://github.com/gcc-mirror/gcc.git#master '!=' xbaseline ']' -+++ echo -ne gcc ++++ echo -ne ' gcc' +++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://git.linaro.org/kernel-org/linux.git#master '!=' xbaseline ']' ++++ echo -ne ' linux' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/glibc.git#master '!=' xbaseline ']' ++++ echo -ne ' glibc' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']' ++++ echo -ne ' gdb' ++++ delim=' ' +++ for c in ${rr[components]} -+++ '[' xbaseline '!=' xbaseline ']' ++++ '[' xhttps://gitlab.com/qemu-project/qemu.git#master '!=' xbaseline ']' ++++ echo -ne ' qemu' ++++ delim=' ' +++ echo ++ for c in $(print_updated_components) ++++ get_current_git binutils_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/binutils_rev ++++ get_baseline_git binutils_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/binutils_rev +++ '[' xa0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 '!=' xe2c04ee000796100890bd176eeb2412f722b7e3f ']' +++ echo -ne binutils +++ delim=' ' +++ for c in $(print_updated_components) +++ get_current_git gcc_rev +++ set -euf -o pipefail +++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' @@ -147,59 +172,89 @@ +++ 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 -++ '[' x47b634a308c59f728783513123e7a9576fdc82aa '!=' x8abddb187b33480d8827f44ec655f45734a1749d ']' -++ echo -ne gcc +++ '[' x458db9b6149b2e9bef94ab76909eb914ed9f675a '!=' x47b634a308c59f728783513123e7a9576fdc82aa ']' +++ echo -ne ' gcc' ++ delim=' ' +++ for c in $(print_updated_components) ++++ get_current_git linux_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No linux_rev in current git' '[' -f artifacts/git/linux_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/linux_rev ++++ get_baseline_git linux_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No linux_rev in baseline git' '[' -f base-artifacts/git/linux_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/linux_rev +++ '[' x9c5d00cb7b6bbc5a7965d9ab7d223b5402d1f02c '!=' x9c5d00cb7b6bbc5a7965d9ab7d223b5402d1f02c ']' +++ for c in $(print_updated_components) ++++ get_current_git glibc_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No glibc_rev in current git' '[' -f artifacts/git/glibc_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/glibc_rev ++++ get_baseline_git glibc_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No glibc_rev in baseline git' '[' -f base-artifacts/git/glibc_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/glibc_rev +++ '[' x2aa0974d2573441bffd596b07bff8698b1f2f18c '!=' x2aa0974d2573441bffd596b07bff8698b1f2f18c ']' +++ for c in $(print_updated_components) ++++ get_current_git gdb_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No gdb_rev in current git' '[' -f artifacts/git/gdb_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/gdb_rev ++++ get_baseline_git gdb_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No gdb_rev in baseline git' '[' -f base-artifacts/git/gdb_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/gdb_rev +++ '[' x0e17d3fc080f543d81e6c2520ba0bd8046ea3a95 '!=' x0e17d3fc080f543d81e6c2520ba0bd8046ea3a95 ']' +++ for c in $(print_updated_components) ++++ get_current_git qemu_rev ++++ set -euf -o pipefail ++++ assert_with_msg 'ERROR: No qemu_rev in current git' '[' -f artifacts/git/qemu_rev ']' ++++ set -euf -o pipefail +x ++++ cat artifacts/git/qemu_rev ++++ get_baseline_git qemu_rev ++++ set -euf -o pipefail ++++ local base_artifacts=base-artifacts ++++ assert_with_msg 'ERROR: No qemu_rev in baseline git' '[' -f base-artifacts/git/qemu_rev ']' ++++ set -euf -o pipefail +x ++++ cat base-artifacts/git/qemu_rev +++ '[' x384dbdda94c0bba55bf186cccd3714bbb9b737e9 '!=' x384dbdda94c0bba55bf186cccd3714bbb9b737e9 ']' ++ echo +# Debug traces : +# change_kind=multiple_components : binutils gcc + local c base_rev cur_rev c_commits -+ '[' 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=47b634a308c59f728783513123e7a9576fdc82aa -++ 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=8abddb187b33480d8827f44ec655f45734a1749d -+ local res -+ res=0 -+ wait 104448 -+ 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 ++ '[' 2 = 0 ']' ++ '[' 2 = 1 ']' ++ change_kind=multiple_components ++ changed_single_component= ++ echo '# Debug traces :' ++ echo '# change_kind=multiple_components : binutils gcc' ++ for c in "${changed_components[@]}" +++ get_baseline_git binutils_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 ']' +++ 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/gcc_rev -+ base_rev=8abddb187b33480d8827f44ec655f45734a1749d -++ get_current_git gcc_rev +++ cat base-artifacts/git/binutils_rev ++ base_rev=e2c04ee000796100890bd176eeb2412f722b7e3f +++ get_current_git binutils_rev ++ set -euf -o pipefail -++ assert_with_msg 'ERROR: No gcc_rev in current git' '[' -f artifacts/git/gcc_rev ']' +++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']' ++ set -euf -o pipefail +x -++ cat artifacts/git/gcc_rev -+ cur_rev=47b634a308c59f728783513123e7a9576fdc82aa -++ git -C gcc rev-parse '47b634a308c59f728783513123e7a9576fdc82aa^@' -+ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") -+ '[' a0673ec5f9236dca6ada23f28343c591ccd575e4 = 8abddb187b33480d8827f44ec655f45734a1749d ']' -+ return 1 -# Debug traces : -# change_kind=single_component : gcc -+ change_kind=single_component -+ echo '# Debug traces :' -+ echo '# change_kind=single_component : gcc' +++ cat artifacts/git/binutils_rev ++ cur_rev=a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +++ git -C binutils rev-list --count e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 +# rev for binutils : e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 (14 commits) ++ c_commits=14 ++ echo '# rev for binutils : e2c04ee000796100890bd176eeb2412f722b7e3f..a0094f1a70e1d5a7a8124e7c988fc1ddd1886f19 (14 commits)' + for c in "${changed_components[@]}" ++ get_baseline_git gcc_rev ++ set -euf -o pipefail @@ -207,18 +262,18 @@ ++ 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=8abddb187b33480d8827f44ec655f45734a1749d ++ base_rev=47b634a308c59f728783513123e7a9576fdc82aa ++ 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=47b634a308c59f728783513123e7a9576fdc82aa -++ git -C gcc rev-list --count 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa -# rev for gcc : 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa (5 commits) ++ cur_rev=458db9b6149b2e9bef94ab76909eb914ed9f675a +++ git -C gcc rev-list --count 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a +# rev for gcc : 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a (38 commits) -+ c_commits=5 -+ echo '# rev for gcc : 8abddb187b33480d8827f44ec655f45734a1749d..47b634a308c59f728783513123e7a9576fdc82aa (5 commits)' ++ c_commits=38 ++ echo '# rev for gcc : 47b634a308c59f728783513123e7a9576fdc82aa..458db9b6149b2e9bef94ab76909eb914ed9f675a (38 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -245,7 +300,7 @@ + set -euf -o pipefail + echo '# post_interesting_commits' + local stage=init -+ '[' single_component '!=' single_commit ']' ++ '[' multiple_components '!=' single_commit ']' + return Init stage ran successfully. + '[' init '!=' full ']' diff --git a/jenkins/rewrite.log b/jenkins/rewrite.log index d3ac05d..231551c 100644 --- a/jenkins/rewrite.log +++ b/jenkins/rewrite.log @@ -1,25 +1,25 @@ ++ pwd ++ cat -+ remote_exec build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: ./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-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ./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-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -d: -f 1 -+ host=build-08.tcwglab ++ host=build-05.tcwglab + local port -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 2 + port= + local dir -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 3 + dir=/home/tcwg-buildslave/workspace/tcwg_gnu_1 + local opts -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 4 -+ opts=-p50018 ++ opts=-p52179 + local env_vars -++ echo build-08.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p50018: +++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_gnu_1:-p52179: ++ cut -s -d: -f 5 + env_vars= + shift @@ -59,4 +59,4 @@ + cmd+=("$(printf '%q' "$i")") ++ printf %q 100 ++ printf %q /home/tcwg-buildslave/workspace/tcwg_gnu_1 -+ ssh -p50018 build-08.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 -p52179 build-05.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' diff --git a/jenkins/run-build.env b/jenkins/run-build.env index a94315f..9294652 100644 --- a/jenkins/run-build.env +++ b/jenkins/run-build.env @@ -1,9 +1,19 @@ -build_name="#456" +build_name="#457" docker_opts=(--distro default ) source build_container.sh trap "cleanup_all_containers" EXIT -build_name="#456-gcc" -branch_opt=(==rr\[gcc_git\] -https://github.com/gcc-mirror/gcc.git#master ) -build_name="#456-gcc-R# build_abe qemu:" +build_name="#457-binutils-gcc-gdb-glibc-linux-qemu" +branch_opt=(==rr\[binutils_git\] +git://sourceware.org/git/binutils-gdb.git#master +==rr\[gcc_git\] +https://github.com/gcc-mirror/gcc.git#master +==rr\[gdb_git\] +git://sourceware.org/git/binutils-gdb.git#master +==rr\[glibc_git\] +git://sourceware.org/git/glibc.git#master +==rr\[linux_git\] +https://git.linaro.org/kernel-org/linux.git#master +==rr\[qemu_git\] +https://gitlab.com/qemu-project/qemu.git#master ) +build_name="#457-binutils-gcc-gdb-glibc-linux-qemu-R# build_abe qemu:" -- cgit v1.2.3