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

=== Config value:

    [{watchdog,<0.72901.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.presence_SUITE.logs/run.2024-04-18_11.08.28/presence_suite.available_direct_then_disconnect.193794.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.presence_SUITE.logs/run.2024-04-18_11.08.28/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@2ed2b07c4324.2024-04-18_10.56.18"

=== Started at 2024-04-18 11:08:28


*** CT 2024-04-18 11:08:28.301 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5506.html

*** User 2024-04-18 11:08:28.313 ***🔗
alicE_available_direct_then_disconnect_2641@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-04-18 11:08:28.313 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f18e6b93ad704e2c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:08:28.313 ***🔗
alicE_available_direct_then_disconnect_2641@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-04-18 11:08:28.313 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzI2NDEAbWF0eWdyeXNh</auth>



*** User 2024-04-18 11:08:28.314 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:08:28.314 ***🔗
alicE_available_direct_then_disconnect_2641@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-04-18 11:08:28.314 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e09d121e6928d31' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2641@localhost'>

*** User 2024-04-18 11:08:28.315 ***🔗
alicE_available_direct_then_disconnect_2641@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-04-18 11:08:28.315 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 out
<iq type='set' id='31d1687fa46f7b2b2aa613c0dc787f5b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:08:28.315 ***🔗
alicE_available_direct_then_disconnect_2641@localhost/res1 in
<iq id='31d1687fa46f7b2b2aa613c0dc787f5b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_2641@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:08:28.316 ***🔗
alice_available_direct_then_disconnect_2641@localhost/res1 out
<iq type='set' id='4c16756990fb0c6d65e14e5a73d243c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:08:28.316 ***🔗
alice_available_direct_then_disconnect_2641@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_2641@localhost/res1' id='4c16756990fb0c6d65e14e5a73d243c4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:08:28.316 ***🔗
alice_available_direct_then_disconnect_2641@localhost/res1 out
<presence/>



*** User 2024-04-18 11:08:28.317 ***🔗
alice_available_direct_then_disconnect_2641@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2641@localhost/res1' to='alice_available_direct_then_disconnect_2641@localhost/res1'/>



*** User 2024-04-18 11:08:28.318 ***🔗
bOb_available_direct_then_disconnect_2641@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-04-18 11:08:28.318 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91259934d7611b23' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:08:28.318 ***🔗
bOb_available_direct_then_disconnect_2641@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-04-18 11:08:28.318 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yNjQxAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-18 11:08:28.319 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:08:28.319 ***🔗
bOb_available_direct_then_disconnect_2641@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-04-18 11:08:28.320 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d87eaf0b6d8ce49f' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2641@localhost'>

*** User 2024-04-18 11:08:28.320 ***🔗
bOb_available_direct_then_disconnect_2641@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-04-18 11:08:28.320 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 out
<iq type='set' id='6648b9317f197f35c5b9a321f36261ed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:08:28.320 ***🔗
bOb_available_direct_then_disconnect_2641@localhost/res1 in
<iq id='6648b9317f197f35c5b9a321f36261ed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_2641@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:08:28.321 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 out
<iq type='set' id='9d7a1d6754fb38160baef897cfa24737'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:08:28.322 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_2641@localhost/res1' id='9d7a1d6754fb38160baef897cfa24737' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:08:28.322 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 out
<presence/>



*** User 2024-04-18 11:08:28.323 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_2641@localhost/res1' to='bob_available_direct_then_disconnect_2641@localhost/res1'/>



*** User 2024-04-18 11:08:28.323 ***🔗
alice_available_direct_then_disconnect_2641@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_2641@localhost/res1'/>



*** User 2024-04-18 11:08:28.323 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2641@localhost/res1' to='bob_available_direct_then_disconnect_2641@localhost/res1'/>



*** User 2024-04-18 11:08:28.324 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2641@localhost/res1' to='bob_available_direct_then_disconnect_2641@localhost/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2024-04-18 11:08:28.324 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:08:28.324 ***🔗
bob_available_direct_then_disconnect_2641@localhost/res1 in
</stream:stream>
*** CT 2024-04-18 11:08:28.330 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5506.html



=== Ended at 2024-04-18 11:08:28
=== successfully completed test case
=== === Returned value: ok