=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.75866.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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/presence_suite.remove_unsubscribe.140931.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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/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@c3f703cbaa20.2024-03-06_10.06.32"
=== Started at 2024-03-06 10:21:23
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97664ef31559fcfa' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_remove_unsubscribe_2858@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 2024-03-06 10:21:23.739 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODU4AG1hdHlncnlzYQ==</auth>
*** User 2024-03-06 10:21:23.740 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:21:23.740 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:21:23.741 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09fba249fcb647ee' from='localhost' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2858@localhost'>
*** User 2024-03-06 10:21:23.741 ***🔗
alicE_remove_unsubscribe_2858@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 2024-03-06 10:21:23.741 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='9204ddcd6d4015015a947f6b9ffc8217'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 10:21:23.741 ***🔗
alicE_remove_unsubscribe_2858@localhost/res1 in
<iq id='9204ddcd6d4015015a947f6b9ffc8217' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2858@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 10:21:23.741 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='8034df55c60e7b6570bea34ce1dde730'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.741 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='8034df55c60e7b6570bea34ce1dde730' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.741 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<presence/>
*** User 2024-03-06 10:21:23.742 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<presence from='alice_remove_unsubscribe_2858@localhost/res1' to='alice_remove_unsubscribe_2858@localhost/res1'/>
*** User 2024-03-06 10:21:23.743 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:21:23.743 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de3771d0c7f16368' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:21:23.743 ***🔗
bOb_remove_unsubscribe_2858@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 2024-03-06 10:21:23.743 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg1OABtYWtyb2xpa2E=</auth>
*** User 2024-03-06 10:21:23.744 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:21:23.744 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:21:23.744 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc99588e7091388e' from='localhost' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2858@localhost'>
*** User 2024-03-06 10:21:23.744 ***🔗
bOb_remove_unsubscribe_2858@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 2024-03-06 10:21:23.744 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='77ddb9e2792ee33d0a411ab6b145f2a0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 10:21:23.745 ***🔗
bOb_remove_unsubscribe_2858@localhost/res1 in
<iq id='77ddb9e2792ee33d0a411ab6b145f2a0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2858@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 10:21:23.745 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='dd780e2efc55f5898db9dea730baf4a7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.745 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<iq from='localhost' to='bob_remove_unsubscribe_2858@localhost/res1' id='dd780e2efc55f5898db9dea730baf4a7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.745 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
<presence/>
*** User 2024-03-06 10:21:23.746 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<presence from='bob_remove_unsubscribe_2858@localhost/res1' to='bob_remove_unsubscribe_2858@localhost/res1'/>
*** User 2024-03-06 10:21:23.746 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='ad81c4f2c9be0c8d814df940620bbf2a'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2858@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.753 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='pushe34b92f7e89dbb47' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2858@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.754 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='ad81c4f2c9be0c8d814df940620bbf2a' type='result'/>
*** User 2024-03-06 10:21:23.754 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<iq to='alice_remove_unsubscribe_2858@localhost' id='pushe34b92f7e89dbb47' type='result'/>
*** User 2024-03-06 10:21:23.754 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2858@localhost'/>
*** User 2024-03-06 10:21:23.757 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='push9d98c52b9161d5d3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2858@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.757 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<iq to='alice_remove_unsubscribe_2858@localhost' id='push9d98c52b9161d5d3' type='result'/>
*** User 2024-03-06 10:21:23.757 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<presence from='alice_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' type='subscribe'/>
*** User 2024-03-06 10:21:23.757 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='492140c97d3a0ba2bdfea8c7b4fea5e7'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2858@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.759 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<iq from='bob_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' id='push6625a25fe7db32da' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2858@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.759 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
<iq to='bob_remove_unsubscribe_2858@localhost' id='push6625a25fe7db32da' type='result'/>
*** User 2024-03-06 10:21:23.759 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<iq from='bob_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' id='492140c97d3a0ba2bdfea8c7b4fea5e7' type='result'/>
*** User 2024-03-06 10:21:23.759 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2858@localhost'/>
*** User 2024-03-06 10:21:23.762 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='push6dc5d7f6a44c1042' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2858@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.762 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<presence from='bob_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' type='subscribed'/>
*** User 2024-03-06 10:21:23.763 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<presence from='bob_remove_unsubscribe_2858@localhost/res1' to='alice_remove_unsubscribe_2858@localhost/res1'/>
*** User 2024-03-06 10:21:23.763 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<iq from='bob_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' id='push60b57061befd7923' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2858@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.763 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
<iq type='set' id='a28737f375478771e7d2ac05edd3cf45'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2858@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-06 10:21:23.770 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='pushabe6b0e4b72da64d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2858@localhost'/>
</query>
</iq>
*** User 2024-03-06 10:21:23.795 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<presence from='bob_remove_unsubscribe_2858@localhost/res1' to='alice_remove_unsubscribe_2858@localhost/res1' type='unavailable'/>
*** User 2024-03-06 10:21:23.795 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
<iq from='alice_remove_unsubscribe_2858@localhost' to='alice_remove_unsubscribe_2858@localhost/res1' id='a28737f375478771e7d2ac05edd3cf45' type='result'/>
*** User 2024-03-06 10:21:23.795 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<iq from='bob_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' id='push222127e4494e53dd' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2858@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.795 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
<presence from='alice_remove_unsubscribe_2858@localhost' to='bob_remove_unsubscribe_2858@localhost/res1' type='unsubscribe'/>
*** User 2024-03-06 10:21:23.796 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 out
</stream:stream>
*** User 2024-03-06 10:21:23.796 ***🔗
bob_remove_unsubscribe_2858@localhost/res1 in
</stream:stream>
*** User 2024-03-06 10:21:23.796 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 out
</stream:stream>
*** User 2024-03-06 10:21:23.796 ***🔗
alice_remove_unsubscribe_2858@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-06 10:21:23
=== successfully completed test case
=== === Returned value: ok