=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.72498.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/presence_suite.remove_unsubscribe.212354.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/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@82e417e9e7f3.2024-04-15_15.52.32"
=== Started at 2024-04-15 16:05:06
*** User 2024-04-15 16:05:06.835 ***🔗
alicE_remove_unsubscribe_2872@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-15 16:05:06.836 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a4c3b224f3a7514' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:06.836 ***🔗
alicE_remove_unsubscribe_2872@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-15 16:05:06.836 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODcyAG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 16:05:06.837 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:06.837 ***🔗
alicE_remove_unsubscribe_2872@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-15 16:05:06.838 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0207c9123a36f681' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2872@domain.example.com'>
*** User 2024-04-15 16:05:06.838 ***🔗
alicE_remove_unsubscribe_2872@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-15 16:05:06.838 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='0818c8e65f60fb9cbe288a266ee86dc4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:06.838 ***🔗
alicE_remove_unsubscribe_2872@domain.example.com/res1 in
<iq id='0818c8e65f60fb9cbe288a266ee86dc4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2872@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:06.838 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='54e72fdeee6a7c11a846c6919397cc39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.839 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='54e72fdeee6a7c11a846c6919397cc39' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.839 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:06.840 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2872@domain.example.com/res1' to='alice_remove_unsubscribe_2872@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_remove_unsubscribe_2872@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-15 16:05:06.841 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e65c01c17fa639b1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_remove_unsubscribe_2872@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-15 16:05:06.841 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg3MgBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 16:05:06.842 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:06.842 ***🔗
bOb_remove_unsubscribe_2872@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-15 16:05:06.842 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6302c2521eacc45' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2872@domain.example.com'>
*** User 2024-04-15 16:05:06.843 ***🔗
bOb_remove_unsubscribe_2872@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-15 16:05:06.843 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='8c78009ecceed24ba1559745720ca5fa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:06.843 ***🔗
bOb_remove_unsubscribe_2872@domain.example.com/res1 in
<iq id='8c78009ecceed24ba1559745720ca5fa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2872@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:06.843 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='74d61f5385a0bb2f3339a2fb1946491b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.844 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' id='74d61f5385a0bb2f3339a2fb1946491b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.844 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:06.846 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2872@domain.example.com/res1' to='bob_remove_unsubscribe_2872@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.846 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='ce75e187974015e7ea4f00ad3fadc402'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2872@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.877 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='push662bd984090bc6a7' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2872@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.877 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='ce75e187974015e7ea4f00ad3fadc402' type='result'/>
*** User 2024-04-15 16:05:06.877 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2872@domain.example.com' id='push662bd984090bc6a7' type='result'/>
*** User 2024-04-15 16:05:06.877 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2872@domain.example.com'/>
*** User 2024-04-15 16:05:06.881 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='pusha9dbbcbd36baa565' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2872@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.881 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2872@domain.example.com' id='pusha9dbbcbd36baa565' type='result'/>
*** User 2024-04-15 16:05:06.881 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-15 16:05:06.882 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='6f2aeadbae50f30f2f07fbf8538b66b3'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2872@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.887 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' id='push55c2a0557b2bc620' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2872@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.888 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2872@domain.example.com' id='push55c2a0557b2bc620' type='result'/>
*** User 2024-04-15 16:05:06.888 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' id='6f2aeadbae50f30f2f07fbf8538b66b3' type='result'/>
*** User 2024-04-15 16:05:06.888 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2872@domain.example.com'/>
*** User 2024-04-15 16:05:06.893 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='push4ef41d8c3c6f6ca9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2872@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.893 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-15 16:05:06.894 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2872@domain.example.com/res1' to='alice_remove_unsubscribe_2872@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.894 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' id='push99a3b9418015998f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2872@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.894 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
<iq type='set' id='0c3e7af8fa9221d061d4c166994ceb36'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2872@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-15 16:05:06.896 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='push0e2ecf53b6d97d79' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2872@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-15 16:05:06.899 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2872@domain.example.com/res1' to='alice_remove_unsubscribe_2872@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-15 16:05:06.899 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2872@domain.example.com' to='alice_remove_unsubscribe_2872@domain.example.com/res1' id='0c3e7af8fa9221d061d4c166994ceb36' type='result'/>
*** User 2024-04-15 16:05:06.899 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' id='pushe81e3771d6f6580b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2872@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.899 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2872@domain.example.com' to='bob_remove_unsubscribe_2872@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-15 16:05:06.899 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.900 ***🔗
bob_remove_unsubscribe_2872@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-15 16:05:06.900 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.900 ***🔗
alice_remove_unsubscribe_2872@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:05:06
=== successfully completed test case
=== === Returned value: ok