=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1199.0>},
{escalus_user_db,xmpp},
{mod_register_options,
[{welcome_message,{[],[]}},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{access,register},
{registration_watchers,[]}]},
{mim_data_dir,
"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,
"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.accounts_SUITE.logs/run.2022-02-02_15.07.36/accounts_suite.registration_conflict.258.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.accounts_SUITE.logs/run.2022-02-02_15.07.36/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:07:37
*** User 2022-02-02 15:07:37.208 ***
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 2022-02-02 15:07:37.209 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='382f905c3853f821' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:07:37.209 ***
alicE@domain.example.com 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-02-02 15:07:37.210 ***
alicE@domain.example.com out
<iq type='get' id='99d36b7ab541e7f8213ad7c5a42e64f2'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-02-02 15:07:37.210 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='99d36b7ab541e7f8213ad7c5a42e64f2' 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-02-02 15:07:37.210 ***
alicE@domain.example.com out
<iq type='set' id='17ec94602e5397dbe64b42725994734b'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-02-02 15:07:37.224 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='17ec94602e5397dbe64b42725994734b' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-02-02 15:07:37.224 ***
alicE@domain.example.com out
</stream:stream>
*** User 2022-02-02 15:07:37.224 ***
alicE@domain.example.com in
</stream:stream>
*** User 2022-02-02 15:07:37.228 ***
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 2022-02-02 15:07:37.230 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e74d4e0b9838295f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:07:37.232 ***
alicE@domain.example.com 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-02-02 15:07:37.233 ***
alicE@domain.example.com out
<iq type='get' id='2277c4e7e16543d87ca678b3540bf3f8'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-02-02 15:07:37.235 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='2277c4e7e16543d87ca678b3540bf3f8' 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-02-02 15:07:37.236 ***
alicE@domain.example.com out
<iq type='set' id='9c5e467c6fde030f4b55fc43365adfe7'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-02-02 15:07:37.237 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='9c5e467c6fde030f4b55fc43365adfe7' 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-02-02 15:07:37.237 ***
alicE@domain.example.com out
</stream:stream>
*** User 2022-02-02 15:07:37.239 ***
alicE@domain.example.com in
</stream:stream>
*** User 2022-02-02 15:07:37.244 ***
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 2022-02-02 15:07:37.247 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5784e674eb51195' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:07:37.248 ***
alicE@domain.example.com 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-02-02 15:07:37.249 ***
alicE@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:07:37.250 ***
alicE@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:07:37.250 ***
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 2022-02-02 15:07:37.250 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40ead6a3d5837c1a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:07:37.251 ***
alicE@domain.example.com 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-02-02 15:07:37.251 ***
alicE@domain.example.com out
<iq type='set' id='889e88b4fe4fdae0775c2409ac6872d2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2022-02-02 15:07:37.251 ***
alicE@domain.example.com in
<iq id='889e88b4fe4fdae0775c2409ac6872d2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2022-02-02 15:07:37.251 ***
alicE@domain.example.com/escalus-default-resource out
<iq type='set' id='d6095085013ae3bce7ac99d16edaac96'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:07:37.251 ***
alicE@domain.example.com/escalus-default-resource in
<iq type='result' id='d6095085013ae3bce7ac99d16edaac96'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:07:37.253 ***
alicE@domain.example.com/escalus-default-resource out
<iq type='set' id='bfd19cd58dadc98ee7ed4be03061e6e5'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2022-02-02 15:07:37.254 ***
alicE@domain.example.com/escalus-default-resource in
<iq from='' to='alicE@domain.example.com/escalus-default-resource' id='bfd19cd58dadc98ee7ed4be03061e6e5' type='result'/>
*** User 2022-02-02 15:07:37.254 ***
alicE@domain.example.com/escalus-default-resource out
</stream:stream>
*** User 2022-02-02 15:07:37.254 ***
alicE@domain.example.com/escalus-default-resource in
</stream:stream>
=== Ended at 2022-02-02 15:07:37
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"domain.example.com">>},
{<<"id">>,<<"9c5e467c6fde030f4b55fc43365adfe7">>},
{<<"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">>}],
[]}]}]}}