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 race condition when inserting into domain_event table #3212

Merged
merged 6 commits into from
Aug 13, 2021

Conversation

arcusfelis
Copy link
Contributor

@arcusfelis arcusfelis commented Aug 10, 2021

This PR addresses MIM-1459 "Inconsistent values in mongoose_domain_core".

Proposed changes include:

  • Fix for a race condition in PgSQL when allocating IDs.

Example

Node mim:

f().
recon_trace:calls({mongoose_domain_sql, select_updates_from, fun(_) -> return_trace() end}, 5000, [{scope, local}]).
From = 20000.
timer:sleep(6000).
[spawn(fun() -> mongoose_domain_api:insert_domain(<<"test", (integer_to_binary(N))/binary>>, <<"test type">>) end) || N <- lists:seq(From, From + 2000, 2)].

Node mim2:

f().
recon_trace:calls({mongoose_domain_sql, select_updates_from, fun(_) -> return_trace() end}, 5000, [{scope, local}]).
From = 20000.
timer:sleep(4000).
[spawn(fun() -> mongoose_domain_api:insert_domain(<<"test", (integer_to_binary(N))/binary>>, <<"test type">>) end) || N <- lists:seq(From + 1, From + 2001, 2)].

Do the check:

Nodes = [node()|nodes()].
List = [rpc:call(Node, mongoose_domain_api, get_domains_by_host_type, [<<"test type">>]) || Node <- Nodes].
[A,B|_] = List.
rp(lists:sort(A -- B)).
rp(lists:sort(B -- A)).

Not empty lists of difference in domains from two nodes.

Why does it happen?

PG assigns auto increment ids outside of a transaction. So, we could have to wait for records to be committed sometimes (rarely, usually 1 second waiting would be enough, once a missing event is detected).

What is the fix?

We check that ids we get from DB are incrementing without any gaps 1,2,3,4,5...
If a gap is detected (i.e. something like 1,2,4,5), we just wait and retry.

Domain_settings table has the same issue, but it would be triggered only at the load time, which is rare.
But what we can do is to maybe start rolling event updates not from the last event at the moment, but from an event, which is at least 10 (or 30?) seconds old.

Alternative fix

Don't use auto-increments. Always do in a transaction:

SELECT max(id) + 1 FROM domain_events;

to get an ID for a new event. If a transaction fails - just restart it.
This could be a bit slower on insertion, but could be a cleaner solution ;)

The alt fix would not work under intensive domain insertion rate though.

Logging

Will print

when=2021-08-11T15:54:49.286084+00:00 level=warning what=wait_for_gaps pid=<0.3267.0> at=mongoose_domain_gaps:handle_gaps/1:20 gaps=[1981]

@codecov
Copy link

codecov bot commented Aug 10, 2021

Codecov Report

Merging #3212 (c68ab32) into master (88c9463) will increase coverage by 0.09%.
The diff coverage is 77.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3212      +/-   ##
==========================================
+ Coverage   80.23%   80.32%   +0.09%     
==========================================
  Files         397      398       +1     
  Lines       32474    32517      +43     
==========================================
+ Hits        26054    26120      +66     
+ Misses       6420     6397      -23     
Impacted Files Coverage Δ
src/domain/mongoose_domain_loader.erl 75.47% <53.84%> (-8.98%) ⬇️
src/domain/mongoose_domain_gaps.erl 85.29% <85.29%> (ø)
src/domain/mongoose_domain_sql.erl 81.90% <100.00%> (ø)
src/domain/service_domain_db.erl 78.12% <100.00%> (+0.34%) ⬆️
src/mod_roster.erl 79.17% <0.00%> (-0.25%) ⬇️
src/mod_muc_log.erl 77.88% <0.00%> (ø)
src/mod_muc_room.erl 77.18% <0.00%> (+0.05%) ⬆️
src/pubsub/mod_pubsub.erl 73.23% <0.00%> (+0.05%) ⬆️
src/ejabberd_sm.erl 84.59% <0.00%> (+0.32%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88c9463...c68ab32. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 10, 2021

small_tests_24 / small_tests / 9bbd884
Reports root / small


internal_mnesia_24 / internal_mnesia / 9bbd884
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / 9bbd884
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_22 / small_tests / 9bbd884
Reports root / small


dynamic_domains_23 / pgsql_mnesia / 9bbd884
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / 9bbd884
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 9bbd884
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 9bbd884
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / 9bbd884
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 9bbd884
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 9bbd884
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 9bbd884
Reports root/ big
OK: 3087 / Failed: 3 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_prefs_cases:prefs_set_cdata_request
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected {prefs_result_iq,<<\"roster\">>,\n                  [<<\"[email protected]\">>,\n                   <<\"[email protected]\">>],\n                  []}\n\tValue {prefs_result_iq,<<\"always\">>,\n                 [<<\"[email protected]\">>,\n                <<\"[email protected]\">>],\n                 []}\n"}}

