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

=== Config value:

    [{watchdog,<0.14467.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/presence_suite.available_direct_then_unavailable.73602.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:55:24


*** CT 2022-06-22 08:55:24.768 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4302.html
*** CT 2022-06-22 08:55:24.769 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1988.html

*** User 2022-06-22 08:55:24.786 ***🔗
alicE_available_direct_then_unavailable_1366@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-06-22 08:55:24.787 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d46961f0f3c9637f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:24.787 ***🔗
alicE_available_direct_then_unavailable_1366@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-06-22 08:55:24.787 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8xMzY2AG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:55:24.789 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:24.789 ***🔗
alicE_available_direct_then_unavailable_1366@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-06-22 08:55:24.789 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='207c38a1bbcb9669' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:24.789 ***🔗
alicE_available_direct_then_unavailable_1366@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-06-22 08:55:24.790 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 out
<iq type='set' id='97c999de49f3eccadd69bf1b2b7ba375'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:24.790 ***🔗
alicE_available_direct_then_unavailable_1366@localhost/res1 in
<iq id='97c999de49f3eccadd69bf1b2b7ba375' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_1366@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:24.790 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 out
<iq type='set' id='42e132fa210e72be3a798514b7507767'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:24.790 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 in
<iq type='result' id='42e132fa210e72be3a798514b7507767'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:24.790 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:24.792 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1366@localhost/res1' to='alice_available_direct_then_unavailable_1366@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:24.856 ***🔗
bOb_available_direct_then_unavailable_1366@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-06-22 08:55:24.857 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='152b257e1c784f14' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:24.857 ***🔗
bOb_available_direct_then_unavailable_1366@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-06-22 08:55:24.857 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMTM2NgBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 08:55:24.859 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:24.859 ***🔗
bOb_available_direct_then_unavailable_1366@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-06-22 08:55:24.859 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8710ca38639b99b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:24.859 ***🔗
bOb_available_direct_then_unavailable_1366@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-06-22 08:55:24.860 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 out
<iq type='set' id='42c602c13b0a4d41ffa01aede54eb3cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:24.860 ***🔗
bOb_available_direct_then_unavailable_1366@localhost/res1 in
<iq id='42c602c13b0a4d41ffa01aede54eb3cf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_1366@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:24.861 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 out
<iq type='set' id='09f50e283a9d059999bc042bb4823304'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:24.861 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 in
<iq type='result' id='09f50e283a9d059999bc042bb4823304'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:24.861 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:24.863 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_1366@localhost/res1' to='bob_available_direct_then_unavailable_1366@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:24.863 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_1366@localhost/res1'/>



*** User 2022-06-22 08:55:24.863 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1366@localhost/res1' to='bob_available_direct_then_unavailable_1366@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:24.863 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-06-22 08:55:24.864 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1366@localhost/res1' to='bob_available_direct_then_unavailable_1366@localhost/res1' xml:lang='en' type='unavailable'/>



*** User 2022-06-22 08:55:24.864 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:24.864 ***🔗
bob_available_direct_then_unavailable_1366@localhost/res1 in
</stream:stream>

*** User 2022-06-22 08:55:24.864 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:24.865 ***🔗
alice_available_direct_then_unavailable_1366@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 08:55:24.871 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1988.html
*** CT 2022-06-22 08:55:24.872 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4303.html



=== Ended at 2022-06-22 08:55:24
=== successfully completed test case
=== === Returned value: ok