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

Fix probe_failed error #4440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix probe_failed error #4440

wants to merge 1 commit into from

Conversation

gustawlippa
Copy link
Contributor

Sometimes, mongoose_wpool_rdbms:inet_stats() may fail, for example when the socket is closing. This is why it's surrounded in a try...catch. The stats are processed with the merge_stats/1 function, and it expects them to be proplists, as returned from inet:getstat/2, not a map.

Before this fix, there would be a loud error in the logs, when the failure occured:

when=2024-12-16T11:36:49.894423+00:00 level=error what=probe_failed reason=badarg pid=<0.3480.0> at=safely:apply_and_log/4:58 stacktrace="maps:from_list/1:0 mongoose_wpool_rdbms:'-merge_stats/1-fun-0-'/2:129 lists:foldl/3:2146 mongoose_wpool_rdbms:get_rdbms_data_stats/2:69 safely:apply_and_log/4:58 mongoose_instrument_probe:call/3:20" probe_mod=mongoose_wpool_rdbms event_name=wpool_global_rdbms_stats labels_pool_tag=default stacktrace_args="[#{send_pend => 0,recv_cnt => 0,recv_max => 0,recv_oct => 0,send_cnt => 0,\
   send_max => 0,send_oct => 0}]"

With the fix, and with info loglevel enabled, only the expected log message is printed:

when=2024-12-16T12:21:53.187785+00:00 level=info what=inet_stats_failed reason=function_clause pid=<0.68061.0> at=mongoose_wpool_rdbms:inet_stats/1:147 stacktrace="prim_inet:getstat/2:0 mongoose_wpool_rdbms:inet_stats/1:144 mongoose_wpool_rdbms:'-get_rdbms_data_stats/2-lc$^3/1-3-'/1:67 mongoose_wpool_rdbms:get_rdbms_data_stats/2:67 safely:apply_and_log/4:58 mongoose_instrument_probe:call/3:20" stacktrace_args=[undefined,[recv_oct,recv_cnt,recv_max,send_oct,send_max,send_cnt,send_pend]] 

Sometimes, mongoose_wpool_rdbms:inet_stats() may fail, for example when the
socket is closing. This is why it's surrounded in a try...catch. The stats are
processed with the merge_stats/1 function, and it expects them to be proplists,
as returned from inet:getstat/2, not a map.
@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 16, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / c1d03b8
Reports root/ big
OK: 472 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / c1d03b8
Reports root / small


small_tests_27 / small_tests / c1d03b8
Reports root / small


small_tests_27_arm64 / small_tests / c1d03b8
Reports root / small


ldap_mnesia_26 / ldap_mnesia / c1d03b8
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / c1d03b8
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / c1d03b8
Reports root/ big
OK: 4726 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / c1d03b8
Reports root/ big
OK: 2495 / Failed: 0 / User-skipped: 770 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / c1d03b8
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / c1d03b8
Reports root/ big
OK: 4734 / Failed: 20 / User-skipped: 124 / Auto-skipped: 2

connect_SUITE:session_replacement:replaced_session_cannot_terminate_different_nodes
{error,{"Expected stream features, got {xmlel,<<\"stream:error\">>,[],\n                  [{xmlel,<<\"host-unknown\">>,\n                     [{<<\"xmlns\">>,\n                     <<\"urn:ietf:params:xml:ns:xmpp-streams\">>}],\n                     []}]}",
    [{escalus_session,assert_stream_features,3,
              [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_session.erl"},
               {line,291}]},
     {escalus_session,stream_features,2,
              [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_session.erl"},
               {line,190}]},
     {escalus_connection,connection_step,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                {line,161}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,2151}]},
     {escalus_connection,start,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                {line,145}]},
     {connect_SUITE,replaced_session_cannot_terminate_different_nodes,1,
            [{file,"/home/circleci/project/big_tests/tests/connect_SUITE.erl"},
             {line,593}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]}]}}

Report log

