=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1544.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 => []}},
{mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
{preset,"elasticsearch_and_cassandra_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.accounts_SUITE.logs/run.2022-06-22_09.17.10/accounts_suite.registration_conflict.2.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.accounts_SUITE.logs/run.2022-06-22_09.17.10/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07"
=== Started at 2022-06-22 09:17:10
*** User 2022-06-22 09:17:10.757 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 09:17:10.757 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08338954554415cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:17:10.758 ***🔗
alicE@localhost in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-06-22 09:17:10.758 ***🔗
alicE@localhost out
<iq type='get' id='fbaccf18ef36709abdf5264725aba656'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-06-22 09:17:10.758 ***🔗
alicE@localhost in
<iq from='localhost' id='fbaccf18ef36709abdf5264725aba656' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2022-06-22 09:17:10.759 ***🔗
alicE@localhost out
<iq type='set' id='df8ec9f61c4d2ed17faa9ede6e7d64d7'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 09:17:10.759 ***🔗
alicE@localhost in
<iq from='localhost' id='df8ec9f61c4d2ed17faa9ede6e7d64d7' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 09:17:10.759 ***🔗
alicE@localhost out
</stream:stream>
*** User 2022-06-22 09:17:10.760 ***🔗
alicE@localhost in
</stream:stream>
*** User 2022-06-22 09:17:10.760 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 09:17:10.760 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35546c08947c76a0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:17:10.761 ***🔗
alicE@localhost in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-06-22 09:17:10.761 ***🔗
alicE@localhost out
<iq type='get' id='865eb4042e41f00a0d9aaa0f6679c51f'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-06-22 09:17:10.761 ***🔗
alicE@localhost in
<iq from='localhost' id='865eb4042e41f00a0d9aaa0f6679c51f' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2022-06-22 09:17:10.761 ***🔗
alicE@localhost out
<iq type='set' id='ef5617957bc57f20ca283880a5e8798c'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 09:17:10.761 ***🔗
alicE@localhost in
<iq from='localhost' id='ef5617957bc57f20ca283880a5e8798c' 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 2022-06-22 09:17:10.761 ***🔗
alicE@localhost out
</stream:stream>
*** User 2022-06-22 09:17:10.762 ***🔗
alicE@localhost in
</stream:stream>
*** User 2022-06-22 09:17:10.764 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 09:17:10.764 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05a4b53c42ca760e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:17:10.764 ***🔗
alicE@localhost in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-06-22 09:17:10.765 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 09:17:10.765 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 09:17:10.765 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 09:17:10.765 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a40b3c17a7ffaa6e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:17:10.765 ***🔗
alicE@localhost in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-06-22 09:17:10.766 ***🔗
alicE@localhost out
<iq type='set' id='ff3af5b0e753c12f6637ff33b4465984'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2022-06-22 09:17:10.766 ***🔗
alicE@localhost in
<iq id='ff3af5b0e753c12f6637ff33b4465984' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2022-06-22 09:17:10.766 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='5f90385f94f56c8a2c540ea4e93b10ef'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:17:10.766 ***🔗
alice@localhost/escalus-default-resource in
<iq type='result' id='5f90385f94f56c8a2c540ea4e93b10ef'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:17:10.766 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='3d51811b16745d8fb4387f99f3994973'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2022-06-22 09:17:10.767 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='3d51811b16745d8fb4387f99f3994973' type='result'/>
*** User 2022-06-22 09:17:10.767 ***🔗
alice@localhost/escalus-default-resource out
</stream:stream>
*** User 2022-06-22 09:17:10.767 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2022-06-22 09:17:10
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"localhost">>},
{<<"id">>,<<"ef5617957bc57f20ca283880a5e8798c">>},
{<<"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">>}],
[]}]}]}}