=== Test case: accounts_SUITE:registration_conflict/1 (click for source code)
=== Config value:
[{watchdog,<0.1807.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,"ldap_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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.accounts_SUITE.logs/run.2024-02-23_08.35.01/accounts_suite.registration_conflict.771.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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.accounts_SUITE.logs/run.2024-02-23_08.35.01/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6ebac22519b0.2024-02-23_08.34.56"
=== Started at 2024-02-23 08:35:01
*** User 2024-02-23 08:35:01.968 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-23 08:35:01.968 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='434f91ef61cb6664' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-23 08:35:01.968 ***🔗
alicE@localhost 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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-02-23 08:35:01.968 ***🔗
alicE@localhost out
<iq type='get' id='a8f8e2dec390e234f562e50fc9613b79'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-02-23 08:35:01.968 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='a8f8e2dec390e234f562e50fc9613b79' 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 08:35:01.969 ***🔗
alicE@localhost out
<iq type='set' id='6a1bbe988dd4ce95d4dff20feba5bd1d'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 08:35:01.970 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='6a1bbe988dd4ce95d4dff20feba5bd1d' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 08:35:01.970 ***🔗
alicE@localhost out
</stream:stream>
*** User 2024-02-23 08:35:01.970 ***🔗
alicE@localhost in
</stream:stream>
*** User 2024-02-23 08:35:01.971 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-23 08:35:01.971 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aeca91c5fd4dbb26' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-23 08:35:01.971 ***🔗
alicE@localhost 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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-02-23 08:35:01.971 ***🔗
alicE@localhost out
<iq type='get' id='9dbf33ef491d4deb6c0260b1f96fd62b'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-02-23 08:35:01.971 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='9dbf33ef491d4deb6c0260b1f96fd62b' 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 08:35:01.972 ***🔗
alicE@localhost out
<iq type='set' id='eb930c05c5e5e5389267796861f3dfee'>
<query xmlns='jabber:iq:register'>
<username>alicE</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-02-23 08:35:01.972 ***🔗
alicE@localhost in
<iq from='localhost' to='localhost' id='eb930c05c5e5e5389267796861f3dfee' 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 08:35:01.972 ***🔗
alicE@localhost out
</stream:stream>
*** User 2024-02-23 08:35:01.973 ***🔗
alicE@localhost in
</stream:stream>
*** User 2024-02-23 08:35:01.975 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-23 08:35:01.975 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb75755ef4e8fee7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-23 08:35:01.975 ***🔗
alicE@localhost 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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-02-23 08:35:01.975 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-02-23 08:35:01.976 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-23 08:35:01.976 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-23 08:35:01.976 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f8fd77947a53832' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-02-23 08:35:01.976 ***🔗
alicE@localhost 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 08:35:01.976 ***🔗
alicE@localhost out
<iq type='set' id='8c98803683f594a5b88516b3216bdfa9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-02-23 08:35:01.977 ***🔗
alicE@localhost in
<iq id='8c98803683f594a5b88516b3216bdfa9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-02-23 08:35:01.977 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='d600370478b33e9233e13ca998462bce'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:35:01.977 ***🔗
alice@localhost/escalus-default-resource in
<iq from='localhost' to='alice@localhost/escalus-default-resource' id='d600370478b33e9233e13ca998462bce' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:35:01.977 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='0eeb05d7cafd36f44ccd727aff712d2f'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2024-02-23 08:35:01.977 ***🔗
alice@localhost/escalus-default-resource in
<iq from='' to='alice@localhost/escalus-default-resource' id='0eeb05d7cafd36f44ccd727aff712d2f' type='result'/>
*** User 2024-02-23 08:35:01.979 ***🔗
alice@localhost/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 08:35:01.979 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2024-02-23 08:35:01
=== successfully completed test case
=== === Returned value: {ok,conflict,
{xmlel,<<"iq">>,
[{<<"from">>,<<"localhost">>},
{<<"to">>,<<"localhost">>},
{<<"id">>,<<"eb930c05c5e5e5389267796861f3dfee">>},
{<<"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">>}],
[]}]}]}}