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

=== Config value:

    [{watchdog,<0.71523.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/presence_suite.available_direct_then_unavailable.199682.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/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@8a480c91a890.2024-04-12_13.25.32"

=== Started at 2024-04-12 13:37:29


*** CT 2024-04-12 13:37:29.586 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2286.html

*** User 2024-04-12 13:37:29.608 ***🔗
alicE_available_direct_then_unavailable_2707@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-12 13:37:29.608 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c0b0d266f53be95b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:29.609 ***🔗
alicE_available_direct_then_unavailable_2707@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-12 13:37:29.609 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzA3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-12 13:37:29.610 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:29.610 ***🔗
alicE_available_direct_then_unavailable_2707@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-12 13:37:29.611 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab9fe4568661fccf' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2707@domain.example.com'>

*** User 2024-04-12 13:37:29.611 ***🔗
alicE_available_direct_then_unavailable_2707@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-12 13:37:29.611 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 out
<iq type='set' id='2d8a064eb0c5b1099fef33ebc775a32d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.611 ***🔗
alicE_available_direct_then_unavailable_2707@domain.example.com/res1 in
<iq id='2d8a064eb0c5b1099fef33ebc775a32d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2707@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.611 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 out
<iq type='set' id='852acff633ded1ba790b57c3c6ad9d8e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.612 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2707@domain.example.com/res1' id='852acff633ded1ba790b57c3c6ad9d8e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.612 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:29.615 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2707@domain.example.com/res1' to='alice_available_direct_then_unavailable_2707@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.616 ***🔗
bOb_available_direct_then_unavailable_2707@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-12 13:37:29.616 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c08ece0050b9a0c6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:29.616 ***🔗
bOb_available_direct_then_unavailable_2707@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-12 13:37:29.617 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjcwNwBtYWtyb2xpa2E=</auth>



*** User 2024-04-12 13:37:29.618 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:29.618 ***🔗
bOb_available_direct_then_unavailable_2707@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-12 13:37:29.619 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0abcb64f909388a0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2707@domain.example.com'>

*** User 2024-04-12 13:37:29.620 ***🔗
bOb_available_direct_then_unavailable_2707@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-12 13:37:29.620 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 out
<iq type='set' id='09af041cdc992a9b41581ee537139d17'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.620 ***🔗
bOb_available_direct_then_unavailable_2707@domain.example.com/res1 in
<iq id='09af041cdc992a9b41581ee537139d17' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2707@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.620 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 out
<iq type='set' id='4b403ccf4cf9566ed6633946bd46eada'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.621 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2707@domain.example.com/res1' id='4b403ccf4cf9566ed6633946bd46eada' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.621 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:29.623 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2707@domain.example.com/res1' to='bob_available_direct_then_unavailable_2707@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.623 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2707@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.624 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2707@domain.example.com/res1' to='bob_available_direct_then_unavailable_2707@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.625 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-04-12 13:37:29.626 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2707@domain.example.com/res1' to='bob_available_direct_then_unavailable_2707@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-12 13:37:29.626 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:37:29.627 ***🔗
bob_available_direct_then_unavailable_2707@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-12 13:37:29.627 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:37:29.627 ***🔗
alice_available_direct_then_unavailable_2707@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-12 13:37:29.636 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2287.html



=== Ended at 2024-04-12 13:37:29
=== successfully completed test case
=== === Returned value: ok