=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)

=== Config value:

    [{watchdog,<0.1798.0>},
     {escalus_user_db,xmpp},
     {mod_register_options,#{access => register,iqdisc => one_queue,
                             registration_watchers => [],
                             password_strength => 0,
                             ip_access =>
                                 [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@263f7cbb53ed.2024-04-25_14.57.19/big_tests.tests.accounts_SUITE.logs/run.2024-04-25_14.57.24/accounts_suite.registration_conflict.1282.html"},
     {tc_group_properties,[{name,register},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/accounts_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@263f7cbb53ed.2024-04-25_14.57.19/big_tests.tests.accounts_SUITE.logs/run.2024-04-25_14.57.24/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@263f7cbb53ed.2024-04-25_14.57.19"

=== Started at 2024-04-25 14:57:24


*** CT 2024-04-25 14:57:24.640 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_40.html

*** User 2024-04-25 14:57:24.649 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 14:57:24.649 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e94f95cd38e42537' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:57:24.650 ***🔗
alicE@localhost 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-25 14:57:24.650 ***🔗
alicE@localhost out
<iq type='get' id='eba22cfe13808f8865a03365ad3faf75'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-25 14:57:24.650 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='eba22cfe13808f8865a03365ad3faf75' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-25 14:57:24.650 ***🔗
alicE@localhost out
<iq type='set' id='c4816eb272d2f1cc2f0cc10c4a289f4f'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-25 14:57:24.658 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='c4816eb272d2f1cc2f0cc10c4a289f4f' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-25 14:57:24.658 ***🔗
alicE@localhost out
</stream:stream>

*** User 2024-04-25 14:57:24.658 ***🔗
alicE@localhost in
</stream:stream>

*** User 2024-04-25 14:57:24.659 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 14:57:24.659 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d107a814df0ed569' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:57:24.659 ***🔗
alicE@localhost 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-25 14:57:24.659 ***🔗
alicE@localhost out
<iq type='get' id='0d3ea75e3ba5bd151e63c46b683cd309'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-25 14:57:24.660 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='0d3ea75e3ba5bd151e63c46b683cd309' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-25 14:57:24.660 ***🔗
alicE@localhost out
<iq type='set' id='a0160bc036aa250b40678c9d85fe87bc'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-25 14:57:24.661 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='a0160bc036aa250b40678c9d85fe87bc' type='error'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
	<error code='409' type='cancel'>
		<conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2024-04-25 14:57:24.661 ***🔗
alicE@localhost out
</stream:stream>

*** User 2024-04-25 14:57:24.661 ***🔗
alicE@localhost in
</stream:stream>

*** User 2024-04-25 14:57:24.663 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 14:57:24.663 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33598c4d1bb3e404' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:57:24.663 ***🔗
alicE@localhost 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-25 14:57:24.663 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 14:57:24.664 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:57:24.664 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 14:57:24.664 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7719d5fd92876935' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-04-25 14:57:24.665 ***🔗
alicE@localhost 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-25 14:57:24.665 ***🔗
alicE@localhost out
<iq type='set' id='4cedee9ee1c9c28be09c134220b81b24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-25 14:57:24.665 ***🔗
alicE@localhost in
<iq id='4cedee9ee1c9c28be09c134220b81b24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-25 14:57:24.665 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='51a3b6874ea8bdd4c505cd6497c93638'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:57:24.665 ***🔗
alice@localhost/escalus-default-resource in
<iq from='localhost' to='alice@localhost/escalus-default-resource' id='51a3b6874ea8bdd4c505cd6497c93638' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:57:24.665 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='ba6de276496dcab97abbef0334d4e96b'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-04-25 14:57:24.666 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='ba6de276496dcab97abbef0334d4e96b' type='result'/>



*** User 2024-04-25 14:57:24.674 ***🔗
alice@localhost/escalus-default-resource in
<stream:error>
	<conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
	<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>User removed</text>
</stream:error>



*** User 2024-04-25 14:57:24.674 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
*** CT 2024-04-25 14:57:24.675 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_40.html



=== Ended at 2024-04-25 14:57:24
=== successfully completed test case
=== === Returned value: {ok,conflict,
                        {xmlel,<<"iq">>,
                            [{<<"from">>,<<"localhost">>},
                             {<<"to">>,<<"localhost">>},
                             {<<"id">>,<<"a0160bc036aa250b40678c9d85fe87bc">>},
                             {<<"type">>,<<"error">>}],
                            [{xmlel,<<"query">>,
                                 [{<<"xmlns">>,<<"jabber:iq:register">>}],
                                 [{xmlel,<<"username">>,[],
                                      [{xmlcdata,<<"alicE">>}]},
                                  {xmlel,<<"password">>,[],
                                      [{xmlcdata,<<"matygrysa">>}]}]},
                             {xmlel,<<"error">>,
                                 [{<<"code">>,<<"409">>},
                                  {<<"type">>,<<"cancel">>}],
                                 [{xmlel,<<"conflict">>,
                                      [{<<"xmlns">>,
                                        <<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],
                                      []}]}]}}