=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.1808.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@252d27d27304.2024-03-21_07.45.30/big_tests.tests.muc_SUITE.logs/run.2024-03-21_07.56.15/muc_suite.deny_entry_to_a_banned_user.220802.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@252d27d27304.2024-03-21_07.45.30/big_tests.tests.muc_SUITE.logs/run.2024-03-21_07.56.15/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@252d27d27304.2024-03-21_07.45.30"
=== Started at 2024-03-21 07:56:28
*** User 2024-03-21 07:56:29.113 ***🔗
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:56:29.114 ***🔗
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='61751fabb2981004' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:56:29.114 ***🔗
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:56:29.115 ***🔗
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:56:29.116 ***🔗
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:56:29.117 ***🔗
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:56:29.117 ***🔗
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='a645324b429eb7e6' 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:56:29.118 ***🔗
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:56:29.118 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='61593e8dd298718d6e1e30fec3a8f5d9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:56:29.120 ***🔗
alicE_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq id='61593e8dd298718d6e1e30fec3a8f5d9' 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:56:29.120 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='9ed0cacd604f404e32510c8ab85670ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:56:29.121 ***🔗
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='9ed0cacd604f404e32510c8ab85670ad' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:56:29.121 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 07:56:29.123 ***🔗
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:56:29.124 ***🔗
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:56:29.126 ***🔗
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='dbff0a1ccdadd6e8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:56:29.174 ***🔗
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:56:29.175 ***🔗
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:56:29.176 ***🔗
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:56:29.176 ***🔗
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:56:29.177 ***🔗
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='0e5383336128e3bd' 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:56:29.177 ***🔗
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:56:29.177 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='e83b9eaacc7121e53e0cda3d6d96e22a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:56:29.178 ***🔗
bOb_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
<iq id='e83b9eaacc7121e53e0cda3d6d96e22a' 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:56:29.178 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='240b1f45e1a6adabfbb376535254fe39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:56:29.179 ***🔗
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='240b1f45e1a6adabfbb376535254fe39' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:56:29.179 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 07:56:29.184 ***🔗
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:56:29.184 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
<iq type='set' id='467678f229d6b54afec07fc50b27260a' 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:56:29.185 ***🔗
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='467678f229d6b54afec07fc50b27260a' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2024-03-21 07:56:29.185 ***🔗
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:56:29.189 ***🔗
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:56:29.189 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 07:56:29.190 ***🔗
bob_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-21 07:56:29.190 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 07:56:29.191 ***🔗
alice_deny_entry_to_a_banned_user_2703@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-21 07:56:29
=== successfully completed test case
=== === Returned value: ok