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

=== Config value:

    [{watchdog,<0.6018.2>},
     {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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/presence_suite.available_direct_then_unavailable.220674.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/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@a458c4eb991a.2024-03-07_11.00.02"

=== Started at 2024-03-07 11:12:53


*** CT 2024-03-07 11:12:53.973 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2543.html

*** User 2024-03-07 11:12:54.005 ***🔗
alicE_available_direct_then_unavailable_2839@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-03-07 11:12:54.005 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f2d891917f7571c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:54.006 ***🔗
alicE_available_direct_then_unavailable_2839@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-03-07 11:12:54.006 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yODM5AG1hdHlncnlzYQ==</auth>



*** User 2024-03-07 11:12:54.007 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:54.007 ***🔗
alicE_available_direct_then_unavailable_2839@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-03-07 11:12:54.007 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f2b9daba08b3af2' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2839@domain.example.com'>

*** User 2024-03-07 11:12:54.008 ***🔗
alicE_available_direct_then_unavailable_2839@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-03-07 11:12:54.008 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 out
<iq type='set' id='c872acd47226f13accb27be1caa8b23a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:54.009 ***🔗
alicE_available_direct_then_unavailable_2839@domain.example.com/res1 in
<iq id='c872acd47226f13accb27be1caa8b23a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2839@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:54.009 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 out
<iq type='set' id='c72cba630e0c01b44b43678eb99df331'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:54.010 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2839@domain.example.com/res1' id='c72cba630e0c01b44b43678eb99df331' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:54.010 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:54.011 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2839@domain.example.com/res1' to='alice_available_direct_then_unavailable_2839@domain.example.com/res1'/>



*** User 2024-03-07 11:12:54.012 ***🔗
bOb_available_direct_then_unavailable_2839@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-03-07 11:12:54.013 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50fb1d507c550d85' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:54.013 ***🔗
bOb_available_direct_then_unavailable_2839@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-03-07 11:12:54.013 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjgzOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@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-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59fbe86269b92309' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2839@domain.example.com'>

*** User 2024-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@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-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 out
<iq type='set' id='ce3e7463942b5971419d2a671e6bf09f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:54.014 ***🔗
bOb_available_direct_then_unavailable_2839@domain.example.com/res1 in
<iq id='ce3e7463942b5971419d2a671e6bf09f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2839@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:54.015 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 out
<iq type='set' id='f11147008d37985c0ce9dc7138732973'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:54.015 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2839@domain.example.com/res1' id='f11147008d37985c0ce9dc7138732973' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:54.015 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:54.016 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2839@domain.example.com/res1' to='bob_available_direct_then_unavailable_2839@domain.example.com/res1'/>



*** User 2024-03-07 11:12:54.016 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2839@domain.example.com/res1'/>



*** User 2024-03-07 11:12:54.017 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2839@domain.example.com/res1' to='bob_available_direct_then_unavailable_2839@domain.example.com/res1'/>



*** User 2024-03-07 11:12:54.017 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-03-07 11:12:54.018 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2839@domain.example.com/res1' to='bob_available_direct_then_unavailable_2839@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-07 11:12:54.018 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:54.018 ***🔗
bob_available_direct_then_unavailable_2839@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-07 11:12:54.018 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:54.018 ***🔗
alice_available_direct_then_unavailable_2839@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-07 11:12:54.025 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2544.html



=== Ended at 2024-03-07 11:12:54
=== successfully completed test case
=== === Returned value: ok