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

=== Config value:

    [{watchdog,<0.10820.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.available_direct_then_disconnect.42371.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/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@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:54:55


*** CT 2022-04-05 07:54:55.983 *** View log from node mongooseim@localhost when started mongooseim@localhost_4593.html
*** CT 2022-04-05 07:54:55.983 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

*** User 2022-04-05 07:54:56.002 ***
alicE_available_direct_then_disconnect_1218@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-04-05 07:54:56.007 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21c837e5ede4df44' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.007 ***
alicE_available_direct_then_disconnect_1218@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-04-05 07:54:56.007 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzEyMTgAbWF0eWdyeXNh</auth>



*** User 2022-04-05 07:54:56.010 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.010 ***
alicE_available_direct_then_disconnect_1218@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-04-05 07:54:56.012 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b502be6bfd52227' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.012 ***
alicE_available_direct_then_disconnect_1218@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-04-05 07:54:56.012 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 out
<iq type='set' id='db9b808eb9d3ad70e7d9b6e4ad76a31c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.012 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<iq id='db9b808eb9d3ad70e7d9b6e4ad76a31c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_disconnect_1218@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.012 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 out
<iq type='set' id='599d74b442b214c570c8f30fb7b4df5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.013 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<iq type='result' id='599d74b442b214c570c8f30fb7b4df5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.013 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.059 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1218@localhost/res1' to='alice_available_direct_then_disconnect_1218@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.066 ***
bOb_available_direct_then_disconnect_1218@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-04-05 07:54:56.067 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f0e42164707f6646' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.068 ***
bOb_available_direct_then_disconnect_1218@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-04-05 07:54:56.068 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xMjE4AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-05 07:54:56.069 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.070 ***
bOb_available_direct_then_disconnect_1218@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-04-05 07:54:56.071 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51567683ccbcc3ed' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.071 ***
bOb_available_direct_then_disconnect_1218@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-04-05 07:54:56.071 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 out
<iq type='set' id='bae966b39345decc20f7efeeed244566'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.071 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<iq id='bae966b39345decc20f7efeeed244566' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_disconnect_1218@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.071 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 out
<iq type='set' id='3fcfb944937af91c14d14b777aa34d6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.073 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<iq type='result' id='3fcfb944937af91c14d14b777aa34d6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.073 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.079 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<presence from='bOb_available_direct_then_disconnect_1218@localhost/res1' to='bob_available_direct_then_disconnect_1218@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.079 ***
alicE_available_direct_then_disconnect_1218@localhost/res1 out
<presence to='bOb_available_direct_then_disconnect_1218@localhost/res1'/>



*** User 2022-04-05 07:54:56.080 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1218@localhost/res1' to='bOb_available_direct_then_disconnect_1218@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.081 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_1218@localhost/res1' to='bob_available_direct_then_disconnect_1218@localhost/res1' type='unavailable'/>



*** User 2022-04-05 07:54:56.081 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:56.081 ***
bOb_available_direct_then_disconnect_1218@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:56.084 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:56.085 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4594.html



=== Ended at 2022-04-05 07:54:56
=== successfully completed test case
=== === Returned value: ok