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

=== Config value:

    [{watchdog,<0.68108.0>},
     {preset,"odbc_mssql_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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/presence_suite.available_direct_then_unavailable.135043.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:22:45


*** CT 2023-11-17 15:22:45.643 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2636.html

*** User 2023-11-17 15:22:45.661 ***🔗
alicE_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.661 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e54f43e5731e2be9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:45.661 ***🔗
alicE_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.662 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNTkyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:22:45.662 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:45.662 ***🔗
alicE_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.663 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='721ceb9f7c0b1ddd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2592@domain.example.com'>

*** User 2023-11-17 15:22:45.663 ***🔗
alicE_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.663 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 out
<iq type='set' id='34ec7eea5e84ea97d8bcccf4f9be9464'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:45.663 ***🔗
alicE_available_direct_then_unavailable_2592@domain.example.com/res1 in
<iq id='34ec7eea5e84ea97d8bcccf4f9be9464' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2592@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:45.663 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 out
<iq type='set' id='eadeec4d9640ab81cb9e25e44f5c9d1c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:45.664 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2592@domain.example.com/res1' id='eadeec4d9640ab81cb9e25e44f5c9d1c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:45.664 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:22:45.665 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2592@domain.example.com/res1' to='alice_available_direct_then_unavailable_2592@domain.example.com/res1'/>



*** User 2023-11-17 15:22:45.665 ***🔗
bOb_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.666 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1aa870fa2259897' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:45.666 ***🔗
bOb_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.666 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjU5MgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:22:45.667 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:45.667 ***🔗
bOb_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.667 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e7414638ac3fbed' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2592@domain.example.com'>

*** User 2023-11-17 15:22:45.667 ***🔗
bOb_available_direct_then_unavailable_2592@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 2023-11-17 15:22:45.667 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 out
<iq type='set' id='e23526be6fc3701e422ac24cf34e2a2d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:45.668 ***🔗
bOb_available_direct_then_unavailable_2592@domain.example.com/res1 in
<iq id='e23526be6fc3701e422ac24cf34e2a2d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2592@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:45.668 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 out
<iq type='set' id='7f99d3215b3606b7ebbb1fcedfccee35'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:45.668 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2592@domain.example.com/res1' id='7f99d3215b3606b7ebbb1fcedfccee35' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:45.668 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:22:45.669 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2592@domain.example.com/res1' to='bob_available_direct_then_unavailable_2592@domain.example.com/res1'/>



*** User 2023-11-17 15:22:45.669 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2592@domain.example.com/res1'/>



*** User 2023-11-17 15:22:45.669 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2592@domain.example.com/res1' to='bob_available_direct_then_unavailable_2592@domain.example.com/res1'/>



*** User 2023-11-17 15:22:45.669 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2023-11-17 15:22:45.670 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2592@domain.example.com/res1' to='bob_available_direct_then_unavailable_2592@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:22:45.670 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:45.670 ***🔗
bob_available_direct_then_unavailable_2592@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:22:45.670 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:45.670 ***🔗
alice_available_direct_then_unavailable_2592@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:45.674 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2636.html



=== Ended at 2023-11-17 15:22:45
=== successfully completed test case
=== === Returned value: ok