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

=== Config value:

    [{watchdog,<0.9327.2>},
     {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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/presence_suite.available_direct_then_unavailable.215298.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/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@cdcecdf9c9e0.2023-12-04_15.40.23"

=== Started at 2023-12-04 15:53:48


*** CT 2023-12-04 15:53:48.232 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4810.html

*** User 2023-12-04 15:53:48.265 ***🔗
alicE_available_direct_then_unavailable_2721@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-04 15:53:48.265 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df7e10867fc1ec31' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:53:48.266 ***🔗
alicE_available_direct_then_unavailable_2721@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-04 15:53:48.266 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzIxAG1hdHlncnlzYQ==</auth>



*** User 2023-12-04 15:53:48.266 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:53:48.266 ***🔗
alicE_available_direct_then_unavailable_2721@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-04 15:53:48.266 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec031c21f774b9c7' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2721@localhost'>

*** User 2023-12-04 15:53:48.267 ***🔗
alicE_available_direct_then_unavailable_2721@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-04 15:53:48.267 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 out
<iq type='set' id='a417c7f816c866a2ae07eda2a5da863d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:53:48.267 ***🔗
alicE_available_direct_then_unavailable_2721@localhost/res1 in
<iq id='a417c7f816c866a2ae07eda2a5da863d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2721@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:53:48.267 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 out
<iq type='set' id='16d587c65112bdf0c00aebfa47b8b69e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:48.268 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2721@localhost/res1' id='16d587c65112bdf0c00aebfa47b8b69e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:48.268 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 out
<presence/>



*** User 2023-12-04 15:53:48.268 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2721@localhost/res1' to='alice_available_direct_then_unavailable_2721@localhost/res1'/>



*** User 2023-12-04 15:53:48.270 ***🔗
bOb_available_direct_then_unavailable_2721@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-04 15:53:48.270 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70e0158ae42bbc1c' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:53:48.270 ***🔗
bOb_available_direct_then_unavailable_2721@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-04 15:53:48.270 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjcyMQBtYWtyb2xpa2E=</auth>



*** User 2023-12-04 15:53:48.271 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:53:48.271 ***🔗
bOb_available_direct_then_unavailable_2721@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-04 15:53:48.272 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e33b0d52c27a26e' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2721@localhost'>

*** User 2023-12-04 15:53:48.272 ***🔗
bOb_available_direct_then_unavailable_2721@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-04 15:53:48.272 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 out
<iq type='set' id='b62bec8c1bf28a657d962516e5b55307'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:53:48.272 ***🔗
bOb_available_direct_then_unavailable_2721@localhost/res1 in
<iq id='b62bec8c1bf28a657d962516e5b55307' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2721@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:53:48.272 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 out
<iq type='set' id='4d453b6a2eab440dcf06ee6f638e96e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:48.273 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2721@localhost/res1' id='4d453b6a2eab440dcf06ee6f638e96e8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:48.273 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 out
<presence/>



*** User 2023-12-04 15:53:48.274 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2721@localhost/res1' to='bob_available_direct_then_unavailable_2721@localhost/res1'/>



*** User 2023-12-04 15:53:48.274 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2721@localhost/res1'/>



*** User 2023-12-04 15:53:48.274 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2721@localhost/res1' to='bob_available_direct_then_unavailable_2721@localhost/res1'/>



*** User 2023-12-04 15:53:48.274 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 out
<presence type='unavailable'/>



*** User 2023-12-04 15:53:48.275 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2721@localhost/res1' to='bob_available_direct_then_unavailable_2721@localhost/res1' type='unavailable'/>



*** User 2023-12-04 15:53:48.275 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:53:48.275 ***🔗
bob_available_direct_then_unavailable_2721@localhost/res1 in
</stream:stream>

*** User 2023-12-04 15:53:48.276 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:53:48.276 ***🔗
alice_available_direct_then_unavailable_2721@localhost/res1 in
</stream:stream>
*** CT 2023-12-04 15:53:48.282 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4811.html



=== Ended at 2023-12-04 15:53:48
=== successfully completed test case
=== === Returned value: ok