=== Test case: muc_SUITE:deny_entry_to_a_banned_user/1 (click for source code)
=== Config value:
[{watchdog,<0.63898.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.muc_SUITE.logs/run.2024-01-14_19.51.22/muc_suite.deny_entry_to_a_banned_user.129539.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.muc_SUITE.logs/run.2024-01-14_19.51.22/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@d081adacb998.2024-01-14_19.39.56"
=== Started at 2024-01-14 19:51:36
*** User 2024-01-14 19:51:36.453 ***🔗
alicE_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.454 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b93a3f4098f8bdaa' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:51:36.455 ***🔗
alicE_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.455 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfdG9fYV9iYW5uZWRfdXNlcl8yNTQzAG1hdHlncnlzYQ==</auth>
*** User 2024-01-14 19:51:36.457 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:51:36.458 ***🔗
alicE_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.459 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='313cf6d8be2a2cc5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_deny_entry_to_a_banned_user_2543@domain.example.com'>
*** User 2024-01-14 19:51:36.459 ***🔗
alicE_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.460 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<iq type='set' id='aaa4578bef560796dbf32547283199b5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:51:36.462 ***🔗
alicE_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<iq id='aaa4578bef560796dbf32547283199b5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:51:36.463 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<iq type='set' id='7066f289e8bcfd7a184f369c7efec57c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:51:36.464 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1' id='7066f289e8bcfd7a184f369c7efec57c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:51:36.464 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:51:36.467 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<presence from='alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1' to='alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1'/>
*** User 2024-01-14 19:51:36.469 ***🔗
bOb_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.470 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='296cba4a062180c6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:51:36.470 ***🔗
bOb_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.471 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X3RvX2FfYmFubmVkX3VzZXJfMjU0MwBtYWtyb2xpa2E=</auth>
*** User 2024-01-14 19:51:36.474 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
Could not find element wait_for_parallel_writer in Config.
*** User 2024-01-14 19:51:36.474 ***🔗
bOb_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.476 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3ede69572ce6c49' from='domain.example.com' version='1.0' xml:lang='en' to='bob_deny_entry_to_a_banned_user_2543@domain.example.com'>
*** User 2024-01-14 19:51:36.477 ***🔗
bOb_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.477 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<iq type='set' id='584fba387438acd70b9eeaafbf24294f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:51:36.480 ***🔗
bOb_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<iq id='584fba387438acd70b9eeaafbf24294f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:51:36.481 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<iq type='set' id='c938175319c34f3327c8e07ee576d224'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:51:36.532 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1' id='c938175319c34f3327c8e07ee576d224' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:51:36.533 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:51:36.543 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<presence from='bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1' to='bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1'/>
*** User 2024-01-14 19:51:36.543 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<iq type='set' id='4fc2748a78f01c0e0178e74fe0d5f25f' to='room-alice_deny_entry_to_a_banned_user_2543@groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bob_deny_entry_to_a_banned_user_2543@domain.example.com' affiliation='outcast'/>
</query>
</iq>
*** User 2024-01-14 19:51:36.545 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<iq from='room-alice_deny_entry_to_a_banned_user_2543@groupchats.domain.example.com' to='alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1' id='4fc2748a78f01c0e0178e74fe0d5f25f' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2024-01-14 19:51:36.545 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
<presence to='room-alice_deny_entry_to_a_banned_user_2543@groupchats.domain.example.com/bob_deny_entry_to_a_banned_user_2543'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-01-14 19:51:36.549 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
<presence from='room-alice_deny_entry_to_a_banned_user_2543@groupchats.domain.example.com/bob_deny_entry_to_a_banned_user_2543' to='bob_deny_entry_to_a_banned_user_2543@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-01-14 19:51:36.549 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:51:36.554 ***🔗
bob_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
</stream:stream>
*** User 2024-01-14 19:51:36.555 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:51:36.558 ***🔗
alice_deny_entry_to_a_banned_user_2543@domain.example.com/res1 in
</stream:stream>
*** User 2024-01-14 19:51:36.567 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2024-01-14 19:51:36
=== successfully completed test case
=== === Returned value: ok