Report log

mam_SUITE:rdbms_prefs_cases:messages_filtered_when_prefs_default_policy_is_never
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log

mam_SUITE:rdbms_simple_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 9bbd884
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 9bbd884
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 9bbd884
Reports root/ big
OK: 3104 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

jingle_SUITE:all:resp_4xx_from_sip_proxy_results_in_session_terminate
{error,
  {{assertion_failed,assert,is_iq_result,
     {xmlel,<<"iq">>,
       [{<<"from">>,<<"error.480@localhost">>},
        {<<"to">>,
         <<"alice_resp_4xx_from_sip_proxy_results_in_session_terminate_55.119819@localhost/res1">>},
        {<<"id">>,<<"5c6d3f42-2e0f-46be-9f3f-5a4562233348">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-terminate">>},
           {<<"sid">>,<<"98a884db-a9df-41ab-9058-c2a85b857787">>}],
          [{xmlel,<<"reason">>,[],
             [{xmlel,<<"general-error">>,[],[]},
            {xmlel,<<"sip-error">>,
              [{<<"code">>,<<"480">>}],
              [{xmlcdata,<<"Temporarily Unavailable">>}]}]}]}]},
     "<iq from='error.480@localhost' to='alice_resp_4xx_from_sip_proxy_results_in_session_terminate_55.119819@localhost/res1' id='5c6d3f42-2e0f-46be-9f3f-5a4562233348' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='98a884db-a9df-41ab-9058-c2a85b857787'><reason><general-error/><sip-error code='480'>Temporarily Unavailable</sip-error></reason></jingle></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {jingle_SUITE,send_initiate_and_wait_for_first_iq_set,2,
      [{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
       {line,393}]},
    {jingle_SUITE,
      '-res...

Report log


riak_mnesia_24 / riak_mnesia / 9bbd884
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 11, 2021

small_tests_24 / small_tests / f216930
Reports root / small


internal_mnesia_24 / internal_mnesia / f216930
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


small_tests_22 / small_tests / f216930
Reports root / small


dynamic_domains_24 / pgsql_mnesia / f216930
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / f216930
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / f216930
Reports root / small


ldap_mnesia_24 / ldap_mnesia / f216930
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / f216930
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / f216930
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / f216930
Reports root/ big
OK: 3089 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_received_event_properly_formatted
{error,
  {{assertMatch,
     [{module,mod_event_pusher_rabbit_SUITE},
      {line,435},
      {expression,
        "get_decoded_message_from_rabbit ( AliceGroupChatMsgRecvRK )"},
      {pattern,
        "# { << \"from_user_id\" >> := BobRoomJID , << \"to_user_id\" >> := AliceFullJID , << \"message\" >> := Message }"},
      {value,
        #{<<"from_user_id">> =>
          <<"[email protected]/bOb_unnamed_80.558563">>,
        <<"message">> => <<"Hi there!">>,
        <<"to_user_id">> =>
          <<"alice_unnamed_80.690913@localhost/res1">>}}]},
   [{mod_event_pusher_rabbit_SUITE,
      '-group_chat_message_received_event_properly_formatted/1-fun-1-',3,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
       {line,435}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / f216930
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / f216930
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / f216930
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / f216930
Reports root/ big
OK: 3075 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_prefs_cases:prefs_set_cdata_request
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected {prefs_result_iq,<<\"roster\">>,\n                  [<<\"[email protected]\">>,\n                   <<\"[email protected]\">>],\n                  []}\n\tValue {prefs_result_iq,<<\"always\">>,\n                 [<<\"[email protected]\">>,\n                <<\"[email protected]\">>],\n                 []}\n"}}

Report log


riak_mnesia_24 / riak_mnesia / f216930
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / f216930
Reports root/ big
OK: 3161 / Failed: 106 / User-skipped: 185 / Auto-skipped: 124

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_25.802758@localhost/res1">>,
          escalus_tcp,<0.14818.1>,
          [{event_manager,<0.14814.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_25.802758">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.14814.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_25.802758">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_25.802758">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_25.802758">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"1e70b9562baa205a">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,609}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_muc_conversation_on_one_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_muc_conversation_on_one_host_0.645950@localhost/res1">>,
          escalus_tcp,<0.15465.1>,
          [{event_manager,<0.15459.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_0.645950">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15459.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_muc_conversation_on_one_host_0.645950">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_0.645950">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_0.645950">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"6e69943a601fbc94">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_muc_conversation_on_one_host/1-fun-0-',3,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
  ...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_global_disco
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_30.827775@localhost/res1">>,
          escalus_tcp,<0.15715.1>,
          [{event_manager,<0.15711.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_30.827775">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15711.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_30.827775">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_30.827775">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_30.827775">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"047ba572bc234210">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,609}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_with_disconnection_on_other_server_50.958901@localhost/res1">>,
          escalus_tcp,<0.15904.1>,
          [{event_manager,<0.15900.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_50.958901">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15900.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_with_disconnection_on_other_server_50.958901">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_50.958901">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_50.958901">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"24deea4776b4bd08">>}]},
        15000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
       [{file,
          "/home/cir...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_update_senders_host_68.560505@localhost/res1">>,
          escalus_tcp,<0.16333.1>,
          [{event_manager,<0.16328.1>},
           {server,<<"localhost">>},
           {username,<<"eve_test_update_senders_host_68.560505">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16328.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_update_senders_host_68.560505">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve_test_update_senders_host_68.560505">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"eve_test_update_senders_host_68.560505">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"4f42a67511c494f0">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,893}]},
     {escalus_story,story,4,
       [{file,
          "/home/circl...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_38.465813@localhost/res1">>,
          escalus_tcp,<0.16756.1>,
          [{event_manager,<0.16752.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_38.465813">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16752.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_38.465813">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_38.465813">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_38.465813">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"4b4cd17c07cc0f6c">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,609}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_on_one_host
{error,
  {{badmatch,0},
   [{escalus_story,drop_presences,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,191}]},
    {escalus_story,'-start_ready_clients/2-fun-0-',3,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,135}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
    {escalus_story,start_ready_clients,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,128}]},
    {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,69}]},
    {mod_global_distrib_SUITE,'-test_component_on_one_host/1-lc$^1/1-0-',3,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,558}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_components_in_different_regions
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,undefined,escalus_tcp,<0.16862.1>,undefined,
          [{sid,<<"bb4d6b4e9dc83f70">>},
           {port,9990},
           {component,<<"service2">>},
           {host,<<"localhost">>},
           {password,<<"secret">>},
           {server,<<"localhost">>},
           {component,<<"test_service">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,test_components_in_different_regions,1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,574}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1292}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_with_disconnection_on_other_server_89.916632@localhost/res1">>,
          escalus_tcp,<0.16911.1>,
          [{event_manager,<0.16907.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_89.916632">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16907.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_with_disconnection_on_other_server_89.916632">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_89.916632">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_89.916632">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"c0acab8473795be7">>}]},
        15000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
       [{file,
          "/home/cir...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_update_senders_host_7.508120@localhost/res1">>,
          escalus_tcp,<0.17357.1>,
          [{event_manager,<0.17352.1>},
           {server,<<"localhost">>},
           {username,<<"eve_test_update_senders_host_7.508120">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.17352.1>},
            {server,<<"localhost">>},
            {username,<<"eve_test_update_senders_host_7.508120">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve_test_update_senders_host_7.508120">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"eve_test_update_senders_host_7.508120">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"d48588d27e76308c">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,893}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_b...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]}]}}

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]}]}}

Report log

mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]}]}}

Report log

mod_global_distrib_SUITE:multi_connection:test_muc_conversation_history
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_muc_conversation_history_35.876002@localhost/res1">>,
          escalus_tcp,<0.18700.1>,
          [{event_manager,<0.18694.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_muc_conversation_history_35.876002">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.18694.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_muc_conversation_history_35.876002">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_muc_conversation_history_35.876002">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_muc_conversation_history_35.876002">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"c9ede741afb74655">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,wait_for_subject,1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,517}]},
     {mod_global_distrib_SUITE,'...

Report log

mod_global_distrib_SUITE:multi_connection:end_per_group
{error,
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 30000},
       gen_mod_deps,replace_modules,
       [<<"localhost">>,
      [{mod_bosh,[]},
       {mod_global_distrib_mapping,
         [{resend_after_ms,500},
          {disabled_gc_interval,10000},
          {connections_per_endpoint,100},
          {local_host,"localhost.bis"},
          {hosts_refresh_interval,200},
          {global_host,"localhost"},
          {endpoints,[{{127,0,0,1},5555}]},
          {tls_opts,
            [{certfile,"priv/ssl/fake_server.pem"},
             {cafile,"priv/ssl/ca/cacert.pem"}]},
          {redis,[no_opts]}]},
       {mod_global_distrib_disco,
         [{resend_after_ms,20000},
          {disabled_gc_interval,10000},
          {connections_per_endpoint,100},
          {local_host,"localhost.bis"},
          {hosts_refresh_interval,200},
          {global_host,"localhost"},
          {endpoints,[{{127,0,0,1},5555}]},
          {tls_opts,
            [{certfile,"priv/ssl/fake_server.pem"},
             {cafile,"priv/ssl/ca/cacert.pem"}]},
          {redis,[no_opts]},
          {resend_after_ms,500}]},
       {mod_global_distrib,
         [{resend_after_ms,20000},
          {disabled_gc_interval,10000},
          {connections_per_endpoint,100},
          {local_host,"localhost.bis"},
          {hosts_refresh_interval,200},
          {global_host,"localhost"},
          {endpoints,[{{127,0,0,1},5555}]},
          {tls_opts,
         ...

Report log

mod_global_distrib_SUITE:multi_connection:init_per_group
{'EXIT',
  {{{can_connect_to_port,5555},
    true,
    [false,false,false,false,false,false,false,false,false,false,false,
     false,false,false,false,false,false,false,false,false,false,false,
     false,false,false,false,false,false,false,false]},
   [{mongoose_helper,do_wait_until,3,
      [{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
       {line,352}]},
    {mod_global_distrib_SUITE,'-wait_for_listeners_to_appear/0-lc$^0/1-0-',
      1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,1331}]},
    {mod_global_distrib_SUITE,init_per_group_generic,1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,220}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1380}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_global_distrib_SUITE:advertised_endpoints:test_advertised_endpoints_override_endpoints
{error,
  {{badmatch,false},
   [{mod_global_distrib_SUITE,test_advertised_endpoints_override_endpoints,
      1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,384}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_global_distrib_SUITE:advertised_endpoints:init_per_group
{'EXIT',
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 30000},
       gen_mod,stop_module,
       [<<"localhost">>,mod_offline]],
      [{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
       {line,117}]},
    {mongoose_helper,successful_rpc,5,
      [{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
       {line,273}]},
    {mod_global_distrib_SUITE,'-init_per_group_generic/1-lc$^1/1-1-',5,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,203}]},
    {mod_global_distrib_SUITE,'-init_per_group_generic/1-fun-2-',2,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,204}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
    {mod_global_distrib_SUITE,init_per_group_generic,1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,179}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1380}]}]}}

Report log

mod_http_upload_SUITE:mod_http_upload_s3:http_upload_feature_discovery
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"bOb@localhost/res1">>,escalus_tcp,<0.22150.1>,
          [{event_manager,<0.22149.1>},
           {server,<<"localhost">>},
           {username,<<"bOb">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22149.1>},
            {server,<<"localhost">>},
            {username,<<"bOb">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"8a04d76ea3340f6f">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_http_upload_SUITE,'-http_upload_feature_discovery/1-fun-1-',1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_http_upload_SUITE.erl"},
        {line,161}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
        {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{lin...

Report log

mod_http_upload_SUITE:mod_http_upload_s3:advertises_max_file_size
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"bOb@localhost/res1">>,escalus_tcp,<0.22169.1>,
          [{event_manager,<0.22168.1>},
           {server,<<"localhost">>},
           {username,<<"bOb">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22168.1>},
            {server,<<"localhost">>},
            {username,<<"bOb">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"006ef49de9546b29">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_http_upload_SUITE,'-advertises_max_file_size/1-fun-2-',1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_http_upload_SUITE.erl"},
        {line,170}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
        {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,129...

Report log

mod_http_upload_SUITE:mod_http_upload_s3:request_slot
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"bOb@localhost/res1">>,escalus_tcp,<0.22188.1>,
          [{event_manager,<0.22187.1>},
           {server,<<"localhost">>},
           {username,<<"bOb">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22187.1>},
            {server,<<"localhost">>},
            {username,<<"bOb">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"fc0ac6428dd40567">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_http_upload_SUITE,'-request_slot/1-fun-2-',1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_http_upload_SUITE.erl"},
        {line,234}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
        {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1292}]},
     {...

Report log

mod_http_upload_SUITE:mod_http_upload_s3:rejects_set_iq
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"bOb@localhost/res1">>,escalus_tcp,<0.22208.1>,
          [{event_manager,<0.22207.1>},
           {server,<<"localhost">>},
           {username,<<"bOb">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22207.1>},
            {server,<<"localhost">>},
            {username,<<"bOb">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"200d4079d5c50844">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_http_upload_SUITE,'-rejects_set_iq/1-fun-0-',1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_http_upload_SUITE.erl"},
        {line,199}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
        {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1292}]},
    ...

Report log

mod_http_upload_SUITE:mod_http_upload_s3:http_upload_feature_discovery
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"bOb@localhost/res1">>,escalus_tcp,<0.22411.1>,
          [{event_manager,<0.22410.1>},
           {server,<<"localhost">>},
           {username,<<"bOb">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22410.1>},
            {server,<<"localhost">>},
            {username,<<"bOb">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"181b431aad9e0efe">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_http_upload_SUITE,'-http_upload_feature_discovery/1-fun-1-',1,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_http_upload_SUITE.erl"},
        {line,161}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
        {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{lin...

Report log

84 errors were truncated

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 11, 2021

small_tests_24 / small_tests / b4df632
Reports root / small


internal_mnesia_24 / internal_mnesia / b4df632
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / b4df632
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / b4df632
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_22 / small_tests / b4df632
Reports root / small


small_tests_23 / small_tests / b4df632
Reports root / small


ldap_mnesia_24 / ldap_mnesia / b4df632
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / b4df632
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / b4df632
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / b4df632
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / b4df632
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / b4df632
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / b4df632
Reports root/ big
OK: 3069 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / b4df632
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / b4df632
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / b4df632
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


small_tests_23 / small_tests / b4df632
Reports root / small

Copy link
Member

@chrzaszcz chrzaszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The load test was successful with 100k domains which failed before, good work! However, we need to unit-test this module (without DB) and add type specs before merging to master.

Example logs from one node are shown below. The messages about user archive and metrics are unrelated. It looks reasonable to me.

when=2021-08-12T09:15:48.565512+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[6] when=2021-08-12T09:15:55.104485+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[2632] when=2021-08-12T09:16:00.016613+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[4594] when=2021-08-12T09:16:00.104778+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[4632] when=2021-08-12T09:16:45.131800+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[22643] when=2021-08-12T09:16:45.231552+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[22683] when=2021-08-12T09:16:50.982405+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[24983] when=2021-08-12T09:16:52.036602+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[25403] when=2021-08-12T09:16:52.241614+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[25487] when=2021-08-12T09:17:07.994298+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[31765] when=2021-08-12T09:17:25.569511+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[38813] when=2021-08-12T09:17:30.761902+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[40894] when=2021-08-12T09:17:30.763536+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[40894] when=2021-08-12T09:17:45.051502+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[46611] when=2021-08-12T09:17:49.926691+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.927353+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.927931+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.928512+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.929109+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.929660+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.930659+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.932509+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.933515+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:49.934107+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[48559] when=2021-08-12T09:17:53.385862+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[49945] when=2021-08-12T09:18:04.049672+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.051057+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.051721+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.052390+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.053766+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.054951+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.056353+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:04.057098+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54210] when=2021-08-12T09:18:05.127778+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[54641] when=2021-08-12T09:18:19.681662+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[60463] when=2021-08-12T09:18:20.151288+00:00 level=warning what=create_user_archive_failed reason={error,duplicate_key} pid=<0.1206.1> at=mod_mam_rdbms_user:create_user_archive/3:127 user=user_5781 server=test-domain-5781 host=localhost when=2021-08-12T09:18:30.013969+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[64595] when=2021-08-12T09:18:30.127042+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[64640] when=2021-08-12T09:18:34.887982+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[66545] when=2021-08-12T09:18:39.227392+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[68281] when=2021-08-12T09:18:39.341420+00:00 level=error pid=<0.13928.2> at=: unstructured_log="Error in process <0.13928.2> on node 'mongooseim@ip-10-2-0-172' with exit value:\ {badarg,\ [{erlang,length,[undefined],[{error_info,#{module => erl_erts_errors}}]},\ {mongoose_system_metrics_collector,get_hosts_count,0,\ [{file,\ \"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl\"},\ {line,42}]},\ {mongoose_system_metrics_collector,'-collect/1-lc$^0/1-0-',1,\ [{file,\ \"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl\"},\ {line,15}]},\ {mongoose_system_metrics_collector,collect,1,\ [{file,\ \"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl\"},\ {line,15}]},\ {service_mongoose_system_metrics,'-handle_info/2-fun-0-',3,\ [{file,\ \"/home/circleci/app/src/system_metrics/service_mongoose_system_metrics.erl\"},\ {line,105}]}]}\ " 09:18:39.341 [error] Error in process <0.13928.2> on node 'mongooseim@ip-10-2-0-172' with exit value: {badarg,[{erlang,length,[undefined],[{error_info,#{module => erl_erts_errors}}]},{mongoose_system_metrics_collector,get_hosts_count,0,[{file,"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl"},{line,42}]},{mongoose_system_metrics_collector,'-collect/1-lc$^0/1-0-',1,[{file,"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl"},{line,15}]},{mongoose_system_metrics_collector,collect,1,[{file,"/home/circleci/app/src/system_metrics/mongoose_system_metrics_collector.erl"},{line,15}]},{service_mongoose_system_metrics,'-handle_info/2-fun-0-',3,[{file,"/home/circleci/app/src/system_metrics/service_mongoose_system_metrics.erl"},{line,105}]}]} when=2021-08-12T09:18:40.032768+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[68602] when=2021-08-12T09:18:40.076382+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[68619] when=2021-08-12T09:18:45.228678+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[70682] when=2021-08-12T09:18:50.105807+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[72632] when=2021-08-12T09:18:50.107790+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[72632] when=2021-08-12T09:18:50.109237+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[72632] when=2021-08-12T09:18:50.274037+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[72699] when=2021-08-12T09:19:00.057373+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[76613] when=2021-08-12T09:19:01.226865+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[77081] when=2021-08-12T09:19:01.227575+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[77081] when=2021-08-12T09:19:09.339931+00:00 level=warning what=create_user_archive_failed reason={error,duplicate_key} pid=<0.28665.1> at=mod_mam_rdbms_user:create_user_archive/3:127 user=user_15931 server=test-domain-15931 host=localhost when=2021-08-12T09:19:10.026771+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[80599] when=2021-08-12T09:19:10.028833+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[80599] when=2021-08-12T09:19:10.232510+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[80683] when=2021-08-12T09:19:10.244825+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[80688] when=2021-08-12T09:19:12.074516+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[81420] when=2021-08-12T09:19:16.084784+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83023,83022] when=2021-08-12T09:19:16.095064+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83028] when=2021-08-12T09:19:16.096280+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83028] when=2021-08-12T09:19:16.139034+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83045] when=2021-08-12T09:19:16.139733+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83045] when=2021-08-12T09:19:16.140299+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83045] when=2021-08-12T09:19:16.141660+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83045] when=2021-08-12T09:19:16.321630+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:16.322432+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:16.324286+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:16.327071+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:16.328987+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:16.329738+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83119] when=2021-08-12T09:19:17.610767+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[83630] when=2021-08-12T09:19:20.202380+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[84669] when=2021-08-12T09:19:27.749079+00:00 level=warning what=create_user_archive_failed reason={error,duplicate_key} pid=<0.6233.2> at=mod_mam_rdbms_user:create_user_archive/3:127 user=user_69561 server=test-domain-69561 host=localhost when=2021-08-12T09:19:30.149928+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[88649] when=2021-08-12T09:19:30.151266+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[88649] when=2021-08-12T09:19:30.159851+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[88653] when=2021-08-12T09:19:32.769193+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[89698] when=2021-08-12T09:19:36.742335+00:00 level=warning what=create_user_archive_failed reason={error,duplicate_key} pid=<0.11987.2> at=mod_mam_rdbms_user:create_user_archive/3:127 user=user_21491 server=test-domain-21491 host=localhost when=2021-08-12T09:19:40.035952+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[92598] when=2021-08-12T09:19:42.277611+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93489] when=2021-08-12T09:19:42.280978+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93494] when=2021-08-12T09:19:42.282318+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93494] when=2021-08-12T09:19:42.283089+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93494] when=2021-08-12T09:19:42.284025+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93494] when=2021-08-12T09:19:42.296254+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93502] when=2021-08-12T09:19:42.405836+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.406768+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.408323+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.409691+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.411037+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.412896+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93547] when=2021-08-12T09:19:42.433825+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93558] when=2021-08-12T09:19:42.464812+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93562] when=2021-08-12T09:19:42.876197+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93739] when=2021-08-12T09:19:42.877071+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93739] when=2021-08-12T09:19:42.879029+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93739] when=2021-08-12T09:19:42.879990+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93739] when=2021-08-12T09:19:42.880692+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[93739] when=2021-08-12T09:19:43.657200+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.658585+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.659359+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.659968+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.660706+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.661961+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.665718+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.673055+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94049] when=2021-08-12T09:19:43.868299+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.875378+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.877256+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.879683+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.882345+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.884262+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94134] when=2021-08-12T09:19:43.935938+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94162] when=2021-08-12T09:19:43.940787+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94162] when=2021-08-12T09:19:43.943470+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94162] when=2021-08-12T09:19:44.120599+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94236] when=2021-08-12T09:19:45.053571+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94611] when=2021-08-12T09:19:45.887068+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94945] when=2021-08-12T09:19:45.975333+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[94980] when=2021-08-12T09:19:46.033131+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[95003] when=2021-08-12T09:19:46.033863+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[95003] when=2021-08-12T09:19:46.034437+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[95003] when=2021-08-12T09:19:46.035555+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[95003] when=2021-08-12T09:19:50.365553+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.369000+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.369943+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.370752+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.373338+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.377331+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96736] when=2021-08-12T09:19:50.440528+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96766] when=2021-08-12T09:19:50.443672+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96766] when=2021-08-12T09:19:50.991951+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[96987] when=2021-08-12T09:19:52.819048+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[97717] when=2021-08-12T09:19:56.548660+00:00 level=warning what=wait_for_gaps pid=<0.653.0> at=mongoose_domain_gaps:handle_gaps/1:56 gaps=[99210]

src/domain/mongoose_domain_gaps.erl Outdated Show resolved Hide resolved
@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 12, 2021

small_tests_24 / small_tests / dd8815b
Reports root / small


small_tests_22 / small_tests / dd8815b
Reports root / small


internal_mnesia_24 / internal_mnesia / dd8815b
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / dd8815b
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / dd8815b
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / dd8815b
Reports root / small


ldap_mnesia_22 / ldap_mnesia / dd8815b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / dd8815b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / dd8815b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / dd8815b
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / dd8815b
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / dd8815b
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / dd8815b
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / dd8815b
Reports root/ big
OK: 3069 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / dd8815b
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / dd8815b
Reports root/ big
OK: 1744 / Failed: 1 / User-skipped: 286 / Auto-skipped: 0

mod_ping_SUITE:server_ping:server_ping_pong
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response],
          {expected_diff,5},
          {before_story,0},
          {after_story,4}}]},
    [{escalus_mongooseim,post_story_check_metrics,1,
               [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
                {line,74}]},
     {escalus_mongooseim,maybe_check_metrics_post_story,1,
               [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
                {line,51}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,75}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1224}]}]}}

Report log

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 12, 2021

small_tests_24 / small_tests / c68ab32
Reports root / small


internal_mnesia_24 / internal_mnesia / c68ab32
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / c68ab32
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / c68ab32
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_22 / small_tests / c68ab32
Reports root / small


small_tests_23 / small_tests / c68ab32
Reports root / small


ldap_mnesia_24 / ldap_mnesia / c68ab32
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / c68ab32
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / c68ab32
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / c68ab32
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / c68ab32
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / c68ab32
Reports root/ big
OK: 3069 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / c68ab32
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / c68ab32
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / c68ab32
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / c68ab32
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0

Copy link
Member

@chrzaszcz chrzaszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good and I load-tested it again, everything works.

@chrzaszcz chrzaszcz merged commit e498a56 into master Aug 13, 2021
@chrzaszcz chrzaszcz deleted the mu-fix-gaps-in-domain-events branch August 13, 2021 07:13
@Premwoik Premwoik added this to the 5.0.0 milestone Oct 5, 2021
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.

4 participants