Page MenuHomePhabricator

scripts: add MACHO lazy bindings check to security-check.py
AbandonedPublicDraft

Authored by PiRK on Apr 4 2023, 09:27.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This is a backport of core#18295

Depends on D13353

Test Plan

gitian builds

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22939
Build 45498: Build Diff
Build 45497: arc lint + arc unit

Event Timeline

Tail of the build log:

[10:15:26] :	 [Step 1/1]  * [new tag]             phabricator/diff/39198 -> phabricator/diff/39198
[10:15:26] :	 [Step 1/1]  * [new tag]             phabricator/diff/39201 -> phabricator/diff/39201
[10:15:26] :	 [Step 1/1]  * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
[10:15:26] :	 [Step 1/1]  * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
[10:15:26] :	 [Step 1/1]  * [new branch]          master                 -> master
[10:15:26] :	 [Step 1/1] --- Building for bullseye amd64 ---
[10:15:26] :	 [Step 1/1] Stopping target if it is up
[10:15:26] :	 [Step 1/1] Error response from daemon: No such container: gitian-target
[10:15:26] :	 [Step 1/1] Error: No such container: gitian-target
[10:15:26] :	 [Step 1/1] Making a new image copy
[10:15:26] :	 [Step 1/1] Starting target
[10:15:26] :	 [Step 1/1] Checking if target is up.
[10:15:26] :	 [Step 1/1] Preparing build environment
[10:15:26] :	 [Step 1/1] Updating apt-get repository (log in var/install.log)
[10:15:26] :	 [Step 1/1] Installing additional packages (log in var/install.log)
[10:15:26] :	 [Step 1/1] Upgrading system, may take a while (log in var/install.log)
[10:15:26] :	 [Step 1/1] Creating package manifest
[10:15:26] :	 [Step 1/1] Creating build script (var/build-script)
[10:15:26] :	 [Step 1/1] Running build script (log in var/build.log)
[10:15:26] :	 [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)
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:185:in `build_one_configuration'
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:339:in `block (2 levels) in <main>'
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:334:in `each'
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:334:in `block in <main>'
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:332:in `each'
[10:15:26] :	 [Step 1/1] 	from ./bin/gbuild:332:in `<main>'
[10:15:26] :	 [Step 1/1] Build gitian-osx failed with exit code 1
[10:15:27] :	 [Step 1/1] ~/infra ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[10:15:27]W:	 [Step 1/1] + RESULT=1
[10:15:27]W:	 [Step 1/1] + pushd /home/teamcity/infra
[10:15:27]W:	 [Step 1/1] + docker-compose stop apt-cache-proxy
[10:15:27]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ... 
[10:15:37]W:	 [Step 1/1]  [1A [2K
[10:15:37]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ...  [32mdone [0m
[10:15:37]W:	 [Step 1/1]  [1B+ popd
[10:15:37]W:	 [Step 1/1] + exit 1
[10:15:37] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[10:15:37]W:	 [Step 1/1] Process exited with code 1
[10:15:37]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)
[10:15:37] :	 [Step 1/1] Waiting for 1 service processes to complete
[10:15:37]E:	 [Step 1/1] Ant JUnit report watcher
[10:15:37]E:		 [Ant JUnit report watcher] No reports found for paths:
[10:15:37]E:		 [Ant JUnit report watcher] /home/teamcity/buildAgent/work/jailed-build/results/artifacts/junit/*.xml
[10:15:37]E:	 [Step 1/1] Step Command Line failed
[10:15:38]E: Ant JUnit report watcher
[10:15:38]E:	 [Ant JUnit report watcher] No reports found for paths:
[10:15:38]E:	 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[10:15:38]E:	 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[10:15:38] : Publishing internal artifacts (4s)
[10:15:42] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[10:15:42] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[10:15:38]W: Publishing artifacts (6s)
[10:15:38] :	 [Publishing artifacts] Collecting files to publish: [+:results/**/junit_results*.xml, +:bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz]
[10:15:38]W:	 [Publishing artifacts] Artifacts path 'results/**/junit_results*.xml' not found
[10:15:38] :	 [Publishing artifacts] Creating archive gitian-osx.tar.gz
[10:15:38] :		 [Creating archive gitian-osx.tar.gz] Creating /home/teamcity/buildAgent/temp/buildTmp/TarPreprocessor5283386279747129088/gitian-osx.tar.gz
[10:15:38] :		 [Creating archive gitian-osx.tar.gz] Archive was created, file size 212.06 KB (217157 bytes)
[10:15:44] :	 [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz
[10:15:44] :	 [Publishing artifacts] Publishing 1 file using [WebPublisher]: bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz
[10:15:45] : Build finished