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

=== Config value:

    [{watchdog,<0.44072.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@537062a6f820.2024-04-16_10.55.12/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.31/presence_suite.available_direct_then_unavailable.95746.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@537062a6f820.2024-04-16_10.55.12/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.31/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@537062a6f820.2024-04-16_10.55.12"

=== Started at 2024-04-16 11:05:32


*** CT 2024-04-16 11:05:32.167 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4093.html

*** User 2024-04-16 11:05:32.181 ***🔗
alicE_available_direct_then_unavailable_1395@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-16 11:05:32.182 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d453849c0a3e7cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:05:32.182 ***🔗
alicE_available_direct_then_unavailable_1395@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:05:32.182 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8xMzk1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 11:05:32.186 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:05:32.186 ***🔗
alicE_available_direct_then_unavailable_1395@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-16 11:05:32.186 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12dbcd80bf7e5a24' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_1395@localhost'>

*** User 2024-04-16 11:05:32.186 ***🔗
alicE_available_direct_then_unavailable_1395@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-16 11:05:32.187 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 out
<iq type='set' id='8543f1b15d83835e8035d1821b4a4051'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:05:32.187 ***🔗
alicE_available_direct_then_unavailable_1395@localhost/res1 in
<iq id='8543f1b15d83835e8035d1821b4a4051' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_1395@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:05:32.187 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 out
<iq type='set' id='03a9d6ba95fc24a2403b8b00e3fc5f50'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:32.188 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_1395@localhost/res1' id='03a9d6ba95fc24a2403b8b00e3fc5f50' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:32.188 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 out
<presence/>



*** User 2024-04-16 11:05:32.188 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1395@localhost/res1' to='alice_available_direct_then_unavailable_1395@localhost/res1'/>



*** User 2024-04-16 11:05:32.189 ***🔗
bOb_available_direct_then_unavailable_1395@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-16 11:05:32.190 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3efce21729a1885' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:05:32.190 ***🔗
bOb_available_direct_then_unavailable_1395@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:05:32.190 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMTM5NQBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:05:32.192 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:05:32.192 ***🔗
bOb_available_direct_then_unavailable_1395@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-16 11:05:32.192 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ab78fc8cf9d5a57' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_1395@localhost'>

*** User 2024-04-16 11:05:32.192 ***🔗
bOb_available_direct_then_unavailable_1395@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-16 11:05:32.192 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 out
<iq type='set' id='256c0789c6a8dfc6757c9c95d3fe019f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:05:32.197 ***🔗
bOb_available_direct_then_unavailable_1395@localhost/res1 in
<iq id='256c0789c6a8dfc6757c9c95d3fe019f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_1395@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:05:32.197 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 out
<iq type='set' id='e3f067f48749735f580f754066a0b590'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:32.201 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_1395@localhost/res1' id='e3f067f48749735f580f754066a0b590' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:32.201 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 out
<presence/>



*** User 2024-04-16 11:05:32.202 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_1395@localhost/res1' to='bob_available_direct_then_unavailable_1395@localhost/res1'/>



*** User 2024-04-16 11:05:32.202 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_1395@localhost/res1'/>



*** User 2024-04-16 11:05:32.203 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1395@localhost/res1' to='bob_available_direct_then_unavailable_1395@localhost/res1'/>



*** User 2024-04-16 11:05:32.203 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-16 11:05:32.204 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_1395@localhost/res1' to='bob_available_direct_then_unavailable_1395@localhost/res1' type='unavailable'/>



*** User 2024-04-16 11:05:32.205 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:05:32.206 ***🔗
bob_available_direct_then_unavailable_1395@localhost/res1 in
</stream:stream>

*** User 2024-04-16 11:05:32.206 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:05:32.208 ***🔗
alice_available_direct_then_unavailable_1395@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 11:05:32.213 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4094.html



=== Ended at 2024-04-16 11:05:32
=== successfully completed test case
=== === Returned value: ok