=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.32076.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/muc_suite.deny_entry_to_a_banned_user.30083.html"},
{tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:35:13
*** User 2022-03-03 10:35:13.882 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.883 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2bca3e92b2054ae' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.883 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:13.884 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl84NTIAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:35:13.885 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:13.886 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.887 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82ae6c2f51fccaf5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.887 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:13.887 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<iq type='set' id='f6783e38ed54969483a387dc633e22cb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:13.888 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<iq id='f6783e38ed54969483a387dc633e22cb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_deny_entry_to_a_banned_user_852@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:13.889 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<iq type='set' id='0b3499d6398a6dbb5557cf90795cd025'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.889 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<iq type='result' id='0b3499d6398a6dbb5557cf90795cd025'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.890 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:13.892 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<presence from='alicE_deny_entry_to_a_banned_user_852@localhost/res1' to='alice_deny_entry_to_a_banned_user_852@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:13.894 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.896 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ab36b6cf8c3f532' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.896 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:13.897 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfODUyAG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:35:13.954 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:13.954 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.955 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0749f5d3c262727c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.955 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:13.955 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<iq type='set' id='a28dfff0840e8bbe777b0a716ef90358'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:13.956 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<iq id='a28dfff0840e8bbe777b0a716ef90358' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_deny_entry_to_a_banned_user_852@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:13.956 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<iq type='set' id='e9f00e3246708b1f993f10013a1ccf38'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.957 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<iq type='result' id='e9f00e3246708b1f993f10013a1ccf38'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.957 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:13.959 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<presence from='bOb_deny_entry_to_a_banned_user_852@localhost/res1' to='bob_deny_entry_to_a_banned_user_852@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:13.959 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
<iq type='set' id='48d35884611ce1de8292836a246a1250' to='room-alice_deny_entry_to_a_banned_user_852@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bOb_deny_entry_to_a_banned_user_852@localhost' affiliation='outcast'/>
</query>
</iq>
*** User 2022-03-03 10:35:13.960 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_852@muc.localhost' to='alicE_deny_entry_to_a_banned_user_852@localhost/res1' id='48d35884611ce1de8292836a246a1250' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2022-03-03 10:35:13.960 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_852@muc.localhost/bOb_deny_entry_to_a_banned_user_852'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:13.961 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_852@muc.localhost/bOb_deny_entry_to_a_banned_user_852' to='bOb_deny_entry_to_a_banned_user_852@localhost/res1' type='error' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc'/>
<error code='403' type='auth'>
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>You have been banned from this room</text>
</error>
</presence>
*** User 2022-03-03 10:35:13.962 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:13.962 ***
bOb_deny_entry_to_a_banned_user_852@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:13.962 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:13.963 ***
alicE_deny_entry_to_a_banned_user_852@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:35:14
=== successfully completed test case
=== === Returned value: ok