=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.17498.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/muc_suite.deny_entry_to_a_banned_user.121986.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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 => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:13:21
*** User 2022-02-02 15:13:21.673 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.674 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04ddd2bc8f6a94e2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.674 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-02-02 15:13:21.675 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl8xNDM4AG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:13:21.676 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.676 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.676 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc7139d6ce4b9209' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.676 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/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-02-02 15:13:21.677 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<iq type='set' id='eec82aaafcf74d1f3ac64fe4c7072400'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.678 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<iq id='eec82aaafcf74d1f3ac64fe4c7072400' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.678 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<iq type='set' id='e95e633acf4630140ebc7f48187d64d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.679 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<iq type='result' id='e95e633acf4630140ebc7f48187d64d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.680 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.682 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<presence from='alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1' to='alice_deny_entry_to_a_banned_user_1438@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.684 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.685 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97c2e51bc358ebac' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.686 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-02-02 15:13:21.687 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfMTQzOABtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:13:21.688 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.688 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.689 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='576378759584b670' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.690 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/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-02-02 15:13:21.691 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<iq type='set' id='a11423e3d7f166455cdcd6a3dad48984'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.691 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<iq id='a11423e3d7f166455cdcd6a3dad48984' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.692 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<iq type='set' id='bef84de14d9220e690a8a694e9d849a3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.693 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<iq type='result' id='bef84de14d9220e690a8a694e9d849a3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.694 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.698 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<presence from='bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1' to='bob_deny_entry_to_a_banned_user_1438@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.698 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<iq type='set' id='36b17e3a967013433676491461bed525' to='room-alice_deny_entry_to_a_banned_user_1438@groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bOb_deny_entry_to_a_banned_user_1438@domain.example.com' affiliation='outcast'/>
</query>
</iq>
*** User 2022-02-02 15:13:21.699 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_1438@groupchats.domain.example.com' to='alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1' id='36b17e3a967013433676491461bed525' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2022-02-02 15:13:21.700 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_1438@groupchats.domain.example.com/bOb_deny_entry_to_a_banned_user_1438'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-02-02 15:13:21.703 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_1438@groupchats.domain.example.com/bOb_deny_entry_to_a_banned_user_1438' to='bOb_deny_entry_to_a_banned_user_1438@domain.example.com/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-02-02 15:13:21.704 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.705 ***
bOb_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:13:21.705 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.706 ***
alicE_deny_entry_to_a_banned_user_1438@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:13:21
=== successfully completed test case
=== === Returned value: ok