=== Test case: presence_SUITE:available_direct_then_unavailable/1 (click for source code)
=== Config value:
[{watchdog,<0.74689.0>},
{preset,"pgsql_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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/presence_suite.available_direct_then_unavailable.155523.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/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@079a843f8d8b.2023-11-16_09.33.39"
=== Started at 2023-11-16 09:47:29
*** User 2023-11-16 09:47:29.318 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:29.319 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53daf9e7dd5e2c7f' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:29.319 ***🔗
alicE_available_direct_then_unavailable_2742@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 2023-11-16 09:47:29.319 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzQyAG1hdHlncnlzYQ==</auth>
*** User 2023-11-16 09:47:29.320 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:29.320 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:29.321 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3ed3fe23d8ea47b' from='localhost' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2742@localhost'>
*** User 2023-11-16 09:47:29.321 ***🔗
alicE_available_direct_then_unavailable_2742@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 2023-11-16 09:47:29.321 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 out
<iq type='set' id='874a0563752d248b4f2fc3b87b3452c0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:29.322 ***🔗
alicE_available_direct_then_unavailable_2742@localhost/res1 in
<iq id='874a0563752d248b4f2fc3b87b3452c0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_available_direct_then_unavailable_2742@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:29.322 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 out
<iq type='set' id='ae49c36062e3807509e2791089d5a107'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:29.322 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 in
<iq from='localhost' to='alice_available_direct_then_unavailable_2742@localhost/res1' id='ae49c36062e3807509e2791089d5a107' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:29.323 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:29.323 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2742@localhost/res1' to='alice_available_direct_then_unavailable_2742@localhost/res1'/>
*** User 2023-11-16 09:47:29.325 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:29.326 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b22b65c56fb5501' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:29.326 ***🔗
bOb_available_direct_then_unavailable_2742@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 2023-11-16 09:47:29.326 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjc0MgBtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:47:29.327 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:29.327 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:29.327 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6721dae644e98370' from='localhost' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2742@localhost'>
*** User 2023-11-16 09:47:29.328 ***🔗
bOb_available_direct_then_unavailable_2742@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 2023-11-16 09:47:29.328 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 out
<iq type='set' id='db743ff47d8c81f84507e2825634002b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:29.328 ***🔗
bOb_available_direct_then_unavailable_2742@localhost/res1 in
<iq id='db743ff47d8c81f84507e2825634002b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_available_direct_then_unavailable_2742@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:29.328 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 out
<iq type='set' id='c7005a27f435f4d275fc0c2f30ee1b30'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:29.329 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 in
<iq from='localhost' to='bob_available_direct_then_unavailable_2742@localhost/res1' id='c7005a27f435f4d275fc0c2f30ee1b30' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:29.329 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:29.330 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 in
<presence from='bob_available_direct_then_unavailable_2742@localhost/res1' to='bob_available_direct_then_unavailable_2742@localhost/res1'/>
*** User 2023-11-16 09:47:29.331 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 out
<presence to='bob_available_direct_then_unavailable_2742@localhost/res1'/>
*** User 2023-11-16 09:47:29.331 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2742@localhost/res1' to='bob_available_direct_then_unavailable_2742@localhost/res1'/>
*** User 2023-11-16 09:47:29.331 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 out
<presence type='unavailable'/>
*** User 2023-11-16 09:47:29.332 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 in
<presence from='alice_available_direct_then_unavailable_2742@localhost/res1' to='bob_available_direct_then_unavailable_2742@localhost/res1' type='unavailable'/>
*** User 2023-11-16 09:47:29.332 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:29.332 ***🔗
bob_available_direct_then_unavailable_2742@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:47:29.332 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:29.333 ***🔗
alice_available_direct_then_unavailable_2742@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:47:29
=== successfully completed test case
=== === Returned value: ok