=== Test case: presence_SUITE:available_direct_then_disconnect/1 (click for source code)
=== Config value:
[{watchdog,<0.63708.0>},
{preset,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/presence_suite.available_direct_then_disconnect.109315.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/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@6b87bb397ec6.2024-04-16_10.12.53"
=== Started at 2024-04-16 10:27:57
*** User 2024-04-16 10:27:57.760 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:57.761 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78be1369214db8dd' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:27:57.761 ***🔗
alicE_available_direct_then_disconnect_2164@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 2024-04-16 10:27:57.761 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzIxNjQAbWF0eWdyeXNh</auth>
*** User 2024-04-16 10:27:57.763 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:27:57.763 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:57.763 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6087b0fa9edd302' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_2164@localhost'>
*** User 2024-04-16 10:27:57.764 ***🔗
alicE_available_direct_then_disconnect_2164@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 2024-04-16 10:27:57.764 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 out
<iq type='set' id='929a363b235ac6b8680d9e7bd79106f9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:27:57.764 ***🔗
alicE_available_direct_then_disconnect_2164@localhost/res1 in
<iq id='929a363b235ac6b8680d9e7bd79106f9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_available_direct_then_disconnect_2164@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:27:57.764 ***🔗
alice_available_direct_then_disconnect_2164@localhost/res1 out
<iq type='set' id='00cc1263bba48fdc1895441694341025'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:57.765 ***🔗
alice_available_direct_then_disconnect_2164@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_2164@localhost/res1' id='00cc1263bba48fdc1895441694341025' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:57.766 ***🔗
alice_available_direct_then_disconnect_2164@localhost/res1 out
<presence/>
*** User 2024-04-16 10:27:57.766 ***🔗
alice_available_direct_then_disconnect_2164@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2164@localhost/res1' to='alice_available_direct_then_disconnect_2164@localhost/res1'/>
*** User 2024-04-16 10:27:57.768 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:57.769 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c2238fddd83d89d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:27:57.769 ***🔗
bOb_available_direct_then_disconnect_2164@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 2024-04-16 10:27:57.769 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8yMTY0AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-16 10:27:57.770 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:27:57.770 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:57.770 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e680c0fd498d72d4' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_2164@localhost'>
*** User 2024-04-16 10:27:57.770 ***🔗
bOb_available_direct_then_disconnect_2164@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 2024-04-16 10:27:57.770 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 out
<iq type='set' id='8f7dac282fb9f7acde7a71f200126162'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:27:57.771 ***🔗
bOb_available_direct_then_disconnect_2164@localhost/res1 in
<iq id='8f7dac282fb9f7acde7a71f200126162' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_available_direct_then_disconnect_2164@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:27:57.771 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 out
<iq type='set' id='554a2946aab7983569d199f0548d44ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:57.772 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_2164@localhost/res1' id='554a2946aab7983569d199f0548d44ad' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:57.772 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 out
<presence/>
*** User 2024-04-16 10:27:57.773 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_2164@localhost/res1' to='bob_available_direct_then_disconnect_2164@localhost/res1'/>
*** User 2024-04-16 10:27:57.773 ***🔗
alice_available_direct_then_disconnect_2164@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_2164@localhost/res1'/>
*** User 2024-04-16 10:27:57.774 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2164@localhost/res1' to='bob_available_direct_then_disconnect_2164@localhost/res1'/>
*** User 2024-04-16 10:27:57.774 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_2164@localhost/res1' to='bob_available_direct_then_disconnect_2164@localhost/res1' type='unavailable'>
<status>Shutdown by reason: socket_closed</status>
</presence>
*** User 2024-04-16 10:27:57.775 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:27:57.775 ***🔗
bob_available_direct_then_disconnect_2164@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:27:57
=== successfully completed test case
=== === Returned value: ok