=== Test case: presence_SUITE:available_direct_then_disconnect/1 (click for source code)

=== Config value:

    [{watchdog,<0.74424.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/presence_suite.available_direct_then_disconnect.157315.html"},
     {tc_group_properties,[{name,presence},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12"

=== Started at 2023-11-13 19:09:36


*** CT 2023-11-13 19:09:36.219 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4510.html

*** User 2023-11-13 19:09:36.233 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:36.234 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1e29c806f58dfce' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:09:36.234 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/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 2023-11-13 19:09:36.234 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzI2NDUAbWF0eWdyeXNh</auth>



*** User 2023-11-13 19:09:36.235 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:09:36.235 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:36.235 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e5ea0b2f6ae8e1a' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2645@localhost'>

*** User 2023-11-13 19:09:36.236 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/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 2023-11-13 19:09:36.236 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 out
<iq type='set' id='bfdb69186ea483d7495169cafc512a9e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:09:36.236 ***🔗
alicE_available_direct_then_disconnect_2645@localhost/res1 in
<iq id='bfdb69186ea483d7495169cafc512a9e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_2645@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:09:36.236 ***🔗
alice_available_direct_then_disconnect_2645@localhost/res1 out
<iq type='set' id='a1399f3d3aca4c1fe90c8f10bb9b9c6f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:36.237 ***🔗
alice_available_direct_then_disconnect_2645@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_2645@localhost/res1' id='a1399f3d3aca4c1fe90c8f10bb9b9c6f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:36.237 ***🔗
alice_available_direct_then_disconnect_2645@localhost/res1 out
<presence/>



*** User 2023-11-13 19:09:36.239 ***🔗
alice_available_direct_then_disconnect_2645@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2645@localhost/res1' to='alice_available_direct_then_disconnect_2645@localhost/res1'/>



*** User 2023-11-13 19:09:36.241 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:36.241 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05981a6d18ac20a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:09:36.241 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/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 2023-11-13 19:09:36.241 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yNjQ1AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-13 19:09:36.243 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:09:36.243 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:36.243 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8ad942629f972f8' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2645@localhost'>

*** User 2023-11-13 19:09:36.243 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/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 2023-11-13 19:09:36.243 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 out
<iq type='set' id='c6292a3020eec8f7ae22c193b41dc87f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:09:36.244 ***🔗
bOb_available_direct_then_disconnect_2645@localhost/res1 in
<iq id='c6292a3020eec8f7ae22c193b41dc87f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_2645@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:09:36.244 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 out
<iq type='set' id='334f048ccf70cb79c4b125b289dbd358'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:36.245 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_2645@localhost/res1' id='334f048ccf70cb79c4b125b289dbd358' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:36.245 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 out
<presence/>



*** User 2023-11-13 19:09:36.246 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_2645@localhost/res1' to='bob_available_direct_then_disconnect_2645@localhost/res1'/>



*** User 2023-11-13 19:09:36.246 ***🔗
alice_available_direct_then_disconnect_2645@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_2645@localhost/res1'/>



*** User 2023-11-13 19:09:36.247 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2645@localhost/res1' to='bob_available_direct_then_disconnect_2645@localhost/res1'/>



*** User 2023-11-13 19:09:36.247 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2645@localhost/res1' to='bob_available_direct_then_disconnect_2645@localhost/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2023-11-13 19:09:36.248 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 out
</stream:stream>

*** User 2023-11-13 19:09:36.248 ***🔗
bob_available_direct_then_disconnect_2645@localhost/res1 in
</stream:stream>
*** CT 2023-11-13 19:09:36.255 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4511.html



=== Ended at 2023-11-13 19:09:36
=== successfully completed test case
=== === Returned value: ok