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

=== Config value:

    [{watchdog,<0.72172.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/presence_suite.available_direct_then_unavailable.204802.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:49:20


*** CT 2024-04-09 11:49:20.652 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2565.html

*** User 2024-04-09 11:49:20.674 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 11:49:20.675 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d8ceb68639510e5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:20.675 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/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-09 11:49:20.675 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8zMDI0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-09 11:49:20.676 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:20.676 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 11:49:20.676 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b25be815ff9fb32b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_3024@domain.example.com'>

*** User 2024-04-09 11:49:20.677 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/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-09 11:49:20.677 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 out
<iq type='set' id='ca1f12c39af334afe3688012c5a4ef73'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:20.677 ***🔗
alicE_available_direct_then_unavailable_3024@domain.example.com/res1 in
<iq id='ca1f12c39af334afe3688012c5a4ef73' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_3024@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:20.677 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 out
<iq type='set' id='4a6b38fee2403457adb95d75c4e55f67'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:20.678 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_3024@domain.example.com/res1' id='4a6b38fee2403457adb95d75c4e55f67' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:20.678 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:20.680 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_3024@domain.example.com/res1' to='alice_available_direct_then_unavailable_3024@domain.example.com/res1'/>



*** User 2024-04-09 11:49:20.683 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 11:49:20.684 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f22f6f7f3de8c15' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:20.684 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/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-09 11:49:20.684 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMzAyNABtYWtyb2xpa2E=</auth>



*** User 2024-04-09 11:49:20.685 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:20.685 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 11:49:20.686 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9cad0bcb2566a7d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_3024@domain.example.com'>

*** User 2024-04-09 11:49:20.686 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/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-09 11:49:20.686 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 out
<iq type='set' id='1890eacb3f0ded30cc4eb1f25f9842fc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:20.687 ***🔗
bOb_available_direct_then_unavailable_3024@domain.example.com/res1 in
<iq id='1890eacb3f0ded30cc4eb1f25f9842fc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_3024@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:20.687 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 out
<iq type='set' id='09548e701bf06f4262355a9a11962d3d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:20.688 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_3024@domain.example.com/res1' id='09548e701bf06f4262355a9a11962d3d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:20.688 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:20.689 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_3024@domain.example.com/res1' to='bob_available_direct_then_unavailable_3024@domain.example.com/res1'/>



*** User 2024-04-09 11:49:20.689 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_3024@domain.example.com/res1'/>



*** User 2024-04-09 11:49:20.690 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_3024@domain.example.com/res1' to='bob_available_direct_then_unavailable_3024@domain.example.com/res1'/>



*** User 2024-04-09 11:49:20.690 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-04-09 11:49:20.690 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_3024@domain.example.com/res1' to='bob_available_direct_then_unavailable_3024@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-09 11:49:20.691 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:20.691 ***🔗
bob_available_direct_then_unavailable_3024@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:49:20.691 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:20.691 ***🔗
alice_available_direct_then_unavailable_3024@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:49:20.696 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2566.html



=== Ended at 2024-04-09 11:49:20
=== successfully completed test case
=== === Returned value: ok