Page MenuHomePhabricator

[CI] Add a configuration to build and run the benchmarks
ClosedPublic

Authored by Fabien on Jan 13 2020, 14:19.

Details

Summary

As per title.

Test Plan
ABC_BUILD_NAME=build-bench ./contrib/teamcity/build-configurations.sh

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jan 13 2020, 14:19
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 13 2020, 14:19

Snippet of first build failure:

[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git config lfs.storage /home/teamcity/buildAgent/system/git/git-48AA3180.git/lfs
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git config core.sparseCheckout true
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git config http.sslCAInfo
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git show-ref
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git show-ref refs/tags/phabricator/diff/15397
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git log -n1 --pretty=format:%H%x20%s ab243c7cc84f8d1b2f37145ea2cbc4f7304c2b41 --
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/15397
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git show-ref refs/tags/phabricator/diff/15397
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/c4a5708f2bae7929 the file set ALL_UNTRACKED
[14:20:02] :			 [Update checkout directory (/home/teamcity/buildAgent/work/c4a5708f2bae7929)] /usr/bin/git clean -f -d -x
[14:20:02] : Build preparation done
[14:20:02]E: Step 1/1: Command Line
[14:20:02] :	 [Step 1/1] Ant JUnit report watcher
[14:20:02] :		 [Ant JUnit report watcher] Watching paths:
[14:20:02] :		 [Ant JUnit report watcher] +:build/test_bitcoin.xml
[14:20:02] :		 [Ant JUnit report watcher] +:test/functional/junit_results.xml
[14:20:02] :		 [Ant JUnit report watcher] +:build/junit_results*.xml
[14:20:02] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script6699536298995245293
[14:20:02] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/c4a5708f2bae7929
[14:20:02] :	 [Step 1/1] Running build configuration 'build-default'...
[14:20:02]W:	 [Step 1/1] + : build-default
[14:20:02]W:	 [Step 1/1] + '[' -z build-default ']'
[14:20:02]W:	 [Step 1/1] + echo 'Running build configuration '\''build-default'\''...'
[14:20:02]W:	 [Step 1/1] ++ git rev-parse --show-toplevel
[14:20:02]W:	 [Step 1/1] + TOPLEVEL=/home/teamcity/buildAgent/work/c4a5708f2bae7929
[14:20:02]W:	 [Step 1/1] + export TOPLEVEL
[14:20:02]W:	 [Step 1/1] + trap print_sanitizers_log ERR
[14:20:02]W:	 [Step 1/1] +++ dirname ./contrib/teamcity/build-configurations.sh
[14:20:02]W:	 [Step 1/1] ++ cd ./contrib/teamcity
[14:20:02]W:	 [Step 1/1] ++ pwd
[14:20:02]W:	 [Step 1/1] + CI_SCRIPTS_DIR=/home/teamcity/buildAgent/work/c4a5708f2bae7929/contrib/teamcity
[14:20:02]W:	 [Step 1/1] + setup
[14:20:02]W:	 [Step 1/1] + : /home/teamcity/buildAgent/work/c4a5708f2bae7929/build
[14:20:02]W:	 [Step 1/1] ++ cd /home/teamcity/buildAgent/work/c4a5708f2bae7929/build
[14:20:02]W:	 [Step 1/1] ./contrib/teamcity/build-configurations.sh: line 20: cd: /home/teamcity/buildAgent/work/c4a5708f2bae7929/build: No such file or directory
[14:20:02]W:	 [Step 1/1] ++ pwd
[14:20:02]W:	 [Step 1/1] + BUILD_DIR=/home/teamcity/buildAgent/work/c4a5708f2bae7929
[14:20:02]W:	 [Step 1/1] + export BUILD_DIR
[14:20:02]W:	 [Step 1/1] + cd /home/teamcity/buildAgent/work/c4a5708f2bae7929
[14:20:02]W:	 [Step 1/1] ++ nproc
[14:20:02]W:	 [Step 1/1] + THREADS=12
[14:20:02]W:	 [Step 1/1] + export THREADS
[14:20:02]W:	 [Step 1/1] + SAN_SUPP_DIR=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions
[14:20:02]W:	 [Step 1/1] + SAN_LOG_DIR=/tmp/sanitizer_logs
[14:20:02]W:	 [Step 1/1] + mkdir -p /tmp/sanitizer_logs
[14:20:02]W:	 [Step 1/1] + rm -rf '/tmp/sanitizer_logs/*'
[14:20:02] :	 [Step 1/1] Error: Invalid build name 'build-default'
[14:20:02]W:	 [Step 1/1] + export ASAN_OPTIONS=malloc_context_size=0:log_path=/tmp/sanitizer_logs/asan.log
[14:20:02]W:	 [Step 1/1] + ASAN_OPTIONS=malloc_context_size=0:log_path=/tmp/sanitizer_logs/asan.log
[14:20:02]W:	 [Step 1/1] + export LSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/lsan:log_path=/tmp/sanitizer_logs/lsan.log
[14:20:02]W:	 [Step 1/1] + LSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/lsan:log_path=/tmp/sanitizer_logs/lsan.log
[14:20:02]W:	 [Step 1/1] + export TSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/tsan:log_path=/tmp/sanitizer_logs/tsan.log
[14:20:02]W:	 [Step 1/1] + TSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/tsan:log_path=/tmp/sanitizer_logs/tsan.log
[14:20:02]W:	 [Step 1/1] + export UBSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:log_path=/tmp/sanitizer_logs/ubsan.log
[14:20:02]W:	 [Step 1/1] + UBSAN_OPTIONS=suppressions=/home/teamcity/buildAgent/work/c4a5708f2bae7929/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:log_path=/tmp/sanitizer_logs/ubsan.log
[14:20:02]W:	 [Step 1/1] + case "$ABC_BUILD_NAME" in
[14:20:02]W:	 [Step 1/1] + echo 'Error: Invalid build name '\''build-default'\'''
[14:20:02]W:	 [Step 1/1] + exit 2
[14:20:02]W:	 [Step 1/1] Process exited with code 2
[14:20:03]E:	 [Step 1/1] Process exited with code 2 (Step: Command Line)
Fabien updated this revision to Diff 15398.Jan 13 2020, 14:22

Rebase.

jasonbcox accepted this revision.Jan 13 2020, 18:13
This revision is now accepted and ready to land.Jan 13 2020, 18:13
This revision was automatically updated to reflect the committed changes.