=== Test case: muc_SUITE:deny_nickname_change_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.65879.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/muc_suite.deny_nickname_change_conflict.164482.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@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
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 => cets,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@161748d34ba8.2024-03-20_18.07.19"
=== Started at 2024-03-20 18:18:14
*** User 2024-03-20 18:18:14.478 ***🔗
alicE_deny_nickname_change_conflict_2517@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-03-20 18:18:14.479 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ace4f223b0908a80' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:18:14.480 ***🔗
alicE_deny_nickname_change_conflict_2517@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-03-20 18:18:14.480 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rlbnlfbmlja25hbWVfY2hhbmdlX2NvbmZsaWN0XzI1MTcAbWF0eWdyeXNh</auth>
*** User 2024-03-20 18:18:14.482 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:18:14.482 ***🔗
alicE_deny_nickname_change_conflict_2517@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-03-20 18:18:14.483 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcbedccbeb611c21' from='localhost' version='1.0' xml:lang='en' to='alice_deny_nickname_change_conflict_2517@localhost'>
*** User 2024-03-20 18:18:14.484 ***🔗
alicE_deny_nickname_change_conflict_2517@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-03-20 18:18:14.484 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='564bbd94b4dd169eb6f9f39c4fd93132'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:18:14.485 ***🔗
alicE_deny_nickname_change_conflict_2517@localhost/res1 in
<iq id='564bbd94b4dd169eb6f9f39c4fd93132' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_nickname_change_conflict_2517@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:18:14.485 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='ac513d0723ab77ba4cc630812c629a65'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.486 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 in
<iq from='localhost' to='alice_deny_nickname_change_conflict_2517@localhost/res1' id='ac513d0723ab77ba4cc630812c629a65' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.487 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 out
<presence/>
*** User 2024-03-20 18:18:14.491 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='alice_deny_nickname_change_conflict_2517@localhost/res1' to='alice_deny_nickname_change_conflict_2517@localhost/res1'/>
*** User 2024-03-20 18:18:14.554 ***🔗
bOb_deny_nickname_change_conflict_2517@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-03-20 18:18:14.555 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f052341d13c8c25' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:18:14.555 ***🔗
bOb_deny_nickname_change_conflict_2517@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-03-20 18:18:14.555 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X25pY2tuYW1lX2NoYW5nZV9jb25mbGljdF8yNTE3AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-20 18:18:14.560 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:18:14.560 ***🔗
bOb_deny_nickname_change_conflict_2517@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-03-20 18:18:14.561 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0bad7e0340890412' from='localhost' version='1.0' xml:lang='en' to='bob_deny_nickname_change_conflict_2517@localhost'>
*** User 2024-03-20 18:18:14.561 ***🔗
bOb_deny_nickname_change_conflict_2517@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-03-20 18:18:14.561 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='9f04bf8494721e86230cec96e92964b7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:18:14.562 ***🔗
bOb_deny_nickname_change_conflict_2517@localhost/res1 in
<iq id='9f04bf8494721e86230cec96e92964b7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_nickname_change_conflict_2517@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:18:14.562 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='42530ea15b584e22b01e1a024f9c82d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.563 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<iq from='localhost' to='bob_deny_nickname_change_conflict_2517@localhost/res1' id='42530ea15b584e22b01e1a024f9c82d7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.563 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 out
<presence/>
*** User 2024-03-20 18:18:14.566 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='bob_deny_nickname_change_conflict_2517@localhost/res1' to='bob_deny_nickname_change_conflict_2517@localhost/res1'/>
*** User 2024-03-20 18:18:14.567 ***🔗
kate_deny_nickname_change_conflict_2517@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-03-20 18:18:14.568 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2875570ce5c55897' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:18:14.568 ***🔗
kate_deny_nickname_change_conflict_2517@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-03-20 18:18:14.569 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9uaWNrbmFtZV9jaGFuZ2VfY29uZmxpY3RfMjUxNwBtYWtyb3dlO3A=</auth>
*** User 2024-03-20 18:18:14.571 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:18:14.571 ***🔗
kate_deny_nickname_change_conflict_2517@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-03-20 18:18:14.571 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf3f2484490c56f5' from='localhost' version='1.0' xml:lang='en' to='kate_deny_nickname_change_conflict_2517@localhost'>
*** User 2024-03-20 18:18:14.571 ***🔗
kate_deny_nickname_change_conflict_2517@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-03-20 18:18:14.571 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='8c9aa80a8fa82af288f60186a9ac086e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:18:14.572 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<iq id='8c9aa80a8fa82af288f60186a9ac086e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_nickname_change_conflict_2517@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:18:14.572 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
<iq type='set' id='98b2bb04f7746d5caa11d04e063e7035'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.574 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<iq from='localhost' to='kate_deny_nickname_change_conflict_2517@localhost/res1' id='98b2bb04f7746d5caa11d04e063e7035' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:18:14.574 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
<presence/>
*** User 2024-03-20 18:18:14.576 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='kate_deny_nickname_change_conflict_2517@localhost/res1' to='kate_deny_nickname_change_conflict_2517@localhost/res1'/>
*** User 2024-03-20 18:18:14.576 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2517@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-20 18:18:14.579 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2517@muc.localhost/bob' to='bob_deny_nickname_change_conflict_2517@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2024-03-20 18:18:14.579 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2517@muc.localhost' to='bob_deny_nickname_change_conflict_2517@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-20 18:18:14.579 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2517@muc.localhost/eve'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-20 18:18:14.582 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2517@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2517@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-20 18:18:14.582 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2517@muc.localhost/bob' to='kate_deny_nickname_change_conflict_2517@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-20 18:18:14.582 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2517@muc.localhost/eve' to='kate_deny_nickname_change_conflict_2517@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-03-20 18:18:14.582 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
<message from='room-alice_deny_nickname_change_conflict_2517@muc.localhost' to='kate_deny_nickname_change_conflict_2517@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-20 18:18:14.582 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2517@muc.localhost/eve'/>
*** User 2024-03-20 18:18:14.584 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2517@muc.localhost/eve' to='bob_deny_nickname_change_conflict_2517@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-03-20 18:18:14.584 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 out
</stream:stream>
*** User 2024-03-20 18:18:14.585 ***🔗
kate_deny_nickname_change_conflict_2517@localhost/res1 in
</stream:stream>
*** User 2024-03-20 18:18:14.585 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 out
</stream:stream>
*** User 2024-03-20 18:18:14.585 ***🔗
bob_deny_nickname_change_conflict_2517@localhost/res1 in
</stream:stream>
*** User 2024-03-20 18:18:14.586 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 out
</stream:stream>
*** User 2024-03-20 18:18:14.586 ***🔗
alice_deny_nickname_change_conflict_2517@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-20 18:18:14
=== successfully completed test case
=== === Returned value: ok