=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.72567.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.muc_SUITE.logs/run.2024-03-27_14.44.44/muc_suite.deny_entry_to_a_banned_user.112900.html"},
{tc_group_properties,[{name,occupant},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@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.muc_SUITE.logs/run.2024-03-27_14.44.44/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}},
{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@2c59d25d4e46.2024-03-27_14.32.37"
=== Started at 2024-03-27 14:44:58
*** User 2024-03-27 14:44:58.205 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-27 14:44:58.205 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='868fda9a19d95ff7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:44:58.205 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-27 14:44:58.206 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl8yNjcwAG1hdHlncnlzYQ==</auth>
*** User 2024-03-27 14:44:58.207 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:44:58.207 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-27 14:44:58.208 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee960db098a75b4a' from='localhost' version='1.0' xml:lang='en' to='alice_deny_entry_to_a_banned_user_2670@localhost'>
*** User 2024-03-27 14:44:58.208 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-27 14:44:58.208 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 out
<iq type='set' id='f462b0fc3eca085e87319f99e86e7f3b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:44:58.209 ***🔗
alicE_deny_entry_to_a_banned_user_2670@localhost/res1 in
<iq id='f462b0fc3eca085e87319f99e86e7f3b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_entry_to_a_banned_user_2670@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:44:58.209 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 out
<iq type='set' id='c244f74193ba0d8f558870dcb5f54fdf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.210 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 in
<iq from='localhost' to='alice_deny_entry_to_a_banned_user_2670@localhost/res1' id='c244f74193ba0d8f558870dcb5f54fdf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.210 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 out
<presence/>
*** User 2024-03-27 14:44:58.213 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 in
<presence from='alice_deny_entry_to_a_banned_user_2670@localhost/res1' to='alice_deny_entry_to_a_banned_user_2670@localhost/res1'/>
*** User 2024-03-27 14:44:58.215 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-27 14:44:58.215 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='017ede07101509b8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:44:58.215 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-27 14:44:58.215 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfMjY3MABtYWtyb2xpa2E=</auth>
*** User 2024-03-27 14:44:58.219 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:44:58.219 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-27 14:44:58.220 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c985383d3d1a3c0a' from='localhost' version='1.0' xml:lang='en' to='bob_deny_entry_to_a_banned_user_2670@localhost'>
*** User 2024-03-27 14:44:58.220 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-27 14:44:58.220 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 out
<iq type='set' id='9f60512ea4a26cf6da2354602038e299'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:44:58.272 ***🔗
bOb_deny_entry_to_a_banned_user_2670@localhost/res1 in
<iq id='9f60512ea4a26cf6da2354602038e299' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_entry_to_a_banned_user_2670@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:44:58.273 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 out
<iq type='set' id='c9dde436c9f521c15c91214ff8177544'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.275 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 in
<iq from='localhost' to='bob_deny_entry_to_a_banned_user_2670@localhost/res1' id='c9dde436c9f521c15c91214ff8177544' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.275 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 out
<presence/>
*** User 2024-03-27 14:44:58.279 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 in
<presence from='bob_deny_entry_to_a_banned_user_2670@localhost/res1' to='bob_deny_entry_to_a_banned_user_2670@localhost/res1'/>
*** User 2024-03-27 14:44:58.280 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 out
<iq type='set' id='b40fc7d49d72dc18c271f780170a6291' to='room-alice_deny_entry_to_a_banned_user_2670@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bob_deny_entry_to_a_banned_user_2670@localhost' affiliation='outcast'/>
</query>
</iq>
*** User 2024-03-27 14:44:58.282 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_2670@muc.localhost' to='alice_deny_entry_to_a_banned_user_2670@localhost/res1' id='b40fc7d49d72dc18c271f780170a6291' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2024-03-27 14:44:58.282 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_2670@muc.localhost/bob_deny_entry_to_a_banned_user_2670'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-27 14:44:58.286 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_2670@muc.localhost/bob_deny_entry_to_a_banned_user_2670' to='bob_deny_entry_to_a_banned_user_2670@localhost/res1' type='error'>
<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 2024-03-27 14:44:58.286 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:44:58.287 ***🔗
bob_deny_entry_to_a_banned_user_2670@localhost/res1 in
</stream:stream>
*** User 2024-03-27 14:44:58.287 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:44:58.287 ***🔗
alice_deny_entry_to_a_banned_user_2670@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-27 14:44:58
=== successfully completed test case
=== === Returned value: ok