=== Test case: presence_SUITE:available_direct_then_disconnect/1 (click for source code)
=== Config value:
[{watchdog,<0.46439.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@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/presence_suite.available_direct_then_disconnect.55811.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@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/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@878f9f8c6d16.2024-03-11_11.25.16"
=== Started at 2024-03-11 11:38:20
*** User 2024-03-11 11:38:20.452 ***🔗
alicE_available_direct_then_disconnect_1572@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-03-11 11:38:20.452 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cfed0aa61fe117e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:38:20.452 ***🔗
alicE_available_direct_then_disconnect_1572@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-03-11 11:38:20.452 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzE1NzIAbWF0eWdyeXNh</auth>
*** User 2024-03-11 11:38:20.453 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:38:20.453 ***🔗
alicE_available_direct_then_disconnect_1572@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-03-11 11:38:20.454 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8085a560681fe01b' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_disconnect_1572@localhost'>
*** User 2024-03-11 11:38:20.454 ***🔗
alicE_available_direct_then_disconnect_1572@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-03-11 11:38:20.454 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 out
<iq type='set' id='961aa144fccf46bd76e4de2ffcd02067'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:38:20.455 ***🔗
alicE_available_direct_then_disconnect_1572@localhost/res1 in
<iq id='961aa144fccf46bd76e4de2ffcd02067' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_available_direct_then_disconnect_1572@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:38:20.455 ***🔗
alice_available_direct_then_disconnect_1572@localhost/res1 out
<iq type='set' id='50b9b8bfe31d66dce74a39a120585d25'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:20.455 ***🔗
alice_available_direct_then_disconnect_1572@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_disconnect_1572@localhost/res1' id='50b9b8bfe31d66dce74a39a120585d25' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:20.455 ***🔗
alice_available_direct_then_disconnect_1572@localhost/res1 out
<presence/>
*** User 2024-03-11 11:38:20.456 ***🔗
alice_available_direct_then_disconnect_1572@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1572@localhost/res1' to='alice_available_direct_then_disconnect_1572@localhost/res1'/>
*** User 2024-03-11 11:38:20.457 ***🔗
bOb_available_direct_then_disconnect_1572@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-03-11 11:38:20.457 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c4614a881fe8783' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:38:20.457 ***🔗
bOb_available_direct_then_disconnect_1572@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-03-11 11:38:20.457 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xNTcyAG1ha3JvbGlrYQ==</auth>
*** User 2024-03-11 11:38:20.458 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:38:20.458 ***🔗
bOb_available_direct_then_disconnect_1572@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-03-11 11:38:20.458 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='839dd5bc203e98f4' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_disconnect_1572@localhost'>
*** User 2024-03-11 11:38:20.458 ***🔗
bOb_available_direct_then_disconnect_1572@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-03-11 11:38:20.458 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 out
<iq type='set' id='c025680d65c3f876da83689ed135c70f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:38:20.459 ***🔗
bOb_available_direct_then_disconnect_1572@localhost/res1 in
<iq id='c025680d65c3f876da83689ed135c70f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_available_direct_then_disconnect_1572@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:38:20.459 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 out
<iq type='set' id='964e613495160b763c14499db58cec2e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:20.459 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_disconnect_1572@localhost/res1' id='964e613495160b763c14499db58cec2e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:20.460 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 out
<presence/>
*** User 2024-03-11 11:38:20.460 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 in
<presence from='bob_available_direct_then_disconnect_1572@localhost/res1' to='bob_available_direct_then_disconnect_1572@localhost/res1'/>
*** User 2024-03-11 11:38:20.460 ***🔗
alice_available_direct_then_disconnect_1572@localhost/res1 out
<presence to='bob_available_direct_then_disconnect_1572@localhost/res1'/>
*** User 2024-03-11 11:38:20.461 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1572@localhost/res1' to='bob_available_direct_then_disconnect_1572@localhost/res1'/>
*** User 2024-03-11 11:38:20.461 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 in
<presence from='alice_available_direct_then_disconnect_1572@localhost/res1' to='bob_available_direct_then_disconnect_1572@localhost/res1' type='unavailable'>
<status>Shutdown by reason: socket_closed</status>
</presence>
*** User 2024-03-11 11:38:20.462 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:38:20.462 ***🔗
bob_available_direct_then_disconnect_1572@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:38:20
=== successfully completed test case
=== === Returned value: ok