graphql_last_SUITE:admin_http:admin_last_configured:admin_old_users:admin_user_without_last_info_is_old_user
{error,{{assertEqual,[{module,graphql_last_SUITE},
            {line,421},
            {expression,"length ( OldUsers )"},
            {expected,3},
            {value,2}]},
    [{graphql_last_SUITE,admin_user_without_last_info_is_old_user,1,
               [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                {line,421}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_last_SUITE:admin_cli:admin_last_configured:admin_old_users:admin_user_without_last_info_is_old_user
{error,{{assertEqual,[{module,graphql_last_SUITE},
            {line,421},
            {expression,"length ( OldUsers )"},
            {expected,3},
            {value,2}]},
    [{graphql_last_SUITE,admin_user_without_last_info_is_old_user,1,
               [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                {line,421}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,4}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,4}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,4}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,4}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,155},
      {expression,"length ( Sessions )"},
      {expected,2},
      {value,3}]},
   [{graphql_session_SUITE,domain_admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,155}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,174},
      {expression,"Number"},
      {expected,2},
      {value,3}]},
   [{graphql_session_SUITE,domain_admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,174}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,83},
            {expression,"OnlineUsers"},
            {expected,0},
            {value,1}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,83}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,98},
            {expression,"OnlineUsers"},
            {expected,1},
            {value,2}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,98}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,83},
            {expression,"OnlineUsers"},
            {expected,0},
            {value,1}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,83}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,98},
            {expression,"OnlineUsers"},
            {expected,1},
            {value,2}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,98}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_session_SUITE:session_global:session_global
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

