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

=== Config value:

    [{watchdog,<0.68761.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/presence_suite.available_direct_then_disconnect.151683.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7465fd1d5a64.2023-11-23_14.13.58"

=== Started at 2023-11-23 14:27:01


*** CT 2023-11-23 14:27:01.635 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2627.html

*** User 2023-11-23 14:27:01.646 ***🔗
alicE_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.647 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='727c60f39b82cbaa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:27:01.647 ***🔗
alicE_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.647 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzI2NDAAbWF0eWdyeXNh</auth>



*** User 2023-11-23 14:27:01.648 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:27:01.648 ***🔗
alicE_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.648 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f616abd73e501121' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2640@domain.example.com'>

*** User 2023-11-23 14:27:01.648 ***🔗
alicE_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.649 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 out
<iq type='set' id='e44d635863994b5048ebb0adb9cca29c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:27:01.649 ***🔗
alicE_available_direct_then_disconnect_2640@domain.example.com/res1 in
<iq id='e44d635863994b5048ebb0adb9cca29c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_2640@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:27:01.649 ***🔗
alice_available_direct_then_disconnect_2640@domain.example.com/res1 out
<iq type='set' id='608a36c95a5094c82f1778cf9e8a6dfc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:01.650 ***🔗
alice_available_direct_then_disconnect_2640@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_disconnect_2640@domain.example.com/res1' id='608a36c95a5094c82f1778cf9e8a6dfc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:01.650 ***🔗
alice_available_direct_then_disconnect_2640@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:27:01.652 ***🔗
alice_available_direct_then_disconnect_2640@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2640@domain.example.com/res1' to='alice_available_direct_then_disconnect_2640@domain.example.com/res1'/>



*** User 2023-11-23 14:27:01.652 ***🔗
bOb_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.653 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f09cc0e788e2558e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:27:01.653 ***🔗
bOb_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.653 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yNjQwAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-23 14:27:01.654 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:27:01.654 ***🔗
bOb_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.654 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58f8238a5240e6aa' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2640@domain.example.com'>

*** User 2023-11-23 14:27:01.654 ***🔗
bOb_available_direct_then_disconnect_2640@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 2023-11-23 14:27:01.654 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 out
<iq type='set' id='0fa3e6f615d370072da8cd5ba8402cab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:27:01.655 ***🔗
bOb_available_direct_then_disconnect_2640@domain.example.com/res1 in
<iq id='0fa3e6f615d370072da8cd5ba8402cab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_2640@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:27:01.655 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 out
<iq type='set' id='02156b4e187777ce715d1a8c98fd4b62'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:01.656 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_disconnect_2640@domain.example.com/res1' id='02156b4e187777ce715d1a8c98fd4b62' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:01.656 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:27:01.656 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 in
<presence from='bob_available_direct_then_disconnect_2640@domain.example.com/res1' to='bob_available_direct_then_disconnect_2640@domain.example.com/res1'/>



*** User 2023-11-23 14:27:01.657 ***🔗
alice_available_direct_then_disconnect_2640@domain.example.com/res1 out
<presence to='bob_available_direct_then_disconnect_2640@domain.example.com/res1'/>



*** User 2023-11-23 14:27:01.657 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2640@domain.example.com/res1' to='bob_available_direct_then_disconnect_2640@domain.example.com/res1'/>



*** User 2023-11-23 14:27:01.657 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2640@domain.example.com/res1' to='bob_available_direct_then_disconnect_2640@domain.example.com/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2023-11-23 14:27:01.657 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:27:01.658 ***🔗
bob_available_direct_then_disconnect_2640@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-23 14:27:01.664 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2628.html



=== Ended at 2023-11-23 14:27:01
=== successfully completed test case
=== === Returned value: ok