=== Test case: presence_SUITE:available_direct_then_unavailable/1 (click for source code)
=== Config value:
[{watchdog,<0.30131.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/presence_suite.available_direct_then_unavailable.145282.html"},
{tc_group_properties,[{name,presence},{repeat_until_all_ok,3},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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/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@df370d24fb6d.2022-05-11_08.56.40"
=== Started at 2022-05-11 09:04:17
*** User 2022-05-11 09:04:17.357 ***
alicE_available_direct_then_unavailable_1930@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 2022-05-11 09:04:17.357 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09782c5506fc3ad7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:17.357 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-11 09:04:17.358 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8xOTMwAG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:04:17.359 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:17.359 ***
alicE_available_direct_then_unavailable_1930@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 2022-05-11 09:04:17.359 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='445bbaed0d9bf7b6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:17.359 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-11 09:04:17.359 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<iq type='set' id='0342fc96bcfdc8b9cda7224cb760d1fc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:17.360 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<iq id='0342fc96bcfdc8b9cda7224cb760d1fc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_available_direct_then_unavailable_1930@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:17.360 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<iq type='set' id='4c574f136806101274b5f26053e21db6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:17.360 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<iq type='result' id='4c574f136806101274b5f26053e21db6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:17.360 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:17.362 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
<presence from='alicE_available_direct_then_unavailable_1930@domain.example.com/res1' to='alice_available_direct_then_unavailable_1930@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:17.363 ***
bOb_available_direct_then_unavailable_1930@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 2022-05-11 09:04:17.364 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4720f2af01bcc24f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:17.364 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-11 09:04:17.364 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMTkzMABtYWtyb2xpa2E=</auth>
*** User 2022-05-11 09:04:17.365 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:17.366 ***
bOb_available_direct_then_unavailable_1930@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 2022-05-11 09:04:17.366 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d47db6308256eb4f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:17.366 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-11 09:04:17.366 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 out
<iq type='set' id='1a2b600b796328c76c8ce913601ca9f6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:17.367 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<iq id='1a2b600b796328c76c8ce913601ca9f6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_available_direct_then_unavailable_1930@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:17.367 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 out
<iq type='set' id='e416b2a7a96887b6dc94e2dadd9e5379'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:17.367 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<iq type='result' id='e416b2a7a96887b6dc94e2dadd9e5379'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:17.367 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:17.369 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<presence from='bOb_available_direct_then_unavailable_1930@domain.example.com/res1' to='bob_available_direct_then_unavailable_1930@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:17.369 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<presence to='bOb_available_direct_then_unavailable_1930@domain.example.com/res1'/>
*** User 2022-05-11 09:04:17.369 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<presence from='alicE_available_direct_then_unavailable_1930@domain.example.com/res1' to='bOb_available_direct_then_unavailable_1930@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:17.370 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
<presence type='unavailable'/>
*** User 2022-05-11 09:04:17.371 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
<presence from='alicE_available_direct_then_unavailable_1930@domain.example.com/res1' to='bob_available_direct_then_unavailable_1930@domain.example.com/res1' xml:lang='en' type='unavailable'/>
*** User 2022-05-11 09:04:17.371 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:17.372 ***
bOb_available_direct_then_unavailable_1930@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-11 09:04:17.372 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:17.372 ***
alicE_available_direct_then_unavailable_1930@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-11 09:04:17
=== successfully completed test case
=== === Returned value: ok