=== Test case: accounts_SUITE:already_registered/1 (click for source code)
=== Config value:
[{watchdog,<0.1271.0>},
{escalus_user_db,xmpp},
{mod_register_options,#{access => register,
ip_access =>
[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.accounts_SUITE.logs/run.2022-05-11_08.56.40/accounts_suite.already_registered.130.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.accounts_SUITE.logs/run.2022-05-11_08.56.40/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"
=== Started at 2022-05-11 08:56:41
*** User 2022-05-11 08:56:41.070 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@df370d24fb6d, reader=<0.1290.0>, reader_node=test@df370d24fb6d, writer=<0.1292.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.accounts_SUITE.logs/run.2022-05-11_08.56.40/log_private/../../../mongooseim@localhost.log.html"
*** User 2022-05-11 08:56:41.073 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@df370d24fb6d, reader=<0.1320.0>, reader_node=test@df370d24fb6d, writer=<0.1322.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.accounts_SUITE.logs/run.2022-05-11_08.56.40/log_private/../../../ejabberd2@localhost.log.html"
*** User 2022-05-11 08:56:41.090 ***
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-05-11 08:56:41.096 ***
alicE_already_registered_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f60af0aa4681ba83' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 08:56:41.096 ***
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-05-11 08:56:41.096 ***
alicE_already_registered_6@domain.example.com out
<iq type='get' id='f51e956c2df915beba03949adc7fedeb'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-05-11 08:56:41.097 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='f51e956c2df915beba03949adc7fedeb' 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-05-11 08:56:41.097 ***
alicE_already_registered_6@domain.example.com out
<iq type='set' id='606136f1b3a99e6149c043e66047d5a2'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_6</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-05-11 08:56:41.109 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='606136f1b3a99e6149c043e66047d5a2' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_6</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-05-11 08:56:41.109 ***
alicE_already_registered_6@domain.example.com out
</stream:stream>
*** User 2022-05-11 08:56:41.109 ***
alicE_already_registered_6@domain.example.com in
</stream:stream>
*** User 2022-05-11 08:56:41.121 ***
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-05-11 08:56:41.122 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4033ddd249d45683' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 08:56:41.122 ***
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-05-11 08:56:41.127 ***
alicE_already_registered_6@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF82AG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 08:56:41.128 ***
alicE_already_registered_6@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 08:56:41.128 ***
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-05-11 08:56:41.128 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12e4b604565fc776' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 08:56:41.128 ***
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-05-11 08:56:41.128 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='3e8df97d0b3bb97731ba9c343163d70a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 08:56:41.129 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq id='3e8df97d0b3bb97731ba9c343163d70a' 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-05-11 08:56:41.135 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='4eb28af858593bcba51c36c7958b1d1a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 08:56:41.135 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq type='result' id='4eb28af858593bcba51c36c7958b1d1a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 08:56:41.135 ***
alicE_already_registered_6@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 08:56:41.138 ***
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-05-11 08:56:41.140 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='get' id='70eaeab90349c06ce3fcc3f693157fea'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-05-11 08:56:41.143 ***
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='70eaeab90349c06ce3fcc3f693157fea' 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-05-11 08:56:41.143 ***
alicE_already_registered_6@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 08:56:41.143 ***
alicE_already_registered_6@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-11 08:56:41
=== successfully completed test case
=== === Returned value: ok