=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.5638.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/presence_suite.unsubscribe.38659.html"},
{tc_group_properties,[{name,subscribe_group},
{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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/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@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:36:30
*** User 2022-03-03 10:36:30.077 ***
alicE_unsubscribe_1004@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:30.078 ***
alicE_unsubscribe_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04fb78b4a429cd94' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:30.078 ***
alicE_unsubscribe_1004@localhost/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>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-03-03 10:36:30.078 ***
alicE_unsubscribe_1004@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzEwMDQAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:36:30.079 ***
alicE_unsubscribe_1004@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:30.079 ***
alicE_unsubscribe_1004@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:30.079 ***
alicE_unsubscribe_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5820fd558d14b29' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:30.079 ***
alicE_unsubscribe_1004@localhost/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-03-03 10:36:30.079 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq type='set' id='a953014eb2ab50d6258b3beef5e835d2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:30.080 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq id='a953014eb2ab50d6258b3beef5e835d2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_1004@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:30.080 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq type='set' id='680f3ea9d35eb09703916ebce78f476e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:30.080 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq type='result' id='680f3ea9d35eb09703916ebce78f476e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:30.080 ***
alicE_unsubscribe_1004@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:30.081 ***
alicE_unsubscribe_1004@localhost/res1 in
<presence from='alicE_unsubscribe_1004@localhost/res1' to='alice_unsubscribe_1004@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:30.081 ***
bOb_unsubscribe_1004@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:30.082 ***
bOb_unsubscribe_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41ea009aedc4f029' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:30.082 ***
bOb_unsubscribe_1004@localhost/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>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-03-03 10:36:30.082 ***
bOb_unsubscribe_1004@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMDA0AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:36:30.083 ***
bOb_unsubscribe_1004@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:30.083 ***
bOb_unsubscribe_1004@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:30.083 ***
bOb_unsubscribe_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a030efde698effd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:30.083 ***
bOb_unsubscribe_1004@localhost/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-03-03 10:36:30.083 ***
bOb_unsubscribe_1004@localhost/res1 out
<iq type='set' id='5ac2ef5a402d652d51513af689057f06'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:30.084 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq id='5ac2ef5a402d652d51513af689057f06' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_1004@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:30.084 ***
bOb_unsubscribe_1004@localhost/res1 out
<iq type='set' id='17d165fa93809ab25cec64254ff15721'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:30.084 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq type='result' id='17d165fa93809ab25cec64254ff15721'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:30.084 ***
bOb_unsubscribe_1004@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:30.085 ***
bOb_unsubscribe_1004@localhost/res1 in
<presence from='bOb_unsubscribe_1004@localhost/res1' to='bob_unsubscribe_1004@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:30.085 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq type='set' id='073db18e62a21f7982ccc4af0347b66e'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_1004@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.086 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq from='alicE_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' id='push56d8853522bd7f66' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1004@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.086 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq from='alicE_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' id='073db18e62a21f7982ccc4af0347b66e' type='result'/>
*** User 2022-03-03 10:36:30.086 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq to='alicE_unsubscribe_1004@localhost' id='push56d8853522bd7f66' type='result'/>
*** User 2022-03-03 10:36:30.086 ***
alicE_unsubscribe_1004@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1004@localhost'/>
*** User 2022-03-03 10:36:30.088 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq from='alicE_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' id='push924e8fcec271c221' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1004@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.088 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq to='alicE_unsubscribe_1004@localhost' id='push924e8fcec271c221' type='result'/>
*** User 2022-03-03 10:36:30.088 ***
bOb_unsubscribe_1004@localhost/res1 in
<presence from='alicE_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-03 10:36:30.088 ***
bOb_unsubscribe_1004@localhost/res1 out
<iq type='set' id='7bf3530a695157a47500f798f4e97e26'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_1004@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.089 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq from='bOb_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' id='push2ca78ed62367a4b8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1004@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.089 ***
bOb_unsubscribe_1004@localhost/res1 out
<iq to='bOb_unsubscribe_1004@localhost' id='push2ca78ed62367a4b8' type='result'/>
*** User 2022-03-03 10:36:30.089 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq from='bOb_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' id='7bf3530a695157a47500f798f4e97e26' type='result'/>
*** User 2022-03-03 10:36:30.089 ***
bOb_unsubscribe_1004@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1004@localhost'/>
*** User 2022-03-03 10:36:30.091 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq from='alicE_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' id='push119c0c329c2a07f7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1004@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.091 ***
alicE_unsubscribe_1004@localhost/res1 in
<presence from='bOb_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-03-03 10:36:30.091 ***
alicE_unsubscribe_1004@localhost/res1 in
<presence from='bOb_unsubscribe_1004@localhost/res1' to='alice_unsubscribe_1004@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:30.091 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq from='bOb_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' id='push7f301ab90af7a4a9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1004@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.092 ***
alicE_unsubscribe_1004@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1004@localhost'/>
*** User 2022-03-03 10:36:30.094 ***
alicE_unsubscribe_1004@localhost/res1 in
<iq from='alicE_unsubscribe_1004@localhost' to='alicE_unsubscribe_1004@localhost/res1' id='push0838c3c598d5a117' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1004@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.094 ***
alicE_unsubscribe_1004@localhost/res1 out
<iq to='alicE_unsubscribe_1004@localhost' id='push0838c3c598d5a117' type='result'/>
*** User 2022-03-03 10:36:30.094 ***
bOb_unsubscribe_1004@localhost/res1 in
<iq from='bOb_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' id='push14b6b5003b50b78d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1004@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:36:30.094 ***
bOb_unsubscribe_1004@localhost/res1 in
<presence from='alicE_unsubscribe_1004@localhost' to='bOb_unsubscribe_1004@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-03-03 10:36:30.094 ***
alicE_unsubscribe_1004@localhost/res1 in
<presence from='bOb_unsubscribe_1004@localhost/res1' to='alice_unsubscribe_1004@localhost/res1' type='unavailable'/>
*** User 2022-03-03 10:36:30.094 ***
bOb_unsubscribe_1004@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:30.095 ***
bOb_unsubscribe_1004@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:30.095 ***
alicE_unsubscribe_1004@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:30.095 ***
alicE_unsubscribe_1004@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:30
=== successfully completed test case
=== === Returned value: ok