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

=== Config value:

    [{watchdog,<0.46454.0>},
     {preset,"internal_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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.presence_SUITE.logs/run.2024-02-27_12.13.13/presence_suite.available_direct_then_disconnect.59779.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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.presence_SUITE.logs/run.2024-02-27_12.13.13/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@2cc1cb2b4b9c.2024-02-27_12.00.42"

=== Started at 2024-02-27 12:13:13


*** CT 2024-02-27 12:13:13.770 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4352.html

*** User 2024-02-27 12:13:13.779 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 12:13:13.779 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='615ebe828c72d49d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 12:13:13.779 ***🔗
alicE_available_direct_then_disconnect_1497@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 2024-02-27 12:13:13.779 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzE0OTcAbWF0eWdyeXNh</auth>



*** User 2024-02-27 12:13:13.780 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 12:13:13.780 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 12:13:13.780 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4e5ff14a9b685a6' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_1497@localhost'>

*** User 2024-02-27 12:13:13.780 ***🔗
alicE_available_direct_then_disconnect_1497@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 2024-02-27 12:13:13.780 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 out
<iq type='set' id='2927a4eadcc3d0cf7c0ad85a520729e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-27 12:13:13.781 ***🔗
alicE_available_direct_then_disconnect_1497@localhost/res1 in
<iq id='2927a4eadcc3d0cf7c0ad85a520729e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_1497@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-27 12:13:13.781 ***🔗
alice_available_direct_then_disconnect_1497@localhost/res1 out
<iq type='set' id='c2eecc8977c52aff3e790f77d036d0b9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 12:13:13.781 ***🔗
alice_available_direct_then_disconnect_1497@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_1497@localhost/res1' id='c2eecc8977c52aff3e790f77d036d0b9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 12:13:13.781 ***🔗
alice_available_direct_then_disconnect_1497@localhost/res1 out
<presence/>



*** User 2024-02-27 12:13:13.782 ***🔗
alice_available_direct_then_disconnect_1497@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1497@localhost/res1' to='alice_available_direct_then_disconnect_1497@localhost/res1'/>



*** User 2024-02-27 12:13:13.782 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 12:13:13.783 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da22a9e12fd5356a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 12:13:13.783 ***🔗
bOb_available_direct_then_disconnect_1497@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 2024-02-27 12:13:13.783 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xNDk3AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-27 12:13:13.784 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 12:13:13.784 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 12:13:13.784 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fd5caf7a31d30f9' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_1497@localhost'>

*** User 2024-02-27 12:13:13.784 ***🔗
bOb_available_direct_then_disconnect_1497@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 2024-02-27 12:13:13.784 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 out
<iq type='set' id='73bcc693b350841e13a71e90c2982f57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-27 12:13:13.785 ***🔗
bOb_available_direct_then_disconnect_1497@localhost/res1 in
<iq id='73bcc693b350841e13a71e90c2982f57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_1497@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-27 12:13:13.785 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 out
<iq type='set' id='83b7a395ba92cbebc2be7222c1ec9d25'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 12:13:13.785 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_1497@localhost/res1' id='83b7a395ba92cbebc2be7222c1ec9d25' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 12:13:13.785 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 out
<presence/>



*** User 2024-02-27 12:13:13.786 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_1497@localhost/res1' to='bob_available_direct_then_disconnect_1497@localhost/res1'/>



*** User 2024-02-27 12:13:13.786 ***🔗
alice_available_direct_then_disconnect_1497@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_1497@localhost/res1'/>



*** User 2024-02-27 12:13:13.786 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1497@localhost/res1' to='bob_available_direct_then_disconnect_1497@localhost/res1'/>



*** User 2024-02-27 12:13:13.787 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1497@localhost/res1' to='bob_available_direct_then_disconnect_1497@localhost/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2024-02-27 12:13:13.787 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 out
</stream:stream>

*** User 2024-02-27 12:13:13.787 ***🔗
bob_available_direct_then_disconnect_1497@localhost/res1 in
</stream:stream>
*** CT 2024-02-27 12:13:13.794 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4352.html



=== Ended at 2024-02-27 12:13:13
=== successfully completed test case
=== === Returned value: ok