summaryrefslogtreecommitdiff
path: root/jenkins/notify-init.log
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins/notify-init.log')
-rw-r--r--jenkins/notify-init.log309
1 files changed, 27 insertions, 282 deletions
diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log
index 1f72e72..e4f57ca 100644
--- a/jenkins/notify-init.log
+++ b/jenkins/notify-init.log
@@ -1,6 +1,6 @@
+ set +x
-/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_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh
+ false
+ dryrun=
@@ -9,9 +9,9 @@
+ declare -a changed_components
+ declare print_commits_f print_result_f print_config_f print_last_icommit_f
+ dump_model_only=false
-# setup_notify_environment
+ setup_notify_environment
+ echo '# setup_notify_environment'
+# setup_notify_environment
+ top_artifacts=artifacts
++ get_current_manifest '{rr[ci_project]}'
++ get_manifest artifacts/manifest.sh '{rr[ci_project]}'
@@ -26,17 +26,17 @@
++ get_baseline_manifest BUILD_URL
++ get_manifest base-artifacts/manifest.sh BUILD_URL false
++ set +x
-# Baseline : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/837/
-+ echo '# Baseline : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/837/'
+# Baseline : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/
# Using dir : base-artifacts
++ echo '# Baseline : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/'
+ 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_glibc_build--master-aarch64-build/838/
-+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/'
-+ echo '# Using dir : artifacts'
+# Artifacts : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/839/
# Using dir : artifacts
++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/839/'
++ echo '# Using dir : artifacts'
+ echo ''
+ mkdir -p artifacts/notify
@@ -45,8 +45,8 @@
+ case "$notify" in
+ declare -Ag pw
+ '[' ignore = precommit ']'
-+ check_source_changes
# check_source_changes
++ check_source_changes
+ echo '# check_source_changes'
++ get_current_manifest '{rr[update_baseline]}'
++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}'
@@ -77,7 +77,7 @@
+++ 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
-++ '[' x4753e9286858a61d5fbe8742d48d8c9166143354 '!=' x7e03e0de7e7c2de975b5c5e18f5a4b0c75816674 ']'
+++ '[' xd0aefec49941cf6d97e2244d6aa20bafc26d5942 '!=' x4753e9286858a61d5fbe8742d48d8c9166143354 ']'
++ echo -ne glibc
++ delim=' '
++ echo
@@ -90,17 +90,17 @@
++ 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
-+ first_bad=4753e9286858a61d5fbe8742d48d8c9166143354
++ first_bad=d0aefec49941cf6d97e2244d6aa20bafc26d5942
++ 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
-+ last_good=7e03e0de7e7c2de975b5c5e18f5a4b0c75816674
++ last_good=4753e9286858a61d5fbe8742d48d8c9166143354
+ local res
+ res=0
-+ wait 59635
++ wait 45768
+ git -C glibc rev-parse --verify HEAD
+ assert_with_msg 'Cannot parse HEAD in repo glibc' '[' 0 = 0 ']'
+ set -euf -o pipefail +x
@@ -114,22 +114,22 @@
++ 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
-+ base_rev=7e03e0de7e7c2de975b5c5e18f5a4b0c75816674
++ base_rev=4753e9286858a61d5fbe8742d48d8c9166143354
++ 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
-+ cur_rev=4753e9286858a61d5fbe8742d48d8c9166143354
-++ git -C glibc rev-parse '4753e9286858a61d5fbe8742d48d8c9166143354^@'
++ cur_rev=d0aefec49941cf6d97e2244d6aa20bafc26d5942
+++ git -C glibc rev-parse 'd0aefec49941cf6d97e2244d6aa20bafc26d5942^@'
+ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@")
-+ '[' 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674 = 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674 ']'
-+ return 0
-+ change_kind=single_commit
++ '[' fc039ce8502d236f11074eb58468be24b4fa8cc7 = 4753e9286858a61d5fbe8742d48d8c9166143354 ']'
++ return 1
++ change_kind=single_component
+ echo '# Debug traces :'
# Debug traces :
-# change_kind=single_commit : glibc
-+ echo '# change_kind=single_commit : glibc'
+# change_kind=single_component : glibc
++ echo '# change_kind=single_component : glibc'
+ for c in "${changed_components[@]}"
++ get_baseline_git glibc_rev
++ set -euf -o pipefail
@@ -137,17 +137,17 @@
++ 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
-+ base_rev=7e03e0de7e7c2de975b5c5e18f5a4b0c75816674
++ base_rev=4753e9286858a61d5fbe8742d48d8c9166143354
++ 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
-+ cur_rev=4753e9286858a61d5fbe8742d48d8c9166143354
-++ git -C glibc rev-list --count 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674..4753e9286858a61d5fbe8742d48d8c9166143354
-+ c_commits=1
-+ echo '# rev for glibc : 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674..4753e9286858a61d5fbe8742d48d8c9166143354 (1 commits)'
-# rev for glibc : 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674..4753e9286858a61d5fbe8742d48d8c9166143354 (1 commits)
++ cur_rev=d0aefec49941cf6d97e2244d6aa20bafc26d5942
+++ git -C glibc rev-list --count 4753e9286858a61d5fbe8742d48d8c9166143354..d0aefec49941cf6d97e2244d6aa20bafc26d5942
++ c_commits=2
+# rev for glibc : 4753e9286858a61d5fbe8742d48d8c9166143354..d0aefec49941cf6d97e2244d6aa20bafc26d5942 (2 commits)
++ echo '# rev for glibc : 4753e9286858a61d5fbe8742d48d8c9166143354..d0aefec49941cf6d97e2244d6aa20bafc26d5942 (2 commits)'
+ echo ''
+ setup_stages_to_run
@@ -176,263 +176,8 @@
# post_interesting_commits
+ echo '# post_interesting_commits'
+ local stage=init
-+ '[' single_commit '!=' single_commit ']'
-+ clone_or_update_repo interesting-commits master https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ local ref=master
-+ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git
-+ local reference=auto
-+ local single_branch=master
-+ local remote=origin
-+ clone_or_update_repo_no_checkout interesting-commits https://git-us.linaro.org/toolchain/ci/interesting-commits.git auto master origin
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git
-+ local reference=auto
-+ local single_branch=master
-+ local remote=origin
-+ local refopt=
-+ case "$reference" in
-+ local ref_dir
-+ for ref_dir in $url $dir
-++ basename https://git-us.linaro.org/toolchain/ci/interesting-commits.git .git
-+ ref_dir=interesting-commits
-+ ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git
-+ git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir
-+ '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']'
-+ for ref_dir in $url $dir
-++ basename interesting-commits .git
-+ ref_dir=interesting-commits
-+ ref_dir=/home/tcwg-buildslave/snapshots-ref/interesting-commits.git
-+ git -C /home/tcwg-buildslave/snapshots-ref/interesting-commits.git rev-parse --git-dir
-+ '[' -d /home/tcwg-buildslave/snapshots-ref/interesting-commits.git ']'
-+ git -C interesting-commits status
-+ '[' -d interesting-commits ']'
-+ '[' x '!=' x ']'
-+ '[' -d interesting-commits ']'
-+ rm -f interesting-commits/.git/gc.log
-+ git -C interesting-commits config gc.autoDetach false
-+ git -C interesting-commits gc --auto --force --prune=all
-+ find interesting-commits/.git -name '*.lock' -delete
-+ local i
-+ for i in am cherry-pick rebase
-+ git -C interesting-commits am --abort
-+ true
-+ for i in am cherry-pick rebase
-+ git -C interesting-commits cherry-pick --abort
-+ true
-+ for i in am cherry-pick rebase
-+ git -C interesting-commits rebase --abort
-+ true
-+ break
-+ '[' -d interesting-commits ']'
-+ git_set_remote interesting-commits origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git master
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ local remote=origin
-+ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git
-+ local single_branch=master
-+ git -C interesting-commits remote rm origin
-+ git -C interesting-commits remote add -t master origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git
-+ local refspec
-+ '[' xmaster = x ']'
-+ refspec=+refs/heads/master:refs/remotes/origin/master
-+ run_with_timeout_and_retry 1h 3 git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune
-+ local duration=1h
-+ shift
-+ local tries=3
-+ shift
-+ local n=0
-+ local ret=0
-+ '[' 0 -eq 3 ']'
-timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune
-+ echo timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune
-+ ret=0
-+ wait 59715
-+ timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune
-+ '[' 0 -eq 0 ']'
-+ break
-+ return 0
-+ git_checkout interesting-commits master origin
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ local ref=master
-+ local remote=origin
-+ git_clean interesting-commits
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ shift
-+ fresh_dir interesting-commits 'interesting-commits/.git/*'
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ shift 1
-++ dirname interesting-commits/something
-+ dir=interesting-commits
-+ mkdir -p interesting-commits
-+ find_opts=("!" "-path" "$dir")
-+ for keep_pattern in "$@"
-+ :
-+ find_opts+=("!" "-path" "$keep_pattern")
-++ dirname 'interesting-commits/.git/*'
-+ keep_pattern=interesting-commits/.git
-+ '[' xinteresting-commits/.git = xinteresting-commits ']'
-+ assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']'
-+ set -euf -o pipefail +x
-+ :
-+ find_opts+=("!" "-path" "$keep_pattern")
-++ dirname interesting-commits/.git
-+ keep_pattern=interesting-commits
-+ '[' xinteresting-commits = xinteresting-commits ']'
-+ break
-+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';'
-+ chmod -R +rw interesting-commits
-+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete
-+ git -C interesting-commits reset -q --hard
-+ local sha1
-++ git_rev_parse interesting-commits master origin
-++ set -euf -o pipefail
-++ local dir=interesting-commits
-++ local ref=master
-++ local remote=origin
-++ '[' 3 -ge 3 ']'
-++ remote=origin
-++ git_rev_parse_1 interesting-commits master origin --short
-++ set -euf -o pipefail
-++ local dir=interesting-commits
-++ local ref=master
-++ local remote=origin
-++ local opts=--short
-++ local ret
-++ cd interesting-commits
-++ local sha1 try_ref
-++ case "$ref" in
-++ try_ref=refs/remotes/origin/master
-++ ret=0
-+++ git rev-parse --short refs/remotes/origin/master
-++ sha1=37eb48faf3
-++ '[' 0 -ne 0 ']'
-++ echo 37eb48faf3
-+ sha1=37eb48faf3
-+ git -C interesting-commits checkout --detach 37eb48faf3
-Warning: you are leaving 1 commit behind, not connected to
-any of your branches:
-
- 5cf24fdf68 Add entry eef4ff9b707d738322a5dca82a6a9b0aad76a26e from https://ci.linaro.org/job/tcwg_binutils_check--master-aarch64-build/530/
-
-If you want to keep it by creating a new branch, this may be a good time
-to do so with:
-
- git branch <new-branch-name> 5cf24fdf68
-
-HEAD is now at 37eb48faf3 Add entry 2505a8b41d3b74a545755a278f3750a29c1340b6 from https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/1328/
-+ false
-+ dryrun='echo DRYRUN: '
-+ local jira_dir jira_key=
-++ interesting_subdir glibc 4753e9286858a61d5fbe8742d48d8c9166143354
-++ local dir=glibc/sha1
-++ '[' 2 -ge 2 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-++ '[' 2 -ge 3 ']'
-++ '[' 2 -ge 4 ']'
-++ echo glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-+ jira_dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-+ jira_dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/jira
-+ '[' init = full ']'
-+ true
-+ git -C interesting-commits remote update -p
-Fetching origin
-+ git_clean interesting-commits refs/remotes/origin/master
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ shift
-+ fresh_dir interesting-commits 'interesting-commits/.git/*'
-+ set -euf -o pipefail
-+ local dir=interesting-commits
-+ shift 1
-++ dirname interesting-commits/something
-+ dir=interesting-commits
-+ mkdir -p interesting-commits
-+ find_opts=("!" "-path" "$dir")
-+ for keep_pattern in "$@"
-+ :
-+ find_opts+=("!" "-path" "$keep_pattern")
-++ dirname 'interesting-commits/.git/*'
-+ keep_pattern=interesting-commits/.git
-+ '[' xinteresting-commits/.git = xinteresting-commits ']'
-+ assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']'
-+ set -euf -o pipefail +x
-+ :
-+ find_opts+=("!" "-path" "$keep_pattern")
-++ dirname interesting-commits/.git
-+ keep_pattern=interesting-commits
-+ '[' xinteresting-commits = xinteresting-commits ']'
-+ break
-+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';'
-+ chmod -R +rw interesting-commits
-+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete
-+ git -C interesting-commits reset -q --hard refs/remotes/origin/master
-# update_interesting_commits
-+ update_interesting_commits init ''
-+ echo '# update_interesting_commits'
-+ local stage=init
-+ local jira_key=
-+ local subdir3 subdir4 subdir4
-++ interesting_subdir glibc 4753e9286858a61d5fbe8742d48d8c9166143354
-++ local dir=glibc/sha1
-++ '[' 2 -ge 2 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-++ '[' 2 -ge 3 ']'
-++ '[' 2 -ge 4 ']'
-++ echo glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-+ subdir3=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-++ interesting_subdir glibc 4753e9286858a61d5fbe8742d48d8c9166143354 tcwg_glibc_build
-++ local dir=glibc/sha1
-++ '[' 3 -ge 2 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-++ '[' 3 -ge 3 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build
-++ '[' 3 -ge 4 ']'
-++ echo glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build
-+ subdir4=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build
-++ interesting_subdir glibc 4753e9286858a61d5fbe8742d48d8c9166143354 tcwg_glibc_build master-aarch64
-++ local dir=glibc/sha1
-++ '[' 4 -ge 2 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-++ '[' 4 -ge 3 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build
-++ '[' 4 -ge 4 ']'
-++ dir=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64
-++ echo glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64
-+ subdir5=glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64
-+ local url=
-++ get_current_manifest BUILD_URL
-++ get_manifest artifacts/manifest.sh BUILD_URL
-++ set +x
-+ url=https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/artifact/artifacts
-+ '[' -d interesting-commits/glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354 ']'
-+ mkdir -p interesting-commits/glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354
-+ echo https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/artifact/artifacts
-+ git -C interesting-commits add glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/first_url
-+ mkdir -p interesting-commits/glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64
-+ echo https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/artifact/artifacts
-+ echo 7e03e0de7e7c2de975b5c5e18f5a4b0c75816674
-+ git -C interesting-commits add glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64/build_url glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64/last_good
-+ '[' init '!=' full ']'
++ '[' single_component '!=' single_commit ']'
+ return
-++ get_current_manifest BUILD_URL
-++ get_manifest artifacts/manifest.sh BUILD_URL
-++ set +x
-+ git -C interesting-commits commit -m 'Add entry 4753e9286858a61d5fbe8742d48d8c9166143354 from https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/'
-[detached HEAD d9bd7cfd3a] Add entry 4753e9286858a61d5fbe8742d48d8c9166143354 from https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/838/
- 3 files changed, 3 insertions(+)
- create mode 100644 glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/first_url
- create mode 100644 glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64/build_url
- create mode 100644 glibc/sha1/4753e9286858a61d5fbe8742d48d8c9166143354/tcwg_glibc_build/master-aarch64/last_good
-+ wait 73501
-DRYRUN: git -C interesting-commits push ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git HEAD:refs/heads/master
-+ echo DRYRUN: git -C interesting-commits push ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git HEAD:refs/heads/master
-+ break
Init stage ran successfully.
+ '[' init '!=' full ']'
+ echo 'Init stage ran successfully.'