=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1546.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,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.accounts_SUITE.logs/run.2022-06-22_08.44.02/accounts_suite.registration_conflict.3.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.accounts_SUITE.logs/run.2022-06-22_08.44.02/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"
=== Started at 2022-06-22 08:44:02
*** User 2022-06-22 08:44:02.995 ***🔗
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 08:44:02.995 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f283bc7081dd1f3f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:44:02.996 ***🔗
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 08:44:02.996 ***🔗
alicE@localhost out
<iq type='get' id='28ab0961ce68c926b9415b87a4e4ba74'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-06-22 08:44:02.996 ***🔗
alicE@localhost in
<iq from='localhost' id='28ab0961ce68c926b9415b87a4e4ba74' 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 08:44:02.996 ***🔗
alicE@localhost out
<iq type='set' id='83f29897248c22dbcb26905262a63af8'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 08:44:03.000 ***🔗
alicE@localhost in
<iq from='localhost' id='83f29897248c22dbcb26905262a63af8' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 08:44:03.000 ***🔗
alicE@localhost out
</stream:stream>
*** User 2022-06-22 08:44:03.000 ***🔗
alicE@localhost in
</stream:stream>
*** User 2022-06-22 08:44:03.001 ***🔗
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 08:44:03.001 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4503b5ae76c032d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:44:03.002 ***🔗
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 08:44:03.002 ***🔗
alicE@localhost out
<iq type='get' id='c1c3df5515ca36ca351e474b6144e017'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-06-22 08:44:03.002 ***🔗
alicE@localhost in
<iq from='localhost' id='c1c3df5515ca36ca351e474b6144e017' 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 08:44:03.002 ***🔗
alicE@localhost out
<iq type='set' id='70b2e6246b4deb7f47059420d5826f3b'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-06-22 08:44:03.004 ***🔗
alicE@localhost in
<iq from='localhost' id='70b2e6246b4deb7f47059420d5826f3b' 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 08:44:03.005 ***🔗
alicE@localhost out
</stream:stream>
*** User 2022-06-22 08:44:03.005 ***🔗
alicE@localhost in
</stream:stream>
*** User 2022-06-22 08:44:03.007 ***🔗
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 08:44:03.008 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a4664883e302fce' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:44:03.008 ***🔗
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 08:44:03.008 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 08:44:03.010 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:44:03.010 ***🔗
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 08:44:03.010 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a84eef98bd07f87' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:44:03.010 ***🔗
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 08:44:03.011 ***🔗
alicE@localhost out
<iq type='set' id='bc447562c7463a8037e40b61e350fbdc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2022-06-22 08:44:03.011 ***🔗
alicE@localhost in
<iq id='bc447562c7463a8037e40b61e350fbdc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2022-06-22 08:44:03.011 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='8ea362d196dc7a5e24c804bfc2eb4b54'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:44:03.011 ***🔗
alice@localhost/escalus-default-resource in
<iq type='result' id='8ea362d196dc7a5e24c804bfc2eb4b54'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:44:03.012 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='f2c6d7ddc8eaf98e2cf7becaa028e773'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2022-06-22 08:44:03.013 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='f2c6d7ddc8eaf98e2cf7becaa028e773' type='result'/>
*** User 2022-06-22 08:44:03.013 ***🔗
alice@localhost/escalus-default-resource out
</stream:stream>
*** User 2022-06-22 08:44:03.013 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2022-06-22 08:44:03
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"localhost">>},
{<<"id">>,<<"70b2e6246b4deb7f47059420d5826f3b">>},
{<<"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">>}],
[]}]}]}}