=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.1816.2>},
{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@e0d583f2e839.2024-03-21_07.34.22/big_tests.tests.muc_SUITE.logs/run.2024-03-21_07.44.47/muc_suite.deny_entry_to_a_banned_user.198402.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@e0d583f2e839.2024-03-21_07.34.22/big_tests.tests.muc_SUITE.logs/run.2024-03-21_07.44.47/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}},
{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@e0d583f2e839.2024-03-21_07.34.22"
=== Started at 2024-03-21 07:45:00
*** User 2024-03-21 07:45:00.484 ***🔗
alicE_deny_entry_to_a_banned_user_2703@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 2024-03-21 07:45:00.485 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='acbe39171bbdcc20' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:45:00.486 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/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-21 07:45:00.486 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl8yNzAzAG1hdHlncnlzYQ==</auth>
*** User 2024-03-21 07:45:00.488 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 07:45:00.488 ***🔗
alicE_deny_entry_to_a_banned_user_2703@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 2024-03-21 07:45:00.489 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46bb24aed657ca3f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_deny_entry_to_a_banned_user_2703@domain.example.com'>
*** User 2024-03-21 07:45:00.489 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/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-21 07:45:00.489 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='7510d2f4c55417f6e6adb88cac62028e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:45:00.490 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq id='7510d2f4c55417f6e6adb88cac62028e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 07:45:00.490 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='0173323a69997a8e28ba2659c9412f67'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:45:00.491 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1' id='0173323a69997a8e28ba2659c9412f67' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:45:00.491 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 07:45:00.494 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<presence from='alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1' to='alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1'/>
*** User 2024-03-21 07:45:00.495 ***🔗
bOb_deny_entry_to_a_banned_user_2703@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 2024-03-21 07:45:00.497 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6fa50ef9294bbcf' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:45:00.497 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/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-21 07:45:00.497 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfMjcwMwBtYWtyb2xpa2E=</auth>
*** User 2024-03-21 07:45:00.500 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 07:45:00.500 ***🔗
bOb_deny_entry_to_a_banned_user_2703@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 2024-03-21 07:45:00.501 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e0087e3565839c8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_deny_entry_to_a_banned_user_2703@domain.example.com'>
*** User 2024-03-21 07:45:00.501 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/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-21 07:45:00.502 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='29b5f1e67b115f99206050291e71c6aa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:45:00.503 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq id='29b5f1e67b115f99206050291e71c6aa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 07:45:00.503 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='e14986c3ccf8d9c277a0ff47ab5e22e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:45:00.504 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1' id='e14986c3ccf8d9c277a0ff47ab5e22e3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:45:00.505 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 07:45:00.508 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<presence from='bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1' to='bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1'/>
*** User 2024-03-21 07:45:00.508 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='840bb70ecc9ee4636214da3684e382e3' to='room-alice_deny_entry_to_a_banned_user_2703@groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bob_deny_entry_to_a_banned_user_2703@domain.example.com' affiliation='outcast'/>
</query>
</iq>
*** User 2024-03-21 07:45:00.509 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_2703@groupchats.domain.example.com' to='alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1' id='840bb70ecc9ee4636214da3684e382e3' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2024-03-21 07:45:00.509 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_2703@groupchats.domain.example.com/bob_deny_entry_to_a_banned_user_2703'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-21 07:45:00.511 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_2703@groupchats.domain.example.com/bob_deny_entry_to_a_banned_user_2703' to='bob_deny_entry_to_a_banned_user_2703@domain.example.com/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-21 07:45:00.512 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 07:45:00.513 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-21 07:45:00.513 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 07:45:00.514 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-21 07:45:00
=== successfully completed test case
=== === Returned value: ok