=== Test case: muc_SUITE:deny_nickname_change_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.72566.0>},
{preset,"odbc_mssql_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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.41.18/muc_suite.deny_nickname_change_conflict.200834.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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.41.18/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_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,<<"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@31d0bc574ce3.2024-04-23_06.27.08"
=== Started at 2024-04-23 06:41:32
*** User 2024-04-23 06:41:32.406 ***🔗
alicE_deny_nickname_change_conflict_2949@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-23 06:41:32.407 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fe3e2f2e3fa1393' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.407 ***🔗
alicE_deny_nickname_change_conflict_2949@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-23 06:41:32.408 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rlbnlfbmlja25hbWVfY2hhbmdlX2NvbmZsaWN0XzI5NDkAbWF0eWdyeXNh</auth>
*** User 2024-04-23 06:41:32.411 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.412 ***🔗
alicE_deny_nickname_change_conflict_2949@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-23 06:41:32.413 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c1c78d53edca246' from='localhost' version='1.0' xml:lang='en' to='alice_deny_nickname_change_conflict_2949@localhost'>
*** User 2024-04-23 06:41:32.413 ***🔗
alicE_deny_nickname_change_conflict_2949@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-23 06:41:32.413 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='98f498c82b04997558ff722d3553e8d0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.414 ***🔗
alicE_deny_nickname_change_conflict_2949@localhost/res1 in
<iq id='98f498c82b04997558ff722d3553e8d0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_nickname_change_conflict_2949@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.415 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='b09f7b2036ba0ba79eb792b977be93a3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.416 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 in
<iq from='localhost' to='alice_deny_nickname_change_conflict_2949@localhost/res1' id='b09f7b2036ba0ba79eb792b977be93a3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.416 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.418 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='alice_deny_nickname_change_conflict_2949@localhost/res1' to='alice_deny_nickname_change_conflict_2949@localhost/res1'/>
*** User 2024-04-23 06:41:32.422 ***🔗
bOb_deny_nickname_change_conflict_2949@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-23 06:41:32.423 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14d133b5806338e7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.424 ***🔗
bOb_deny_nickname_change_conflict_2949@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-23 06:41:32.424 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X25pY2tuYW1lX2NoYW5nZV9jb25mbGljdF8yOTQ5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 06:41:32.491 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.492 ***🔗
bOb_deny_nickname_change_conflict_2949@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-23 06:41:32.493 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b24955f99b59107b' from='localhost' version='1.0' xml:lang='en' to='bob_deny_nickname_change_conflict_2949@localhost'>
*** User 2024-04-23 06:41:32.493 ***🔗
bOb_deny_nickname_change_conflict_2949@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-23 06:41:32.493 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='bcc0904fdf3320ef8ef4af76a854596f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.494 ***🔗
bOb_deny_nickname_change_conflict_2949@localhost/res1 in
<iq id='bcc0904fdf3320ef8ef4af76a854596f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_nickname_change_conflict_2949@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.494 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='cb91b83ad0f1fa807a3aa60f1ba845b4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.496 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<iq from='localhost' to='bob_deny_nickname_change_conflict_2949@localhost/res1' id='cb91b83ad0f1fa807a3aa60f1ba845b4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.497 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.499 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='bob_deny_nickname_change_conflict_2949@localhost/res1' to='bob_deny_nickname_change_conflict_2949@localhost/res1'/>
*** User 2024-04-23 06:41:32.500 ***🔗
kate_deny_nickname_change_conflict_2949@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-23 06:41:32.501 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e81932abc87ec50d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.501 ***🔗
kate_deny_nickname_change_conflict_2949@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-23 06:41:32.502 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9uaWNrbmFtZV9jaGFuZ2VfY29uZmxpY3RfMjk0OQBtYWtyb3dlO3A=</auth>
*** User 2024-04-23 06:41:32.505 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.505 ***🔗
kate_deny_nickname_change_conflict_2949@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-23 06:41:32.506 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9db711419541d72e' from='localhost' version='1.0' xml:lang='en' to='kate_deny_nickname_change_conflict_2949@localhost'>
*** User 2024-04-23 06:41:32.507 ***🔗
kate_deny_nickname_change_conflict_2949@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-23 06:41:32.507 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='32e77b9bd519bd84b42890602aeb6b91'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.508 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<iq id='32e77b9bd519bd84b42890602aeb6b91' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_nickname_change_conflict_2949@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.509 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
<iq type='set' id='fd01c59a5770e1ecc4dd08480df4f20e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.510 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<iq from='localhost' to='kate_deny_nickname_change_conflict_2949@localhost/res1' id='fd01c59a5770e1ecc4dd08480df4f20e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.510 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.512 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='kate_deny_nickname_change_conflict_2949@localhost/res1' to='kate_deny_nickname_change_conflict_2949@localhost/res1'/>
*** User 2024-04-23 06:41:32.512 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2949@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-23 06:41:32.517 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2949@muc.localhost/bob' to='bob_deny_nickname_change_conflict_2949@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-23 06:41:32.517 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2949@muc.localhost' to='bob_deny_nickname_change_conflict_2949@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-23 06:41:32.517 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2949@muc.localhost/eve'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-23 06:41:32.519 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2949@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2949@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.520 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2949@muc.localhost/bob' to='kate_deny_nickname_change_conflict_2949@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.520 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2949@muc.localhost/eve' to='kate_deny_nickname_change_conflict_2949@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.521 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2949@muc.localhost' to='kate_deny_nickname_change_conflict_2949@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-23 06:41:32.521 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2949@muc.localhost/eve'/>
*** User 2024-04-23 06:41:32.522 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2949@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2949@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-23 06:41:32.522 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.523 ***🔗
kate_deny_nickname_change_conflict_2949@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:41:32.523 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.524 ***🔗
bob_deny_nickname_change_conflict_2949@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:41:32.524 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.524 ***🔗
alice_deny_nickname_change_conflict_2949@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 06:41:32
=== successfully completed test case
=== === Returned value: ok