Page MenuHomePhabricator

scripts: add PE dylib checking to symbol-check.py
ClosedPublic

Authored by PiRK on Apr 5 2023, 13:51.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCf6024eed1517: scripts: add PE dylib checking to symbol-check.py
Summary

This is a backport of core#18395

Depends on D13581

Test Plan

gitian builds

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23002
Build 45624: Build Diff
Build 45623: arc lint + arc unit

Event Timeline

PiRK published this revision for review.Apr 5 2023, 14:05
PiRK edited the summary of this revision. (Show Details)

Tail of the build log:

[14:13:08] :	 [Step 1/1]  * [new tag]             phabricator/diff/39288 -> phabricator/diff/39288
[14:13:08] :	 [Step 1/1]  * [new tag]             phabricator/diff/39289 -> phabricator/diff/39289
[14:13:08] :	 [Step 1/1]  * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
[14:13:08] :	 [Step 1/1]  * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
[14:13:08] :	 [Step 1/1]  * [new branch]          master                 -> master
[14:13:08] :	 [Step 1/1] --- Building for bullseye amd64 ---
[14:13:08] :	 [Step 1/1] Stopping target if it is up
[14:13:08] :	 [Step 1/1] Error response from daemon: No such container: gitian-target
[14:13:08] :	 [Step 1/1] Error: No such container: gitian-target
[14:13:08] :	 [Step 1/1] Making a new image copy
[14:13:08] :	 [Step 1/1] Starting target
[14:13:08] :	 [Step 1/1] Checking if target is up.
[14:13:08] :	 [Step 1/1] Preparing build environment
[14:13:08] :	 [Step 1/1] Updating apt-get repository (log in var/install.log)
[14:13:08] :	 [Step 1/1] Installing additional packages (log in var/install.log)
[14:13:08] :	 [Step 1/1] Upgrading system, may take a while (log in var/install.log)
[14:13:08] :	 [Step 1/1] Creating package manifest
[14:13:08] :	 [Step 1/1] Creating build script (var/build-script)
[14:13:08] :	 [Step 1/1] Running build script (log in var/build.log)
[14:13:08] :	 [Step 1/1] ./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:185:in `build_one_configuration'
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:339:in `block (2 levels) in <main>'
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:334:in `each'
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:334:in `block in <main>'
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:332:in `each'
[14:13:08] :	 [Step 1/1] 	from ./bin/gbuild:332:in `<main>'
[14:13:08] :	 [Step 1/1] Build gitian-win failed with exit code 1
[14:13:08] :	 [Step 1/1] ~/infra ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[14:13:08]W:	 [Step 1/1] + RESULT=1
[14:13:08]W:	 [Step 1/1] + pushd /home/teamcity/infra
[14:13:08]W:	 [Step 1/1] + docker-compose stop apt-cache-proxy
[14:13:09]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ... 
[14:13:19]W:	 [Step 1/1]  [1A [2K
[14:13:19]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ...  [32mdone [0m
[14:13:19]W:	 [Step 1/1]  [1B+ popd
[14:13:19]W:	 [Step 1/1] + exit 1
[14:13:19] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[14:13:19]W:	 [Step 1/1] Process exited with code 1
[14:13:19]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)
[14:13:19] :	 [Step 1/1] Waiting for 1 service processes to complete
[14:13:19]E:	 [Step 1/1] Ant JUnit report watcher
[14:13:19]E:		 [Ant JUnit report watcher] No reports found for paths:
[14:13:19]E:		 [Ant JUnit report watcher] /home/teamcity/buildAgent/work/jailed-build/results/artifacts/junit/*.xml
[14:13:20]E:	 [Step 1/1] Step Command Line failed
[14:13:20]E: Ant JUnit report watcher
[14:13:20]E:	 [Ant JUnit report watcher] No reports found for paths:
[14:13:20]E:	 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[14:13:20]E:	 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[14:13:20] : Publishing internal artifacts (5s)
[14:13:25] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[14:13:25] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[14:13:20]W: Publishing artifacts (7s)
[14:13:20] :	 [Publishing artifacts] Collecting files to publish: [+:results/**/junit_results*.xml, +:bitcoin-abc/abc-ci-builds/gitian-win/gitian-results => gitian-win.tar.gz]
[14:13:20]W:	 [Publishing artifacts] Artifacts path 'results/**/junit_results*.xml' not found
[14:13:20] :	 [Publishing artifacts] Creating archive gitian-win.tar.gz
[14:13:20] :		 [Creating archive gitian-win.tar.gz] Creating /home/teamcity/buildAgent/temp/buildTmp/TarPreprocessor6525746671933169345/gitian-win.tar.gz
[14:13:20] :		 [Creating archive gitian-win.tar.gz] Archive was created, file size 386.68 KB (395969 bytes)
[14:13:26] :	 [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: bitcoin-abc/abc-ci-builds/gitian-win/gitian-results => gitian-win.tar.gz
[14:13:26] :	 [Publishing artifacts] Publishing 1 file using [WebPublisher]: bitcoin-abc/abc-ci-builds/gitian-win/gitian-results => gitian-win.tar.gz
[14:13:28] : Build finished
Fabien requested changes to this revision.Apr 5 2023, 14:15
Fabien added a subscriber: Fabien.

back to your queue

This revision now requires changes to proceed.Apr 5 2023, 14:15

add 'CRYPT32.dll' to PE_ALLOWED_LIBRARIES

This revision is now accepted and ready to land.Apr 5 2023, 16:31