=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1791.0>},
{escalus_user_db,xmpp},
{mod_register_options,#{access => register,
ip_access =>
[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []}},
{preset,"pgsql_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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.accounts_SUITE.logs/run.2024-04-09_11.35.04/accounts_suite.registration_conflict.642.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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.accounts_SUITE.logs/run.2024-04-09_11.35.04/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a3455d6f2f61.2024-04-09_11.34.59"
=== Started at 2024-04-09 11:35:05
*** User 2024-04-09 11:35:05.058 ***🔗
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-09 11:35:05.059 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b8ddd39f702f91b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:35:05.059 ***🔗
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-09 11:35:05.059 ***🔗
alicE@localhost out
<iq type='get' id='25cc6ab154da147c21eb5a4f1cde6859'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-04-09 11:35:05.059 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='25cc6ab154da147c21eb5a4f1cde6859' 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-09 11:35:05.059 ***🔗
alicE@localhost out
<iq type='set' id='740b1a5e31be36f791bc7d1ad4335061'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-04-09 11:35:05.061 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='740b1a5e31be36f791bc7d1ad4335061' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-04-09 11:35:05.061 ***🔗
alicE@localhost out
</stream:stream>
*** User 2024-04-09 11:35:05.061 ***🔗
alicE@localhost in
</stream:stream>
*** User 2024-04-09 11:35:05.062 ***🔗
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-09 11:35:05.062 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22b7f2a795cc7aa0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:35:05.062 ***🔗
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-09 11:35:05.062 ***🔗
alicE@localhost out
<iq type='get' id='f97ee6e813fb7677335e3c7db46245e8'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-04-09 11:35:05.063 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='f97ee6e813fb7677335e3c7db46245e8' 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-09 11:35:05.063 ***🔗
alicE@localhost out
<iq type='set' id='966b8079adc52e2cbbb474bc21d5f1e4'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-04-09 11:35:05.063 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='966b8079adc52e2cbbb474bc21d5f1e4' 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-09 11:35:05.063 ***🔗
alicE@localhost out
</stream:stream>
*** User 2024-04-09 11:35:05.064 ***🔗
alicE@localhost in
</stream:stream>
*** User 2024-04-09 11:35:05.066 ***🔗
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-09 11:35:05.066 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='efdca4fc86b935ba' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:35:05.066 ***🔗
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-09 11:35:05.066 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-09 11:35:05.067 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:35:05.067 ***🔗
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-09 11:35:05.067 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7119ee7a4c5b4b16' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-09 11:35:05.068 ***🔗
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-09 11:35:05.068 ***🔗
alicE@localhost out
<iq type='set' id='914c85c432e196f0570e1f47c271d3a2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-09 11:35:05.068 ***🔗
alicE@localhost in
<iq id='914c85c432e196f0570e1f47c271d3a2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-09 11:35:05.068 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='35a631d2fa205a4d939913da49ab54cf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:35:05.068 ***🔗
alice@localhost/escalus-default-resource in
<iq from='localhost' to='alice@localhost/escalus-default-resource' id='35a631d2fa205a4d939913da49ab54cf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:35:05.068 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='33855aa57157f562c8500c40f58386fd'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2024-04-09 11:35:05.069 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='33855aa57157f562c8500c40f58386fd' type='result'/>
*** User 2024-04-09 11:35:05.072 ***🔗
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-09 11:35:05.072 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2024-04-09 11:35:05
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"localhost">>},
{<<"to">>,<<"localhost">>},
{<<"id">>,<<"966b8079adc52e2cbbb474bc21d5f1e4">>},
{<<"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">>}],
[]}]}]}}