Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] dependencies generation issue with plugin tests #34

Open
tdejoigny-ledger opened this issue Feb 23, 2024 · 0 comments
Open

[windows] dependencies generation issue with plugin tests #34

tdejoigny-ledger opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working high priority

Comments

@tdejoigny-ledger
Copy link
Contributor

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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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 '[email protected]: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

@tdejoigny-ledger tdejoigny-ledger added bug Something isn't working high priority labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

1 participant