=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1765.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,"odbc_mssql_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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.accounts_SUITE.logs/run.2024-02-23_17.31.35/accounts_suite.registration_conflict.259.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.accounts_SUITE.logs/run.2024-02-23_17.31.35/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@5f60ef475eab.2024-02-23_17.31.31"
=== Started at 2024-02-23 17:31:35
*** User 2024-02-23 17:31:35.581 ***🔗
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 2024-02-23 17:31:35.581 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bfa33923987768e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-23 17:31:35.581 ***🔗
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 2024-02-23 17:31:35.581 ***🔗
alicE@domain.example.com out
<iq type='get' id='d1dc8df105cf9c0436c7bfd943437038'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-02-23 17:31:35.582 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='d1dc8df105cf9c0436c7bfd943437038' 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-02-23 17:31:35.582 ***🔗
alicE@domain.example.com out
<iq type='set' id='ea19dda75fa8613e3b188a355f5fa92d'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 17:31:35.586 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='ea19dda75fa8613e3b188a355f5fa92d' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 17:31:35.587 ***🔗
alicE@domain.example.com out
</stream:stream>
*** User 2024-02-23 17:31:35.587 ***🔗
alicE@domain.example.com in
</stream:stream>
*** User 2024-02-23 17:31:35.587 ***🔗
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 2024-02-23 17:31:35.587 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f2bad5d4e1251be' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-23 17:31:35.588 ***🔗
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 2024-02-23 17:31:35.588 ***🔗
alicE@domain.example.com out
<iq type='get' id='66df9ad8f09407bd283488bc4429d93e'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-02-23 17:31:35.588 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='66df9ad8f09407bd283488bc4429d93e' 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-02-23 17:31:35.588 ***🔗
alicE@domain.example.com out
<iq type='set' id='ec476f08265b52cb298fe6d990d6ec69'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 17:31:35.589 ***🔗
alicE@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='ec476f08265b52cb298fe6d990d6ec69' 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-02-23 17:31:35.589 ***🔗
alicE@domain.example.com out
</stream:stream>
*** User 2024-02-23 17:31:35.589 ***🔗
alicE@domain.example.com in
</stream:stream>
*** User 2024-02-23 17:31:35.591 ***🔗
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 2024-02-23 17:31:35.591 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ada2d843f5683104' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-23 17:31:35.591 ***🔗
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 2024-02-23 17:31:35.592 ***🔗
alicE@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-02-23 17:31:35.593 ***🔗
alicE@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-23 17:31:35.593 ***🔗
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 2024-02-23 17:31:35.593 ***🔗
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea6273fc3e10699e' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>
*** User 2024-02-23 17:31:35.593 ***🔗
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 2024-02-23 17:31:35.593 ***🔗
alicE@domain.example.com out
<iq type='set' id='18cf36480ff3672d09e6a39a1eadf1da'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-02-23 17:31:35.593 ***🔗
alicE@domain.example.com in
<iq id='18cf36480ff3672d09e6a39a1eadf1da' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-02-23 17:31:35.593 ***🔗
alice@domain.example.com/escalus-default-resource out
<iq type='set' id='45eb367aabbfe2cb7d5e1f78afc0b9f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 17:31:35.594 ***🔗
alice@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice@domain.example.com/escalus-default-resource' id='45eb367aabbfe2cb7d5e1f78afc0b9f9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 17:31:35.594 ***🔗
alice@domain.example.com/escalus-default-resource out
<iq type='set' id='5c707614918a8a6725a473e2aae4a817'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2024-02-23 17:31:35.594 ***🔗
alice@domain.example.com/escalus-default-resource in
<iq from='' to='alice@domain.example.com/escalus-default-resource' id='5c707614918a8a6725a473e2aae4a817' type='result'/>
*** User 2024-02-23 17:31:35.599 ***🔗
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 2024-02-23 17:31:35.599 ***🔗
alice@domain.example.com/escalus-default-resource in
</stream:stream>
=== Ended at 2024-02-23 17:31:35
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"domain.example.com">>},
{<<"to">>,<<"domain.example.com">>},
{<<"id">>,<<"ec476f08265b52cb298fe6d990d6ec69">>},
{<<"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">>}],
[]}]}]}}