Page MenuHomePhabricator

[backport#17076] tests: Add fuzzing harness for CheckTransaction(...), IsStandardTx(...) and other CTransaction related functions
ClosedPublic

Authored by majcosta on Jun 25 2020, 18:03.

Details

Summary

5c2987636faa5bc175b37b81fd98ab48e576da0b tests: Remove TRANSACTION_DESERIALIZE (replaced by transaction fuzzer) (practicalswift)
0a573682f24d20cb178b8b6f97c35ec46901c4db tests: Add fuzzing harness for CheckTransaction(...), IsStandardTx(...) and other CTransaction related functions (practicalswift)

Pull request description:

Add fuzzing harness for `CheckTransaction(...)`, `IsStandardTx(...)` and other `CTransaction` related functions.

**Testing this PR**

Run:

```
$ CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/transaction
…
# And to to quickly verify that the relevant code regions are triggered, that the
# fuzzing throughput seems reasonable, etc.
$ contrib/devtools/test_fuzzing_harnesses.sh '^transaction$'
```

`test_fuzzing_harnesses.sh` can be found in PR #17000.

Depends on D6740

Backport of Core PR17076

Test Plan
export CC=clang CXX=clang++
../configure --enable-fuzz --with-sanitizers=fuzzer,address \
  --disable-wallet \
  --disable-bench \
  --with-utils=no \
  --with-daemon=no \
  --with-libs=no \
  --with-gui=no \
  --with-seeder=no
make
mkdir -p test/fuzz
cp ../test/fuzz/test_runner.py test/fuzz/
./test/fuzz/test_runner.py -l DEBUG <path_to_corpus>

cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja bitcoin-fuzzers link-fuzz-test_runner.py
./test/fuzz/test_runner.py -l DEBUG <path_to_corpus>

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Snippet of first build failure:

[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  11% (2/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  16% (3/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  22% (4/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  27% (5/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  33% (6/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  38% (7/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  44% (8/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  50% (9/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  55% (10/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  61% (11/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  66% (12/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  72% (13/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  77% (14/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  83% (15/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  88% (16/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  94% (17/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects: 100% (18/18)        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects: 100% (18/18), done.        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Total 18 (delta 13), reused 0 (delta 0), pack-reused 0        
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/diff/21774 -> phabricator/diff/21774
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/base/21772 -> phabricator/base/21772
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/base/21773 -> phabricator/base/21773
[18:04:00]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/base/21774 -> phabricator/base/21774
[18:04:00] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 18c83c93b35cc556798c463e1ca9f6531fc8660e --
[18:04:01] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[18:04:01] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[18:04:01] :			 [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'...
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[18:04:01] :			 [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
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 18c83c93b35cc556798c463e1ca9f6531fc8660e --
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21774
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:01] :			 [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
[18:04:01] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[18:04:01] : Build preparation done
[18:04:01]E: Step 1/1: Command Line (18s)
[18:04:01] :	 [Step 1/1] Ant JUnit report watcher
[18:04:01] :		 [Ant JUnit report watcher] Watching paths:
[18:04:01] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[18:04:01] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[18:04:01] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script8405302616058276682
[18:04:01] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[18:04:01] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:01] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:01] :	 [Step 1/1] Building base image for: 18c83c93b...
[18:04:01] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:04] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:04] :	 [Step 1/1] Tag name: abc-base-image-18c83c93b
[18:04:13]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[18:04:13]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[18:04:13]W:	 [Step 1/1] cp: cannot stat '/work/build-clang-10': No such file or directory
[18:04:13]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-clang-10': No such file or directory
[18:04:13]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[18:04:19]W:	 [Step 1/1] Process exited with code 127
[18:04:19]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)

Snippet of first build failure:

[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:   5% (1/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  11% (2/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  16% (3/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  22% (4/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  27% (5/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  33% (6/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  38% (7/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  44% (8/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  50% (9/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  55% (10/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  61% (11/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  66% (12/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  72% (13/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  77% (14/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  83% (15/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  88% (16/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects:  94% (17/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects: 100% (18/18)        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Compressing objects: 100% (18/18), done.        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] remote: Total 18 (delta 13), reused 0 (delta 0), pack-reused 0        
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/diff/21774 -> phabricator/diff/21774
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/base/21773 -> phabricator/base/21773
[18:04:03]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21774:refs/tags/phabricator/diff/21774]  * [new tag]             phabricator/base/21774 -> phabricator/base/21774
[18:04:03] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 18c83c93b35cc556798c463e1ca9f6531fc8660e --
[18:04:03] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[18:04:03] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[18:04:03] :			 [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'...
[18:04:03] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[18:04:03] :			 [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
[18:04:03] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[18:04:03] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 18c83c93b35cc556798c463e1ca9f6531fc8660e --
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21774
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:04] :			 [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
[18:04:04] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[18:04:04] : Build preparation done
[18:04:04]E: Step 1/1: Command Line (25s)
[18:04:04] :	 [Step 1/1] Ant JUnit report watcher
[18:04:04] :		 [Ant JUnit report watcher] Watching paths:
[18:04:04] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[18:04:04] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[18:04:04] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script5873599861193015126
[18:04:04] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[18:04:04] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:04] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:04] :	 [Step 1/1] Building base image for: 18c83c93b...
[18:04:04] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:06] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:06] :	 [Step 1/1] Tag name: abc-base-image-18c83c93b
[18:04:25]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[18:04:25]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[18:04:25]W:	 [Step 1/1] cp: cannot stat '/work/build-without-wallet': No such file or directory
[18:04:25]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-without-wallet': No such file or directory
[18:04:25]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[18:04:29]W:	 [Step 1/1] Process exited with code 127
[18:04:29]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)

Snippet of first build failure:

[18:03:45] :	 [Collecting changes in 4 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[18:03:45] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: 18c83c93b35cc556798c463e1ca9f6531fc8660e
[18:03:45]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 24821
[18:03:45] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: 18c83c93b35cc556798c463e1ca9f6531fc8660e
[18:03:45] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: 18c83c93b35cc556798c463e1ca9f6531fc8660e
[18:04:25] : The build is removed from the queue to be prepared for the start
[18:04:29] : Starting the build on the agent highperf1
[18:04:29]i: Agent time zone: Etc/UTC
[18:04:29]i: Agent is running under JRE: 1.8.0_232-b09
[18:04:29] : Clearing temporary directory: /home/teamcity/buildAgent/temp/buildTmp
[18:04:29] : Publishing internal artifacts
[18:04:30] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[18:04:30] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[18:04:29] : Clean build enabled: removing old files from /home/teamcity/buildAgent/work/jailed-build
[18:04:29] : Checkout directory: /home/teamcity/buildAgent/work/jailed-build
[18:04:29] : Updating sources: agent side checkout (2s)
[18:04:29] :	 [Updating sources] VCS Root: Bitcoin ABC Staging (2s)
[18:04:29] :		 [VCS Root: Bitcoin ABC Staging] checkout rules: =>bitcoin-abc; revision: 18c83c93b35cc556798c463e1ca9f6531fc8660e
[18:04:29] :		 [VCS Root: Bitcoin ABC Staging] Git version: 2.20.1.0
[18:04:29] :		 [VCS Root: Bitcoin ABC Staging] Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git) (1s)
[18:04:29] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git config http.sslCAInfo
[18:04:29] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref
[18:04:30] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git -c credential.helper= ls-remote origin
[18:04:31] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:31] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:31] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[18:04:31] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[18:04:31] :			 [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'...
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[18:04:31] :			 [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
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 18c83c93b35cc556798c463e1ca9f6531fc8660e --
[18:04:31] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21774
[18:04:32] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21774
[18:04:32] :			 [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
[18:04:32] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[18:04:32] : Build preparation done
[18:04:32]E: Step 1/1: Command Line (15s)
[18:04:32] :	 [Step 1/1] Ant JUnit report watcher
[18:04:32] :		 [Ant JUnit report watcher] Watching paths:
[18:04:32] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[18:04:32] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[18:04:32] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script5551089829743714791
[18:04:32] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[18:04:32] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:32] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:32] :	 [Step 1/1] Building base image for: 18c83c93b...
[18:04:32] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[18:04:34] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[18:04:34] :	 [Step 1/1] Tag name: abc-base-image-18c83c93b
[18:04:42]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[18:04:42]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[18:04:42]W:	 [Step 1/1] cp: cannot stat '/work/build-diff': No such file or directory
[18:04:42]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-diff': No such file or directory
[18:04:42]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[18:04:46]W:	 [Step 1/1] Process exited with code 127
[18:04:46]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)

adapted CMakeFiles.txt file to better accomodate further fuzz harnesses

Snippet of first build failure:

[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:   5% (1/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  11% (2/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  16% (3/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  22% (4/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  27% (5/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  33% (6/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  38% (7/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  44% (8/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  50% (9/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  55% (10/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  61% (11/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  66% (12/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  72% (13/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  77% (14/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  83% (15/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  88% (16/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects:  94% (17/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects: 100% (18/18)        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Compressing objects: 100% (18/18), done.        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] remote: Total 18 (delta 13), reused 0 (delta 0), pack-reused 0        
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783] From ssh://reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783]  * [new tag]             phabricator/diff/21783 -> phabricator/diff/21783
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783]  * [new tag]             phabricator/base/21776 -> phabricator/base/21776
[21:38:47]i:				 [/usr/bin/git -c credential.helper= fetch --progress origin +refs/tags/phabricator/diff/21783:refs/tags/phabricator/diff/21783]  * [new tag]             phabricator/base/21783 -> phabricator/base/21783
[21:38:47] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git log -n1 --pretty=format:%H%x20%s f7ac6e05699ec82360a4eed26033be194971602e --
[21:38:47] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[21:38:47] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[21:38:47] :			 [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'...
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[21:38:47] :			 [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
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s f7ac6e05699ec82360a4eed26033be194971602e --
[21:38:47] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21783
[21:38:48] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:38:48] :			 [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
[21:38:48] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[21:38:48] : Build preparation done
[21:38:48]E: Step 1/1: Command Line (19s)
[21:38:48] :	 [Step 1/1] Ant JUnit report watcher
[21:38:48] :		 [Ant JUnit report watcher] Watching paths:
[21:38:48] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[21:38:48] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[21:38:48] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script5450326521418734995
[21:38:48] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[21:38:48] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:38:48] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:38:48] :	 [Step 1/1] Building base image for: f7ac6e056...
[21:38:48] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:38:50] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:38:50] :	 [Step 1/1] Tag name: abc-base-image-f7ac6e056
[21:39:01]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[21:39:01]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[21:39:01]W:	 [Step 1/1] cp: cannot stat '/work/build-clang-10': No such file or directory
[21:39:01]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-clang-10': No such file or directory
[21:39:01]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[21:39:07]W:	 [Step 1/1] Process exited with code 127
[21:39:07]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)

Snippet of first build failure:

[21:37:38] :	 [Collecting changes in 4 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:37:38]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 24835
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: f7ac6e05699ec82360a4eed26033be194971602e
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:39:13] : The build is removed from the queue to be prepared for the start
[21:39:15] : Starting the build on the agent highperf1
[21:39:15]i: Agent time zone: Etc/UTC
[21:39:15]i: Agent is running under JRE: 1.8.0_232-b09
[21:39:15] : Clearing temporary directory: /home/teamcity/buildAgent/temp/buildTmp
[21:39:15] : Publishing internal artifacts (1s)
[21:39:17] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[21:39:17] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[21:39:15] : Clean build enabled: removing old files from /home/teamcity/buildAgent/work/jailed-build
[21:39:15] : Checkout directory: /home/teamcity/buildAgent/work/jailed-build
[21:39:15] : Updating sources: agent side checkout (2s)
[21:39:15] :	 [Updating sources] VCS Root: Bitcoin ABC Staging (2s)
[21:39:15] :		 [VCS Root: Bitcoin ABC Staging] checkout rules: =>bitcoin-abc; revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:39:15] :		 [VCS Root: Bitcoin ABC Staging] Git version: 2.20.1.0
[21:39:15] :		 [VCS Root: Bitcoin ABC Staging] Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git) (1s)
[21:39:16] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git config http.sslCAInfo
[21:39:16] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref
[21:39:16] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git -c credential.helper= ls-remote origin
[21:39:17] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:17] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:17] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[21:39:17] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[21:39:17] :			 [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'...
[21:39:17] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[21:39:17] :			 [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
[21:39:17] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[21:39:17] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[21:39:17] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[21:39:18] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:18] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s f7ac6e05699ec82360a4eed26033be194971602e --
[21:39:18] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21783
[21:39:18] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:18] :			 [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
[21:39:18] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[21:39:18] : Build preparation done
[21:39:18]E: Step 1/1: Command Line (17s)
[21:39:18] :	 [Step 1/1] Ant JUnit report watcher
[21:39:18] :		 [Ant JUnit report watcher] Watching paths:
[21:39:18] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[21:39:18] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[21:39:18] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script53371847674365848
[21:39:18] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[21:39:18] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:39:18] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:39:18] :	 [Step 1/1] Building base image for: f7ac6e056...
[21:39:18] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:39:19] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:39:19] :	 [Step 1/1] Tag name: abc-base-image-f7ac6e056
[21:39:28]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[21:39:28]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[21:39:28]W:	 [Step 1/1] cp: cannot stat '/work/build-without-wallet': No such file or directory
[21:39:28]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-without-wallet': No such file or directory
[21:39:28]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[21:39:35]W:	 [Step 1/1] Process exited with code 127
[21:39:35]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)

Snippet of first build failure:

[21:37:38] :	 [Collecting changes in 4 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:37:38]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 24835
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: f7ac6e05699ec82360a4eed26033be194971602e
[21:37:38] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:39:41] : The build is removed from the queue to be prepared for the start
[21:39:43] : Starting the build on the agent highperf1
[21:39:43]i: Agent time zone: Etc/UTC
[21:39:43]i: Agent is running under JRE: 1.8.0_232-b09
[21:39:43] : Clearing temporary directory: /home/teamcity/buildAgent/temp/buildTmp
[21:39:43] : Publishing internal artifacts (2s)
[21:39:45] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[21:39:45] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[21:39:43] : Clean build enabled: removing old files from /home/teamcity/buildAgent/work/jailed-build
[21:39:43] : Checkout directory: /home/teamcity/buildAgent/work/jailed-build
[21:39:43] : Updating sources: agent side checkout (2s)
[21:39:43] :	 [Updating sources] VCS Root: Bitcoin ABC Staging (2s)
[21:39:43] :		 [VCS Root: Bitcoin ABC Staging] checkout rules: =>bitcoin-abc; revision: f7ac6e05699ec82360a4eed26033be194971602e
[21:39:43] :		 [VCS Root: Bitcoin ABC Staging] Git version: 2.20.1.0
[21:39:43] :		 [VCS Root: Bitcoin ABC Staging] Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git) (1s)
[21:39:43] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git config http.sslCAInfo
[21:39:43] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref
[21:39:44] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git -c credential.helper= ls-remote origin
[21:39:45] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:45] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:45] :			 [Update git mirror (/home/teamcity/buildAgent/system/git/git-48AA3180.git)] /usr/bin/git pack-refs --all
[21:39:45] :		 [VCS Root: Bitcoin ABC Staging] Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)
[21:39:45] :			 [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'...
[21:39:45] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git init
[21:39:45] :			 [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
[21:39:45] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config core.sparseCheckout true
[21:39:45] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git config http.sslCAInfo
[21:39:45] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref
[21:39:46] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:46] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git log -n1 --pretty=format:%H%x20%s f7ac6e05699ec82360a4eed26033be194971602e --
[21:39:46] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git -c credential.helper= checkout -q -f phabricator/diff/21783
[21:39:46] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/21783
[21:39:46] :			 [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
[21:39:46] :			 [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x
[21:39:46] : Build preparation done
[21:39:46]E: Step 1/1: Command Line (13s)
[21:39:46] :	 [Step 1/1] Ant JUnit report watcher
[21:39:46] :		 [Ant JUnit report watcher] Watching paths:
[21:39:46] :		 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[21:39:46] :		 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[21:39:46] :	 [Step 1/1] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script1874485063062245232
[21:39:46] :	 [Step 1/1] in directory: /home/teamcity/buildAgent/work/jailed-build
[21:39:46] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:39:46] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:39:46] :	 [Step 1/1] Building base image for: f7ac6e056...
[21:39:46] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[21:39:47] :	 [Step 1/1] ~/buildAgent/work/jailed-build
[21:39:47] :	 [Step 1/1] Tag name: abc-base-image-f7ac6e056
[21:39:56]W:	 [Step 1/1] /bin/bash: ./contrib/teamcity/build-configurations.py: No such file or directory
[21:39:56]W:	 [Step 1/1] cp: cannot stat '/tmp/sanitizer_logs': No such file or directory
[21:39:56]W:	 [Step 1/1] cp: cannot stat '/work/build-diff': No such file or directory
[21:39:56]W:	 [Step 1/1] cp: cannot stat '/work/abc-ci-builds/build-diff': No such file or directory
[21:39:56]W:	 [Step 1/1] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[21:39:59]W:	 [Step 1/1] Process exited with code 127
[21:39:59]E:	 [Step 1/1] Process exited with code 127 (Step: Command Line)
Fabien requested changes to this revision.Jun 26 2020, 07:05
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/test/fuzz/CMakeLists.txt
54

I'm not a fan of having a different function for each target.
You can either use add_fuzz_target directly (like the fuzz-script_flags target does) or make the fuzz-script_flags target use your new function if you need it for later diffs, keeping arg_fuzz_target private.

This revision now requires changes to proceed.Jun 26 2020, 07:05

addressed comments, I hadn't noticed the fuzz-script_flags target. this way seems to be more DRY.

Fabien added inline comments.
src/test/fuzz/CMakeLists.txt
40 ↗(On Diff #21803)

There is an indentation level missing

This revision is now accepted and ready to land.Jun 29 2020, 06:30

fixed linker error after rebase