=== Test case: accounts_SUITE:already_registered/1 (click for source code)

=== Config value:

    [{watchdog,<0.1184.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,"odbc_mssql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/accounts_suite.already_registered.131.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:27:57


*** User 2022-01-27 12:27:57.815 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@998557c7e1d1, reader=<0.1203.0>, reader_node=test@998557c7e1d1, writer=<0.1205.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/log_private/../../../mongooseim@localhost.log.html"
*** CT 2022-01-27 12:27:57.816 *** View log from node mongooseim@localhost when started mongooseim@localhost_29.html

*** User 2022-01-27 12:27:57.818 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@998557c7e1d1, reader=<0.1240.0>, reader_node=test@998557c7e1d1, writer=<0.1242.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/log_private/../../../ejabberd2@localhost.log.html"
*** CT 2022-01-27 12:27:57.818 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_32.html

*** User 2022-01-27 12:27:57.835 ***
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-01-27 12:27:57.835 ***
alicE_already_registered_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d2b652b98af4e49' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:27:57.836 ***
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-01-27 12:27:57.836 ***
alicE_already_registered_6@domain.example.com out
<iq type='get' id='fcc96c20dd9b602cb6aef7a6897c2439'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 12:27:57.836 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='fcc96c20dd9b602cb6aef7a6897c2439' 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-01-27 12:27:57.836 ***
alicE_already_registered_6@domain.example.com out
<iq type='set' id='ac2624ffc860f9a1bf0d25a5018b25ee'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_6</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.855 ***
alicE_already_registered_6@domain.example.com in
<iq from='domain.example.com' id='ac2624ffc860f9a1bf0d25a5018b25ee' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_6</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.855 ***
alicE_already_registered_6@domain.example.com out
</stream:stream>

*** User 2022-01-27 12:27:57.855 ***
alicE_already_registered_6@domain.example.com in
</stream:stream>

*** User 2022-01-27 12:27:57.871 ***
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-01-27 12:27:57.871 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='497bedf5cba34858' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:27:57.872 ***
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-01-27 12:27:57.878 ***
alicE_already_registered_6@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF82AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:27:57.879 ***
alicE_already_registered_6@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:27:57.879 ***
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-01-27 12:27:57.880 ***
alicE_already_registered_6@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7e50e811a5b684b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:27:57.880 ***
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-01-27 12:27:57.880 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='b49cd5143ba82e02653ccf2ab3193b9b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:27:57.881 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq id='b49cd5143ba82e02653ccf2ab3193b9b' 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-01-27 12:27:57.889 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='set' id='d85d686a5509fd8c41228902c37c5a90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:27:57.890 ***
alicE_already_registered_6@domain.example.com/res1 in
<iq type='result' id='d85d686a5509fd8c41228902c37c5a90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:27:57.890 ***
alicE_already_registered_6@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:27:57.894 ***
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-01-27 12:27:57.897 ***
alicE_already_registered_6@domain.example.com/res1 out
<iq type='get' id='2b16c401b5c94844a21f9c00dbc8a3f3'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 12:27:57.911 ***
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='2b16c401b5c94844a21f9c00dbc8a3f3' 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-01-27 12:27:57.912 ***
alicE_already_registered_6@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:27:57.912 ***
alicE_already_registered_6@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:27:57.913 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_32.html
*** CT 2022-01-27 12:27:57.913 *** View log from node mongooseim@localhost when finished mongooseim@localhost_29.html



=== Ended at 2022-01-27 12:27:57
=== successfully completed test case
=== === Returned value: ok