=== Test case: muc_SUITE:deny_nickname_change_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.73613.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@712f6a561549.2024-04-22_14.41.30/big_tests.tests.muc_SUITE.logs/run.2024-04-22_14.54.28/muc_suite.deny_nickname_change_conflict.59653.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@712f6a561549.2024-04-22_14.41.30/big_tests.tests.muc_SUITE.logs/run.2024-04-22_14.54.28/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}},
{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@712f6a561549.2024-04-22_14.41.30"
=== Started at 2024-04-22 14:54:41
*** User 2024-04-22 14:54:42.115 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.116 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cbcbf915c4b8199' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:54:42.116 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.116 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rlbnlfbmlja25hbWVfY2hhbmdlX2NvbmZsaWN0XzI3NTQAbWF0eWdyeXNh</auth>
*** User 2024-04-22 14:54:42.118 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:54:42.118 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.118 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7435626f8b9c4aa8' from='localhost' version='1.0' xml:lang='en' to='alice_deny_nickname_change_conflict_2754@localhost'>
*** User 2024-04-22 14:54:42.119 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.119 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='3b599e7038e5cb7c90f6a233a5545b4d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:54:42.119 ***🔗
alicE_deny_nickname_change_conflict_2754@localhost/res1 in
<iq id='3b599e7038e5cb7c90f6a233a5545b4d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_nickname_change_conflict_2754@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:54:42.120 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='69e9fab7b300dd3375496c4694d1c3a2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.121 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 in
<iq from='localhost' to='alice_deny_nickname_change_conflict_2754@localhost/res1' id='69e9fab7b300dd3375496c4694d1c3a2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.122 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 out
<presence/>
*** User 2024-04-22 14:54:42.129 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='alice_deny_nickname_change_conflict_2754@localhost/res1' to='alice_deny_nickname_change_conflict_2754@localhost/res1'/>
*** User 2024-04-22 14:54:42.130 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.131 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf3ed16ddda1a1f2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:54:42.131 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.132 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X25pY2tuYW1lX2NoYW5nZV9jb25mbGljdF8yNzU0AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 14:54:42.136 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:54:42.136 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.197 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab0ac154af371d88' from='localhost' version='1.0' xml:lang='en' to='bob_deny_nickname_change_conflict_2754@localhost'>
*** User 2024-04-22 14:54:42.198 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.198 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='aaa517cde45de10a7fa2ba12e889ee66'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:54:42.199 ***🔗
bOb_deny_nickname_change_conflict_2754@localhost/res1 in
<iq id='aaa517cde45de10a7fa2ba12e889ee66' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_nickname_change_conflict_2754@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:54:42.200 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='4ff434f9199d24bc7a902f001cf07cd3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.203 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<iq from='localhost' to='bob_deny_nickname_change_conflict_2754@localhost/res1' id='4ff434f9199d24bc7a902f001cf07cd3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.203 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 out
<presence/>
*** User 2024-04-22 14:54:42.209 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='bob_deny_nickname_change_conflict_2754@localhost/res1' to='bob_deny_nickname_change_conflict_2754@localhost/res1'/>
*** User 2024-04-22 14:54:42.210 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.211 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='984dffc3415167a2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:54:42.211 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.211 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9uaWNrbmFtZV9jaGFuZ2VfY29uZmxpY3RfMjc1NABtYWtyb3dlO3A=</auth>
*** User 2024-04-22 14:54:42.214 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:54:42.214 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:54:42.215 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cae5c8aad5f48b10' from='localhost' version='1.0' xml:lang='en' to='kate_deny_nickname_change_conflict_2754@localhost'>
*** User 2024-04-22 14:54:42.215 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/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-04-22 14:54:42.216 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='12128c6de35befa847e8deccf0cf9731'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:54:42.216 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<iq id='12128c6de35befa847e8deccf0cf9731' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_nickname_change_conflict_2754@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:54:42.216 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<iq type='set' id='2e0d0cf420bc80f01cb9c233c2cba79b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.218 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<iq from='localhost' to='kate_deny_nickname_change_conflict_2754@localhost/res1' id='2e0d0cf420bc80f01cb9c233c2cba79b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:42.219 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<presence/>
*** User 2024-04-22 14:54:42.222 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='kate_deny_nickname_change_conflict_2754@localhost/res1' to='kate_deny_nickname_change_conflict_2754@localhost/res1'/>
*** User 2024-04-22 14:54:42.222 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2754@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-22 14:54:42.225 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2754@muc.localhost/bob' to='bob_deny_nickname_change_conflict_2754@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2024-04-22 14:54:42.225 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2754@muc.localhost' to='bob_deny_nickname_change_conflict_2754@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-22 14:54:42.225 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2754@muc.localhost/eve'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-22 14:54:42.228 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2754@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2754@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-22 14:54:42.228 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2754@muc.localhost/bob' to='kate_deny_nickname_change_conflict_2754@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-22 14:54:42.228 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2754@muc.localhost/eve' to='kate_deny_nickname_change_conflict_2754@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-22 14:54:42.229 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2754@muc.localhost' to='kate_deny_nickname_change_conflict_2754@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-22 14:54:42.229 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2754@muc.localhost/eve'/>
*** User 2024-04-22 14:54:42.232 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2754@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2754@localhost/res1' type='error'>
<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 2024-04-22 14:54:42.232 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:54:42.233 ***🔗
kate_deny_nickname_change_conflict_2754@localhost/res1 in
</stream:stream>
*** User 2024-04-22 14:54:42.233 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:54:42.233 ***🔗
bob_deny_nickname_change_conflict_2754@localhost/res1 in
</stream:stream>
*** User 2024-04-22 14:54:42.234 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:54:42.234 ***🔗
alice_deny_nickname_change_conflict_2754@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 14:54:42
=== successfully completed test case
=== === Returned value: ok