=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.73388.0>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.59.20/muc_suite.deny_entry_to_a_banned_user.208002.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.59.20/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_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_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2}}},
{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@7856d109ddbc.2024-04-23_06.47.05"
=== Started at 2024-04-23 06:59:33
*** User 2024-04-23 06:59:34.001 ***🔗
alicE_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.001 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d33e1d0d8ae6b667' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:59:34.002 ***🔗
alicE_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.002 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl8yODY1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 06:59:34.002 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:59:34.003 ***🔗
alicE_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.003 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6435283a23c1660' from='localhost' version='1.0' xml:lang='en' to='alice_deny_entry_to_a_banned_user_2865@localhost'>
*** User 2024-04-23 06:59:34.003 ***🔗
alicE_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.003 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 out
<iq type='set' id='af1df52c0df8dab9e457d8ba63744b3b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:59:34.003 ***🔗
alicE_deny_entry_to_a_banned_user_2865@localhost/res1 in
<iq id='af1df52c0df8dab9e457d8ba63744b3b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_entry_to_a_banned_user_2865@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:59:34.003 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 out
<iq type='set' id='a2f6c512c894e3159388cee26fe50aab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:59:34.004 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 in
<iq from='localhost' to='alice_deny_entry_to_a_banned_user_2865@localhost/res1' id='a2f6c512c894e3159388cee26fe50aab' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:59:34.004 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 out
<presence/>
*** User 2024-04-23 06:59:34.005 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 in
<presence from='alice_deny_entry_to_a_banned_user_2865@localhost/res1' to='alice_deny_entry_to_a_banned_user_2865@localhost/res1'/>
*** User 2024-04-23 06:59:34.006 ***🔗
bOb_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.006 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a37662382180cb1' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:59:34.006 ***🔗
bOb_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.006 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfMjg2NQBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 06:59:34.007 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:59:34.007 ***🔗
bOb_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.008 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='163a48efc05056e2' from='localhost' version='1.0' xml:lang='en' to='bob_deny_entry_to_a_banned_user_2865@localhost'>
*** User 2024-04-23 06:59:34.008 ***🔗
bOb_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.008 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 out
<iq type='set' id='5b1b772c03676f3dabb9f3514eeda537'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:59:34.008 ***🔗
bOb_deny_entry_to_a_banned_user_2865@localhost/res1 in
<iq id='5b1b772c03676f3dabb9f3514eeda537' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_entry_to_a_banned_user_2865@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:59:34.008 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 out
<iq type='set' id='af960925e917e48df70192de5e5c1458'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:59:34.009 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 in
<iq from='localhost' to='bob_deny_entry_to_a_banned_user_2865@localhost/res1' id='af960925e917e48df70192de5e5c1458' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:59:34.009 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 out
<presence/>
*** User 2024-04-23 06:59:34.009 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 in
<presence from='bob_deny_entry_to_a_banned_user_2865@localhost/res1' to='bob_deny_entry_to_a_banned_user_2865@localhost/res1'/>
*** User 2024-04-23 06:59:34.010 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 out
<iq type='set' id='acafd77d6af670df5608776f973d2434' to='room-alice_deny_entry_to_a_banned_user_2865@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bob_deny_entry_to_a_banned_user_2865@localhost' affiliation='outcast'/>
</query>
</iq>
*** User 2024-04-23 06:59:34.010 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_2865@muc.localhost' to='alice_deny_entry_to_a_banned_user_2865@localhost/res1' id='acafd77d6af670df5608776f973d2434' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2024-04-23 06:59:34.010 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_2865@muc.localhost/bob_deny_entry_to_a_banned_user_2865'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-23 06:59:34.011 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_2865@muc.localhost/bob_deny_entry_to_a_banned_user_2865' to='bob_deny_entry_to_a_banned_user_2865@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-04-23 06:59:34.011 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:59:34.011 ***🔗
bob_deny_entry_to_a_banned_user_2865@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:59:34.011 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:59:34.011 ***🔗
alice_deny_entry_to_a_banned_user_2865@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 06:59:34
=== successfully completed test case
=== === Returned value: ok