Page MenuHomePhabricator

[CI] Setup don't need to be a function
ClosedPublic

Authored by Fabien on Jun 23 2020, 16:53.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Commits
rABCd38e5d68a9b7: [CI] Setup don't need to be a function
Summary

This was historically called in several places but this has not been the
case for a while. Also move a few declarations to make the flow more
logical.

Test Plan

Run any CI build plan.

Event Timeline

Fabien requested review of this revision.Jun 23 2020, 16:53

Snippet of first build failure:

[17:21:30]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Compressing objects: 100% (10/10), done.        
[17:21:30]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Total 10 (delta 8), reused 0 (delta 0), pack-reused 0        
[17:21:30]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[17:21:30]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/diff/21656 -> phabricator/diff/21656
[17:21:30]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/base/21656 -> phabricator/base/21656
[17:21:30] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:21:30] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[17:21:30] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] The .git directory is missing in '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc'. Running 'git init'...
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config lfs.storage /home/teamcity/buildAgent/system/git/git-48AA3180.git/lfs
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:21:30] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:21:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21656
[17:21:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:21:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc the file set ALL_UNTRACKED
[17:21:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[17:21:31] : Build preparation done
[17:21:31]E: Step 1/1: Command Line (8m:25s)
[17:21:31] :	 [Step 1/1] Ant JUnit report watcher
[17:21:31] :		 [Ant JUnit report watcher] Watching paths:
[17:21:31] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[17:21:31] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[17:21:31] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script2294749595959667716
[17:21:31] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[17:21:31] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:21:31] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:21:31] :	 [Step 1/1] Building base image for: 8b9b2f619...
[17:21:31] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:21:34] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:21:34] :	 [Step 1/1] Tag name: abc-base-image-8b9b2f619
[17:29:53]W:	 [Step 1/1] + : build-clang-10
[17:29:53] :	 [Step 1/1] Running build configuration 'build-clang-10'...
[17:29:53]W:	 [Step 1/1] + '[' 0 -ge 1 ']'
[17:29:53]W:	 [Step 1/1] + '[' -z build-clang-10 ']'
[17:29:53]W:	 [Step 1/1] + echo 'Running build configuration '\''build-clang-10'\''...'
[17:29:53]W:	 [Step 1/1] ++ git rev-parse --show-toplevel
[17:29:53]W:	 [Step 1/1] + TOPLEVEL=/work
[17:29:53]W:	 [Step 1/1] + export TOPLEVEL
[17:29:53]W:	 [Step 1/1] + : /work/build-clang-10
[17:29:53]W:	 [Step 1/1] + mkdir -p /work/build-clang-10
[17:29:53]W:	 [Step 1/1] ++ cd /work/build-clang-10
[17:29:53]W:	 [Step 1/1] ++ pwd
[17:29:53]W:	 [Step 1/1] + BUILD_DIR=/work/build-clang-10
[17:29:53]W:	 [Step 1/1] + export BUILD_DIR
[17:29:53]W:	 [Step 1/1] + cd /work/build-clang-10
[17:29:53]W:	 [Step 1/1] ++ nproc
[17:29:53]W:	 [Step 1/1] + THREADS=12
[17:29:53]W:	 [Step 1/1] + export THREADS
[17:29:53]W:	 [Step 1/1] +++ dirname ./contrib/teamcity/build-configurations.sh
[17:29:53]W:	 [Step 1/1] ++ cd ./contrib/teamcity
[17:29:53]W:	 [Step 1/1] + CI_SCRIPTS_DIR=
[17:29:53]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[17:29:53]W:	 [Step 1/1] cp: cannot stat '/work/build': No such file or directory
[17:29:53]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:29:56]W:	 [Step 1/1] Process exited with code 1
[17:29:56]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)

Snippet of first build failure:

