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

Implement domain removal in mod_muc #3305

Merged
merged 5 commits into from
Sep 29, 2021
Merged

Implement domain removal in mod_muc #3305

merged 5 commits into from
Sep 29, 2021

Conversation

Premwoik
Copy link
Contributor

@Premwoik Premwoik commented Sep 28, 2021

Proposed changes include:

  • Add remove_domain callback to mod_muc_db behavior.
  • Support remove_domain hook in mod_muc.
  • Implement remove_domain callback for RDBMS backend.
  • Extract some helper functions from muc_SUITE to muc_helper module to make them available for reuse from domain_removal_SUITE.
  • Add test case for mod_muc domain removal.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / c3bba9f
Reports root / small


internal_mnesia_24 / internal_mnesia / c3bba9f
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 294 / Auto-skipped: 0


small_tests_23 / small_tests / c3bba9f
Reports root / small


dynamic_domains_24 / pgsql_mnesia / c3bba9f
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {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


dynamic_domains_23 / pgsql_mnesia / c3bba9f
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1381}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1225}]}]}}

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / c3bba9f
Reports root/ big
OK: 1861 / Failed: 0 / User-skipped: 320 / Auto-skipped: 1

muc_SUITE:disco_rsm_with_offline:init_per_group
{'EXIT',
 {{badmatch,
   {error,
  #{class => exit,
    from_jid =>
     {jid,<<"alicE">>,<<"localhost">>,<<"rpc">>,<<"alice">>,
    <<"localhost">>,<<"rpc">>},
    host_type => <<"localhost">>,
    reason =>
     {noproc,
    {gen_server,call,
     [ejabberd_mod_muc_sup_localhost,
      {start_child,
       [#{access => {muc,muc_create,none,all},
        creator =>
         {jid,<<"alicE">>,<<"localhost">>,<<"rpc">>,<<"alice">>,
        <<"localhost">>,<<"rpc">>},
        def_opts => [{instant,true}],
        history_size => 20,host_type => <<"localhost">>,
        http_auth_pool => none,init_type => start_new,
        muc_host => <<"muc.localhost">>,nick => <<"aliceonchat">>,
        room_name => <<"room01">>,room_shaper => none,
        server_host => <<"localhost">>}]},
      infinity]}},
    room => <<"room01">>,server => <<"localhost">>,
    stacktrace =>
     [{gen_server,call,3,[{file,"gen_server.erl"},{line,247}]},
    {mod_muc,handle_call,3,
     [{file,"/home/circleci/app/src/mod_muc.erl"},{line,489}]},
    {gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,721}]},
    {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,750}]},
    {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}],
    what => muc_create_instant_failed}}},
  [{muc_helper,create_instant_room,4,
  [{file,"/home/circleci/app/big_tests/tests/muc_helper.erl"},{line,152}]},
   {muc_SUITE,'-start_rsm_rooms/3-lc$^0/1-0-',3,
  [{file,"/home/circleci/app/big_tests/tests/muc_SUITE...

Report log


pgsql_mnesia_24 / pgsql_mnesia / c3bba9f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {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


ldap_mnesia_23 / ldap_mnesia / c3bba9f
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 397 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / c3bba9f
Reports root/ big
OK: 3050 / Failed: 0 / User-skipped: 228 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {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


ldap_mnesia_24 / ldap_mnesia / c3bba9f
Reports root/ big
OK: 1504 / Failed: 33 / User-skipped: 393 / Auto-skipped: 105

mod_ping_SUITE:server_ping:server_ping_pang
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,1},
          {before_story,0},
          {after_story,0}}]},
    [{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

mod_ping_SUITE:server_ping:server_ping_pang
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,1},
          {before_story,1},
          {after_story,1}}]},
    [{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

mod_ping_SUITE:server_ping:server_ping_pang
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,1},
          {before_story,2},
          {after_story,2}}]},
    [{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

mod_ping_SUITE:server_ping_kill:server_ping_pang
{error,{{badmatch,true},
    [{mod_ping_SUITE,check_connection,2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,262}]},
     {mod_ping_SUITE,'-server_ping_pang/1-fun-0-',2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,253}]},
     {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

pubsub_SUITE:dag+basic:subscribe_unsubscribe_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"bOb_subscribe_unsubscribe_test_75.182982@localhost/res1">>,
          escalus_tcp,<0.31890.0>,
          [{event_manager,<0.31888.0>},
           {server,<<"localhost">>},
           {username,<<"bOb_subscribe_unsubscribe_test_75.182982">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.31888.0>},
            {server,<<"localhost">>},
            {username,
              <<"bOb_subscribe_unsubscribe_test_75.182982">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb_subscribe_unsubscribe_test_75.182982">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb_subscribe_unsubscribe_test_75.182982">>},
           {server,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"330ba767746eaeff">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,4...

Report log

pubsub_SUITE:dag+basic:publish_with_max_items_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_publish_with_max_items_test_90.295297@localhost/res1">>,
          escalus_tcp,<0.32093.0>,
          [{event_manager,<0.32092.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_publish_with_max_items_test_90.295297">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.32092.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_publish_with_max_items_test_90.295297">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_publish_with_max_items_test_90.295297">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_publish_with_max_items_test_90.295297">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"3ffb8d3ec61b98e1">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circlec...

Report log

pubsub_SUITE:dag+basic:publish_with_existing_id_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_publish_with_existing_id_test_6.21144@localhost/res1">>,
          escalus_tcp,<0.32316.0>,
          [{event_manager,<0.32315.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_publish_with_existing_id_test_6.21144">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.32315.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_publish_with_existing_id_test_6.21144">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_publish_with_existing_id_test_6.21144">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_publish_with_existing_id_test_6.21144">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"2031af8e026d5fae">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circlec...

Report log

pubsub_SUITE:dag+manage_subscriptions:modify_node_subscriptions_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+collection:collection_delete_makes_leaf_parentless
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+collection:collection_delete_makes_leaf_parentless
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_collection_delete_makes_leaf_parentless_33.172922@localhost/res1">>,
          escalus_tcp,<0.198.1>,
          [{event_manager,<0.197.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_collection_delete_makes_leaf_parentless_33.172922">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.197.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_collection_delete_makes_leaf_parentless_33.172922">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_collection_delete_makes_leaf_parentless_33.172922">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_collection_delete_makes_leaf_parentless_33.172922">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"a774d345a8550ca0">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,rece...

Report log

pubsub_SUITE:dag+collection:notify_collection_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_notify_collection_test_42.631315@localhost/res1">>,
          escalus_tcp,<0.279.1>,
          [{event_manager,<0.278.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_notify_collection_test_42.631315">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.278.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_notify_collection_test_42.631315">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_notify_collection_test_42.631315">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_notify_collection_test_42.631315">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"1e0481ed2b1ec12e">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,470}]},
     {pub...

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_47.993911@localhost/res1">>,
          escalus_tcp,<0.335.1>,
          [{event_manager,<0.333.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_disable_persist_items_leaf_test_47.993911">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.333.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_persist_items_leaf_test_47.993911">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_disable_persist_items_leaf_test_47.993911">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_disable_persist_items_leaf_test_47.993911">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"2b16d32132b6a1f1">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,...

Report log

pubsub_SUITE:dag+collection_config:disable_notifications_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_disable_notifications_leaf_test_47.989445@localhost/res1">>,
          escalus_tcp,<0.336.1>,
          [{event_manager,<0.321.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_disable_notifications_leaf_test_47.989445">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.321.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_notifications_leaf_test_47.989445">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_disable_notifications_leaf_test_47.989445">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_disable_notifications_leaf_test_47.989445">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"d0929624d19051c5">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,...

Report log

pubsub_SUITE:dag+debug_calls:debug_get_item_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+debug_calls:debug_get_items_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+debug_calls:debug_get_items_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+debug_calls:debug_get_item_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+last_item_cache:send_last_published_item_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_send_last_published_item_test_73.389648@localhost/res1">>,
          escalus_tcp,<0.681.1>,
          [{event_manager,<0.665.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_send_last_published_item_test_73.389648">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.665.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_send_last_published_item_test_73.389648">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_send_last_published_item_test_73.389648">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_send_last_published_item_test_73.389648">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"9f48badc14e07935">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/cir...

Report log

pubsub_SUITE:dag+last_item_cache:send_last_published_item_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+last_item_cache:purge_all_items_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:tree+basic:subscribe_options_separate_request_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_subscribe_options_separate_request_test_95.179501@localhost/res1">>,
          escalus_tcp,<0.1014.1>,
          [{event_manager,<0.1013.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_95.179501">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.1013.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_subscribe_options_separate_request_test_95.179501">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_95.179501">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_subscribe_options_separate_request_test_95.179501">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"b4ac3d6828ca082f">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,r...

Report log

pubsub_SUITE:tree+basic:retract_when_user_goes_offline_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_retract_when_user_goes_offline_test_19.866584@localhost/res1">>,
          escalus_tcp,<0.1330.1>,
          [{event_manager,<0.1329.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_retract_when_user_goes_offline_test_19.866584">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.1329.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_retract_when_user_goes_offline_test_19.866584">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_retract_when_user_goes_offline_test_19.866584">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_retract_when_user_goes_offline_test_19.866584">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"892173c659b7c98e">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_res...

Report log

pubsub_SUITE:tree+basic:subscribe_unsubscribe_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:tree+manage_subscriptions:process_subscription_requests_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_process_subscription_requests_test_37.674971@localhost/res1">>,
          escalus_tcp,<0.1810.1>,
          [{event_manager,<0.1801.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_process_subscription_requests_test_37.674971">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.1801.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_process_subscription_requests_test_37.674971">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_process_subscription_requests_test_37.674971">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_process_subscription_requests_test_37.674971">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"137ceb591bc8dcba">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response...

Report log

pubsub_SUITE:tree+debug_calls:debug_get_items_test
{error,{thrown,{timeout,stream_end}}}

Report log

8 errors were truncated


mssql_mnesia_24 / odbc_mssql_mnesia / c3bba9f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {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


pgsql_mnesia_23 / pgsql_mnesia / c3bba9f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 1

domain_removal_SUITE:muc_removal:init_per_group
{'EXIT',
  {function_clause,
    [{domain_removal_SUITE,group_to_modules,
       [muc_removal],
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,71}]},
     {domain_removal_SUITE,init_per_group,2,
       [{file,
          "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
        {line,56}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1381}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1225}]}]}}

Report log


riak_mnesia_24 / riak_mnesia / c3bba9f
Reports root/ big
OK: 1734 / Failed: 1 / User-skipped: 323 / Auto-skipped: 0

rest_client_SUITE:muc:messages_can_be_paginated_in_room
{error,
  {{assertion_failed,assert,is_chat_message,
     [<<"ab705ec2">>],
     {xmlel,<<"message">>,
       [{<<"to">>,<<"[email protected]">>},
        {<<"type">>,<<"chat">>}],
       [{xmlel,<<"body">>,[],[{xmlcdata,<<"9ff03c18">>}]}]},
     "<message to='[email protected]' type='chat'><body>9ff03c18</body></message>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {rest_client_SUITE,assert_room_messages,2,
      [{file,"/home/circleci/app/big_tests/tests/rest_client_SUITE.erl"},
       {line,772}]},
    {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

@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #3305 (006655c) into master (0528e05) will increase coverage by 0.06%.
The diff coverage is 94.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3305      +/-   ##
==========================================
+ Coverage   80.19%   80.26%   +0.06%     
==========================================
  Files         398      398              
  Lines       32595    32614      +19     
==========================================
+ Hits        26140    26177      +37     
+ Misses       6455     6437      -18     
Impacted Files Coverage Δ
src/mod_muc.erl 74.05% <80.00%> (+0.29%) ⬆️
src/mod_muc_db_rdbms.erl 95.12% <100.00%> (+0.62%) ⬆️
src/event_pusher/mod_event_pusher_sns.erl 84.21% <0.00%> (-5.27%) ⬇️
src/domain/mongoose_domain_sql.erl 82.85% <0.00%> (-2.86%) ⬇️
src/ejabberd_s2s_out.erl 62.41% <0.00%> (-0.23%) ⬇️
src/mod_muc_log.erl 77.88% <0.00%> (ø)
src/mam/mod_mam_elasticsearch_arch.erl 86.84% <0.00%> (+1.75%) ⬆️
...bal_distrib/mod_global_distrib_hosts_refresher.erl 73.58% <0.00%> (+1.88%) ⬆️
...c/global_distrib/mod_global_distrib_server_mgr.erl 76.83% <0.00%> (+2.25%) ⬆️
... and 4 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 0528e05...006655c. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / 5164233
Reports root / small


internal_mnesia_24 / internal_mnesia / 5164233
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 296 / Auto-skipped: 0


small_tests_23 / small_tests / 5164233
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 5164233
Reports root/ big
OK: 2701 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 5164233
Reports root/ big
OK: 2701 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 5164233
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 399 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 5164233
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 399 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 5164233
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 5164233
Reports root/ big
OK: 3059 / Failed: 1 / User-skipped: 228 / Auto-skipped: 0

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

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 5164233
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 5164233
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 5164233
Reports root/ big
OK: 3069 / Failed: 1 / User-skipped: 211 / Auto-skipped: 0

domain_removal_SUITE:muc_removal:muc_removal
{error,
  {{assertMatch,
     [{module,domain_removal_SUITE},
      {line,213},
      {expression,"get_muc_rooms ( MucHost )"},
      {pattern,"[ ]"},
      {value,
        [{muc_room,
           {<<"room-alice_muc_removal_44.586201">>,
          <<"muc.localhost">>},
           [{affiliations,
            [{{<<"alice_muc_removal_44.586201">>,<<"localhost">>,
               <<>>},
              owner}]},
          {title,<<>>},
          {description,<<>>},
          {allow_change_subj,true},
          {allow_query_users,true},
          {allow_private_messages,true},
          {allow_visitor_status,true},
          {allow_visitor_nickchange,true},
          {public,true},
          {public_list,true},
          {persistent,true},
          {moderated,true},
          {members_by_default,true},
          {members_only,false},
          {allow_user_invites,false},
          {allow_multiple_sessions,false},
          {password_protected,false},
          {password,<<>>},
          {anonymous,true},
          {logging,false},
          {max_users,200},
          {maygetmemberlist,[]},
          {subject,<<>>},
          {subject_author,<<>>}]}]}]},
   [{domain_removal_SUITE,'-muc_removal/1-fun-6-',2,
      [{file,
         "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
       {line,213}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {muc_helper,story_...

Report log


riak_mnesia_24 / riak_mnesia / 5164233
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 325 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 5164233
Reports root/ big
OK: 3069 / Failed: 1 / User-skipped: 211 / Auto-skipped: 0

domain_removal_SUITE:muc_removal:muc_removal
{error,
  {{assertMatch,
     [{module,domain_removal_SUITE},
      {line,213},
      {expression,"get_muc_rooms ( MucHost )"},
      {pattern,"[ ]"},
      {value,
        [{muc_room,
           {<<"room-alice_muc_removal_73.736968">>,
          <<"muc.localhost">>},
           [{affiliations,
            [{{<<"alice_muc_removal_73.736968">>,<<"localhost">>,
               <<>>},
              owner}]},
          {title,<<>>},
          {description,<<>>},
          {allow_change_subj,true},
          {allow_query_users,true},
          {allow_private_messages,true},
          {allow_visitor_status,true},
          {allow_visitor_nickchange,true},
          {public,true},
          {public_list,true},
          {persistent,true},
          {moderated,true},
          {members_by_default,true},
          {members_only,false},
          {allow_user_invites,false},
          {allow_multiple_sessions,false},
          {password_protected,false},
          {password,<<>>},
          {anonymous,true},
          {logging,false},
          {max_users,200},
          {maygetmemberlist,[]},
          {subject,<<>>},
          {subject_author,<<>>}]}]}]},
   [{domain_removal_SUITE,'-muc_removal/1-fun-6-',2,
      [{file,
         "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
       {line,213}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {muc_helper,story_...

Report log

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / 4348e64
Reports root / small


internal_mnesia_24 / internal_mnesia / 4348e64
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 296 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / 4348e64
Reports root/ big
OK: 2726 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

rest_client_SUITE:muc:messages_can_be_paginated_in_room
{error,
  {{assertion_failed,assert,is_chat_message,
     [<<"26b5d82d">>],
     {xmlel,<<"message">>,
       [{<<"to">>,<<"[email protected]">>},
        {<<"type">>,<<"chat">>}],
       [{xmlel,<<"body">>,[],[{xmlcdata,<<"1c8b4a1f">>}]}]},
     "<message to='[email protected]' type='chat'><body>1c8b4a1f</body></message>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {rest_client_SUITE,assert_room_messages,2,
      [{file,"/home/circleci/app/big_tests/tests/rest_client_SUITE.erl"},
       {line,772}]},
    {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


dynamic_domains_23 / pgsql_mnesia / 4348e64
Reports root/ big
OK: 2701 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 4348e64
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 399 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 4348e64
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0


small_tests_23 / small_tests / 4348e64
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 4348e64
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 399 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 4348e64
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 4348e64
Reports root/ big
OK: 3053 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 4348e64
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 4348e64
Reports root/ big
OK: 3069 / Failed: 1 / User-skipped: 211 / Auto-skipped: 0

domain_removal_SUITE:muc_removal:muc_removal
{error,
  {{assertMatch,
     [{module,domain_removal_SUITE},
      {line,213},
      {expression,"get_muc_rooms ( MucHost )"},
      {pattern,"[ ]"},
      {value,
        [{muc_room,
           {<<"room-alice_muc_removal_65.254764">>,
          <<"muc.localhost">>},
           [{affiliations,
            [{{<<"alice_muc_removal_65.254764">>,<<"localhost">>,
               <<>>},
              owner}]},
          {title,<<>>},
          {description,<<>>},
          {allow_change_subj,true},
          {allow_query_users,true},
          {allow_private_messages,true},
          {allow_visitor_status,true},
          {allow_visitor_nickchange,true},
          {public,true},
          {public_list,true},
          {persistent,true},
          {moderated,true},
          {members_by_default,true},
          {members_only,false},
          {allow_user_invites,false},
          {allow_multiple_sessions,false},
          {password_protected,false},
          {password,<<>>},
          {anonymous,true},
          {logging,false},
          {max_users,200},
          {maygetmemberlist,[]},
          {subject,<<>>},
          {subject_author,<<>>}]}]}]},
   [{domain_removal_SUITE,'-muc_removal/1-fun-6-',2,
      [{file,
         "/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
       {line,213}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {muc_helper,story_...

Report log


riak_mnesia_24 / riak_mnesia / 4348e64
Reports root/ big
OK: 1715 / Failed: 1 / User-skipped: 325 / 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

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.

I found the reason of failing tests

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

mongoose-im commented Sep 29, 2021

small_tests_24 / small_tests / 006655c
Reports root / small


internal_mnesia_24 / internal_mnesia / 006655c
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 296 / Auto-skipped: 0


small_tests_23 / small_tests / 006655c
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 006655c
Reports root/ big
OK: 2701 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 006655c
Reports root/ big
OK: 1504 / Failed: 1 / User-skipped: 399 / 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_89.232195@localhost/res1">>},
        {<<"id">>,<<"db990501-cd36-4085-81b1-58c9652ea4d3">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-terminate">>},
           {<<"sid">>,<<"21052ab8-e138-461d-9d76-2dfe4885f230">>}],
          [{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_89.232195@localhost/res1' id='db990501-cd36-4085-81b1-58c9652ea4d3' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='21052ab8-e138-461d-9d76-2dfe4885f230'><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,395}]},
    {jingle_SUITE,
      '-res...

Report log


ldap_mnesia_23 / ldap_mnesia / 006655c
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 399 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 006655c
Reports root/ big
OK: 2701 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 006655c
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 006655c
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 006655c
Reports root/ big
OK: 3095 / Failed: 1 / User-skipped: 211 / Auto-skipped: 0

rest_client_SUITE:muc:messages_can_be_paginated_in_room
{error,
  {{assertion_failed,assert,is_chat_message,
     [<<"219db4b1">>],
     {xmlel,<<"message">>,
       [{<<"to">>,<<"[email protected]">>},
        {<<"type">>,<<"chat">>}],
       [{xmlel,<<"body">>,[],[{xmlcdata,<<"2ddcec08">>}]}]},
     "<message to='[email protected]' type='chat'><body>2ddcec08</body></message>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {rest_client_SUITE,assert_room_messages,2,
      [{file,"/home/circleci/app/big_tests/tests/rest_client_SUITE.erl"},
       {line,772}]},
    {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,1784}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1293}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1225}]}]}}

Report log


mssql_mnesia_24 / odbc_mssql_mnesia / 006655c
Reports root/ big
OK: 3070 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 006655c
Reports root/ big
OK: 3053 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 006655c
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 325 / Auto-skipped: 0

@Premwoik Premwoik changed the title Domain removal mod_muc WiP Implement domain removal in mod_muc Sep 29, 2021
@Premwoik Premwoik marked this pull request as ready for review September 29, 2021 08:59
@vkatsuba vkatsuba merged commit ea992f5 into master Sep 29, 2021
@vkatsuba vkatsuba deleted the domain-removal-mod-muc branch September 29, 2021 09:13
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.

Looks good

@@ -180,6 +194,27 @@ inbox_removal(Config) ->
inbox_helper:get_inbox(Bob, #{count => 0, unread_messages => 0, active_conversations => 0})
end).

muc_removal(Config0) ->
muc_helper:story_with_room(Config0, [{persistent, true}], [{alice, 1}], fun(Config, Alice) ->
AliceJid= jid:from_binary(escalus_client:full_jid(Alice)),
Copy link
Member

Choose a reason for hiding this comment

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

Minor: missing space

@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