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

=== Config value:

    [{watchdog,<0.5990.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@2a586b8bbe7d.2024-03-12_08.04.35/big_tests.tests.presence_SUITE.logs/run.2024-03-12_08.16.47/presence_suite.available_direct_then_unavailable.139523.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@2a586b8bbe7d.2024-03-12_08.04.35/big_tests.tests.presence_SUITE.logs/run.2024-03-12_08.16.47/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@2a586b8bbe7d.2024-03-12_08.04.35"

=== Started at 2024-03-12 08:16:47


*** CT 2024-03-12 08:16:47.891 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2534.html

*** User 2024-03-12 08:16:47.905 ***🔗
alicE_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.906 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc3beca30faa1e19' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-12 08:16:47.906 ***🔗
alicE_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.906 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yOTQ3AG1hdHlncnlzYQ==</auth>



*** User 2024-03-12 08:16:47.907 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-12 08:16:47.907 ***🔗
alicE_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.911 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='afc54cdce6e2fd0f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2947@domain.example.com'>

*** User 2024-03-12 08:16:47.911 ***🔗
alicE_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.911 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 out
<iq type='set' id='c0b9761a21d42e799156731c7b08c2d1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-12 08:16:47.911 ***🔗
alicE_available_direct_then_unavailable_2947@domain.example.com/res1 in
<iq id='c0b9761a21d42e799156731c7b08c2d1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2947@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-12 08:16:47.912 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 out
<iq type='set' id='0fa3f0095a81294908b4ac459591f2f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 08:16:47.912 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2947@domain.example.com/res1' id='0fa3f0095a81294908b4ac459591f2f4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 08:16:47.912 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 out
<presence/>



*** User 2024-03-12 08:16:47.913 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2947@domain.example.com/res1' to='alice_available_direct_then_unavailable_2947@domain.example.com/res1'/>



*** User 2024-03-12 08:16:47.914 ***🔗
bOb_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.914 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72aded24305cd936' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-12 08:16:47.914 ***🔗
bOb_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.915 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjk0NwBtYWtyb2xpa2E=</auth>



*** User 2024-03-12 08:16:47.916 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-12 08:16:47.916 ***🔗
bOb_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.917 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1cb07464032a0659' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2947@domain.example.com'>

*** User 2024-03-12 08:16:47.917 ***🔗
bOb_available_direct_then_unavailable_2947@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 2024-03-12 08:16:47.917 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 out
<iq type='set' id='87133a988e2bea44df877141422ca742'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-12 08:16:47.918 ***🔗
bOb_available_direct_then_unavailable_2947@domain.example.com/res1 in
<iq id='87133a988e2bea44df877141422ca742' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2947@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-12 08:16:47.918 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 out
<iq type='set' id='c68044a286da0e3f49eb63e72c025c29'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 08:16:47.918 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2947@domain.example.com/res1' id='c68044a286da0e3f49eb63e72c025c29' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 08:16:47.918 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 out
<presence/>



*** User 2024-03-12 08:16:47.919 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2947@domain.example.com/res1' to='bob_available_direct_then_unavailable_2947@domain.example.com/res1'/>



*** User 2024-03-12 08:16:47.919 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2947@domain.example.com/res1'/>



*** User 2024-03-12 08:16:47.920 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2947@domain.example.com/res1' to='bob_available_direct_then_unavailable_2947@domain.example.com/res1'/>



*** User 2024-03-12 08:16:47.920 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-03-12 08:16:47.920 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2947@domain.example.com/res1' to='bob_available_direct_then_unavailable_2947@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-12 08:16:47.921 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-12 08:16:47.921 ***🔗
bob_available_direct_then_unavailable_2947@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-12 08:16:47.921 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-12 08:16:47.922 ***🔗
alice_available_direct_then_unavailable_2947@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-12 08:16:47.929 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2535.html



=== Ended at 2024-03-12 08:16:47
=== successfully completed test case
=== === Returned value: ok