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

=== Config value:

    [{watchdog,<0.31878.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.available_direct_then_unavailable.129666.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:34:54


*** CT 2022-01-27 15:34:54.549 *** View log from node mongooseim@localhost when started mongooseim@localhost_5448.html
*** CT 2022-01-27 15:34:54.550 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:34:54.570 ***
alicE_available_direct_then_unavailable_1829@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:34:54.571 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e37c7642a74849bb' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 15:34:54.572 ***
alicE_available_direct_then_unavailable_1829@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:34:54.573 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
<iq type='set' id='3008f67000d0d0f8216025f4e7033f55'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 in
<iq id='3008f67000d0d0f8216025f4e7033f55' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_unavailable_1829@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
<iq type='set' id='8bb3f66f8e893b0ccfaf2582d0cf79e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 in
<iq type='result' id='8bb3f66f8e893b0ccfaf2582d0cf79e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.575 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_1829@localhost/res1' to='alice_available_direct_then_unavailable_1829@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.576 ***
bOb_available_direct_then_unavailable_1829@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:34:54.576 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ed00ccfc7c90a5d' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:34:54.578 ***
bOb_available_direct_then_unavailable_1829@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:34:54.578 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08665f256819dd3c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.578 ***
bOb_available_direct_then_unavailable_1829@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:34:54.579 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 out
<iq type='set' id='0b9c7b9c9b15898b5425a1b4a3288135'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<iq id='0b9c7b9c9b15898b5425a1b4a3288135' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_unavailable_1829@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 out
<iq type='set' id='414ed7fddd70bbdd1459e26c208879a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<iq type='result' id='414ed7fddd70bbdd1459e26c208879a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.581 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<presence from='bOb_available_direct_then_unavailable_1829@localhost/res1' to='bob_available_direct_then_unavailable_1829@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.581 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
<presence to='bOb_available_direct_then_unavailable_1829@localhost/res1'/>



*** User 2022-01-27 15:34:54.582 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_1829@localhost/res1' to='bOb_available_direct_then_unavailable_1829@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.582 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-01-27 15:34:54.583 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
<presence from='alicE_available_direct_then_unavailable_1829@localhost/res1' to='bob_available_direct_then_unavailable_1829@localhost/res1' xml:lang='en' type='unavailable'/>



*** User 2022-01-27 15:34:54.583 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:54.583 ***
bOb_available_direct_then_unavailable_1829@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:54.583 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:54.583 ***
alicE_available_direct_then_unavailable_1829@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:54.594 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:34:54.595 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5449.html



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