=== Test case: muc_SUITE:deny_entry_nick_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.17498.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/muc_suite.deny_entry_nick_conflict.33541.html"},
{tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
{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@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:13:21
*** User 2022-02-02 15:13:21.679 ***
alicE_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.680 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f180ac5d78d40912' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.680 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.681 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbnlfZW50cnlfbmlja19jb25mbGljdF8xNDM5AG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:13:21.682 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.682 ***
alicE_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.683 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff43991709a0f1f5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.684 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.684 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='bf681e76e6107f9c03892f2ace1e1626'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.685 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq id='bf681e76e6107f9c03892f2ace1e1626' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_deny_entry_nick_conflict_1439@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.686 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='373ca0faea2ca594b172f62aed676735'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.686 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq type='result' id='373ca0faea2ca594b172f62aed676735'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.688 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.689 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<presence from='alicE_deny_entry_nick_conflict_1439@domain.example.com/res1' to='alice_deny_entry_nick_conflict_1439@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.693 ***
bOb_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.694 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ed4e885a3611ca5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.694 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.695 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2VudHJ5X25pY2tfY29uZmxpY3RfMTQzOQBtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:13:21.699 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.699 ***
bOb_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.700 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e32faf03197f907e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.700 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.701 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='db1e754f1ef2d607c49c9716596563ba'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.702 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq id='db1e754f1ef2d607c49c9716596563ba' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_deny_entry_nick_conflict_1439@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.703 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='aeaa5c7e82b91cdcbde5588a3cc5257d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.704 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq type='result' id='aeaa5c7e82b91cdcbde5588a3cc5257d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.704 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.763 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<presence from='bOb_deny_entry_nick_conflict_1439@domain.example.com/res1' to='bob_deny_entry_nick_conflict_1439@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.764 ***
kate_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.767 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1aa7fba0553410fd' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.767 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.768 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9lbnRyeV9uaWNrX2NvbmZsaWN0XzE0MzkAbWFrcm93ZTtw</auth>
*** User 2022-02-02 15:13:21.769 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.769 ***
kate_deny_entry_nick_conflict_1439@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 2022-02-02 15:13:21.771 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f205cf1bbae3566' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.771 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.772 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='d4e1f956bfe8661b9e369706eb86204c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.773 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq id='d4e1f956bfe8661b9e369706eb86204c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_entry_nick_conflict_1439@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.773 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<iq type='set' id='b723d20f504349db88cc0367fe30c6b2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.774 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<iq type='result' id='b723d20f504349db88cc0367fe30c6b2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.774 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.779 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<presence from='kate_deny_entry_nick_conflict_1439@domain.example.com/res1' to='kate_deny_entry_nick_conflict_1439@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.780 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<presence to='room-alice_deny_entry_nick_conflict_1439@groupchats.domain.example.com/bOb_deny_entry_nick_conflict_1439'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-02-02 15:13:21.781 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<presence from='room-alice_deny_entry_nick_conflict_1439@groupchats.domain.example.com/bOb_deny_entry_nick_conflict_1439' to='bOb_deny_entry_nick_conflict_1439@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-02-02 15:13:21.782 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<message from='room-alice_deny_entry_nick_conflict_1439@groupchats.domain.example.com' to='bOb_deny_entry_nick_conflict_1439@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-02-02 15:13:21.782 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
<presence to='room-alice_deny_entry_nick_conflict_1439@groupchats.domain.example.com/bOb_deny_entry_nick_conflict_1439'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-02-02 15:13:21.785 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
<presence from='room-alice_deny_entry_nick_conflict_1439@groupchats.domain.example.com/bOb_deny_entry_nick_conflict_1439' to='kate_deny_entry_nick_conflict_1439@domain.example.com/res1' type='error' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc'/>
<error code='409' type='cancel'>
<conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>That nickname is already in use by another occupant</text>
</error>
</presence>
*** User 2022-02-02 15:13:21.786 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.787 ***
kate_deny_entry_nick_conflict_1439@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:13:21.787 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.788 ***
bOb_deny_entry_nick_conflict_1439@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:13:21.788 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.790 ***
alicE_deny_entry_nick_conflict_1439@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:13:21
=== successfully completed test case
=== === Returned value: ok