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

=== Config value:

    [{watchdog,<0.78217.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@a91c848225da.2024-04-24_13.09.45/big_tests.tests.presence_SUITE.logs/run.2024-04-24_13.23.39/presence_suite.available_direct_then_unavailable.199298.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@a91c848225da.2024-04-24_13.09.45/big_tests.tests.presence_SUITE.logs/run.2024-04-24_13.23.39/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@a91c848225da.2024-04-24_13.09.45"

=== Started at 2024-04-24 13:23:39


*** CT 2024-04-24 13:23:39.171 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4563.html

*** User 2024-04-24 13:23:39.199 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:23:39.200 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cfb249ad0d6cf858' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:39.200 ***🔗
alicE_available_direct_then_unavailable_2882@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 2024-04-24 13:23:39.200 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yODgyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:23:39.201 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:39.201 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:23:39.202 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58d61345b79cef86' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2882@localhost'>

*** User 2024-04-24 13:23:39.202 ***🔗
alicE_available_direct_then_unavailable_2882@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 2024-04-24 13:23:39.202 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 out
<iq type='set' id='2699c3b4897adc5157925cf423a8ef3d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:39.202 ***🔗
alicE_available_direct_then_unavailable_2882@localhost/res1 in
<iq id='2699c3b4897adc5157925cf423a8ef3d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2882@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:39.202 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 out
<iq type='set' id='641c5df974e4936126f7fa3946e6a88c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:39.203 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2882@localhost/res1' id='641c5df974e4936126f7fa3946e6a88c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:39.204 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:39.205 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2882@localhost/res1' to='alice_available_direct_then_unavailable_2882@localhost/res1'/>



*** User 2024-04-24 13:23:39.206 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:23:39.206 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cfde85108e654c6d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:39.206 ***🔗
bOb_available_direct_then_unavailable_2882@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 2024-04-24 13:23:39.206 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjg4MgBtYWtyb2xpa2E=</auth>



*** User 2024-04-24 13:23:39.207 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:39.207 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:23:39.208 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71957d9d6e004594' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2882@localhost'>

*** User 2024-04-24 13:23:39.208 ***🔗
bOb_available_direct_then_unavailable_2882@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 2024-04-24 13:23:39.208 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 out
<iq type='set' id='e4ad9285956180afc5e6cc5e8838612a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:39.208 ***🔗
bOb_available_direct_then_unavailable_2882@localhost/res1 in
<iq id='e4ad9285956180afc5e6cc5e8838612a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2882@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:39.208 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 out
<iq type='set' id='3e9801348d6c6063e2c8e18469f985c8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:39.208 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2882@localhost/res1' id='3e9801348d6c6063e2c8e18469f985c8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:39.209 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:39.210 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2882@localhost/res1' to='bob_available_direct_then_unavailable_2882@localhost/res1'/>



*** User 2024-04-24 13:23:39.210 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2882@localhost/res1'/>



*** User 2024-04-24 13:23:39.211 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2882@localhost/res1' to='bob_available_direct_then_unavailable_2882@localhost/res1'/>



*** User 2024-04-24 13:23:39.211 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-24 13:23:39.212 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2882@localhost/res1' to='bob_available_direct_then_unavailable_2882@localhost/res1' type='unavailable'/>



*** User 2024-04-24 13:23:39.212 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:39.212 ***🔗
bob_available_direct_then_unavailable_2882@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:23:39.212 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:39.213 ***🔗
alice_available_direct_then_unavailable_2882@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:23:39.217 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4564.html



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