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

=== Config value:

    [{watchdog,<0.71508.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/presence_suite.available_direct_then_unavailable.125700.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/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@204f21db9bdd.2024-04-10_16.27.55"

=== Started at 2024-04-10 16:39:13


*** CT 2024-04-10 16:39:13.562 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2290.html

*** User 2024-04-10 16:39:13.577 ***🔗
alicE_available_direct_then_unavailable_2710@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-10 16:39:13.578 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19c15100297eba9a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:13.578 ***🔗
alicE_available_direct_then_unavailable_2710@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-10 16:39:13.578 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzEwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 16:39:13.579 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:13.580 ***🔗
alicE_available_direct_then_unavailable_2710@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-10 16:39:13.580 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='356a416c2d0d741e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2710@domain.example.com'>

*** User 2024-04-10 16:39:13.580 ***🔗
alicE_available_direct_then_unavailable_2710@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-10 16:39:13.580 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 out
<iq type='set' id='a7aa2be5e7841efa3e8b18fd7ea87f7d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.580 ***🔗
alicE_available_direct_then_unavailable_2710@domain.example.com/res1 in
<iq id='a7aa2be5e7841efa3e8b18fd7ea87f7d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2710@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.580 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 out
<iq type='set' id='b8fc88f17a171e403b47b5fdb32238f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.581 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2710@domain.example.com/res1' id='b8fc88f17a171e403b47b5fdb32238f6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.582 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:13.583 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2710@domain.example.com/res1' to='alice_available_direct_then_unavailable_2710@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.584 ***🔗
bOb_available_direct_then_unavailable_2710@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-10 16:39:13.585 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5eb66d005ebb9b9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:13.585 ***🔗
bOb_available_direct_then_unavailable_2710@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-10 16:39:13.585 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjcxMABtYWtyb2xpa2E=</auth>



*** User 2024-04-10 16:39:13.586 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:13.586 ***🔗
bOb_available_direct_then_unavailable_2710@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-10 16:39:13.587 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dd8f73e0467def0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2710@domain.example.com'>

*** User 2024-04-10 16:39:13.587 ***🔗
bOb_available_direct_then_unavailable_2710@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-10 16:39:13.587 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 out
<iq type='set' id='78780b0f9e8868d304bcf8b96ae5559c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.587 ***🔗
bOb_available_direct_then_unavailable_2710@domain.example.com/res1 in
<iq id='78780b0f9e8868d304bcf8b96ae5559c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2710@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.588 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 out
<iq type='set' id='d07385d1299f53e846bf5d224bfc03b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.588 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2710@domain.example.com/res1' id='d07385d1299f53e846bf5d224bfc03b6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.589 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:13.591 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2710@domain.example.com/res1' to='bob_available_direct_then_unavailable_2710@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.591 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2710@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.591 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2710@domain.example.com/res1' to='bob_available_direct_then_unavailable_2710@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.591 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-04-10 16:39:13.593 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2710@domain.example.com/res1' to='bob_available_direct_then_unavailable_2710@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-10 16:39:13.593 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:13.594 ***🔗
bob_available_direct_then_unavailable_2710@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 16:39:13.594 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:13.595 ***🔗
alice_available_direct_then_unavailable_2710@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 16:39:13.603 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2291.html



=== Ended at 2024-04-10 16:39:13
=== successfully completed test case
=== === Returned value: ok