[17:22:57]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Compressing objects: 100% (29/29), done.        
[17:22:57]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Total 29 (delta 26), reused 0 (delta 0), pack-reused 0        
[17:22:57]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[17:22:57]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/diff/21656 -> phabricator/diff/21656
[17:22:57]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/base/21656 -> phabricator/base/21656
[17:22:57] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:22:57] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[17:22:57] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] The .git directory is missing in '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc'. Running 'git init'...
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config lfs.storage /home/teamcity/buildAgent/system/git/git-48AA3180.git/lfs
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:22:57] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:22:58] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21656
[17:22:58] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:22:58] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc the file set ALL_UNTRACKED
[17:22:58] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[17:22:58] : Build preparation done
[17:22:58]E: Step 1/1: Command Line (8m:15s)
[17:22:58] :	 [Step 1/1] Ant JUnit report watcher
[17:22:58] :		 [Ant JUnit report watcher] Watching paths:
[17:22:58] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[17:22:58] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[17:22:58] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script558441971036662419
[17:22:58] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[17:22:58] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:22:58] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:22:58] :	 [Step 1/1] Building base image for: 8b9b2f619...
[17:22:58] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:23:01] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:23:01] :	 [Step 1/1] Tag name: abc-base-image-8b9b2f619
[17:31:09]W:	 [Step 1/1] + : build-without-wallet
[17:31:09] :	 [Step 1/1] Running build configuration 'build-without-wallet'...
[17:31:09]W:	 [Step 1/1] + '[' 0 -ge 1 ']'
[17:31:09]W:	 [Step 1/1] + '[' -z build-without-wallet ']'
[17:31:09]W:	 [Step 1/1] + echo 'Running build configuration '\''build-without-wallet'\''...'
[17:31:09]W:	 [Step 1/1] ++ git rev-parse --show-toplevel
[17:31:09]W:	 [Step 1/1] + TOPLEVEL=/work
[17:31:09]W:	 [Step 1/1] + export TOPLEVEL
[17:31:09]W:	 [Step 1/1] + : /work/build-without-wallet
[17:31:09]W:	 [Step 1/1] + mkdir -p /work/build-without-wallet
[17:31:09]W:	 [Step 1/1] ++ cd /work/build-without-wallet
[17:31:09]W:	 [Step 1/1] ++ pwd
[17:31:09]W:	 [Step 1/1] + BUILD_DIR=/work/build-without-wallet
[17:31:09]W:	 [Step 1/1] + export BUILD_DIR
[17:31:09]W:	 [Step 1/1] + cd /work/build-without-wallet
[17:31:09]W:	 [Step 1/1] ++ nproc
[17:31:09]W:	 [Step 1/1] + THREADS=12
[17:31:09]W:	 [Step 1/1] + export THREADS
[17:31:09]W:	 [Step 1/1] +++ dirname ./contrib/teamcity/build-configurations.sh
[17:31:09]W:	 [Step 1/1] ++ cd ./contrib/teamcity
[17:31:09]W:	 [Step 1/1] + CI_SCRIPTS_DIR=
[17:31:09]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[17:31:09]W:	 [Step 1/1] cp: cannot stat '/work/build': No such file or directory
[17:31:09]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:31:13]W:	 [Step 1/1] Process exited with code 1
[17:31:13]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)

Snippet of first build failure:

[17:24:12]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Compressing objects: 100% (29/29), done.        
[17:24:12]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] remote: Total 29 (delta 26), reused 0 (delta 0), pack-reused 0        
[17:24:12]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[17:24:12]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/diff/21656 -> phabricator/diff/21656
[17:24:12]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21656:refs/tags/phabricator/diff/21656]  * [new tag]             phabricator/base/21656 -> phabricator/base/21656
[17:24:12] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:24:12] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[17:24:12] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] The .git directory is missing in '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc'. Running 'git init'...
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config lfs.storage /home/teamcity/buildAgent/system/git/git-48AA3180.git/lfs
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:24:12] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[17:24:13] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21656
[17:24:13] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[17:24:13] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc the file set ALL_UNTRACKED
[17:24:13] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[17:24:13] : Build preparation done
[17:24:13]E: Step 1/1: Command Line (7m:11s)
[17:24:13] :	 [Step 1/1] Ant JUnit report watcher
[17:24:13] :		 [Ant JUnit report watcher] Watching paths:
[17:24:13] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[17:24:13] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[17:24:13] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script7992185869657748600
[17:24:13] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[17:24:13] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:24:13] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:24:13] :	 [Step 1/1] Building base image for: 8b9b2f619...
[17:24:13] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[17:24:15] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[17:24:15] :	 [Step 1/1] Tag name: abc-base-image-8b9b2f619
[17:31:21] :	 [Step 1/1] Running build configuration 'build-diff'...
[17:31:21]W:	 [Step 1/1] + : build-diff
[17:31:21]W:	 [Step 1/1] + '[' 0 -ge 1 ']'
[17:31:21]W:	 [Step 1/1] + '[' -z build-diff ']'
[17:31:21]W:	 [Step 1/1] + echo 'Running build configuration '\''build-diff'\''...'
[17:31:21]W:	 [Step 1/1] ++ git rev-parse --show-toplevel
[17:31:21]W:	 [Step 1/1] + TOPLEVEL=/work
[17:31:21]W:	 [Step 1/1] + export TOPLEVEL
[17:31:21]W:	 [Step 1/1] + : /work/build-diff
[17:31:21]W:	 [Step 1/1] + mkdir -p /work/build-diff
[17:31:21]W:	 [Step 1/1] ++ cd /work/build-diff
[17:31:21]W:	 [Step 1/1] ++ pwd
[17:31:21]W:	 [Step 1/1] + BUILD_DIR=/work/build-diff
[17:31:21]W:	 [Step 1/1] + export BUILD_DIR
[17:31:21]W:	 [Step 1/1] + cd /work/build-diff
[17:31:21]W:	 [Step 1/1] ++ nproc
[17:31:21]W:	 [Step 1/1] + THREADS=12
[17:31:21]W:	 [Step 1/1] + export THREADS
[17:31:21]W:	 [Step 1/1] +++ dirname ./contrib/teamcity/build-configurations.sh
[17:31:21]W:	 [Step 1/1] ++ cd ./contrib/teamcity
[17:31:21]W:	 [Step 1/1] + CI_SCRIPTS_DIR=
[17:31:21]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[17:31:21]W:	 [Step 1/1] cp: cannot stat '/work/build': No such file or directory
[17:31:21]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:31:24]W:	 [Step 1/1] Process exited with code 1
[17:31:24]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)
Fabien planned changes to this revision.Jun 23 2020, 17:38

