exceptions while running cli tests #317

Closed
opened 2022-03-11 17:36:56 +00:00 by prandnum · 17 comments
prandnum commented 2022-03-11 17:36:56 +00:00 (Migrated from gitlab.com)

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

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
prandnum commented 2022-03-11 17:47:42 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
prandnum commented 2022-03-11 17:49:56 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos @vampik

CC: @hbelakon

@bobinson @serkixenos @vampik CC: @hbelakon
serkixenos commented 2022-03-11 18:54:16 +00:00 (Migrated from gitlab.com)

@prandnum
Is this latest develop branch? Whats last commit id?

@prandnum Is this latest develop branch? Whats last commit id?
prandnum commented 2022-03-12 06:54:54 +00:00 (Migrated from gitlab.com)

please find the deteails below:

qa@PBSA-Dev:~/11032022/src/peerplays$ git log -6
commit 21e13ac4d4049d6856bf8268dba3a8973463d5cc (HEAD -> develop, origin/develop)
Merge: d347d3d0 7729c09c
Author: serkixenos <serki.xenos@gmail.com>
Date:   Tue Mar 8 23:23:43 2022 +0000

    Merge branch 'bug/149/prevent_misconfiguration_of_blockchain_parameters' into 'develop'

    Add constraints in changing global parameters

    See merge request PBSA/peerplays!79

commit 7729c09c2e5fd7034d0c5c224b503a5e68e59318
Author: Davor Hirunda <mdmdavor@gmail.com>
Date:   Tue Mar 8 23:23:42 2022 +0000

    Add constraints in changing global parameters

commit d347d3d01b7bbf0ceeebbdff96d44b8942637be5
Merge: 0740bceb f169e7a7
Author: serkixenos <serki.xenos@gmail.com>
Date:   Tue Mar 8 23:21:28 2022 +0000

    Merge branch 'feature/313-son-deposit-manually' into 'develop'

    #313 son deposit manually

    See merge request PBSA/peerplays!78

commit f169e7a7ef2b5c8b6acc0904840827ff8f518684
Author: Vlad Dobromyslov <vdobrik@peerplays.com>
Date:   Tue Mar 8 23:21:28 2022 +0000

    #313 son deposit manually

commit 0740bceb745c73c715bf834a693dd510099cf9ce
Author: serkixenos <serki.xenos@gmail.com>
Date:   Fri Mar 4 18:32:40 2022 -0400

    Update fc to last commit

commit 2c411b63d3c3517c61cd36c28672120af5fa500c
Merge: 4efa7e4f ae5237a7
Author: serkixenos <serki.xenos@gmail.com>
Date:   Fri Mar 4 22:02:42 2022 +0000

    Merge branch 'bug/279-randomly-test-fall' into 'develop'

    #279 randomly test fall

    See merge request PBSA/peerplays!77
qa@PBSA-Dev:~/11032022/src/peerplays$
please find the deteails below: ``` qa@PBSA-Dev:~/11032022/src/peerplays$ git log -6 commit 21e13ac4d4049d6856bf8268dba3a8973463d5cc (HEAD -> develop, origin/develop) Merge: d347d3d0 7729c09c Author: serkixenos <serki.xenos@gmail.com> Date: Tue Mar 8 23:23:43 2022 +0000 Merge branch 'bug/149/prevent_misconfiguration_of_blockchain_parameters' into 'develop' Add constraints in changing global parameters See merge request PBSA/peerplays!79 commit 7729c09c2e5fd7034d0c5c224b503a5e68e59318 Author: Davor Hirunda <mdmdavor@gmail.com> Date: Tue Mar 8 23:23:42 2022 +0000 Add constraints in changing global parameters commit d347d3d01b7bbf0ceeebbdff96d44b8942637be5 Merge: 0740bceb f169e7a7 Author: serkixenos <serki.xenos@gmail.com> Date: Tue Mar 8 23:21:28 2022 +0000 Merge branch 'feature/313-son-deposit-manually' into 'develop' #313 son deposit manually See merge request PBSA/peerplays!78 commit f169e7a7ef2b5c8b6acc0904840827ff8f518684 Author: Vlad Dobromyslov <vdobrik@peerplays.com> Date: Tue Mar 8 23:21:28 2022 +0000 #313 son deposit manually commit 0740bceb745c73c715bf834a693dd510099cf9ce Author: serkixenos <serki.xenos@gmail.com> Date: Fri Mar 4 18:32:40 2022 -0400 Update fc to last commit commit 2c411b63d3c3517c61cd36c28672120af5fa500c Merge: 4efa7e4f ae5237a7 Author: serkixenos <serki.xenos@gmail.com> Date: Fri Mar 4 22:02:42 2022 +0000 Merge branch 'bug/279-randomly-test-fall' into 'develop' #279 randomly test fall See merge request PBSA/peerplays!77 qa@PBSA-Dev:~/11032022/src/peerplays$ ```
serkixenos commented 2022-04-08 12:54:17 +00:00 (Migrated from gitlab.com)

