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

=== Config value:

    [{watchdog,<0.23107.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/presence_suite.available_direct_then_disconnect.133762.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:14:44


*** CT 2022-02-02 15:14:44.115 *** View log from node mongooseim@localhost when started mongooseim@localhost_2315.html
*** CT 2022-02-02 15:14:44.115 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_628.html

*** User 2022-02-02 15:14:44.127 ***
alicE_available_direct_then_disconnect_1551@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-02-02 15:14:44.127 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11f01b21ab65717e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.128 ***
alicE_available_direct_then_disconnect_1551@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-02-02 15:14:44.128 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzE1NTEAbWF0eWdyeXNh</auth>



*** User 2022-02-02 15:14:44.128 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:44.129 ***
alicE_available_direct_then_disconnect_1551@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-02-02 15:14:44.129 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1aa1f0c2b4545fd7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.129 ***
alicE_available_direct_then_disconnect_1551@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-02-02 15:14:44.129 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 out
<iq type='set' id='b70fa2b496c87e3cfeb6c1ee02c48653'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.129 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<iq id='b70fa2b496c87e3cfeb6c1ee02c48653' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_disconnect_1551@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.130 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 out
<iq type='set' id='e5f5a5d1f9443feb335e9be42c322f01'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.130 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<iq type='result' id='e5f5a5d1f9443feb335e9be42c322f01'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.130 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.131 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1551@domain.example.com/res1' to='alice_available_direct_then_disconnect_1551@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.132 ***
bOb_available_direct_then_disconnect_1551@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-02-02 15:14:44.133 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7f16b0f20d98c1b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.133 ***
bOb_available_direct_then_disconnect_1551@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-02-02 15:14:44.133 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xNTUxAG1ha3JvbGlrYQ==</auth>



*** User 2022-02-02 15:14:44.133 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:44.134 ***
bOb_available_direct_then_disconnect_1551@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-02-02 15:14:44.134 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbbdf65841f7c4f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.134 ***
bOb_available_direct_then_disconnect_1551@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-02-02 15:14:44.134 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 out
<iq type='set' id='32075e108319b8f80f6078201940233c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.134 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<iq id='32075e108319b8f80f6078201940233c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_disconnect_1551@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.135 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 out
<iq type='set' id='1c144c26a1b534d03fc985b5c304c381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.135 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<iq type='result' id='1c144c26a1b534d03fc985b5c304c381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.135 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.136 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<presence from='bOb_available_direct_then_disconnect_1551@domain.example.com/res1' to='bob_available_direct_then_disconnect_1551@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.136 ***
alicE_available_direct_then_disconnect_1551@domain.example.com/res1 out
<presence to='bOb_available_direct_then_disconnect_1551@domain.example.com/res1'/>



*** User 2022-02-02 15:14:44.137 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1551@domain.example.com/res1' to='bOb_available_direct_then_disconnect_1551@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.137 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1551@domain.example.com/res1' to='bob_available_direct_then_disconnect_1551@domain.example.com/res1' type='unavailable'/>



*** User 2022-02-02 15:14:44.138 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:44.138 ***
bOb_available_direct_then_disconnect_1551@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:14:44.146 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_628.html
*** CT 2022-02-02 15:14:44.147 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2315.html



=== Ended at 2022-02-02 15:14:44
=== successfully completed test case
=== === Returned value: ok