=== Test case: accounts_SUITE:already_registered/1 (click for source code)
=== Config value:
[{watchdog,<0.1752.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,"pgsql_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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.accounts_SUITE.logs/run.2024-01-14_19.40.00/accounts_suite.already_registered.1283.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.accounts_SUITE.logs/run.2024-01-14_19.40.00/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56"
=== Started at 2024-01-14 19:40:00
*** User 2024-01-14 19:40:00.803 ***🔗
alicE_already_registered_19@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-01-14 19:40:00.803 ***🔗
alicE_already_registered_19@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf90456f479f8d80' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:40:00.803 ***🔗
alicE_already_registered_19@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-01-14 19:40:00.803 ***🔗
alicE_already_registered_19@domain.example.com out
<iq type='get' id='d764fc02f039f80262a5b500e7a9315d'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-01-14 19:40:00.803 ***🔗
alicE_already_registered_19@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='d764fc02f039f80262a5b500e7a9315d' 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-01-14 19:40:00.804 ***🔗
alicE_already_registered_19@domain.example.com out
<iq type='set' id='01452bf418e11b78d7ed4770e4850146'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_19</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-01-14 19:40:00.805 ***🔗
alicE_already_registered_19@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='01452bf418e11b78d7ed4770e4850146' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_19</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-01-14 19:40:00.805 ***🔗
alicE_already_registered_19@domain.example.com out
</stream:stream>
*** User 2024-01-14 19:40:00.805 ***🔗
alicE_already_registered_19@domain.example.com in
</stream:stream>
*** User 2024-01-14 19:40:00.806 ***🔗
alicE_already_registered_19@domain.example.com/res1 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-01-14 19:40:00.806 ***🔗
alicE_already_registered_19@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f52f4e3c128bf33' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:40:00.807 ***🔗
alicE_already_registered_19@domain.example.com/res1 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-01-14 19:40:00.807 ***🔗
alicE_already_registered_19@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF8xOQBtYXR5Z3J5c2E=</auth>
*** User 2024-01-14 19:40:00.807 ***🔗
alicE_already_registered_19@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:40:00.807 ***🔗
alicE_already_registered_19@domain.example.com/res1 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-01-14 19:40:00.808 ***🔗
alicE_already_registered_19@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbc43675f9af7dfd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_already_registered_19@domain.example.com'>
*** User 2024-01-14 19:40:00.808 ***🔗
alicE_already_registered_19@domain.example.com/res1 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-01-14 19:40:00.808 ***🔗
alicE_already_registered_19@domain.example.com/res1 out
<iq type='set' id='6320c51c16312215c9e0a3ce3b29153a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:40:00.808 ***🔗
alicE_already_registered_19@domain.example.com/res1 in
<iq id='6320c51c16312215c9e0a3ce3b29153a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_already_registered_19@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:40:00.808 ***🔗
alice_already_registered_19@domain.example.com/res1 out
<iq type='set' id='6620594ea5ca7db5017e564fa1c097fe'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:40:00.808 ***🔗
alice_already_registered_19@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_already_registered_19@domain.example.com/res1' id='6620594ea5ca7db5017e564fa1c097fe' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:40:00.809 ***🔗
alice_already_registered_19@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:40:00.809 ***🔗
alice_already_registered_19@domain.example.com/res1 in
<presence from='alice_already_registered_19@domain.example.com/res1' to='alice_already_registered_19@domain.example.com/res1'/>
*** User 2024-01-14 19:40:00.809 ***🔗
alice_already_registered_19@domain.example.com/res1 out
<iq type='get' id='15ec2ed96c484ff49afaec14a3bd80cf'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-01-14 19:40:00.810 ***🔗
alice_already_registered_19@domain.example.com/res1 in
<iq from='alice_already_registered_19@domain.example.com' to='alice_already_registered_19@domain.example.com/res1' id='15ec2ed96c484ff49afaec14a3bd80cf' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username>alice_already_registered_19</username>
<password/>
<registered/>
</query>
</iq>
*** User 2024-01-14 19:40:00.810 ***🔗
alice_already_registered_19@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:40:00.811 ***🔗
alice_already_registered_19@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-01-14 19:40:00
=== successfully completed test case
=== === Returned value: ok