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

=== Config value:

    [{watchdog,<0.1117.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.available_direct_then_disconnect.143746.html"},
     {tc_group_properties,[{name,presence},{repeat_until_all_ok,3},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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:07:25


*** CT 2022-03-07 16:07:25.944 *** View log from node mongooseim@localhost when started mongooseim@localhost_4562.html
*** CT 2022-03-07 16:07:25.944 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:07:25.956 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:25.956 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='380b6b6e2c5e3783' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.957 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:25.957 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzE5MDEAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0097227dc4f35931' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<iq type='set' id='5fecb1e4b8e787ec86f7773d302af4e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<iq id='5fecb1e4b8e787ec86f7773d302af4e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_disconnect_1901@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.958 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<iq type='set' id='9941d23afae28d641e0ec26640c6b259'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.959 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<iq type='result' id='9941d23afae28d641e0ec26640c6b259'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.959 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.962 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1901@localhost/res1' to='alice_available_direct_then_disconnect_1901@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.962 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:25.963 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='773f91052413c4c4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.963 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:25.963 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xOTAxAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 16:07:25.964 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:25.964 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:25.964 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88454e30fc68ff3b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.964 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:25.964 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<iq type='set' id='4e0fd5e57f6a1854e5ec71fe71aa4cc0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<iq id='4e0fd5e57f6a1854e5ec71fe71aa4cc0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_disconnect_1901@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<iq type='set' id='89932d51c2d58a9b6fb40a953b286de7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<iq type='result' id='89932d51c2d58a9b6fb40a953b286de7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.968 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<presence from='bOb_available_direct_then_disconnect_1901@localhost/res1' to='bob_available_direct_then_disconnect_1901@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.968 ***
alicE_available_direct_then_disconnect_1901@localhost/res1 out
<presence to='bOb_available_direct_then_disconnect_1901@localhost/res1'/>



*** User 2022-03-07 16:07:25.969 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1901@localhost/res1' to='bOb_available_direct_then_disconnect_1901@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.970 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1901@localhost/res1' to='bob_available_direct_then_disconnect_1901@localhost/res1' type='unavailable'/>



*** User 2022-03-07 16:07:25.970 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:25.970 ***
bOb_available_direct_then_disconnect_1901@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:07:25.975 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:07:25.976 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4562.html



=== Ended at 2022-03-07 16:07:25
=== successfully completed test case
=== === Returned value: ok