LedgerHQ / ledger-vscode-extension

A VS Code extension providing tools to accelerate development of apps for Ledger wallets.
Apache License 2.0
6 stars 3 forks source link

[windows] dependencies generation issue with plugin tests #34

Open tdejoigny-ledger opened 6 months ago

tdejoigny-ledger commented 6 months ago

scenario : 1/ dependencies generation OK 2/ close Vscode 3/ open Vscode 4/ select plugin-BP 5/ It starts processing dependencies when we would expect it not to regenerate them ? 6/ error :

Error : Build of test use case set_test_keys dependency app-ethereum-set_test_keys failed. Error: Command failed: cd tests\.test_dependencies\app-ethereum-set_test_keys ; cmd.exe /c "git submodule update --init --recursive"; docker exec app-plugin-boilerplate-container bash -c 'export BOLOS_SDK=$(echo $NANOS_SDK) && make -C tests/.test_dependencies/app-ethereum-set_test_keys/ -j DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 ; export BOLOS_SDK=$(echo $NANOX_SDK) && make -C tests/.test_dependencies/app-ethereum-set_test_keys/ -j DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 ; export BOLOS_SDK=$(echo $NANOSP_SDK) && make -C tests/.test_dependencies/app-ethereum-set_test_keys/ -j DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 ; export BOLOS_SDK=$(echo $STAX_SDK) && make -C tests/.test_dependencies/app-ethereum-set_test_keys/ -j DEBUG=1 CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 ; '
fatal: destination path 'C:/Users//git/app-plugin-boilerplate/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path 'C:/Users//git/app-plugin-boilerplate/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk'. Retry scheduled
fatal: destination path 'C:/Users//git/app-plugin-boilerplate/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path 'C:/Users//git/app-plugin-boilerplate/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk' a second time, aborting
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk'. Retry scheduled
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk' a second time, aborting
rm: can't remove './ethereum-plugin-sdk/src': Directory not empty
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk'. Retry scheduled
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk' a second time, aborting
rm: can't remove './ethereum-plugin-sdk/CHANGELOG.md': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/common_utils.h': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/eth_internals.h': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/plugin_utils.h': No such file or directory
rm: can't remove './ethereum-plugin-sdk/standard_plugin.mk': No such file or directory
cp: can't create 'bin/app.hex': File exists
make: *** [/opt/nanox-secure-sdk/Makefile.rules_generic:173: bin/app.hex] Error 1
make: *** Waiting for unfinished jobs....
cp: can't create 'debug/app.map': File exists
make: *** [/opt/nanox-secure-sdk/Makefile.rules_generic:179: debug/app.map] Error 1
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk'. Retry scheduled
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk' a second time, aborting
rm: can't remove './ethereum-plugin-sdk/src/main.c': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/plugin_utils.c': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/plugin_utils.h': No such file or directory
rm: can't remove './ethereum-plugin-sdk/src/tx_content.h': No such file or directory
cp: can't open './ethereum-plugin-sdk/src/asset_info.h': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/caller_api.h': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/common_utils.c': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/common_utils.h': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/eth_plugin_interface.h': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/plugin_utils.c': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/plugin_utils.h': No such file or directory
cp: can't create './ethereum-plugin-sdk/src/tx_content.h': No such file or directory
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk'. Retry scheduled
fatal: destination path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' already exists and is not an empty directory.
fatal: clone of 'git@github.com:LedgerHQ/ethereum-plugin-sdk.git' into submodule path '/app/tests/.test_dependencies/app-ethereum-set_test_keys/ethereum-plugin-sdk' failed
Failed to clone 'ethereum-plugin-sdk' a second time, aborting
cp: can't create 'bin/app.elf': File exists
cp: can't create 'bin/app.hex': File exists
make: *** [/opt/stax-secure-sdk/Makefile.rules_generic:173: bin/app.elf] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/opt/stax-secure-sdk/Makefile.rules_generic:173: bin/app.hex] Error 1
cp: can't create 'debug/app.asm': File exists
make: *** [/opt/stax-secure-sdk/Makefile.rules_generic:179: debug/app.asm] Error 1
cp: can't create 'debug/app.map': File exists

make: *** [/opt/stax-secure-sdk/Makefile.rules_generic:179: debug/app.map] Error 1