assigned to @pavel.baykov

assigned to @pavel.baykov
pavel.baykov commented 2022-04-11 15:33:57 +00:00 (Migrated from gitlab.com)

added 7h of time spent

added 7h of time spent
pavel.baykov commented 2022-04-12 12:30:58 +00:00 (Migrated from gitlab.com)

to eliminate bug:

gdb cli_test
set args -t son_cli/cli_list_active_sons
break application.cpp:1015
run
break ord_index_impl.hpp:410
c - repeat 19 times
to eliminate bug: ``` gdb cli_test set args -t son_cli/cli_list_active_sons break application.cpp:1015 run break ord_index_impl.hpp:410 c - repeat 19 times ```
pavel.baykov commented 2022-04-12 12:33:19 +00:00 (Migrated from gitlab.com)

/usr/include/boost/multi_index/detail/ord_index_impl.hpp
line 831
returned false
and then link_point also returned false which leads to assert

ok: Could not modify object, most likely an index constraint was violated

/usr/include/boost/multi_index/detail/ord_index_impl.hpp line 831 returned false and then link_point also returned false which leads to assert `ok: Could not modify object, most likely an index constraint was violated`
pavel.baykov commented 2022-04-12 12:34:15 +00:00 (Migrated from gitlab.com)

failure we have here is for multi_index container for son_object

failure we have here is for multi_index container for son_object
pavel.baykov commented 2022-04-12 12:35:32 +00:00 (Migrated from gitlab.com)

it’s possible that root cause of the bug is context switch in the middle of objects modifications

it’s possible that root cause of the bug is context switch in the middle of objects modifications
pavel.baykov commented 2022-04-20 11:54:43 +00:00 (Migrated from gitlab.com)

fixed in the branch bug/issue317

fixed in the branch bug/issue317
bobinson commented 2022-04-21 07:37:40 +00:00 (Migrated from gitlab.com)

@pavel.baykov - can you share the link to the commit as well ?

@pavel.baykov - can you share the link to the commit as well ?
pavel.baykov commented 2022-04-21 11:17:01 +00:00 (Migrated from gitlab.com)

@bobinson
bf97c0c033

@bobinson https://gitlab.com/PBSA/peerplays/-/commit/bf97c0c03357bdb1e2b4f9e3e85929fbe968cf98
pavel.baykov commented 2022-04-21 12:17:11 +00:00 (Migrated from gitlab.com)

@bobinson but that’s multiple commits in that branch

@bobinson but that’s multiple commits in that branch
hbelakon commented 2022-05-02 03:44:21 +00:00 (Migrated from gitlab.com)

WHAT is the Epic?

WHAT is the Epic?
serkixenos commented 2022-06-27 12:43:50 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
serkixenos commented 2022-07-26 15:22:08 +00:00 (Migrated from gitlab.com)

Abandoned

Abandoned
serkixenos (Migrated from gitlab.com) closed this issue 2022-07-26 15:22:09 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#317
No description provided.