diff options
Diffstat (limited to 'jenkins/notify-init.log')
-rw-r--r-- | jenkins/notify-init.log | 319 |
1 files changed, 28 insertions, 291 deletions
diff --git a/jenkins/notify-init.log b/jenkins/notify-init.log index f828d2d..7259319 100644 --- a/jenkins/notify-init.log +++ b/jenkins/notify-init.log @@ -1,6 +1,6 @@ + set +x -/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 +/home/tcwg-buildslave/workspace/tcwg_gnu_3/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts --notify ignore __stage init __verbose true __build_script tcwg_gnu-build.sh + false + dryrun= @@ -21,33 +21,31 @@ ++ get_manifest artifacts/manifest.sh '{rr[ci_config]}' ++ set +x + ci_config=master-arm -+ echo '# Debug traces :' # Debug traces : ++ 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_gcc_build--master-arm-build/1543/ -# Using dir : base-artifacts -+ echo '# Baseline : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1543/' +# Baseline : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/ ++ echo '# Baseline : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/' + echo '# Using dir : base-artifacts' +# 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_gcc_build--master-arm-build/1544/ -+ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/' +# Artifacts : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1545/ # Using dir : artifacts ++ echo '# Artifacts : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1545/' + echo '# Using dir : artifacts' + echo '' + mkdir -p artifacts/notify -+ '[' -f /home/tcwg-buildslave/.jipdate.yml ']' -+ set +x + case "$notify" in + declare -Ag pw + '[' ignore = precommit ']' + check_source_changes -# 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 @@ -77,7 +75,7 @@ +++ 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 -++ '[' x7c6615692e052e6bd08f46d9ed060fdbcd711c5c '!=' x07ee6d7b2c361437b877e37e096af71d53a6faef ']' +++ '[' x87dfd70723385486645de3b8c93fa1e19143fa46 '!=' x7c6615692e052e6bd08f46d9ed060fdbcd711c5c ']' ++ echo -ne gcc ++ delim=' ' ++ echo @@ -90,17 +88,17 @@ ++ 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=7c6615692e052e6bd08f46d9ed060fdbcd711c5c ++ first_bad=87dfd70723385486645de3b8c93fa1e19143fa46 ++ 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=07ee6d7b2c361437b877e37e096af71d53a6faef ++ last_good=7c6615692e052e6bd08f46d9ed060fdbcd711c5c + local res + res=0 -+ wait 154671 ++ wait 153933 + git -C gcc rev-parse --verify HEAD + assert_with_msg 'Cannot parse HEAD in repo gcc' '[' 0 = 0 ']' + set -euf -o pipefail +x @@ -114,22 +112,22 @@ ++ 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=07ee6d7b2c361437b877e37e096af71d53a6faef ++ base_rev=7c6615692e052e6bd08f46d9ed060fdbcd711c5c ++ 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=7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ git -C gcc rev-parse '7c6615692e052e6bd08f46d9ed060fdbcd711c5c^@' ++ cur_rev=87dfd70723385486645de3b8c93fa1e19143fa46 +++ git -C gcc rev-parse '87dfd70723385486645de3b8c93fa1e19143fa46^@' + for sha1 in $(git -C "$c" rev-parse "$cur_rev^@") -+ '[' 07ee6d7b2c361437b877e37e096af71d53a6faef = 07ee6d7b2c361437b877e37e096af71d53a6faef ']' -+ return 0 -+ change_kind=single_commit ++ '[' f83cfb8148bcf0876df76761a9a4545bc939667d = 7c6615692e052e6bd08f46d9ed060fdbcd711c5c ']' ++ return 1 ++ change_kind=single_component # Debug traces : + echo '# Debug traces :' -# change_kind=single_commit : gcc -+ echo '# change_kind=single_commit : gcc' +# change_kind=single_component : gcc ++ echo '# change_kind=single_component : gcc' + for c in "${changed_components[@]}" ++ get_baseline_git gcc_rev ++ set -euf -o pipefail @@ -137,18 +135,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=07ee6d7b2c361437b877e37e096af71d53a6faef ++ base_rev=7c6615692e052e6bd08f46d9ed060fdbcd711c5c ++ 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=7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ git -C gcc rev-list --count 07ee6d7b2c361437b877e37e096af71d53a6faef..7c6615692e052e6bd08f46d9ed060fdbcd711c5c -+ c_commits=1 -# rev for gcc : 07ee6d7b2c361437b877e37e096af71d53a6faef..7c6615692e052e6bd08f46d9ed060fdbcd711c5c (1 commits) ++ cur_rev=87dfd70723385486645de3b8c93fa1e19143fa46 +++ git -C gcc rev-list --count 7c6615692e052e6bd08f46d9ed060fdbcd711c5c..87dfd70723385486645de3b8c93fa1e19143fa46 ++ c_commits=3 ++ echo '# rev for gcc : 7c6615692e052e6bd08f46d9ed060fdbcd711c5c..87dfd70723385486645de3b8c93fa1e19143fa46 (3 commits)' +# rev for gcc : 7c6615692e052e6bd08f46d9ed060fdbcd711c5c..87dfd70723385486645de3b8c93fa1e19143fa46 (3 commits) -+ echo '# rev for gcc : 07ee6d7b2c361437b877e37e096af71d53a6faef..7c6615692e052e6bd08f46d9ed060fdbcd711c5c (1 commits)' + echo '' + setup_stages_to_run + '[' ignore = onregression ']' @@ -176,270 +174,9 @@ # 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 -+ local fresh_clone=false -+ true -+ '[' -d interesting-commits ']' -+ git_set_remote interesting-commits origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git master -+ set -euf -o pipefail -+ local dir=interesting-commits -+ local remote=origin -+ local url=https://git-us.linaro.org/toolchain/ci/interesting-commits.git -+ local single_branch=master -+ git -C interesting-commits remote rm origin -+ git -C interesting-commits remote add -t master origin https://git-us.linaro.org/toolchain/ci/interesting-commits.git -+ 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 154751 -+ timeout 1h git -C interesting-commits fetch -q origin +refs/heads/master:refs/remotes/origin/master --prune -+ '[' 0 -eq 0 ']' -+ break -+ return 0 -+ break -+ git_checkout interesting-commits master origin -+ set -euf -o pipefail -+ local dir=interesting-commits -+ local ref=master -+ local remote=origin -+ git_clean interesting-commits -+ set -euf -o pipefail -+ local dir=interesting-commits -+ shift -+ fresh_dir interesting-commits 'interesting-commits/.git/*' -+ set -euf -o pipefail -+ local dir=interesting-commits -+ shift 1 -++ dirname interesting-commits/something -+ dir=interesting-commits -+ mkdir -p interesting-commits -+ find_opts=("!" "-path" "$dir") -+ for keep_pattern in "$@" -+ : -+ find_opts+=("!" "-path" "$keep_pattern") -++ dirname 'interesting-commits/.git/*' -+ keep_pattern=interesting-commits/.git -+ '[' xinteresting-commits/.git = xinteresting-commits ']' -+ assert '[' interesting-commits/.git '!=' / -a interesting-commits/.git '!=' . ']' -+ set -euf -o pipefail +x -+ : -+ find_opts+=("!" "-path" "$keep_pattern") -++ dirname interesting-commits/.git -+ keep_pattern=interesting-commits -+ '[' xinteresting-commits = xinteresting-commits ']' -+ break -+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -type d -exec chmod +rwx '{}' ';' -+ chmod -R +rw interesting-commits -+ find interesting-commits '!' -path interesting-commits '!' -path 'interesting-commits/.git/*' '!' -path interesting-commits/.git -delete -+ git -C interesting-commits reset -q --hard -+ local sha1 -++ git_rev_parse interesting-commits master origin -++ set -euf -o pipefail -++ local dir=interesting-commits -++ local ref=master -++ local remote=origin -++ '[' 3 -ge 3 ']' -++ remote=origin -++ git_rev_parse_1 interesting-commits master origin --short -++ set -euf -o pipefail -++ local dir=interesting-commits -++ local ref=master -++ local remote=origin -++ local opts=--short -++ local ret -++ cd interesting-commits -++ local sha1 try_ref -++ case "$ref" in -++ try_ref=refs/remotes/origin/master -++ ret=0 -+++ git rev-parse --short refs/remotes/origin/master -++ sha1=0ae935228 -++ '[' 0 -ne 0 ']' -++ echo 0ae935228 -+ sha1=0ae935228 -+ git -C interesting-commits checkout --detach 0ae935228 -Warning: you are leaving 1 commit behind, not connected to -any of your branches: - - 30a6850da Add entry f0269df25af37097a06ae247a18c71e24aa32e3e from https://ci.linaro.org/job/tcwg_gcc_build--master-aarch64-build/1496/ - -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> 30a6850da - -HEAD is now at 0ae935228 Add entry 76243adc4699314c7569ba3c0610ecd187228291 from https://ci.linaro.org/job/tcwg_bmk-code_speed-cpu2017rate--llvm-arm-master-O3-build/120/ -+ false -+ dryrun='echo DRYRUN: ' -+ local jira_dir jira_key= -++ interesting_subdir gcc 7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ local dir=gcc/sha1 -++ '[' 2 -ge 2 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ '[' 2 -ge 3 ']' -++ '[' 2 -ge 4 ']' -++ echo gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -+ jira_dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -+ jira_dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/jira -+ '[' init = full ']' -+ true -+ git -C interesting-commits remote update -p -Fetching baseline -From ssh://review.linaro.org:29418/toolchain/ci/interesting-commits - 3f16a758b..0ae935228 master -> baseline/master -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 gcc 7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ local dir=gcc/sha1 -++ '[' 2 -ge 2 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ '[' 2 -ge 3 ']' -++ '[' 2 -ge 4 ']' -++ echo gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -+ subdir3=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ interesting_subdir gcc 7c6615692e052e6bd08f46d9ed060fdbcd711c5c tcwg_gcc_build -++ local dir=gcc/sha1 -++ '[' 3 -ge 2 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ '[' 3 -ge 3 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build -++ '[' 3 -ge 4 ']' -++ echo gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build -+ subdir4=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build -++ interesting_subdir gcc 7c6615692e052e6bd08f46d9ed060fdbcd711c5c tcwg_gcc_build master-arm -++ local dir=gcc/sha1 -++ '[' 4 -ge 2 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -++ '[' 4 -ge 3 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build -++ '[' 4 -ge 4 ']' -++ dir=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm -++ echo gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm -+ subdir5=gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm -+ '[' -d interesting-commits/gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c ']' -+ mkdir -p interesting-commits/gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c -+ get_current_manifest BUILD_URL -+ get_manifest artifacts/manifest.sh BUILD_URL -+ set +x -+ git -C interesting-commits add gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/first_url -+ mkdir -p interesting-commits/gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm -++ get_current_manifest BUILD_URL -++ get_manifest artifacts/manifest.sh BUILD_URL -++ set +x -+ echo https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/artifact/artifacts -+ echo 07ee6d7b2c361437b877e37e096af71d53a6faef -+ git -C interesting-commits add gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm/build_url gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm/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 7c6615692e052e6bd08f46d9ed060fdbcd711c5c from https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/' -[detached HEAD fe3180a81] Add entry 7c6615692e052e6bd08f46d9ed060fdbcd711c5c from https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1544/ - 3 files changed, 3 insertions(+) - create mode 100644 gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/first_url - create mode 100644 gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm/build_url - create mode 100644 gcc/sha1/7c6615692e052e6bd08f46d9ed060fdbcd711c5c/tcwg_gcc_build/master-arm/last_good -+ wait 169099 -+ echo DRYRUN: git -C interesting-commits push ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git HEAD:refs/heads/master -DRYRUN: git -C interesting-commits push ssh://git-us.linaro.org/toolchain/ci/interesting-commits.git HEAD:refs/heads/master -+ break + '[' init '!=' full ']' -Init stage ran successfully. + echo 'Init stage ran successfully.' +Init stage ran successfully. + exit 0 |