=== Test case: muc_SUITE:deny_nickname_change_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.63247.0>},
{preset,"pgsql_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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.muc_SUITE.logs/run.2023-11-23_14.25.12/muc_suite.deny_nickname_change_conflict.145795.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.muc_SUITE.logs/run.2023-11-23_14.25.12/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_amp => #{},
mod_sic => #{iqdisc => one_queue},
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 => mnesia,
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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@7465fd1d5a64.2023-11-23_14.13.58"
=== Started at 2023-11-23 14:25:25
Could not find element wait_for_parallel_writer in Config.
*** User 2023-11-23 14:25:25.687 ***🔗
alicE_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.689 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d1adc1a568a45508' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:25:25.690 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.690 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rlbnlfbmlja25hbWVfY2hhbmdlX2NvbmZsaWN0XzI1MzUAbWF0eWdyeXNh</auth>
*** User 2023-11-23 14:25:25.693 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:25:25.693 ***🔗
alicE_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.694 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1073c4cc51820a80' from='domain.example.com' version='1.0' xml:lang='en' to='alice_deny_nickname_change_conflict_2535@domain.example.com'>
*** User 2023-11-23 14:25:25.695 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.695 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='55379e41a2555523c0bfa2f77a9a4051'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:25:25.695 ***🔗
alicE_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq id='55379e41a2555523c0bfa2f77a9a4051' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_deny_nickname_change_conflict_2535@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:25:25.695 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='342b1ce65c0fe53cb8e0d68b7ab94bb8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.697 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_deny_nickname_change_conflict_2535@domain.example.com/res1' id='342b1ce65c0fe53cb8e0d68b7ab94bb8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.697 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:25:25.700 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='alice_deny_nickname_change_conflict_2535@domain.example.com/res1' to='alice_deny_nickname_change_conflict_2535@domain.example.com/res1'/>
*** User 2023-11-23 14:25:25.701 ***🔗
bOb_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.702 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b8b3fb1da68c8d0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:25:25.702 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.702 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X25pY2tuYW1lX2NoYW5nZV9jb25mbGljdF8yNTM1AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-23 14:25:25.768 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:25:25.769 ***🔗
bOb_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.769 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89266329cf57407a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_deny_nickname_change_conflict_2535@domain.example.com'>
*** User 2023-11-23 14:25:25.769 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.770 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='22a2d959cfa16bf17b5c413a5f6faad8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:25:25.771 ***🔗
bOb_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq id='22a2d959cfa16bf17b5c413a5f6faad8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_deny_nickname_change_conflict_2535@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:25:25.771 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='7b02f64d9d179ecb40497b0bfb41c60d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.772 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_deny_nickname_change_conflict_2535@domain.example.com/res1' id='7b02f64d9d179ecb40497b0bfb41c60d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.773 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:25:25.774 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='bob_deny_nickname_change_conflict_2535@domain.example.com/res1' to='bob_deny_nickname_change_conflict_2535@domain.example.com/res1'/>
*** User 2023-11-23 14:25:25.775 ***🔗
kate_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.776 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ae60be035449ec1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:25:25.776 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.777 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVueV9uaWNrbmFtZV9jaGFuZ2VfY29uZmxpY3RfMjUzNQBtYWtyb3dlO3A=</auth>
*** User 2023-11-23 14:25:25.779 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:25:25.779 ***🔗
kate_deny_nickname_change_conflict_2535@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 2023-11-23 14:25:25.779 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f7675d257b948c0' from='domain.example.com' version='1.0' xml:lang='en' to='kate_deny_nickname_change_conflict_2535@domain.example.com'>
*** User 2023-11-23 14:25:25.780 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.780 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='2753c96f5597d521822d23571f6fd350'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:25:25.780 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq id='2753c96f5597d521822d23571f6fd350' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_deny_nickname_change_conflict_2535@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:25:25.780 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<iq type='set' id='4a45863995bda00666c777fdda169dcc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.781 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_deny_nickname_change_conflict_2535@domain.example.com/res1' id='4a45863995bda00666c777fdda169dcc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:25:25.782 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:25:25.783 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='kate_deny_nickname_change_conflict_2535@domain.example.com/res1' to='kate_deny_nickname_change_conflict_2535@domain.example.com/res1'/>
*** User 2023-11-23 14:25:25.783 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2023-11-23 14:25:25.784 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/bob' to='bob_deny_nickname_change_conflict_2535@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2023-11-23 14:25:25.784 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<message from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com' to='bob_deny_nickname_change_conflict_2535@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2023-11-23 14:25:25.784 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/eve'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2023-11-23 14:25:25.785 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/eve' to='bob_deny_nickname_change_conflict_2535@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2023-11-23 14:25:25.786 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/bob' to='kate_deny_nickname_change_conflict_2535@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2023-11-23 14:25:25.786 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/eve' to='kate_deny_nickname_change_conflict_2535@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2023-11-23 14:25:25.786 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<message from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com' to='kate_deny_nickname_change_conflict_2535@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2023-11-23 14:25:25.787 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 out
<presence to='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/eve'/>
*** User 2023-11-23 14:25:25.788 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
<presence from='room-alice_deny_nickname_change_conflict_2535@groupchats.domain.example.com/eve' to='bob_deny_nickname_change_conflict_2535@domain.example.com/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 2023-11-23 14:25:25.788 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:25:25.789 ***🔗
kate_deny_nickname_change_conflict_2535@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:25:25.789 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:25:25.789 ***🔗
bob_deny_nickname_change_conflict_2535@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:25:25.789 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:25:25.789 ***🔗
alice_deny_nickname_change_conflict_2535@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:25:25.791 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2023-11-23 14:25:25
=== successfully completed test case
=== === Returned value: ok