=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.71765.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/presence_suite.unsubscribe.114436.html"},
{tc_group_properties,[{name,subscribe_group},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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/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@8a480c91a890.2024-04-12_13.25.32"
=== Started at 2024-04-12 13:37:31
*** User 2024-04-12 13:37:31.489 ***🔗
alicE_unsubscribe_2721@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-04-12 13:37:31.489 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ea7595e5e73faa2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:37:31.489 ***🔗
alicE_unsubscribe_2721@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-04-12 13:37:31.490 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MjEAbWF0eWdyeXNh</auth>
*** User 2024-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@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-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6debdec98db669fb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2721@domain.example.com'>
*** User 2024-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@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-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='c57227c7db8f5b79adb8125beeb29c59'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:37:31.491 ***🔗
alicE_unsubscribe_2721@domain.example.com/res1 in
<iq id='c57227c7db8f5b79adb8125beeb29c59' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2721@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:37:31.492 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='904e265aa05fdf44fb88bfb569acbafe'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:37:31.493 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='904e265aa05fdf44fb88bfb569acbafe' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:37:31.493 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:37:31.494 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<presence from='alice_unsubscribe_2721@domain.example.com/res1' to='alice_unsubscribe_2721@domain.example.com/res1'/>
*** User 2024-04-12 13:37:31.495 ***🔗
bOb_unsubscribe_2721@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-04-12 13:37:31.495 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d82710ded2037880' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:37:31.495 ***🔗
bOb_unsubscribe_2721@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-04-12 13:37:31.496 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzIxAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-12 13:37:31.497 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:37:31.497 ***🔗
bOb_unsubscribe_2721@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-04-12 13:37:31.497 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be7877baacfd1d8d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2721@domain.example.com'>
*** User 2024-04-12 13:37:31.497 ***🔗
bOb_unsubscribe_2721@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-04-12 13:37:31.497 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='500f99cc70f544f8a69382dc080c9252'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:37:31.498 ***🔗
bOb_unsubscribe_2721@domain.example.com/res1 in
<iq id='500f99cc70f544f8a69382dc080c9252' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2721@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:37:31.498 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='2dd784b5424136aa3b0dce41825b799a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:37:31.499 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' id='2dd784b5424136aa3b0dce41825b799a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:37:31.499 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:37:31.500 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<presence from='bob_unsubscribe_2721@domain.example.com/res1' to='bob_unsubscribe_2721@domain.example.com/res1'/>
*** User 2024-04-12 13:37:31.500 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='13ac8e3ea182fd328a311d89fb43068d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2721@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.505 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='alice_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='push41751ba7a5c10029' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2721@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.506 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='alice_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='13ac8e3ea182fd328a311d89fb43068d' type='result'/>
*** User 2024-04-12 13:37:31.506 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<iq to='alice_unsubscribe_2721@domain.example.com' id='push41751ba7a5c10029' type='result'/>
*** User 2024-04-12 13:37:31.506 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2721@domain.example.com'/>
*** User 2024-04-12 13:37:31.511 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='alice_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='push080c9b511db9e481' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2721@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.511 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<iq to='alice_unsubscribe_2721@domain.example.com' id='push080c9b511db9e481' type='result'/>
*** User 2024-04-12 13:37:31.511 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<presence from='alice_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-12 13:37:31.511 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
<iq type='set' id='3f41fe571862456dbe529e5ee77c3d2c'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2721@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.523 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<iq from='bob_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' id='pushd04ca3c900dc1af4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2721@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.523 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
<iq to='bob_unsubscribe_2721@domain.example.com' id='pushd04ca3c900dc1af4' type='result'/>
*** User 2024-04-12 13:37:31.523 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<iq from='bob_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' id='3f41fe571862456dbe529e5ee77c3d2c' type='result'/>
*** User 2024-04-12 13:37:31.523 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2721@domain.example.com'/>
*** User 2024-04-12 13:37:31.566 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='alice_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='push9f69fddc0b89d6c9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2721@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.566 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<presence from='bob_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-12 13:37:31.567 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<presence from='bob_unsubscribe_2721@domain.example.com/res1' to='alice_unsubscribe_2721@domain.example.com/res1'/>
*** User 2024-04-12 13:37:31.567 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<iq from='bob_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' id='pushdd2f778056a8c7ca' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2721@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.567 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2721@domain.example.com'/>
*** User 2024-04-12 13:37:31.576 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<iq from='alice_unsubscribe_2721@domain.example.com' to='alice_unsubscribe_2721@domain.example.com/res1' id='push2ce596937541d225' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2721@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.576 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
<iq to='alice_unsubscribe_2721@domain.example.com' id='push2ce596937541d225' type='result'/>
*** User 2024-04-12 13:37:31.576 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<iq from='bob_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' id='pushc9383b7d2ae532e3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2721@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-12 13:37:31.576 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
<presence from='alice_unsubscribe_2721@domain.example.com' to='bob_unsubscribe_2721@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-12 13:37:31.577 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
<presence from='bob_unsubscribe_2721@domain.example.com/res1' to='alice_unsubscribe_2721@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-12 13:37:31.577 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:37:31.577 ***🔗
bob_unsubscribe_2721@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 13:37:31.577 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:37:31.577 ***🔗
alice_unsubscribe_2721@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-12 13:37:31
=== successfully completed test case
=== === Returned value: ok