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

=== Config value:

    [{watchdog,<0.74461.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.56/presence_suite.available_direct_then_unavailable.150019.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.56/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e84896a28784.2023-12-20_12.31.47"

=== Started at 2023-12-20 12:46:56


*** CT 2023-12-20 12:46:56.577 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4766.html

*** User 2023-12-20 12:46:56.599 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:56.599 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c774a62c10e0419' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:56.599 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/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-12-20 12:46:56.599 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzIwAG1hdHlncnlzYQ==</auth>



*** User 2023-12-20 12:46:56.600 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:56.600 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:56.600 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f29d7dd23c947ed6' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2720@localhost'>

*** User 2023-12-20 12:46:56.601 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/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-12-20 12:46:56.601 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 out
<iq type='set' id='2633089662d7f8ee2aa254fa3bf29868'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:56.601 ***🔗
alicE_available_direct_then_unavailable_2720@localhost/res1 in
<iq id='2633089662d7f8ee2aa254fa3bf29868' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2720@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:56.601 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 out
<iq type='set' id='8d54fe29cbcdd12c235c5e291642ac09'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:56.602 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2720@localhost/res1' id='8d54fe29cbcdd12c235c5e291642ac09' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:56.602 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:56.603 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2720@localhost/res1' to='alice_available_direct_then_unavailable_2720@localhost/res1'/>



*** User 2023-12-20 12:46:56.603 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:56.603 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0deaf9d70992300c' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:56.604 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/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-12-20 12:46:56.604 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjcyMABtYWtyb2xpa2E=</auth>



*** User 2023-12-20 12:46:56.604 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:56.604 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:56.605 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b48f10962613e2ba' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2720@localhost'>

*** User 2023-12-20 12:46:56.605 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/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-12-20 12:46:56.605 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 out
<iq type='set' id='82611dbc9c70dd0661037876ac9c6ec6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:56.605 ***🔗
bOb_available_direct_then_unavailable_2720@localhost/res1 in
<iq id='82611dbc9c70dd0661037876ac9c6ec6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2720@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:56.605 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 out
<iq type='set' id='8d87abbec2507d7c006747d477d563f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:56.605 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2720@localhost/res1' id='8d87abbec2507d7c006747d477d563f2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:56.606 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:56.606 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2720@localhost/res1' to='bob_available_direct_then_unavailable_2720@localhost/res1'/>



*** User 2023-12-20 12:46:56.607 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2720@localhost/res1'/>



*** User 2023-12-20 12:46:56.607 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2720@localhost/res1' to='bob_available_direct_then_unavailable_2720@localhost/res1'/>



*** User 2023-12-20 12:46:56.607 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 out
<presence type='unavailable'/>



*** User 2023-12-20 12:46:56.607 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2720@localhost/res1' to='bob_available_direct_then_unavailable_2720@localhost/res1' type='unavailable'/>



*** User 2023-12-20 12:46:56.607 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:56.608 ***🔗
bob_available_direct_then_unavailable_2720@localhost/res1 in
</stream:stream>

*** User 2023-12-20 12:46:56.608 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:56.608 ***🔗
alice_available_direct_then_unavailable_2720@localhost/res1 in
</stream:stream>
*** CT 2023-12-20 12:46:56.611 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4766.html



=== Ended at 2023-12-20 12:46:56
=== successfully completed test case
=== === Returned value: ok