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

=== Config value:

    [{watchdog,<0.73035.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/presence_suite.available_direct_then_unavailable.182018.html"},
     {tc_group_properties,[{name,presence},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@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/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@81b4ed498ac1.2024-04-23_23.21.08"

=== Started at 2024-04-23 23:33:52


*** CT 2024-04-23 23:33:52.821 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5444.html

*** User 2024-04-23 23:33:52.835 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:52.835 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5ab3b870071e608' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:52.836 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 23:33:52.836 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNjQ4AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 23:33:52.837 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:52.837 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:52.838 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d9a878500c22d87' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2648@localhost'>

*** User 2024-04-23 23:33:52.839 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 23:33:52.839 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 out
<iq type='set' id='820146790e4f1e704a80b48a31af5096'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:52.839 ***🔗
alicE_available_direct_then_unavailable_2648@localhost/res1 in
<iq id='820146790e4f1e704a80b48a31af5096' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2648@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:52.839 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 out
<iq type='set' id='0c245a21afc57814e91b2a4e843b68f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:52.840 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2648@localhost/res1' id='0c245a21afc57814e91b2a4e843b68f4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:52.840 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:52.841 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2648@localhost/res1' to='alice_available_direct_then_unavailable_2648@localhost/res1'/>



*** User 2024-04-23 23:33:52.842 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:52.842 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8d3ce79d3479435' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:52.842 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 23:33:52.842 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjY0OABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 23:33:52.843 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:52.843 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:52.844 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='986efae04000b19f' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2648@localhost'>

*** User 2024-04-23 23:33:52.844 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 23:33:52.844 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 out
<iq type='set' id='1a612102b117e818fbc8f5e97eb27be1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:52.845 ***🔗
bOb_available_direct_then_unavailable_2648@localhost/res1 in
<iq id='1a612102b117e818fbc8f5e97eb27be1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2648@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:52.845 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 out
<iq type='set' id='cb78779ae484bdd14ac6ba3308dd3f6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:52.846 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2648@localhost/res1' id='cb78779ae484bdd14ac6ba3308dd3f6a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:52.846 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:52.848 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2648@localhost/res1' to='bob_available_direct_then_unavailable_2648@localhost/res1'/>



*** User 2024-04-23 23:33:52.848 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2648@localhost/res1'/>



*** User 2024-04-23 23:33:52.848 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2648@localhost/res1' to='bob_available_direct_then_unavailable_2648@localhost/res1'/>



*** User 2024-04-23 23:33:52.848 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-23 23:33:52.849 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2648@localhost/res1' to='bob_available_direct_then_unavailable_2648@localhost/res1' type='unavailable'/>



*** User 2024-04-23 23:33:52.849 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:52.849 ***🔗
bob_available_direct_then_unavailable_2648@localhost/res1 in
</stream:stream>

*** User 2024-04-23 23:33:52.849 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:52.849 ***🔗
alice_available_direct_then_unavailable_2648@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 23:33:52.859 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5445.html



=== Ended at 2024-04-23 23:33:52
=== successfully completed test case
=== === Returned value: ok