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

=== Config value:

    [{watchdog,<0.1795.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@88a6ddd152da.2024-02-27_11.16.04/big_tests.tests.accounts_SUITE.logs/run.2024-02-27_11.16.09/accounts_suite.registration_conflict.131.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@88a6ddd152da.2024-02-27_11.16.04/big_tests.tests.accounts_SUITE.logs/run.2024-02-27_11.16.09/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88a6ddd152da.2024-02-27_11.16.04"

=== Started at 2024-02-27 11:16:09


*** CT 2024-02-27 11:16:09.413 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_39.html

*** User 2024-02-27 11:16:09.416 ***🔗
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-02-27 11:16:09.416 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9151c2b93b08a05' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 11:16:09.416 ***🔗
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-02-27 11:16:09.417 ***🔗
alicE@localhost out
<iq type='get' id='8ce2b740ee4dff49a739efcbffaf03be'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-02-27 11:16:09.417 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='8ce2b740ee4dff49a739efcbffaf03be' 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-02-27 11:16:09.417 ***🔗
alicE@localhost out
<iq type='set' id='2b7249c0af3eac1580428822ddbb0cbc'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-02-27 11:16:09.428 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='2b7249c0af3eac1580428822ddbb0cbc' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-02-27 11:16:09.429 ***🔗
alicE@localhost out
</stream:stream>

*** User 2024-02-27 11:16:09.429 ***🔗
alicE@localhost in
</stream:stream>

*** User 2024-02-27 11:16:09.429 ***🔗
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-02-27 11:16:09.430 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dee85edf68c37a3e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 11:16:09.430 ***🔗
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-02-27 11:16:09.430 ***🔗
alicE@localhost out
<iq type='get' id='2b69447fcc902a0cb9efa226ed0a2c6f'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-02-27 11:16:09.430 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='2b69447fcc902a0cb9efa226ed0a2c6f' 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-02-27 11:16:09.430 ***🔗
alicE@localhost out
<iq type='set' id='9096be85a0548a903f80d4588e9c3f82'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-02-27 11:16:09.431 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='9096be85a0548a903f80d4588e9c3f82' 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-02-27 11:16:09.431 ***🔗
alicE@localhost out
</stream:stream>

*** User 2024-02-27 11:16:09.431 ***🔗
alicE@localhost in
</stream:stream>

*** User 2024-02-27 11:16:09.433 ***🔗
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-02-27 11:16:09.434 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e51245621a585598' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 11:16:09.434 ***🔗
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-02-27 11:16:09.434 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-02-27 11:16:09.442 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 11:16:09.442 ***🔗
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-02-27 11:16:09.442 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f39667967d776fd' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-02-27 11:16:09.442 ***🔗
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-02-27 11:16:09.442 ***🔗
alicE@localhost out
<iq type='set' id='ad1675916c32bdae1895c0637a598028'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-02-27 11:16:09.443 ***🔗
alicE@localhost in
<iq id='ad1675916c32bdae1895c0637a598028' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-02-27 11:16:09.443 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='a81a722d5fc95b50dc590ffdf95e2359'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:16:09.443 ***🔗
alice@localhost/escalus-default-resource in
<iq from='localhost' to='alice@localhost/escalus-default-resource' id='a81a722d5fc95b50dc590ffdf95e2359' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:16:09.443 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='3848be419587302134728597e283edb9'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-02-27 11:16:09.444 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='3848be419587302134728597e283edb9' type='result'/>



*** User 2024-02-27 11:16:09.453 ***🔗
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-02-27 11:16:09.453 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
*** CT 2024-02-27 11:16:09.454 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_40.html



=== Ended at 2024-02-27 11:16:09
=== successfully completed test case
=== === Returned value: {ok,conflict,
                        {xmlel,<<"iq">>,
                            [{<<"from">>,<<"localhost">>},
                             {<<"to">>,<<"localhost">>},
                             {<<"id">>,<<"9096be85a0548a903f80d4588e9c3f82">>},
                             {<<"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">>}],
                                      []}]}]}}