metrics_session_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{sm_node_sessions,#{}},{sm_total_sessions,#{}},{sm_unique_sessions,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log


pgsql_cets_27 / pgsql_cets / c1d03b8
Reports root/ big
OK: 4850 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / c1d03b8
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / c1d03b8
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / c1d03b8
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / c1d03b8
Reports root/ big
OK: 4876 / Failed: 3 / User-skipped: 188 / Auto-skipped: 0

pubsub_SUITE:dag+basic:discover_nodes_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_discover_nodes_test_2897@localhost/res1">>,
          escalus_tcp,<0.101938.0>,
          [{event_manager,<0.101799.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_discover_nodes_test_2897">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.101799.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_discover_nodes_test_2897">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_discover_nodes_test_2897">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_discover_nodes_test_2897">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"3c4a4de1512e3efe">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {pubsub_SUITE,'-discover_nodes_test/1-fun-0-',2,
...

Report log

pubsub_SUITE:dag+manage_subscriptions:retrieve_user_subscriptions_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_retrieve_user_subscriptions_test_2949@localhost/res1">>,
          escalus_tcp,<0.102997.0>,
          [{event_manager,<0.102977.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2949">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.102977.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_retrieve_user_subscriptions_test_2949">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_retrieve_user_subscriptions_test_2949">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2949">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"f80b8e7afd65c101">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/h...

Report log

pubsub_SUITE:dag+collection_config:disable_persist_items_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_disable_persist_items_leaf_test_2974@localhost/res1">>,
          escalus_tcp,<0.103546.0>,
          [{event_manager,<0.103544.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_disable_persist_items_leaf_test_2974">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.103544.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_persist_items_leaf_test_2974">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_disable_persist_items_leaf_test_2974">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_disable_persist_items_leaf_test_2974">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"e9d61f0b4c7b6a76">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_too...

Report log


mysql_redis_27 / mysql_redis / c1d03b8
Reports root/ big
OK: 5130 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / c1d03b8
Reports root/ big
OK: 5139 / Failed: 7 / User-skipped: 133 / Auto-skipped: 0

amp_big_SUITE:basic:error_deliver_to_offline_user_test
{error,{{badrpc,timeout},
    [{escalus_rpc,call_with_cookie_match,
            [mongooseim@localhost,ejabberd_admin,register,
             [<<"bOb_error_deliver_to_offline_user_test_97_error_deliver_to_offline_user_test_117">>,
            <<"localhost">>,<<"makrolika">>],
             3000,mongooseim],
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
             {line,34}]},
     {lists,foreach_1,2,[{file,"lists.erl"},{line,2310}]},
     {escalus_ejabberd,create_users,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
              {line,211}]},
     {escalus_fresh,create_users,2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
             {line,62}]},
     {escalus_fresh,story,3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
             {line,27}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_account_SUITE:admin_account_http:admin_register_user_limit_error
{error,
  {{badmap,null},
   [{erlang,map_get,
      [<<"message">>,null],
      [{error_info,#{module => erl_erts_errors}}]},
    {graphql_helper,get_value,2,
      [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
       {line,342}]},
    {graphql_account_SUITE,admin_register_user_limit_error,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_account_SUITE.erl"},
       {line,387}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_account_SUITE:admin_account_cli:admin_register_user_limit_error
{error,
  {#{what => invalid_response_code,
     response_code => {exit_status,1},
     expected_type => ok},
   [{graphql_helper,assert_response_code,2,
      [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
       {line,258}]},
    {graphql_helper,get_ok_value,2,
      [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
       {line,241}]},
    {graphql_account_SUITE,admin_register_user_limit_error,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_account_SUITE.erl"},
       {line,387}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_account_SUITE:domain_admin_account:admin_register_user_limit_error
{error,
  {{badmap,null},
   [{erlang,map_get,
      [<<"message">>,null],
      [{error_info,#{module => erl_erts_errors}}]},
    {graphql_helper,get_value,2,
      [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
       {line,342}]},
    {graphql_account_SUITE,admin_register_user_limit_error,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_account_SUITE.erl"},
       {line,387}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_last_SUITE:admin_http:admin_last_configured:admin_old_users:admin_list_old_users_domain
{error,{{badmatch,[#{<<"jid">> => <<"bob@localhost">>,
           <<"timestamp">> => <<"2024-12-16T13:28:48.000000Z">>},
           #{<<"jid">> =>
             <<"bob_error_deliver_to_offline_user_test_97_error_deliver_to_offline_user_test_117@localhost">>,
           <<"timestamp">> => null}]},
    [{graphql_last_SUITE,admin_list_old_users_domain_story,3,
               [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                {line,388}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_last_SUITE:admin_http:admin_last_configured:admin_old_users:admin_list_old_users_global
{error,{{badmatch,[#{<<"jid">> => <<"[email protected]">>,
           <<"timestamp">> => <<"2024-12-16T13:28:48.000000Z">>},
           #{<<"jid">> => <<"bob@localhost">>,
           <<"timestamp">> => <<"2024-12-16T13:28:48.000000Z">>},
           #{<<"jid">> =>
             <<"bob_error_deliver_to_offline_user_test_97_error_deliver_to_offline_user_test_117@localhost">>,
           <<"timestamp">> => null}]},
    [{graphql_last_SUITE,admin_list_old_users_global_story,4,
               [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                {line,412}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_last_SUITE:admin_http:admin_last_configured:admin_old_users:admin_remove_old_users_domain
{error,{{badmatch,[#{<<"jid">> => <<"bob@localhost">>,
           <<"timestamp">> => <<"2024-12-16T13:28:48.000000Z">>},
           #{<<"jid">> =>
             <<"bob_error_deliver_to_offline_user_test_97_error_deliver_to_offline_user_test_117@localhost">>,
           <<"timestamp">> => null}]},
    [{graphql_last_SUITE,admin_remove_old_users_domain_story,4,
               [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                {line,340}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / c1d03b8
Reports root/ big
OK: 4756 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / c1d03b8
Reports root/ big
OK: 5146 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.37%. Comparing base (4ad74d9) to head (c1d03b8).

Files with missing lines Patch % Lines
src/wpool/mongoose_wpool_rdbms.erl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4440      +/-   ##
==========================================
+ Coverage   85.33%   85.37%   +0.04%     
==========================================
  Files         550      550              
  Lines       33886    33886              
==========================================
+ Hits        28915    28929      +14     
+ Misses       4971     4957      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gustawlippa gustawlippa marked this pull request as ready for review December 16, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants