aries-agent-test-harness icon indicating copy to clipboard operation
aries-agent-test-harness copied to clipboard

von-network building from the manage script in AATH causes pull error

Open nodlesh opened this issue 3 years ago • 3 comments

When running the following commands, with no image locally for von-network

./manage build -a acapy -a dotnet
 ./manage run -d acapy -b dotnet -t @AcceptanceTest -t ~@wip

mange run give the following error building von-network. ERROR: pull access denied for von-network-base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Workaround: before running the manage script run command, do the following

git clone https://github.com/bcgov/von-network
cd von-network
./manage build

nodlesh avatar Jan 06 '22 15:01 nodlesh

The von-network-base image is not being built if it does not exist. When the aries-agent-test-harness's ./manage run command is used it ends up calling von-network's ./manage up command (in services.von-network.wrapper.sh). The resulting call to ./manage up does not build the image.

WadeBarnes avatar Jan 06 '22 16:01 WadeBarnes

So the fix is to do a "./manage build" before the "./manage up". If it is not needed, I think it will be very fast, and will not cause a significant delay -- unless the image does have to be built.

Sheldon, are you working on that?

swcurran avatar Jan 06 '22 21:01 swcurran

PR: https://github.com/hyperledger/aries-agent-test-harness/pull/527

would add

./manage service build von-network

tdiesler avatar Jul 19 '22 13:07 tdiesler