Snippet of first build failure:

[19:25:07] :		 [VCS Root: Bitcoin ABC Staging] Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git) (3s)
[19:25:07] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git config http.sslCAInfo
[19:25:07] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref
[19:25:07] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git -c credential.helper= ls-remote origin
[19:25:10] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[19:25:10] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[19:25:10] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[19:25:10] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] The .git directory is missing in '/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc'. Running 'git init'...
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config lfs.storage /home/teamcity/buildAgent/system/git/git-48AA3180.git/lfs
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 8b9b2f61908bd7a4fa04ad16021a02a4da479149 --
[19:25:10] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21656
[19:25:11] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21656
[19:25:11] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc the file set ALL_UNTRACKED
[19:25:11] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[19:25:11] : Build preparation done
[19:25:11]E: Step 1/1: Command Line (28s)
[19:25:11] :	 [Step 1/1] Ant JUnit report watcher
[19:25:11] :		 [Ant JUnit report watcher] Watching paths:
[19:25:11] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[19:25:11] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[19:25:11] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script8563366879809468696
[19:25:11] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[19:25:11] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[19:25:11] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[19:25:11] :	 [Step 1/1] Building base image for: 8b9b2f619...
[19:25:11] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[19:25:13] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[19:25:13] :	 [Step 1/1] Tag name: abc-base-image-8b9b2f619
[19:25:36]W:	 [Step 1/1] + : build-clang-10
[19:25:36] :	 [Step 1/1] Running build configuration 'build-clang-10'...
[19:25:36]W:	 [Step 1/1] + '[' 0 -ge 1 ']'
[19:25:36]W:	 [Step 1/1] + '[' -z build-clang-10 ']'
[19:25:36]W:	 [Step 1/1] + echo 'Running build configuration '\''build-clang-10'\''...'
[19:25:36]W:	 [Step 1/1] ++ git rev-parse --show-toplevel
[19:25:36]W:	 [Step 1/1] + TOPLEVEL=/work
[19:25:36]W:	 [Step 1/1] + export TOPLEVEL
[19:25:36]W:	 [Step 1/1] + : /work/build-clang-10
[19:25:36]W:	 [Step 1/1] + mkdir -p /work/build-clang-10
[19:25:36]W:	 [Step 1/1] ++ cd /work/build-clang-10
[19:25:36]W:	 [Step 1/1] ++ pwd
[19:25:36]W:	 [Step 1/1] + BUILD_DIR=/work/build-clang-10
[19:25:36]W:	 [Step 1/1] + export BUILD_DIR
[19:25:36]W:	 [Step 1/1] + cd /work/build-clang-10
[19:25:36]W:	 [Step 1/1] ++ nproc
[19:25:36]W:	 [Step 1/1] + THREADS=12
[19:25:36]W:	 [Step 1/1] + export THREADS
[19:25:36]W:	 [Step 1/1] +++ dirname ./contrib/teamcity/build-configurations.sh
[19:25:36]W:	 [Step 1/1] ++ cd ./contrib/teamcity
[19:25:36]W:	 [Step 1/1] + CI_SCRIPTS_DIR=
[19:25:36]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[19:25:36]W:	 [Step 1/1] cp: cannot stat '/work/build': No such file or directory
[19:25:36]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[19:25:39]W:	 [Step 1/1] Process exited with code 1
[19:25:39]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)

Fix CI_SCRIPT_DIR so it doesn't depend on the caller location

jasonbcox added a subscriber: jasonbcox.

Thank you. This is way less confusing.

This revision is now accepted and ready to land.Jun 23 2020, 21:45
This revision was automatically updated to reflect the committed changes.