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

=== Config value:

    [{watchdog,<0.71523.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/presence_suite.available_direct_then_disconnect.113028.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/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@8a480c91a890.2024-04-12_13.25.32"

=== Started at 2024-04-12 13:37:29


*** CT 2024-04-12 13:37:29.596 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2286.html

*** User 2024-04-12 13:37:29.613 ***🔗
alicE_available_direct_then_disconnect_2711@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-04-12 13:37:29.614 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf4c2ab26deb93d0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:29.614 ***🔗
alicE_available_direct_then_disconnect_2711@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-04-12 13:37:29.614 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzI3MTEAbWF0eWdyeXNh</auth>



*** User 2024-04-12 13:37:29.615 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:29.616 ***🔗
alicE_available_direct_then_disconnect_2711@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-04-12 13:37:29.616 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac42c5f9611c9953' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2711@domain.example.com'>

*** User 2024-04-12 13:37:29.616 ***🔗
alicE_available_direct_then_disconnect_2711@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-04-12 13:37:29.616 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 out
<iq type='set' id='8f811d2922eb054a141377a017291287'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.617 ***🔗
alicE_available_direct_then_disconnect_2711@domain.example.com/res1 in
<iq id='8f811d2922eb054a141377a017291287' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_disconnect_2711@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.617 ***🔗
alice_available_direct_then_disconnect_2711@domain.example.com/res1 out
<iq type='set' id='36f9dcb258795317ff4593a633edcb97'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.618 ***🔗
alice_available_direct_then_disconnect_2711@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_disconnect_2711@domain.example.com/res1' id='36f9dcb258795317ff4593a633edcb97' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.619 ***🔗
alice_available_direct_then_disconnect_2711@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:29.621 ***🔗
alice_available_direct_then_disconnect_2711@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2711@domain.example.com/res1' to='alice_available_direct_then_disconnect_2711@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.622 ***🔗
bOb_available_direct_then_disconnect_2711@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-04-12 13:37:29.623 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b815e5e7bacf392' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:29.623 ***🔗
bOb_available_direct_then_disconnect_2711@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-04-12 13:37:29.623 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yNzExAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-12 13:37:29.625 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:29.625 ***🔗
bOb_available_direct_then_disconnect_2711@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-04-12 13:37:29.625 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b68be13d3e11100e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2711@domain.example.com'>

*** User 2024-04-12 13:37:29.625 ***🔗
bOb_available_direct_then_disconnect_2711@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-04-12 13:37:29.625 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 out
<iq type='set' id='7509b595ac9418607d6607f327311c81'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.626 ***🔗
bOb_available_direct_then_disconnect_2711@domain.example.com/res1 in
<iq id='7509b595ac9418607d6607f327311c81' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_disconnect_2711@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:29.626 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 out
<iq type='set' id='b09b3c0d3664e992e63299d58fdec9ea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.627 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_disconnect_2711@domain.example.com/res1' id='b09b3c0d3664e992e63299d58fdec9ea' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:29.627 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:29.629 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 in
<presence from='bob_available_direct_then_disconnect_2711@domain.example.com/res1' to='bob_available_direct_then_disconnect_2711@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.629 ***🔗
alice_available_direct_then_disconnect_2711@domain.example.com/res1 out
<presence to='bob_available_direct_then_disconnect_2711@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.630 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2711@domain.example.com/res1' to='bob_available_direct_then_disconnect_2711@domain.example.com/res1'/>



*** User 2024-04-12 13:37:29.631 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 in
<presence from='alice_available_direct_then_disconnect_2711@domain.example.com/res1' to='bob_available_direct_then_disconnect_2711@domain.example.com/res1' type='unavailable'>
	<status>Shutdown by reason: socket_closed</status>
</presence>



*** User 2024-04-12 13:37:29.632 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:37:29.632 ***🔗
bob_available_direct_then_disconnect_2711@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-12 13:37:29.638 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2287.html



=== Ended at 2024-04-12 13:37:29
=== successfully completed test case
=== === Returned value: ok