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

=== Config value:

    [{watchdog,<0.30416.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/presence_suite.available_direct_then_unavailable.134274.html"},
     {tc_group_properties,[{name,presence},{repeat_until_all_ok,3},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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:13:01


*** CT 2022-05-25 09:13:01.727 *** View log from node mongooseim@localhost when started mongooseim@localhost_2327.html
*** CT 2022-05-25 09:13:01.728 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_520.html

*** User 2022-05-25 09:13:01.742 ***
alicE_available_direct_then_unavailable_1968@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 2022-05-25 09:13:01.743 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9a1db9d1155bdeb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.743 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:13:01.743 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8xOTY4AG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:13:01.744 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:01.744 ***
alicE_available_direct_then_unavailable_1968@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 2022-05-25 09:13:01.744 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2322dfcc0cac734' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.744 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:13:01.745 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 out
<iq type='set' id='e52c7e2427cb2ad0a29dcd90ea969cb5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.745 ***
alicE_available_direct_then_unavailable_1968@domain.example.com/res1 in
<iq id='e52c7e2427cb2ad0a29dcd90ea969cb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_1968@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.745 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 out
<iq type='set' id='cd6f9a94a48ac21a461fe8a4aa285520'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.745 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 in
<iq type='result' id='cd6f9a94a48ac21a461fe8a4aa285520'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.746 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:01.747 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_1968@domain.example.com/res1' to='alice_available_direct_then_unavailable_1968@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.748 ***
bOb_available_direct_then_unavailable_1968@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 2022-05-25 09:13:01.748 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='257668680811cb7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.749 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:13:01.749 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMTk2OABtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:13:01.750 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:01.750 ***
bOb_available_direct_then_unavailable_1968@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 2022-05-25 09:13:01.750 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e74bece2b2d5530' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.751 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:13:01.751 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 out
<iq type='set' id='85ab0d008f0e93730e392e0dc8ab276a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.752 ***
bOb_available_direct_then_unavailable_1968@domain.example.com/res1 in
<iq id='85ab0d008f0e93730e392e0dc8ab276a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_1968@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.752 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 out
<iq type='set' id='bb58d49ed7df1b93641df7c5075ac70d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.752 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 in
<iq type='result' id='bb58d49ed7df1b93641df7c5075ac70d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.752 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:01.754 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_1968@domain.example.com/res1' to='bob_available_direct_then_unavailable_1968@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.754 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_1968@domain.example.com/res1'/>



*** User 2022-05-25 09:13:01.755 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_1968@domain.example.com/res1' to='bob_available_direct_then_unavailable_1968@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.755 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2022-05-25 09:13:01.755 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_1968@domain.example.com/res1' to='bob_available_direct_then_unavailable_1968@domain.example.com/res1' xml:lang='en' type='unavailable'/>



*** User 2022-05-25 09:13:01.755 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:01.756 ***
bob_available_direct_then_unavailable_1968@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:01.756 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:01.756 ***
alice_available_direct_then_unavailable_1968@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:13:01.760 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_520.html
*** CT 2022-05-25 09:13:01.761 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2328.html



=== Ended at 2022-05-25 09:13:01
=== successfully completed test case
=== === Returned value: ok