=== Test case: accounts_SUITE:already_registered/1 (click for source code)
=== Config value:
[{watchdog,<0.1754.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.accounts_SUITE.logs/run.2024-04-25_16.17.08/accounts_suite.already_registered.1282.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.accounts_SUITE.logs/run.2024-04-25_16.17.08/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a000afa994eb.2024-04-25_16.17.04"
=== Started at 2024-04-25 16:17:08
*** User 2024-04-25 16:17:08.248 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.248 ***🔗
alicE_already_registered_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78b78901da646aba' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:17:08.248 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.248 ***🔗
alicE_already_registered_20@domain.example.com out
<iq type='get' id='b90bb98ee9a5614b9d483a1cd472d771'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-04-25 16:17:08.249 ***🔗
alicE_already_registered_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='b90bb98ee9a5614b9d483a1cd472d771' 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-04-25 16:17:08.249 ***🔗
alicE_already_registered_20@domain.example.com out
<iq type='set' id='585e18433bd0cac65fb02f93f94c1144'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_20</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-04-25 16:17:08.250 ***🔗
alicE_already_registered_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='585e18433bd0cac65fb02f93f94c1144' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_20</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2024-04-25 16:17:08.250 ***🔗
alicE_already_registered_20@domain.example.com out
</stream:stream>
*** User 2024-04-25 16:17:08.250 ***🔗
alicE_already_registered_20@domain.example.com in
</stream:stream>
*** User 2024-04-25 16:17:08.251 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.251 ***🔗
alicE_already_registered_20@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e3e40be62833f83' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:17:08.251 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.251 ***🔗
alicE_already_registered_20@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF8yMABtYXR5Z3J5c2E=</auth>
*** User 2024-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aeb272ff379b2254' from='domain.example.com' version='1.0' xml:lang='en' to='alice_already_registered_20@domain.example.com'>
*** User 2024-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@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-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@domain.example.com/res1 out
<iq type='set' id='daff622d35e1430f045d69be6cbf225e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:17:08.252 ***🔗
alicE_already_registered_20@domain.example.com/res1 in
<iq id='daff622d35e1430f045d69be6cbf225e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_already_registered_20@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:17:08.252 ***🔗
alice_already_registered_20@domain.example.com/res1 out
<iq type='set' id='eae4d0564602654d06c7b7fafbac92ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:17:08.253 ***🔗
alice_already_registered_20@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_already_registered_20@domain.example.com/res1' id='eae4d0564602654d06c7b7fafbac92ae' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:17:08.253 ***🔗
alice_already_registered_20@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:17:08.254 ***🔗
alice_already_registered_20@domain.example.com/res1 in
<presence from='alice_already_registered_20@domain.example.com/res1' to='alice_already_registered_20@domain.example.com/res1'/>
*** User 2024-04-25 16:17:08.254 ***🔗
alice_already_registered_20@domain.example.com/res1 out
<iq type='get' id='a2a62823f03b27f990e88d72a724c605'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2024-04-25 16:17:08.254 ***🔗
alice_already_registered_20@domain.example.com/res1 in
<iq from='alice_already_registered_20@domain.example.com' to='alice_already_registered_20@domain.example.com/res1' id='a2a62823f03b27f990e88d72a724c605' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username>alice_already_registered_20</username>
<password/>
<registered/>
</query>
</iq>
*** User 2024-04-25 16:17:08.254 ***🔗
alice_already_registered_20@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:17:08.255 ***🔗
alice_already_registered_20@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:17:08
=== successfully completed test case
=== === Returned value: ok