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

=== Config value:

    [{watchdog,<0.78213.0>},
     {preset,"pgsql_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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/presence_suite.available_direct_then_unavailable.118916.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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/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@c2059f896f71.2024-04-26_12.39.19"

=== Started at 2024-04-26 12:54:04


*** CT 2024-04-26 12:54:04.290 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4713.html

*** User 2024-04-26 12:54:04.319 ***🔗
alicE_available_direct_then_unavailable_3179@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-26 12:54:04.319 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d0fc75331019537' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:04.319 ***🔗
alicE_available_direct_then_unavailable_3179@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-26 12:54:04.320 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8zMTc5AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:54:04.321 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:04.321 ***🔗
alicE_available_direct_then_unavailable_3179@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-26 12:54:04.321 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8e0e0ff4fde58a0' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_3179@localhost'>

*** User 2024-04-26 12:54:04.321 ***🔗
alicE_available_direct_then_unavailable_3179@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-26 12:54:04.321 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 out
<iq type='set' id='c06f34b6cb40a425689d6eed62dd2778'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:04.322 ***🔗
alicE_available_direct_then_unavailable_3179@localhost/res1 in
<iq id='c06f34b6cb40a425689d6eed62dd2778' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_3179@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:04.322 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 out
<iq type='set' id='2f584b6edd0a176a3b06f355eebead3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:04.322 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_3179@localhost/res1' id='2f584b6edd0a176a3b06f355eebead3e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:04.323 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:04.324 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_3179@localhost/res1' to='alice_available_direct_then_unavailable_3179@localhost/res1'/>



*** User 2024-04-26 12:54:04.325 ***🔗
bOb_available_direct_then_unavailable_3179@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-26 12:54:04.325 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8cb8343ef8cc3b3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:04.326 ***🔗
bOb_available_direct_then_unavailable_3179@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-26 12:54:04.326 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMzE3OQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:54:04.327 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:04.327 ***🔗
bOb_available_direct_then_unavailable_3179@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-26 12:54:04.327 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c49aab322b8d357' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_3179@localhost'>

*** User 2024-04-26 12:54:04.327 ***🔗
bOb_available_direct_then_unavailable_3179@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-26 12:54:04.328 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 out
<iq type='set' id='0f241392e61bfe63a5a0d90b252bc6fc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:04.328 ***🔗
bOb_available_direct_then_unavailable_3179@localhost/res1 in
<iq id='0f241392e61bfe63a5a0d90b252bc6fc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_3179@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:04.328 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 out
<iq type='set' id='f0dcbb8f968a71d6434731c286d7b86b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:04.328 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_3179@localhost/res1' id='f0dcbb8f968a71d6434731c286d7b86b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:04.328 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:04.330 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_3179@localhost/res1' to='bob_available_direct_then_unavailable_3179@localhost/res1'/>



*** User 2024-04-26 12:54:04.330 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_3179@localhost/res1'/>



*** User 2024-04-26 12:54:04.330 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_3179@localhost/res1' to='bob_available_direct_then_unavailable_3179@localhost/res1'/>



*** User 2024-04-26 12:54:04.330 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-26 12:54:04.330 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_3179@localhost/res1' to='bob_available_direct_then_unavailable_3179@localhost/res1' type='unavailable'/>



*** User 2024-04-26 12:54:04.331 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:04.331 ***🔗
bob_available_direct_then_unavailable_3179@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:04.331 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:04.331 ***🔗
alice_available_direct_then_unavailable_3179@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:54:04.347 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4714.html



=== Ended at 2024-04-26 12:54:04
=== successfully completed test case
=== === Returned value: ok