exceptions while running cli tests
Following exceptions are seen while running cli_tests
556166ms th_a db_maint.cpp:765 update_active_sons ] Active SONs set CHANGED
556166ms th_a db_maint.cpp:363 update_son_statuses ] New SONS
556166ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.1, status = active, total_votes = 200000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.2, status = active, total_votes = 200000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.3, status = active, total_votes = 200000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.4, status = active, total_votes = 200000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.0, status = active, total_votes = 150000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.5, status = active, total_votes = 150000000
556167ms th_a db_maint.cpp:368 update_son_statuses ] 1.33.6, status = active, total_votes = 100000000
557169ms th_a undo_database.cpp:294 pop_commit ] error popping commit 10 assert_exception: Assert Exception
ok: Could not modify object, most likely an index constraint was violated
{}
th_a generic_index.hpp:88 modify
557169ms th_a db_management.cpp:272 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"generic_index.hpp","line":88,"method":"modify","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:09:17"},"format":"ok: Could not modify object, most likely an index constraint was violated","data":{}},{"context":{"level":"warn","file":"object_database.cpp","line":119,"method":"pop_undo","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:09:17"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":600,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:09:17"},"format":"","data":{}}]}
536322ms th_a database_api.cpp:2446 get_potential_signat ] result: ["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4","TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536322ms th_a database_api.cpp:2392 get_required_signatu ] trx: {"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]} available_keys: []
536322ms th_a database_api.cpp:2406 get_required_signatu ] result: []
536326ms th_a wallet.cpp:1221 broadcast_transactio ] Caught exception while broadcasting tx 5d577c5370e3e878cb694eac15c867c9e2bb18cb: 0 exception: unspecified
missing required active authority: Missing Active Authority 1.2.19
{"error":"missing required active authority: Missing Active Authority 1.2.19","data":{"id":44,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.19","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":310,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.19","auth":{"weight_threshold":2,"account_auths":[],"key_auths":[["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4",1],["TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST6Q9MQrFsFFeaT6QUpxT5eVxuQe3TpBrfDG2ZRSfhTKPyeNA7Vt",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"ops":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"sigs":[]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"*this":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}]]}}]}}}}
th_a state.cpp:38 handle_reply
536326ms th_a wallet.cpp:631 copy_wallet_file ] backing up wallet /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json to before-import-key-e02894f0.wallet
536327ms th_a wallet.cpp:1109 save_wallet_file ] saving wallet to file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json
536328ms th_a wallet.cpp:1127 save_wallet_file ] saved successfully wallet to tmp file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536328ms th_a wallet.cpp:1133 save_wallet_file ] validated successfully tmp wallet file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536328ms th_a wallet.cpp:1135 save_wallet_file ] renamed successfully tmp wallet file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536329ms th_a wallet.cpp:1142 save_wallet_file ] successfully saved wallet to file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json
536329ms th_a wallet.cpp:631 copy_wallet_file ] backing up wallet /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json to after-import-key-e02894f0.wallet
536352ms th_a database_api.cpp:2418 get_potential_signat ] trx: {"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}
536353ms th_a database_api.cpp:2446 get_potential_signat ] result: ["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4","TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536353ms th_a database_api.cpp:2392 get_required_signatu ] trx: {"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]} available_keys: ["TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536354ms th_a database_api.cpp:2406 get_required_signatu ] result: ["TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536358ms th_a wallet.cpp:3201 add_transaction_sign ] Caught exception while broadcasting tx 5d577c5370e3e878cb694eac15c867c9e2bb18cb: 0 exception: unspecified
missing required active authority: Missing Active Authority 1.2.19
{"error":"missing required active authority: Missing Active Authority 1.2.19","data":{"id":50,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.19","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":310,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.19","auth":{"weight_threshold":2,"account_auths":[],"key_auths":[["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4",1],["TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST6Q9MQrFsFFeaT6QUpxT5eVxuQe3TpBrfDG2ZRSfhTKPyeNA7Vt",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"ops":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"sigs":["TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"*this":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["1f79caa01181cf1e3900c7ea80e2905af4b60f05f6a945817cf698121c88e5b4c80fadcdab496da9c7419627517764dbbf7756d3598d5358bd08b89a783e68d6f5"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["1f79caa01181cf1e3900c7ea80e2905af4b60f05f6a945817cf698121c88e5b4c80fadcdab496da9c7419627517764dbbf7756d3598d5358bd08b89a783e68d6f5"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["1f79caa01181cf1e3900c7ea80e2905af4b60f05f6a945817cf698121c88e5b4c80fadcdab496da9c7419627517764dbbf7756d3598d5358bd08b89a783e68d6f5"]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2022-03-11T14:08:56"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["1f79caa01181cf1e3900c7ea80e2905af4b60f05f6a945817cf698121c88e5b4c80fadcdab496da9c7419627517764dbbf7756d3598d5358bd08b89a783e68d6f5"]}]]}}]}}}}
th_a state.cpp:38 handle_reply
536358ms th_a wallet.cpp:631 copy_wallet_file ] backing up wallet /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json to before-import-key-5f090fec.wallet
536360ms th_a wallet.cpp:1109 save_wallet_file ] saving wallet to file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json
536360ms th_a wallet.cpp:1127 save_wallet_file ] saved successfully wallet to tmp file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536360ms th_a wallet.cpp:1133 save_wallet_file ] validated successfully tmp wallet file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536360ms th_a wallet.cpp:1135 save_wallet_file ] renamed successfully tmp wallet file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json.tmp
536360ms th_a wallet.cpp:1142 save_wallet_file ] successfully saved wallet to file /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json
536361ms th_a wallet.cpp:631 copy_wallet_file ] backing up wallet /tmp/graphene-tmp/58fc-5bea-60c3-87d3/wallet.json to after-import-key-5f090fec.wallet
536361ms th_a database_api.cpp:2418 get_potential_signat ] trx: {"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]}
536361ms th_a database_api.cpp:2446 get_potential_signat ] result: ["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4","TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536362ms th_a database_api.cpp:2392 get_required_signatu ] trx: {"ref_block_num":0,"ref_block_prefix":0,"expiration":"2022-03-12T14:08:54","operations":[[0,{"fee":{"amount":3000000,"asset_id":"1.3.0"},"from":"1.2.19","to":"1.2.18","amount":{"amount":100000000,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":[]} available_keys: ["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4","TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
536362ms th_a database_api.cpp:2406 get_required_signatu ] result: ["TEST522mL5EqR9mueWq5EZu4SQo4jQDio4wwTZXZfuiRfeNFXGwqL4","TEST6qes57y2E6AJXQV3J6oUqLvEMCEhVELRZDar3QUEE6p4P3Ziks"]
537869ms th_a database_api.cpp:405 ~database_api_impl ] freeing database api 94106925818464
The second one seems to be an issue with the test logic of not importing the active key to spend the funds.
logs: https://gitlab.com/PBSA/documentation/working-documents/-/blob/develop/317-logs.tar.gz
Edited by Kiran Kumar