=== Test case: muc_SUITE:deny_nickname_change_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.32076.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/muc_suite.deny_nickname_change_conflict.40962.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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 => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
{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@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:35:13
*** User 2022-03-03 10:35:13.971 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.971 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3288dbdb4726ba87' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.972 ***
alicE_deny_nickname_change_conflict_872@localhost/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>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-03-03 10:35:13.972 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rlbnlfbmlja25hbWVfY2hhbmdlX2NvbmZsaWN0Xzg3MgBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:35:13.980 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:13.981 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.982 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='725fdb107f8c37bc' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.982 ***
alicE_deny_nickname_change_conflict_872@localhost/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-03-03 10:35:13.982 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='7abdf23d0029f478887aef6d53e5f993'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:13.983 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<iq id='7abdf23d0029f478887aef6d53e5f993' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_deny_nickname_change_conflict_872@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:13.983 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='8a1f14e40f9699e7abf5c747aa5b40c7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.984 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<iq type='result' id='8a1f14e40f9699e7abf5c747aa5b40c7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:13.985 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:13.987 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='alicE_deny_nickname_change_conflict_872@localhost/res1' to='alice_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:13.988 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:13.989 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e12a3ed7794265f8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:13.990 ***
bOb_deny_nickname_change_conflict_872@localhost/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>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-03-03 10:35:13.990 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X25pY2tuYW1lX2NoYW5nZV9jb25mbGljdF84NzIAbWFrcm9saWth</auth>
*** User 2022-03-03 10:35:14.055 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:14.056 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:14.056 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a25660b4fa0d68e1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:14.057 ***
bOb_deny_nickname_change_conflict_872@localhost/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-03-03 10:35:14.057 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='0c9ce681d039bcd4ca89face65ddf6f8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:14.057 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<iq id='0c9ce681d039bcd4ca89face65ddf6f8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_deny_nickname_change_conflict_872@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:14.058 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='e7d81442f0be614effbf2cca4922b413'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:14.059 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<iq type='result' id='e7d81442f0be614effbf2cca4922b413'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:14.060 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:14.061 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='bOb_deny_nickname_change_conflict_872@localhost/res1' to='bob_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:14.062 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:14.064 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c2e8a3f5f3bdd26' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:14.064 ***
kate_deny_nickname_change_conflict_872@localhost/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>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-03-03 10:35:14.064 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9uaWNrbmFtZV9jaGFuZ2VfY29uZmxpY3RfODcyAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-03 10:35:14.069 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:14.069 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:14.070 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4784325121b433a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:14.070 ***
kate_deny_nickname_change_conflict_872@localhost/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-03-03 10:35:14.070 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='f216ea9824cb77171f7f0aa08997eb66'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:14.071 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<iq id='f216ea9824cb77171f7f0aa08997eb66' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_nickname_change_conflict_872@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:14.071 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<iq type='set' id='81c3ca59004b87c601a45c4ab59a4b9d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:14.072 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<iq type='result' id='81c3ca59004b87c601a45c4ab59a4b9d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:14.073 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:14.073 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='kate_deny_nickname_change_conflict_872@localhost/res1' to='kate_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:14.074 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_872@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:14.074 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_872@muc.localhost/bob' to='bOb_deny_nickname_change_conflict_872@localhost/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-03-03 10:35:14.075 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_872@muc.localhost' to='bOb_deny_nickname_change_conflict_872@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:14.075 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_872@muc.localhost/eve'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:14.076 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_872@muc.localhost/eve' to='bOb_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:14.076 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_872@muc.localhost/bob' to='kate_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:14.076 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_872@muc.localhost/eve' to='kate_deny_nickname_change_conflict_872@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-03-03 10:35:14.077 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_872@muc.localhost' to='kate_deny_nickname_change_conflict_872@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:14.077 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_872@muc.localhost/eve'/>
*** User 2022-03-03 10:35:14.077 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_872@muc.localhost/eve' to='bOb_deny_nickname_change_conflict_872@localhost/res1' type='error' xml:lang='en'>
<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-03-03 10:35:14.077 ***
kate_deny_nickname_change_conflict_872@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:14.078 ***
kate_deny_nickname_change_conflict_872@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:14.078 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:14.078 ***
bOb_deny_nickname_change_conflict_872@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:14.078 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:14.080 ***
alicE_deny_nickname_change_conflict_872@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:35:14
=== successfully completed test case
=== === Returned value: ok