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

=== Config value:

    [{watchdog,<0.74689.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/presence_suite.available_direct_then_disconnect.155139.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:47:29


*** CT 2023-11-16 09:47:29.300 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4732.html

*** User 2023-11-16 09:47:29.316 ***🔗
alicE_available_direct_then_disconnect_2738@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-16 09:47:29.316 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d28616d576cd5cd5' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:29.316 ***🔗
alicE_available_direct_then_disconnect_2738@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-16 09:47:29.316 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzI3MzgAbWF0eWdyeXNh</auth>



*** User 2023-11-16 09:47:29.317 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:29.318 ***🔗
alicE_available_direct_then_disconnect_2738@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-16 09:47:29.318 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17ad948f761f5bc4' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2738@localhost'>

*** User 2023-11-16 09:47:29.318 ***🔗
alicE_available_direct_then_disconnect_2738@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-16 09:47:29.318 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 out
<iq type='set' id='bf612923f1c41c0e019fbb71a1198c3c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:29.319 ***🔗
alicE_available_direct_then_disconnect_2738@localhost/res1 in
<iq id='bf612923f1c41c0e019fbb71a1198c3c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_2738@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:29.319 ***🔗
alice_available_direct_then_disconnect_2738@localhost/res1 out
<iq type='set' id='267c80ad520c18443005c92413e66771'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:29.319 ***🔗
alice_available_direct_then_disconnect_2738@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_2738@localhost/res1' id='267c80ad520c18443005c92413e66771' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:29.319 ***🔗
alice_available_direct_then_disconnect_2738@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:29.321 ***🔗
alice_available_direct_then_disconnect_2738@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2738@localhost/res1' to='alice_available_direct_then_disconnect_2738@localhost/res1'/>



*** User 2023-11-16 09:47:29.322 ***🔗
bOb_available_direct_then_disconnect_2738@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-16 09:47:29.322 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa70635fd6230058' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:29.322 ***🔗
bOb_available_direct_then_disconnect_2738@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-16 09:47:29.322 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yNzM4AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-16 09:47:29.323 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:29.323 ***🔗
bOb_available_direct_then_disconnect_2738@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-16 09:47:29.324 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='621e0102aa0eb087' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2738@localhost'>

*** User 2023-11-16 09:47:29.324 ***🔗
bOb_available_direct_then_disconnect_2738@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-16 09:47:29.324 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 out
<iq type='set' id='ccf0422c5320196d5a64fef2177d707e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:29.325 ***🔗
bOb_available_direct_then_disconnect_2738@localhost/res1 in
<iq id='ccf0422c5320196d5a64fef2177d707e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_2738@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:29.325 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 out
<iq type='set' id='846fb09eeaf41f8febdb396721efeb1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:29.326 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_2738@localhost/res1' id='846fb09eeaf41f8febdb396721efeb1f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:29.326 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:29.327 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_2738@localhost/res1' to='bob_available_direct_then_disconnect_2738@localhost/res1'/>



*** User 2023-11-16 09:47:29.327 ***🔗
alice_available_direct_then_disconnect_2738@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_2738@localhost/res1'/>



*** User 2023-11-16 09:47:29.328 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2738@localhost/res1' to='bob_available_direct_then_disconnect_2738@localhost/res1'/>



*** User 2023-11-16 09:47:29.328 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2738@localhost/res1' to='bob_available_direct_then_disconnect_2738@localhost/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2023-11-16 09:47:29.328 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:47:29.329 ***🔗
bob_available_direct_then_disconnect_2738@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:47:29.336 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4733.html



=== Ended at 2023-11-16 09:47:29
=== successfully completed test case
=== === Returned value: ok