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

=== Config value:

    [{watchdog,<0.3864.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/presence_suite.available_direct_then_disconnect.50306.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:32:04


*** CT 2022-01-27 15:32:04.269 *** View log from node mongooseim@localhost when started mongooseim@localhost_4511.html
*** CT 2022-01-27 15:32:04.269 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:32:04.278 ***
alicE_available_direct_then_disconnect_833@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-01-27 15:32:04.279 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09e3932ae9e6fd90' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.279 ***
alicE_available_direct_then_disconnect_833@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>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-01-27 15:32:04.279 ***
alicE_available_direct_then_disconnect_833@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzgzMwBtYXR5Z3J5c2E=</auth>



*** User 2022-01-27 15:32:04.280 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:04.280 ***
alicE_available_direct_then_disconnect_833@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-01-27 15:32:04.280 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47af52af350dd16a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.280 ***
alicE_available_direct_then_disconnect_833@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-01-27 15:32:04.281 ***
alicE_available_direct_then_disconnect_833@localhost/res1 out
<iq type='set' id='1062f096bd7591a9c23c97c3e2880b42'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.281 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<iq id='1062f096bd7591a9c23c97c3e2880b42' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_disconnect_833@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.281 ***
alicE_available_direct_then_disconnect_833@localhost/res1 out
<iq type='set' id='5275d6d40f2d60aa37fd5f4d3c318383'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.281 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<iq type='result' id='5275d6d40f2d60aa37fd5f4d3c318383'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.281 ***
alicE_available_direct_then_disconnect_833@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:04.282 ***
alicE_available_direct_then_disconnect_833@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_833@localhost/res1' to='alice_available_direct_then_disconnect_833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:04.283 ***
bOb_available_direct_then_disconnect_833@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-01-27 15:32:04.283 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53868c3f62a6de93' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.283 ***
bOb_available_direct_then_disconnect_833@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>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-01-27 15:32:04.284 ***
bOb_available_direct_then_disconnect_833@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF84MzMAbWFrcm9saWth</auth>



*** User 2022-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@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-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9154c69fd6702fa7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@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-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@localhost/res1 out
<iq type='set' id='8248b278358306d0d5a2cd32c89437db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.285 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<iq id='8248b278358306d0d5a2cd32c89437db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_disconnect_833@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.286 ***
bOb_available_direct_then_disconnect_833@localhost/res1 out
<iq type='set' id='e74d0b2fad52822d265f367269d1ea94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.286 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<iq type='result' id='e74d0b2fad52822d265f367269d1ea94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.286 ***
bOb_available_direct_then_disconnect_833@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:04.287 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<presence from='bOb_available_direct_then_disconnect_833@localhost/res1' to='bob_available_direct_then_disconnect_833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:04.287 ***
alicE_available_direct_then_disconnect_833@localhost/res1 out
<presence to='bOb_available_direct_then_disconnect_833@localhost/res1'/>



*** User 2022-01-27 15:32:04.287 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_833@localhost/res1' to='bOb_available_direct_then_disconnect_833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:04.288 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_833@localhost/res1' to='bob_available_direct_then_disconnect_833@localhost/res1' type='unavailable'/>



*** User 2022-01-27 15:32:04.288 ***
bOb_available_direct_then_disconnect_833@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:04.288 ***
bOb_available_direct_then_disconnect_833@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:04.292 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:32:04.292 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4511.html



=== Ended at 2022-01-27 15:32:04
=== successfully completed test case
=== === Returned value: ok