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

=== Config value:

    [{watchdog,<0.68042.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/presence_suite.available_direct_then_disconnect.116228.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/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@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:54:07


*** CT 2023-11-14 11:54:07.262 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2508.html

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

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



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



*** User 2023-11-14 11:54:07.278 ***🔗
alicE_available_direct_then_disconnect_3173@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-14 11:54:07.280 ***🔗
alicE_available_direct_then_disconnect_3173@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a1eef80ae4b8efb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_3173@domain.example.com'>

*** User 2023-11-14 11:54:07.280 ***🔗
alicE_available_direct_then_disconnect_3173@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-14 11:54:07.280 ***🔗
alicE_available_direct_then_disconnect_3173@domain.example.com/res1 out
<iq type='set' id='bbfb4e7bb66a673c9118997b734cfaeb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:54:07.281 ***🔗
alicE_available_direct_then_disconnect_3173@domain.example.com/res1 in
<iq id='bbfb4e7bb66a673c9118997b734cfaeb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_3173@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:54:07.281 ***🔗
alice_available_direct_then_disconnect_3173@domain.example.com/res1 out
<iq type='set' id='1c744d5f86734701f9368e72549bdab4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:07.282 ***🔗
alice_available_direct_then_disconnect_3173@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_disconnect_3173@domain.example.com/res1' id='1c744d5f86734701f9368e72549bdab4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:07.282 ***🔗
alice_available_direct_then_disconnect_3173@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:54:07.283 ***🔗
alice_available_direct_then_disconnect_3173@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_3173@domain.example.com/res1' to='alice_available_direct_then_disconnect_3173@domain.example.com/res1'/>



*** User 2023-11-14 11:54:07.288 ***🔗
bOb_available_direct_then_disconnect_3173@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-14 11:54:07.289 ***🔗
bOb_available_direct_then_disconnect_3173@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7594bcc6d96142e6' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2023-11-14 11:54:07.290 ***🔗
bOb_available_direct_then_disconnect_3173@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-14 11:54:07.291 ***🔗
bOb_available_direct_then_disconnect_3173@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25f26a1020a4d8cd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_3173@domain.example.com'>

*** User 2023-11-14 11:54:07.291 ***🔗
bOb_available_direct_then_disconnect_3173@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-14 11:54:07.291 ***🔗
bOb_available_direct_then_disconnect_3173@domain.example.com/res1 out
<iq type='set' id='d458f306406a304f788e36c04fa5619b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:54:07.292 ***🔗
bOb_available_direct_then_disconnect_3173@domain.example.com/res1 in
<iq id='d458f306406a304f788e36c04fa5619b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_3173@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:54:07.292 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 out
<iq type='set' id='980fc551c4dda0662cee5f7f3af9d946'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:07.293 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_disconnect_3173@domain.example.com/res1' id='980fc551c4dda0662cee5f7f3af9d946' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:07.293 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:54:07.294 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 in
<presence from='bob_available_direct_then_disconnect_3173@domain.example.com/res1' to='bob_available_direct_then_disconnect_3173@domain.example.com/res1'/>



*** User 2023-11-14 11:54:07.294 ***🔗
alice_available_direct_then_disconnect_3173@domain.example.com/res1 out
<presence to='bob_available_direct_then_disconnect_3173@domain.example.com/res1'/>



*** User 2023-11-14 11:54:07.294 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_3173@domain.example.com/res1' to='bob_available_direct_then_disconnect_3173@domain.example.com/res1'/>



*** User 2023-11-14 11:54:07.295 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_3173@domain.example.com/res1' to='bob_available_direct_then_disconnect_3173@domain.example.com/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2023-11-14 11:54:07.295 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:54:07.296 ***🔗
bob_available_direct_then_disconnect_3173@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-14 11:54:07.303 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2509.html



=== Ended at 2023-11-14 11:54:07
=== successfully completed test case
=== === Returned value: ok