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

=== Config value:

    [{watchdog,<0.13254.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/presence_suite.available_direct_then_disconnect.65154.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:49:16


*** CT 2022-05-25 10:49:16.788 *** View log from node mongooseim@localhost when started mongooseim@localhost_4887.html
*** CT 2022-05-25 10:49:16.790 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:49:16.809 ***
alicE_available_direct_then_disconnect_1238@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-05-25 10:49:16.809 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b36958f6178dc11c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:16.809 ***
alicE_available_direct_then_disconnect_1238@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-05-25 10:49:16.809 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzEyMzgAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:49:16.810 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:16.811 ***
alicE_available_direct_then_disconnect_1238@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-05-25 10:49:16.811 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30acd4d95e4a37df' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:16.811 ***
alicE_available_direct_then_disconnect_1238@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-05-25 10:49:16.811 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 out
<iq type='set' id='bb5f4cf5ed1c3b3534a53bc9e939ab27'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:16.811 ***
alicE_available_direct_then_disconnect_1238@localhost/res1 in
<iq id='bb5f4cf5ed1c3b3534a53bc9e939ab27' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_1238@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:16.811 ***
alice_available_direct_then_disconnect_1238@localhost/res1 out
<iq type='set' id='c0a769510435312c7876a7b37e4d7316'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:16.812 ***
alice_available_direct_then_disconnect_1238@localhost/res1 in
<iq type='result' id='c0a769510435312c7876a7b37e4d7316'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:16.812 ***
alice_available_direct_then_disconnect_1238@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:16.875 ***
alice_available_direct_then_disconnect_1238@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1238@localhost/res1' to='alice_available_direct_then_disconnect_1238@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:16.877 ***
bOb_available_direct_then_disconnect_1238@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-05-25 10:49:16.877 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85b1a66cb33d9d78' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:16.877 ***
bOb_available_direct_then_disconnect_1238@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-05-25 10:49:16.877 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xMjM4AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 10:49:16.879 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:16.879 ***
bOb_available_direct_then_disconnect_1238@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-05-25 10:49:16.879 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0624c846ab4d718e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:16.879 ***
bOb_available_direct_then_disconnect_1238@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-05-25 10:49:16.879 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 out
<iq type='set' id='3a4976774e476eb8d4e85847bea89678'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:16.880 ***
bOb_available_direct_then_disconnect_1238@localhost/res1 in
<iq id='3a4976774e476eb8d4e85847bea89678' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_1238@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:16.880 ***
bob_available_direct_then_disconnect_1238@localhost/res1 out
<iq type='set' id='67369041594c66a3a534f904a455789a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:16.880 ***
bob_available_direct_then_disconnect_1238@localhost/res1 in
<iq type='result' id='67369041594c66a3a534f904a455789a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:16.880 ***
bob_available_direct_then_disconnect_1238@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:16.881 ***
bob_available_direct_then_disconnect_1238@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_1238@localhost/res1' to='bob_available_direct_then_disconnect_1238@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:16.881 ***
alice_available_direct_then_disconnect_1238@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_1238@localhost/res1'/>



*** User 2022-05-25 10:49:16.882 ***
bob_available_direct_then_disconnect_1238@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1238@localhost/res1' to='bob_available_direct_then_disconnect_1238@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:16.882 ***
bob_available_direct_then_disconnect_1238@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1238@localhost/res1' to='bob_available_direct_then_disconnect_1238@localhost/res1' type='unavailable'/>



*** User 2022-05-25 10:49:16.882 ***
bob_available_direct_then_disconnect_1238@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:16.883 ***
bob_available_direct_then_disconnect_1238@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:49:16.902 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:49:16.903 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4888.html



=== Ended at 2022-05-25 10:49:16
=== successfully completed test case
=== === Returned value: ok