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

=== Config value:

    [{watchdog,<0.5238.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/presence_suite.available_direct_then_unavailable.56962.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/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@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:37:29


*** CT 2022-03-03 10:37:29.954 *** View log from node mongooseim@localhost when started mongooseim@localhost_4523.html
*** CT 2022-03-03 10:37:29.955 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-03-03 10:37:30.012 ***
alicE_available_direct_then_unavailable_866@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-03 10:37:30.013 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='171bcb4c66dde0fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.013 ***
alicE_available_direct_then_unavailable_866@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-03-03 10:37:30.013 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV84NjYAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:37:30.014 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:30.014 ***
alicE_available_direct_then_unavailable_866@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-03 10:37:30.014 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='399d93f6506902a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@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-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<iq type='set' id='b325d2e6d956129c5f0a9f2a7b7d8c5b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<iq id='b325d2e6d956129c5f0a9f2a7b7d8c5b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_unavailable_866@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<iq type='set' id='c9f6d649da5492e29f1bf0507691336d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<iq type='result' id='c9f6d649da5492e29f1bf0507691336d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.015 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.016 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_866@localhost/res1' to='alice_available_direct_then_unavailable_866@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.017 ***
bOb_available_direct_then_unavailable_866@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-03 10:37:30.017 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6519ff696965ce0e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.017 ***
bOb_available_direct_then_unavailable_866@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-03-03 10:37:30.018 ***
bOb_available_direct_then_unavailable_866@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfODY2AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@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-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7434cd064f6d25a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@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-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@localhost/res1 out
<iq type='set' id='dcbd42026d4744dc527770115de136e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<iq id='dcbd42026d4744dc527770115de136e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_unavailable_866@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.020 ***
bOb_available_direct_then_unavailable_866@localhost/res1 out
<iq type='set' id='4bb40f09aed944b97622bef0c315b6a0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.021 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<iq type='result' id='4bb40f09aed944b97622bef0c315b6a0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.021 ***
bOb_available_direct_then_unavailable_866@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.022 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<presence from='bOb_available_direct_then_unavailable_866@localhost/res1' to='bob_available_direct_then_unavailable_866@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.022 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<presence to='bOb_available_direct_then_unavailable_866@localhost/res1'/>



*** User 2022-03-03 10:37:30.022 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_866@localhost/res1' to='bOb_available_direct_then_unavailable_866@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.022 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-03-03 10:37:30.023 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_866@localhost/res1' to='bob_available_direct_then_unavailable_866@localhost/res1' xml:lang='en' type='unavailable'/>



*** User 2022-03-03 10:37:30.023 ***
bOb_available_direct_then_unavailable_866@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:30.024 ***
bOb_available_direct_then_unavailable_866@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:30.024 ***
alicE_available_direct_then_unavailable_866@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:30.024 ***
alicE_available_direct_then_unavailable_866@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:30.025 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-03-03 10:37:30.030 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:37:30
=== successfully completed test case
=== === Returned value: ok