-
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
muc light user affiliation rework #1934
Conversation
40313f4
to
13c0e54
Compare
4948.6 / Erlang 19.3 / elasticsearch_and_cassandra_mnesia / af73a7d 4948.5 / Erlang 19.3 / ldap_mnesia / af73a7d 4948.3 / Erlang 19.3 / mysql_redis / af73a7d 4948.2 / Erlang 19.3 / internal_mnesia / af73a7d 4948.4 / Erlang 19.3 / odbc_mssql_mnesia / af73a7d 4948.8 / Erlang 20.0 / pgsql_mnesia / af73a7d 4948.9 / Erlang 18.3 / riak_mnesia / af73a7d rest_client_SUITE:end_per_suite{error,{{badmatch,false},
[{escalus_fresh,clean,0,
[{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,107}]},
{rest_client_SUITE,end_per_suite,1,
[{file,"rest_client_SUITE.erl"},{line,89}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1533}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1138}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,985}]}]}} xep_0352_csi_SUITE:end_per_suite{error,{{badmatch,false},
[{escalus_fresh,clean,0,
[{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,107}]},
{xep_0352_csi_SUITE,end_per_suite,1,
[{file,"xep_0352_csi_SUITE.erl"},{line,42}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1533}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1138}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,985}]}]}} |
Codecov Report
@@ Coverage Diff @@
## master #1934 +/- ##
==========================================
- Coverage 75.35% 75.33% -0.02%
==========================================
Files 320 320
Lines 28589 28607 +18
==========================================
+ Hits 21542 21551 +9
- Misses 7047 7056 +9
Continue to review full report at Codecov.
|
src/mod_muc_light_utils.erl
Outdated
case {lists:keyfind(owner, 2, AU), find_new_owner(AffRes)} of | ||
{false, {NewOwner, PromotionType}} -> %select new owner | ||
NewAU = lists:keyreplace(NewOwner, 1, AU, {NewOwner, owner}), | ||
NewAUC = case PromotionType of |
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.
This case could be replaced with a function with pattern matching in its clauses. This way we don't have nested case
src/mod_muc_light_utils.erl
Outdated
|
||
-spec find_new_owner(ChangeResult :: change_aff_success()) -> | ||
{jid:simple_bare_jid(), promotion_type()} | false. | ||
find_new_owner({ok, AU, AUC, JoiningUsers, _LeavingUsers}) -> |
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.
We match on ok
in line 245 and _LeavingUsers is unused. Why bother passing them?
src/mod_muc_light_utils.erl
Outdated
%% 1) old unchanged room members | ||
%% 2) new just joined room members | ||
%% 3) demoted room owners | ||
case {OldMembers, JoiningUsers, DemotedOwners} of |
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.
Would it be a good idea to put it to a seperate function so that this big, complicated case is named? Like elect_new_owner
?
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.
or rather promote_new_owner
src/mod_muc_light_utils.erl
Outdated
Owners = [U || {U, owner} <- AU], | ||
PromotedOwners = [U || {U, owner} <- AUC], | ||
OldOwners = Owners -- PromotedOwners, | ||
if |
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.
Among the whole mongooseim codebase we don't use if's. That's also a recommendation from elvis.
13c0e54
to
56ca9e7
Compare
5770.1 / Erlang 19.3 / small_tests / 417a126 5770.3 / Erlang 19.3 / mysql_redis / 417a126 5770.5 / Erlang 19.3 / ldap_mnesia / 417a126 5770.6 / Erlang 19.3 / elasticsearch_and_cassandra_mnesia / 417a126 5770.2 / Erlang 19.3 / internal_mnesia / 417a126 5770.4 / Erlang 19.3 / odbc_mssql_mnesia / 417a126 5770.8 / Erlang 20.0 / pgsql_mnesia / 417a126 5770.9 / Erlang 21.0 / riak_mnesia / 417a126 |
Afer the CI passes, you can, @DenysGonchar, tak a look at changes I have introduced. Especially whether function names I chose are semantically correct. If you have no comments, I think we can merge it. |
lists:keydelete(NewOwner, 1, AUC). | ||
|
||
is_new_owner_needed(AU) -> | ||
case lists:keyfind(owner, 2, AU) of |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
%% 1) old unchanged room members | ||
%% 2) new just joined room members | ||
%% 3) demoted room owners | ||
generate_promotion([U | _], _JoiningUsers, _DemotedOwners) -> |
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 would rather call this function select_promotion
maybe_select_new_owner(Error) -> | ||
Error. | ||
|
||
update_au(promote_old_member, NewOwner, AUC) -> |
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.
your original name suggestion for this function is 100% correct - update_auc
. please change it back.
AU is Affiliated Users, and AUC is - Affiliated Users Changes.
AUC contains changes that must be made to the original AU
(before the changes) to get newly generated AU
(after the changes).
this exact function doesn't change AU (it's done at line 241), but it updates AUC to reflect AU change.
@DenysGonchar, changes introduced |
5773.1 / Erlang 19.3 / small_tests / 9f857d6 5773.5 / Erlang 19.3 / ldap_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.29027.0>,
[{event_manager,<0.29026.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.29026.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"74B624F132347A5E">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.29380.0>,
[{event_manager,<0.29379.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.29379.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"68E76753437201B8">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.29733.0>,
[{event_manager,<0.29732.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.29732.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"BCA2A948FB0955F3">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30923.0>,
[{event_manager,<0.30922.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30922.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"E541DE635D44B2C6">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.31145.0>,
[{event_manager,<0.31144.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.31144.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"CFBD3F7D7EA6B32A">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.31365.0>,
[{event_manager,<0.31364.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.31364.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"3DD5D66D06536FF3">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... 5773.3 / Erlang 19.3 / mysql_redis / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.1013.3>,
[{event_manager,<0.1012.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1012.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"0A0087EB708385EE">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.1368.3>,
[{event_manager,<0.1367.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1367.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"FA22CD7DA83E5F69">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.1723.3>,
[{event_manager,<0.1722.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1722.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"DD9B657465AE9D55">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.2912.3>,
[{event_manager,<0.2911.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.2911.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"C41CC09DE3406D3B">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.3134.3>,
[{event_manager,<0.3133.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.3133.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"7B9C830D83197BCB">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.3356.3>,
[{event_manager,<0.3355.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.3355.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"8F2FD94970DF0E77">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... 5773.2 / Erlang 19.3 / internal_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30485.0>,
[{event_manager,<0.30484.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30484.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"7240603CF538D85E">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30838.0>,
[{event_manager,<0.30837.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30837.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"6158F56BF475ED65">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.31191.0>,
[{event_manager,<0.31190.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.31190.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"C81E40817A6916CB">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.32382.0>,
[{event_manager,<0.32381.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32381.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"151CA43818847298">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.32604.0>,
[{event_manager,<0.32603.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32603.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"B9B60100C9AE9564">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.56.1>,
[{event_manager,<0.55.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.55.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"F47EFD6FAFBEEEA7">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/esl/Mon... 5773.6 / Erlang 19.3 / elasticsearch_and_cassandra_mnesia / 9f857d6 5773.4 / Erlang 19.3 / odbc_mssql_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.1619.3>,
[{event_manager,<0.1618.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1618.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"CE4E3F868E5D6D9C">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.1974.3>,
[{event_manager,<0.1973.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1973.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"DE17EC5069E2F26D">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.2329.3>,
[{event_manager,<0.2328.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.2328.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"7C070048743D2CC0">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.3518.3>,
[{event_manager,<0.3517.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.3517.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"519C352CB38E5C48">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.3740.3>,
[{event_manager,<0.3739.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.3739.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"B7E20CC5C71F3182">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.3962.3>,
[{event_manager,<0.3961.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.3961.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"6C5AEBF55E3BB132">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... 5773.8 / Erlang 20.0 / pgsql_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{subject,<<>>},{roomname,<<"Untitled">>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{subject,<<>>},{roomname,<<"Untitled">>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{subject,<<>>},{roomname,<<"Untitled">>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.2219.3>,
[{event_manager,<0.2218.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.2218.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"382EADF8FF429868">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.2574.3>,
[{event_manager,<0.2573.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.2573.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"4EF114FDAB5F351F">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.2929.3>,
[{event_manager,<0.2928.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.2928.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"E5CFECF3A468F0C7">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.4119.3>,
[{event_manager,<0.4118.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.4118.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"6A9D4245371142BF">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.4341.3>,
[{event_manager,<0.4340.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.4340.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"D298210CE9329D90">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.4563.3>,
[{event_manager,<0.4562.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.4562.3>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"C75015C007736E8A">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... 5773.9 / Erlang 21.0 / riak_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1063}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,995}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1063}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,995}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1063}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,995}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.5551.1>,
[{event_manager,<0.5550.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.5550.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"06C535DFA2202301">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.5904.1>,
[{event_manager,<0.5903.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.5903.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"2E94F87A7019464E">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.6257.1>,
[{event_manager,<0.6256.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.6256.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"91F2AB6E8FEBA88B">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-2-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalus_s... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.7450.1>,
[{event_manager,<0.7449.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.7449.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"1F8C93309067ABD8">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.7670.1>,
[{event_manager,<0.7669.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.7669.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"53F4A62BAD8B933C">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.7890.1>,
[{event_manager,<0.7889.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.7889.1>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"E9F7CE195C1EA81A">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-3-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-1-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/build/e... 5773.2 / Erlang 19.3 / internal_mnesia / 9f857d6 muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:service:removing_users_from_server_triggers_room_destruction{error,{{badmatch,{ok,[{roomname,<<"Untitled">>},{subject,<<>>}],
[{{<<"carol">>,<<"localhost">>},owner}],
<<"ver-1">>}},
[{muc_light_SUITE,removing_users_from_server_triggers_room_destruction,
1,
[{file,"muc_light_SUITE.erl"},{line,286}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1045}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,977}]}]}} muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30280.0>,
[{event_manager,<0.30279.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30279.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"EFD1A47C2E42136A">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30633.0>,
[{event_manager,<0.30632.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30632.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"59F33A2A4A94B76A">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.30986.0>,
[{event_manager,<0.30985.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.30985.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"A7C5D0C9B410D033">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_helper,'-verify_aff_bcast/3-fun-1-',2,
[{file,"muc_light_helper.erl"},{line,120}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_helper,user_leave,3,
[{file,"muc_light_helper.erl"},{line,83}]},
{muc_light_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_SUITE.erl"},{line,537}]},
{muc_light_SUITE,'-leave_room/1-fun-1-',3,
[{file,"muc_light_SUITE.erl"},{line,534}]},
{escalu... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.32177.0>,
[{event_manager,<0.32176.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32176.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"475986EC793EA727">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.32399.0>,
[{event_manager,<0.32398.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32398.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"612DD734264BAA5D">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... muc_light_legacy_SUITE:occupant:leave_room{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@localhost/res1">>,escalus_tcp,<0.32619.0>,
[{event_manager,<0.32618.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32618.0>},
{server,<<"localhost">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"164C2FCF93F1459F">>}]},
5000],
[{file,
"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,138}]},
{muc_light_legacy_SUITE,'-verify_aff_bcast/4-fun-2-',1,
[{file,"muc_light_legacy_SUITE.erl"},{line,687}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{muc_light_legacy_SUITE,user_leave,2,
[{file,"muc_light_legacy_SUITE.erl"},{line,559}]},
{muc_light_legacy_SUITE,'-leave_room/1-fun-0-',2,
[{file,"muc_light_legacy_SUITE.erl"},{line,331}]},
{escalus_story,story,4,
[{file,
"/home/travis/buil... 5776.8 / Erlang 20.0 / pgsql_mnesia / 9f857d6 |
tried to simplify user affiliation change code.
hope this version is a bit easier to read.
multiple room ownership can be enabled by removing
maybe_demote_old_owner/1
call fromchange_aff_users/2