=== Test case: accounts_SUITE:already_registered/1 (click for source code)
=== Config value:
[{watchdog,<0.1254.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/accounts_suite.already_registered.643.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04"
=== Started at 2022-03-18 10:50:05
*** User 2022-03-18 10:50:05.624 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@a072b68d2bee, reader=<0.1273.0>, reader_node=test@a072b68d2bee, writer=<0.1275.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/log_private/../../../mongooseim@localhost.log.html"
*** User 2022-03-18 10:50:05.627 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@a072b68d2bee, reader=<0.1305.0>, reader_node=test@a072b68d2bee, writer=<0.1307.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/log_private/../../../ejabberd2@localhost.log.html"
*** User 2022-03-18 10:50:05.646 ***
alicE_already_registered_6@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-03-18 10:50:05.653 ***
alicE_already_registered_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dc6d843e89670f3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:50:05.653 ***
alicE_already_registered_6@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-03-18 10:50:05.653 ***
alicE_already_registered_6@domain.example.com out
<iq type='get' id='8b36c85a0715ec21e22b1a1bf0059cf0'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-03-18 10:50:05.653 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='8b36c85a0715ec21e22b1a1bf0059cf0' 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-03-18 10:50:05.654 ***
alicE_already_registered_6@domain.example.com out
<iq type='set' id='4e86d32f376d0ebd64346be53c3e10a3'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_6</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-03-18 10:50:05.670 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='4e86d32f376d0ebd64346be53c3e10a3' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_6</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-03-18 10:50:05.670 ***
alicE_already_registered_6@domain.example.com out
</stream:stream>
*** User 2022-03-18 10:50:05.670 ***
alicE_already_registered_6@domain.example.com in
</stream:stream>
*** User 2022-03-18 10:50:05.686 ***
alicE_already_registered_6@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 2022-03-18 10:50:05.687 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35a3a933f0b804ef' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:50:05.687 ***
alicE_already_registered_6@domain.example.com/res1 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-03-18 10:50:05.693 ***
alicE_already_registered_6@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF82AG1hdHlncnlzYQ==</auth>
*** User 2022-03-18 10:50:05.694 ***
alicE_already_registered_6@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:50:05.694 ***
alicE_already_registered_6@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 2022-03-18 10:50:05.695 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c9b38a4fdd1ef16' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:50:05.695 ***
alicE_already_registered_6@domain.example.com/res1 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-03-18 10:50:05.695 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='138cbe4cec1ed9414e75a7a36f86af26'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:50:05.695 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq id='138cbe4cec1ed9414e75a7a36f86af26' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_already_registered_6@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:50:05.704 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='a00611cb3927a4eb1cd65c97c4e31d52'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:50:05.705 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq type='result' id='a00611cb3927a4eb1cd65c97c4e31d52'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:50:05.705 ***
alicE_already_registered_6@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:50:05.707 ***
alicE_already_registered_6@domain.example.com/res1 in
<presence from='alicE_already_registered_6@domain.example.com/res1' to='alice_already_registered_6@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:50:05.710 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='get' id='c3b2f3e1c4528207a0ad35e4ebaaa955'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-03-18 10:50:05.711 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq from='alicE_already_registered_6@domain.example.com' to='alicE_already_registered_6@domain.example.com/res1' id='c3b2f3e1c4528207a0ad35e4ebaaa955' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username>alicE_already_registered_6</username>
<password/>
<registered/>
</query>
</iq>
*** User 2022-03-18 10:50:05.711 ***
alicE_already_registered_6@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:50:05.711 ***
alicE_already_registered_6@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:50:05
=== successfully completed test case
=== === Returned value: ok