-
Notifications
You must be signed in to change notification settings - Fork 428
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
Conversation
small_tests_24 / small_tests / c3bba9f internal_mnesia_24 / internal_mnesia / c3bba9f small_tests_23 / small_tests / c3bba9f dynamic_domains_24 / pgsql_mnesia / c3bba9f 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}]}]}} dynamic_domains_23 / pgsql_mnesia / c3bba9f 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}]}]}} elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / c3bba9f 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... pgsql_mnesia_24 / pgsql_mnesia / c3bba9f 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}]}]}} ldap_mnesia_23 / ldap_mnesia / c3bba9f mysql_redis_24 / mysql_redis / c3bba9f 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}]}]}} ldap_mnesia_24 / ldap_mnesia / c3bba9f 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}]}]}} 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}]}]}} 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}]}]}} 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}]}]}} 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... 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... 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... pubsub_SUITE:dag+manage_subscriptions:modify_node_subscriptions_test{error,{thrown,{timeout,stream_end}}} pubsub_SUITE:dag+collection:collection_delete_makes_leaf_parentless{error,{thrown,{timeout,stream_end}}} 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... 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... 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,... 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,... 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... pubsub_SUITE:dag+last_item_cache:send_last_published_item_test{error,{thrown,{timeout,stream_end}}} pubsub_SUITE:dag+last_item_cache:purge_all_items_test{error,{thrown,{timeout,stream_end}}} 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... 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... 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... 8 errors were truncated mssql_mnesia_24 / odbc_mssql_mnesia / c3bba9f 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}]}]}} pgsql_mnesia_23 / pgsql_mnesia / c3bba9f 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}]}]}} riak_mnesia_24 / riak_mnesia / c3bba9f rest_client_SUITE:muc:messages_can_be_paginated_in_room{error,
{{assertion_failed,assert,is_chat_message,
[<<"ab705ec2">>],
{xmlel,<<"message">>,
[{<<"to">>,<<"1632-825767-706575@muclight.localhost">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"9ff03c18">>}]}]},
"<message to='1632-825767-706575@muclight.localhost' 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}]}]}} |
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
c3bba9f
to
5164233
Compare
small_tests_24 / small_tests / 5164233 internal_mnesia_24 / internal_mnesia / 5164233 small_tests_23 / small_tests / 5164233 dynamic_domains_24 / pgsql_mnesia / 5164233 dynamic_domains_23 / pgsql_mnesia / 5164233 ldap_mnesia_24 / ldap_mnesia / 5164233 ldap_mnesia_23 / ldap_mnesia / 5164233 pgsql_mnesia_24 / pgsql_mnesia / 5164233 mysql_redis_24 / mysql_redis / 5164233 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"}} elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 5164233 pgsql_mnesia_23 / pgsql_mnesia / 5164233 mssql_mnesia_24 / odbc_mssql_mnesia / 5164233 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_... riak_mnesia_24 / riak_mnesia / 5164233 mssql_mnesia_24 / odbc_mssql_mnesia / 5164233 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_... |
5164233
to
4348e64
Compare
small_tests_24 / small_tests / 4348e64 internal_mnesia_24 / internal_mnesia / 4348e64 dynamic_domains_24 / pgsql_mnesia / 4348e64 rest_client_SUITE:muc:messages_can_be_paginated_in_room{error,
{{assertion_failed,assert,is_chat_message,
[<<"26b5d82d">>],
{xmlel,<<"message">>,
[{<<"to">>,<<"1632-859640-232856@muclight2.domain.example.com">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"1c8b4a1f">>}]}]},
"<message to='1632-859640-232856@muclight2.domain.example.com' 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}]}]}} dynamic_domains_23 / pgsql_mnesia / 4348e64 ldap_mnesia_23 / ldap_mnesia / 4348e64 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 4348e64 small_tests_23 / small_tests / 4348e64 ldap_mnesia_24 / ldap_mnesia / 4348e64 pgsql_mnesia_24 / pgsql_mnesia / 4348e64 mysql_redis_24 / mysql_redis / 4348e64 pgsql_mnesia_23 / pgsql_mnesia / 4348e64 mssql_mnesia_24 / odbc_mssql_mnesia / 4348e64 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_... riak_mnesia_24 / riak_mnesia / 4348e64 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}]}]}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found the reason of failing tests
4348e64
to
006655c
Compare
small_tests_24 / small_tests / 006655c internal_mnesia_24 / internal_mnesia / 006655c small_tests_23 / small_tests / 006655c dynamic_domains_24 / pgsql_mnesia / 006655c ldap_mnesia_24 / ldap_mnesia / 006655c 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... ldap_mnesia_23 / ldap_mnesia / 006655c dynamic_domains_23 / pgsql_mnesia / 006655c elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 006655c pgsql_mnesia_24 / pgsql_mnesia / 006655c pgsql_mnesia_23 / pgsql_mnesia / 006655c rest_client_SUITE:muc:messages_can_be_paginated_in_room{error,
{{assertion_failed,assert,is_chat_message,
[<<"219db4b1">>],
{xmlel,<<"message">>,
[{<<"to">>,<<"1632-905153-48212@muclight.localhost">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"2ddcec08">>}]}]},
"<message to='1632-905153-48212@muclight.localhost' 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}]}]}} mssql_mnesia_24 / odbc_mssql_mnesia / 006655c mysql_redis_24 / mysql_redis / 006655c riak_mnesia_24 / riak_mnesia / 006655c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: missing space
Proposed changes include:
remove_domain
callback to mod_muc_db behavior.remove_domain
hook in mod_muc.remove_domain
callback for RDBMS backend.