-
Notifications
You must be signed in to change notification settings - Fork 429
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
Add capability of measuring async sql execute requests #4002
Conversation
small_tests_24 / small_tests / 96086ea small_tests_25_arm64 / small_tests / 96086ea small_tests_25 / small_tests / 96086ea dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 96086ea ldap_mnesia_24 / ldap_mnesia / 96086ea dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 96086ea pgsql_mnesia_24 / pgsql_mnesia / 96086ea dynamic_domains_mysql_redis_25 / mysql_redis / 96086ea pgsql_mnesia_25 / pgsql_mnesia / 96086ea elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 96086ea internal_mnesia_25 / internal_mnesia / 96086ea mysql_redis_25 / mysql_redis / 96086ea dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 96086ea mssql_mnesia_25 / odbc_mssql_mnesia / 96086ea |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #4002 +/- ##
==========================================
+ Coverage 82.17% 82.19% +0.02%
==========================================
Files 535 535
Lines 33844 33845 +1
==========================================
+ Hits 27811 27819 +8
+ Misses 6033 6026 -7
... and 5 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
96086ea
to
c825cc3
Compare
small_tests_24 / small_tests / c825cc3 small_tests_25_arm64 / small_tests / c825cc3 small_tests_25 / small_tests / c825cc3 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / c825cc3 ldap_mnesia_24 / ldap_mnesia / c825cc3 ldap_mnesia_25 / ldap_mnesia / c825cc3 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / c825cc3 dynamic_domains_mysql_redis_25 / mysql_redis / c825cc3 pgsql_mnesia_24 / pgsql_mnesia / c825cc3 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / c825cc3 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / c825cc3 pgsql_mnesia_25 / pgsql_mnesia / c825cc3 internal_mnesia_25 / internal_mnesia / c825cc3 mysql_redis_25 / mysql_redis / c825cc3 mssql_mnesia_25 / odbc_mssql_mnesia / c825cc3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add one more test
small_tests_24 / small_tests / 7b9ec70 small_tests_25_arm64 / small_tests / 7b9ec70 small_tests_25 / small_tests / 7b9ec70 ldap_mnesia_24 / ldap_mnesia / 7b9ec70 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7b9ec70 ldap_mnesia_25 / ldap_mnesia / 7b9ec70 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 7b9ec70 dynamic_domains_mysql_redis_25 / mysql_redis / 7b9ec70 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 7b9ec70 pgsql_mnesia_24 / pgsql_mnesia / 7b9ec70 internal_mnesia_25 / internal_mnesia / 7b9ec70 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 7b9ec70 mysql_redis_25 / mysql_redis / 7b9ec70 mssql_mnesia_25 / odbc_mssql_mnesia / 7b9ec70 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a comment
7b9ec70
to
d424020
Compare
small_tests_24 / small_tests / d424020 small_tests_25_arm64 / small_tests / d424020 small_tests_25 / small_tests / d424020 ldap_mnesia_24 / ldap_mnesia / d424020 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / d424020 ldap_mnesia_25 / ldap_mnesia / d424020 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / d424020 dynamic_domains_mysql_redis_25 / mysql_redis / d424020 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / d424020 pgsql_mnesia_24 / pgsql_mnesia / d424020 internal_mnesia_25 / internal_mnesia / d424020 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / d424020 pgsql_mnesia_25 / pgsql_mnesia / d424020 mssql_mnesia_25 / odbc_mssql_mnesia / d424020 mysql_redis_25 / mysql_redis / d424020 |
d424020
to
95f7c68
Compare
small_tests_24 / small_tests / 95f7c68 small_tests_25_arm64 / small_tests / 95f7c68 small_tests_25 / small_tests / 95f7c68 ldap_mnesia_24 / ldap_mnesia / 95f7c68 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 95f7c68 dynamic_domains_mysql_redis_25 / mysql_redis / 95f7c68 ldap_mnesia_25 / ldap_mnesia / 95f7c68 pgsql_mnesia_24 / pgsql_mnesia / 95f7c68 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 95f7c68 internal_mnesia_25 / internal_mnesia / 95f7c68 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 95f7c68 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 95f7c68 pgsql_mnesia_25 / pgsql_mnesia / 95f7c68 mysql_redis_25 / mysql_redis / 95f7c68 mssql_mnesia_25 / odbc_mssql_mnesia / 95f7c68 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a couple of comments
small_tests_24 / small_tests / 79ff1a2 small_tests_25 / small_tests / 79ff1a2 small_tests_25_arm64 / small_tests / 79ff1a2 ldap_mnesia_24 / ldap_mnesia / 79ff1a2 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 79ff1a2 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 79ff1a2 ldap_mnesia_25 / ldap_mnesia / 79ff1a2 dynamic_domains_mysql_redis_25 / mysql_redis / 79ff1a2 pgsql_mnesia_24 / pgsql_mnesia / 79ff1a2 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 79ff1a2 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 79ff1a2 internal_mnesia_25 / internal_mnesia / 79ff1a2 mysql_redis_25 / mysql_redis / 79ff1a2 pgsql_mnesia_25 / pgsql_mnesia / 79ff1a2 mssql_mnesia_25 / odbc_mssql_mnesia / 79ff1a2 graphql_server_SUITE:admin_cli:clustering_tests:remove_dead_from_cluster{error,{{badrpc,nodedown},
[{distributed_helper,rpc,
[#{node => mongooseim3@localhost,
timeout => 60000},
mongoose_cluster,join,
[mongooseim@localhost]],
[{file,"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{graphql_server_SUITE,remove_dead_from_cluster,1,
[{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
{line,175}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} graphql_server_SUITE:admin_cli:clustering_tests:remove_alive_from_cluster{error,{{badrpc,nodedown},
[{distributed_helper,rpc,
[#{node => mongooseim3@localhost,
timeout => 60000},
mongoose_cluster,join,
[mongooseim@localhost]],
[{file,"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{graphql_server_SUITE,remove_alive_from_cluster,1,
[{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
{line,197}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} graphql_server_SUITE:admin_cli:clustering_tests:remove_node_test{error,{#{expected_type => ok,
response_code => {exit_status,3},
what => invalid_response_code},
[{graphql_helper,assert_response_code,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,256}]},
{graphql_helper,get_ok_value,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,239}]},
{graphql_server_SUITE,remove_node_test,1,
[{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
{line,208}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} graphql_server_SUITE:admin_cli:clustering_tests:stop_node_test{error,{#{expected_type => ok,
response_code => {exit_status,3},
what => invalid_response_code},
[{graphql_helper,assert_response_code,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,256}]},
{graphql_helper,get_ok_value,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,239}]},
{graphql_server_SUITE,stop_node_test,1,
[{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
{line,213}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:message_flow{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,metrics_only_global,1,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,263}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_client_just_logs_in{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:two_clients_just_log_in{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_message_sent{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_direct_presence_sent{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_iq_sent{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_message_error{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_iq_error{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} metrics_api_SUITE:all_metrics_are_global:one_presence_error{error,{{badmatch,{error,econnrefused}},
[{rest_helper,fusco_request,7,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,185}]},
{rest_helper,make_request,1,
[{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
{line,114}]},
{metrics_api_SUITE,fetch_global_counter_values,3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,437}]},
{metrics_api_SUITE,'-fetch_all/2-lc$^2/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,369}]},
{metrics_api_SUITE,instrumented_story,4,
[{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
{line,357}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} mod_global_distrib_SUITE:mod_global_distrib:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:cluster_restart:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:invalidation:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:multi_connection:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:rebalancing:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:advertised_endpoints:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mod_global_distrib_SUITE:hosts_refresher:init_per_group{'EXIT',
{{badrpc,
{'EXIT',
{noproc,
{gen_server,call,
[gen_hook,
{delete_handler,
{roster_get,<<"localhost">>},
{hook_handler,50,fun mod_roster:get_user_roster/3,
#{hook_name => roster_get,
hook_tag => <<"localhost">>,
host_type => <<"localhost">>}}}]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim2@localhost,timeout => 30000},
mongoose_modules,ensure_stopped,
[<<"localhost">>,mod_roster]],
[{file,
"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{dynamic_modules,'-ensure_stopped/3-lc$^0/1-0-',3,
[{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
{line,39}]},
{mod_global_distrib_SUITE,'-init_modules_per_node/2-lc$^0/1-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{mod_global_distrib_SUITE,init_modules_per_node,2,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,199}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{mod_global_distrib_SUITE,init_per_group_generic,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global... mongooseimctl_SUITE:roster:rosteritem_rw{error,{{badmatch,false},
[{mongooseimctl_SUITE,match_roster,2,
[{file,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,1533}]},
{mongooseimctl_SUITE,'-rosteritem_rw/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,706}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} mongooseimctl_SUITE:roster_advanced:process_rosteritems_list_simple{error,{{badmatch,nomatch},
[{mongooseimctl_SUITE,'-process_rosteritems_list_simple/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,777}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} mongooseimctl_SUITE:last:set_last{error,
{{assertion_failed,assert,is_last_result,
{xmlel,<<"iq">>,
[{<<"from">>,<<"bob@localhost">>},
{<<"to">>,<<"alice@localhost/res1">>},
{<<"id">>,<<"3892f8c214df7d6179f6d5bc751d0072">>},
{<<"type">>,<<"error">>}],
[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:last">>}],[]},
{xmlel,<<"error">>,
[{<<"code">>,<<"403">>},{<<"type">>,<<"auth">>}],
[{xmlel,<<"forbidden">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],
[]}]}]},
"<iq from='bob@localhost' to='alice@localhost/res1' id='3892f8c214df7d6179f6d5bc751d0072' type='error'><query xmlns='jabber:iq:last'/><error code='403' type='auth'><forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{mongooseimctl_SUITE,'-set_last/1-fun-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,996}]},
{escalus_story,story,4,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_... mongooseimctl_SUITE:stanza:send_message{error,
{{assertion_failed,assert,is_chat_message,
[<<"Hi Bob!">>],
{xmlel,<<"presence">>,
[{<<"from">>,<<"alice@localhost/res1">>},
{<<"to">>,<<"bob@localhost/res1">>},
{<<"type">>,<<"unavailable">>}],
[{xmlel,<<"status">>,[],
[{xmlcdata,<<"Shutdown by reason: socket_closed">>}]}]},
"<presence from='alice@localhost/res1' to='bob@localhost/res1' type='unavailable'><status>Shutdown by reason: socket_closed</status></presence>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{mongooseimctl_SUITE,'-send_message/1-fun-0-',4,
[{file,
"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,1038}]},
{escalus_story,story,4,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} muc_light_SUITE:entity:rooms_in_rosters{error,
{{assertion_failed,assert,is_roster_result,
{xmlel,<<"iq">>,
[{<<"from">>,<<"alice@localhost">>},
{<<"to">>,<<"alice@localhost/res1">>},
{<<"type">>,<<"error">>},
{<<"id">>,<<"00030e8699b0f6ae772393ae05d2cc64">>}],
[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:roster">>}],[]},
{xmlel,<<"error">>,
[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],
[{xmlel,<<"service-unavailable">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],
[]},
{xmlel,<<"text">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],
[{xmlcdata,
<<"Unknown xmlns=jabber:iq:roster for host=localhost">>}]}]}]},
"<iq from='alice@localhost' to='alice@localhost/res1' type='error' id='00030e8699b0f6ae772393ae05d2cc64'><query xmlns='jabber:iq:roster'/><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Unknown xmlns=jabber:iq:roster for host=localhost</text></error></iq>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_light_SUITE,'-rooms_in_rosters/1-fun-1-',1,
[{file,"/home/circleci/project/big_tests/tests/muc_light_SUITE.erl"},
{line,460}]},
{escalus_story,stor... 21 errors were truncated |
fe05ab2
to
5ad1b66
Compare
small_tests_24 / small_tests / 5ad1b66 small_tests_25 / small_tests / 5ad1b66 small_tests_25_arm64 / small_tests / 5ad1b66 ldap_mnesia_24 / ldap_mnesia / 5ad1b66 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 5ad1b66 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 5ad1b66 ldap_mnesia_25 / ldap_mnesia / 5ad1b66 dynamic_domains_mysql_redis_25 / mysql_redis / 5ad1b66 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 5ad1b66 internal_mnesia_25 / internal_mnesia / 5ad1b66 pgsql_mnesia_24 / pgsql_mnesia / 5ad1b66 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 5ad1b66 pgsql_mnesia_25 / pgsql_mnesia / 5ad1b66 mysql_redis_25 / mysql_redis / 5ad1b66 mssql_mnesia_25 / odbc_mssql_mnesia / 5ad1b66 dynamic_domains_mysql_redis_25 / mysql_redis / 5ad1b66 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adds a new API to
mongoose_rdbms
allowing to inject some additional code (e.g. measure time and record a metric) to asynchronous sql execute calls. Interface is similar to basicsql_execute_request
with additional argumentMeasureFun
which is a function that encapsulatessql_execute
call and performs additional actions. Intended usage is shown in newly added test.