=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1740.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,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.accounts_SUITE.logs/run.2023-12-07_07.46.45/accounts_suite.registration_conflict.260.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.accounts_SUITE.logs/run.2023-12-07_07.46.45/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41"
=== Started at 2023-12-07 07:46:45
*** User 2023-12-07 07:46:45.434 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.434 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a22bd8260f8795b7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:46:45.434 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.434 ***🔗
alicE@domain.example.com out
<iq type='get' id='c62afd057a6923dca309bab467426cc2'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2023-12-07 07:46:45.435 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='c62afd057a6923dca309bab467426cc2' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2023-12-07 07:46:45.435 ***🔗
alicE@domain.example.com out
<iq type='set' id='e5b7391e2162febf44e0fcfef432358d'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2023-12-07 07:46:45.441 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='e5b7391e2162febf44e0fcfef432358d' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2023-12-07 07:46:45.441 ***🔗
alicE@domain.example.com out
</stream:stream>
*** User 2023-12-07 07:46:45.441 ***🔗
alicE@domain.example.com in
</stream:stream>
*** User 2023-12-07 07:46:45.442 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.442 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f15e2544a821073' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:46:45.442 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.442 ***🔗
alicE@domain.example.com out
<iq type='get' id='66dba3de681da2644fc0823988ed1a61'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2023-12-07 07:46:45.442 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='66dba3de681da2644fc0823988ed1a61' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2023-12-07 07:46:45.442 ***🔗
alicE@domain.example.com out
<iq type='set' id='12d0192799e306014036921c1f36a5ef'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2023-12-07 07:46:45.443 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='12d0192799e306014036921c1f36a5ef' 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 2023-12-07 07:46:45.443 ***🔗
alicE@domain.example.com out
</stream:stream>
*** User 2023-12-07 07:46:45.444 ***🔗
alicE@domain.example.com in
</stream:stream>
*** User 2023-12-07 07:46:45.446 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.446 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cc818bb61c7fbd2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:46:45.446 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.446 ***🔗
alicE@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2023-12-07 07:46:45.447 ***🔗
alicE@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:46:45.447 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.448 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc29bf6480f88ac4' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>
*** User 2023-12-07 07:46:45.448 ***🔗
alicE@domain.example.com 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-12-07 07:46:45.448 ***🔗
alicE@domain.example.com out
<iq type='set' id='76161eac0d206b228777b78a03cfe6eb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2023-12-07 07:46:45.448 ***🔗
alicE@domain.example.com in
<iq id='76161eac0d206b228777b78a03cfe6eb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2023-12-07 07:46:45.448 ***🔗
alice@domain.example.com/escalus-default-resource out
<iq type='set' id='d9e658820ee11830e13c37b6be432221'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:46:45.449 ***🔗
alice@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice@domain.example.com/escalus-default-resource' id='d9e658820ee11830e13c37b6be432221' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:46:45.449 ***🔗
alice@domain.example.com/escalus-default-resource out
<iq type='set' id='1c30893f3861861857b70b3656cc5051'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2023-12-07 07:46:45.450 ***🔗
alice@domain.example.com/escalus-default-resource in
<iq from='' to='alice@domain.example.com/escalus-default-resource' id='1c30893f3861861857b70b3656cc5051' type='result'/>
*** User 2023-12-07 07:46:45.462 ***🔗
alice@domain.example.com/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 2023-12-07 07:46:45.462 ***🔗
alice@domain.example.com/escalus-default-resource in
</stream:stream>
=== Ended at 2023-12-07 07:46:45
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"domain.example.com">>},
{<<"to">>,<<"domain.example.com">>},
{<<"id">>,<<"12d0192799e306014036921c1f36a5ef">>},
{<<"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">>}],
[]}]}]}}