=== Test case: presence_SUITE:available_direct_then_unavailable/1 (click for source code)
=== Config value:
[{watchdog,<0.3130.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/presence_suite.available_direct_then_unavailable.204290.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/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@a557e8d70b1c.2023-11-17_15.09.37"
=== Started at 2023-11-17 15:21:35
*** User 2023-11-17 15:21:35.619 ***🔗
alicE_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.620 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2abab5f236ee9a0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:21:35.620 ***🔗
alicE_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.620 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNjQ5AG1hdHlncnlzYQ==</auth>
*** User 2023-11-17 15:21:35.625 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:21:35.625 ***🔗
alicE_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.625 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69b8b5f943d7e823' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2649@domain.example.com'>
*** User 2023-11-17 15:21:35.625 ***🔗
alicE_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.626 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 out
<iq type='set' id='61917bc4293f6b1b0dbc021d37142685'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:21:35.626 ***🔗
alicE_available_direct_then_unavailable_2649@domain.example.com/res1 in
<iq id='61917bc4293f6b1b0dbc021d37142685' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_available_direct_then_unavailable_2649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:21:35.626 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 out
<iq type='set' id='e19d87b195af9de3181fc46a4db8cf21'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:21:35.627 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2649@domain.example.com/res1' id='e19d87b195af9de3181fc46a4db8cf21' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:21:35.627 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:21:35.628 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2649@domain.example.com/res1' to='alice_available_direct_then_unavailable_2649@domain.example.com/res1'/>
*** User 2023-11-17 15:21:35.629 ***🔗
bOb_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.629 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='acd4d17db5d2fa23' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:21:35.629 ***🔗
bOb_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.629 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjY0OQBtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:21:35.630 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:21:35.630 ***🔗
bOb_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.630 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbf61d03bf752f9a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2649@domain.example.com'>
*** User 2023-11-17 15:21:35.630 ***🔗
bOb_available_direct_then_unavailable_2649@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 2023-11-17 15:21:35.631 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 out
<iq type='set' id='dd5ef9a978badbb85fc28fdb350bc000'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:21:35.631 ***🔗
bOb_available_direct_then_unavailable_2649@domain.example.com/res1 in
<iq id='dd5ef9a978badbb85fc28fdb350bc000' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_available_direct_then_unavailable_2649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:21:35.631 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 out
<iq type='set' id='da718500a0ab61209899ca111a3dfc8b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:21:35.632 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2649@domain.example.com/res1' id='da718500a0ab61209899ca111a3dfc8b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:21:35.632 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:21:35.633 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2649@domain.example.com/res1' to='bob_available_direct_then_unavailable_2649@domain.example.com/res1'/>
*** User 2023-11-17 15:21:35.633 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2649@domain.example.com/res1'/>
*** User 2023-11-17 15:21:35.633 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2649@domain.example.com/res1' to='bob_available_direct_then_unavailable_2649@domain.example.com/res1'/>
*** User 2023-11-17 15:21:35.634 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 out
<presence type='unavailable'/>
*** User 2023-11-17 15:21:35.634 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2649@domain.example.com/res1' to='bob_available_direct_then_unavailable_2649@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-17 15:21:35.634 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:21:35.634 ***🔗
bob_available_direct_then_unavailable_2649@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:21:35.635 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:21:35.635 ***🔗
alice_available_direct_then_unavailable_2649@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:21:35
=== successfully completed test case
=== === Returned value: ok