=== Test case: presence_SUITE:available_direct_then_unavailable/1 (click for source code)
=== Config value:
[{watchdog,<0.7401.2>},
{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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/presence_suite.available_direct_then_unavailable.157187.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/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@893c79bb0538.2024-03-20_18.07.18"
=== Started at 2024-03-20 18:21:09
*** User 2024-03-20 18:21:09.321 ***🔗
alicE_available_direct_then_unavailable_2898@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-03-20 18:21:09.321 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17ed04f1b6b691e0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:09.321 ***🔗
alicE_available_direct_then_unavailable_2898@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-03-20 18:21:09.322 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yODk4AG1hdHlncnlzYQ==</auth>
*** User 2024-03-20 18:21:09.323 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:09.323 ***🔗
alicE_available_direct_then_unavailable_2898@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-03-20 18:21:09.329 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b824527d6dd2cded' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2898@domain.example.com'>
*** User 2024-03-20 18:21:09.329 ***🔗
alicE_available_direct_then_unavailable_2898@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-03-20 18:21:09.329 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 out
<iq type='set' id='ab21cf08d14328778ea414abbc5c9206'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:09.330 ***🔗
alicE_available_direct_then_unavailable_2898@domain.example.com/res1 in
<iq id='ab21cf08d14328778ea414abbc5c9206' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_available_direct_then_unavailable_2898@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:09.330 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 out
<iq type='set' id='c6393128d8824b064a3867e0ce2f3773'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:09.331 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2898@domain.example.com/res1' id='c6393128d8824b064a3867e0ce2f3773' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:09.331 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:09.332 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2898@domain.example.com/res1' to='alice_available_direct_then_unavailable_2898@domain.example.com/res1'/>
*** User 2024-03-20 18:21:09.333 ***🔗
bOb_available_direct_then_unavailable_2898@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-03-20 18:21:09.333 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95d17cbd55b64ccb' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:09.334 ***🔗
bOb_available_direct_then_unavailable_2898@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-03-20 18:21:09.335 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjg5OABtYWtyb2xpa2E=</auth>
*** User 2024-03-20 18:21:09.336 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:09.336 ***🔗
bOb_available_direct_then_unavailable_2898@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-03-20 18:21:09.336 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbd3d153d666454c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2898@domain.example.com'>
*** User 2024-03-20 18:21:09.336 ***🔗
bOb_available_direct_then_unavailable_2898@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-03-20 18:21:09.336 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 out
<iq type='set' id='b213be1820319743c489af279f892447'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:09.337 ***🔗
bOb_available_direct_then_unavailable_2898@domain.example.com/res1 in
<iq id='b213be1820319743c489af279f892447' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_available_direct_then_unavailable_2898@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:09.337 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 out
<iq type='set' id='b0a93eb908d3d69b513465674ffc6eb6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:09.338 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2898@domain.example.com/res1' id='b0a93eb908d3d69b513465674ffc6eb6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:09.339 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:09.340 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2898@domain.example.com/res1' to='bob_available_direct_then_unavailable_2898@domain.example.com/res1'/>
*** User 2024-03-20 18:21:09.340 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2898@domain.example.com/res1'/>
*** User 2024-03-20 18:21:09.340 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2898@domain.example.com/res1' to='bob_available_direct_then_unavailable_2898@domain.example.com/res1'/>
*** User 2024-03-20 18:21:09.340 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 out
<presence type='unavailable'/>
*** User 2024-03-20 18:21:09.341 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2898@domain.example.com/res1' to='bob_available_direct_then_unavailable_2898@domain.example.com/res1' type='unavailable'/>
*** User 2024-03-20 18:21:09.341 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:09.341 ***🔗
bob_available_direct_then_unavailable_2898@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-20 18:21:09.341 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:09.342 ***🔗
alice_available_direct_then_unavailable_2898@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-20 18:21:09
=== successfully completed test case
=== === Returned value: ok