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

=== Config value:

    [{watchdog,<0.79483.0>},
     {preset,"pgsql_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@0bedb54988af.2024-04-17_15.41.47/big_tests.tests.presence_SUITE.logs/run.2024-04-17_15.56.02/presence_suite.available_direct_then_unavailable.232578.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@0bedb54988af.2024-04-17_15.41.47/big_tests.tests.presence_SUITE.logs/run.2024-04-17_15.56.02/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@0bedb54988af.2024-04-17_15.41.47"

=== Started at 2024-04-17 15:56:03


*** CT 2024-04-17 15:56:03.159 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5564.html

*** User 2024-04-17 15:56:03.191 ***🔗
alicE_available_direct_then_unavailable_2983@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-17 15:56:03.191 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ee8e03f28a3b9b2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 15:56:03.192 ***🔗
alicE_available_direct_then_unavailable_2983@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-17 15:56:03.192 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yOTgzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-17 15:56:03.193 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 15:56:03.193 ***🔗
alicE_available_direct_then_unavailable_2983@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-17 15:56:03.193 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a730fa6b1fa344c1' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2983@localhost'>

*** User 2024-04-17 15:56:03.193 ***🔗
alicE_available_direct_then_unavailable_2983@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-17 15:56:03.193 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 out
<iq type='set' id='27af8c0cc81d7d1a9705cfdd2b383533'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 15:56:03.194 ***🔗
alicE_available_direct_then_unavailable_2983@localhost/res1 in
<iq id='27af8c0cc81d7d1a9705cfdd2b383533' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2983@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 15:56:03.194 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 out
<iq type='set' id='1c8834ec87763866f088a63a5f3ec5ba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:03.195 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2983@localhost/res1' id='1c8834ec87763866f088a63a5f3ec5ba' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:03.195 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 out
<presence/>



*** User 2024-04-17 15:56:03.197 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2983@localhost/res1' to='alice_available_direct_then_unavailable_2983@localhost/res1'/>



*** User 2024-04-17 15:56:03.198 ***🔗
bOb_available_direct_then_unavailable_2983@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-17 15:56:03.198 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb5c7de99725dfd2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 15:56:03.198 ***🔗
bOb_available_direct_then_unavailable_2983@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-17 15:56:03.198 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjk4MwBtYWtyb2xpa2E=</auth>



*** User 2024-04-17 15:56:03.199 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 15:56:03.199 ***🔗
bOb_available_direct_then_unavailable_2983@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-17 15:56:03.200 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c9d219f558a27cf' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2983@localhost'>

*** User 2024-04-17 15:56:03.200 ***🔗
bOb_available_direct_then_unavailable_2983@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-17 15:56:03.200 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 out
<iq type='set' id='3f9ab14c7fb19e7bb481d5e0b79bb271'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 15:56:03.200 ***🔗
bOb_available_direct_then_unavailable_2983@localhost/res1 in
<iq id='3f9ab14c7fb19e7bb481d5e0b79bb271' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2983@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 15:56:03.200 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 out
<iq type='set' id='ba9910242c2db5d5c07da286de3501b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:03.201 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2983@localhost/res1' id='ba9910242c2db5d5c07da286de3501b3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:03.201 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 out
<presence/>



*** User 2024-04-17 15:56:03.202 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2983@localhost/res1' to='bob_available_direct_then_unavailable_2983@localhost/res1'/>



*** User 2024-04-17 15:56:03.202 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2983@localhost/res1'/>



*** User 2024-04-17 15:56:03.203 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2983@localhost/res1' to='bob_available_direct_then_unavailable_2983@localhost/res1'/>



*** User 2024-04-17 15:56:03.203 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-17 15:56:03.204 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2983@localhost/res1' to='bob_available_direct_then_unavailable_2983@localhost/res1' type='unavailable'/>



*** User 2024-04-17 15:56:03.204 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 out
</stream:stream>

*** User 2024-04-17 15:56:03.204 ***🔗
bob_available_direct_then_unavailable_2983@localhost/res1 in
</stream:stream>

*** User 2024-04-17 15:56:03.205 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 out
</stream:stream>

*** User 2024-04-17 15:56:03.205 ***🔗
alice_available_direct_then_unavailable_2983@localhost/res1 in
</stream:stream>
*** CT 2024-04-17 15:56:03.212 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5564.html



=== Ended at 2024-04-17 15:56:03
=== successfully completed test case
=== === Returned value: ok