=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.32174.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.unsubscribe.103427.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:34:56
*** User 2022-01-27 15:34:56.640 ***
alicE_unsubscribe_1841@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-01-27 15:34:56.640 ***
alicE_unsubscribe_1841@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e34149fe07397a4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.640 ***
alicE_unsubscribe_1841@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>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-01-27 15:34:56.640 ***
alicE_unsubscribe_1841@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE4NDEAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:56.641 ***
alicE_unsubscribe_1841@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.641 ***
alicE_unsubscribe_1841@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-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5fb006852c49b54' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@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-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq type='set' id='7c1cc3da73c2e86ac404cb00658bc41f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq id='7c1cc3da73c2e86ac404cb00658bc41f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_1841@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq type='set' id='c8c27959fc27426a52f240299c362b3a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.642 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq type='result' id='c8c27959fc27426a52f240299c362b3a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.643 ***
alicE_unsubscribe_1841@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.644 ***
alicE_unsubscribe_1841@localhost/res1 in
<presence from='alicE_unsubscribe_1841@localhost/res1' to='alice_unsubscribe_1841@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.645 ***
bOb_unsubscribe_1841@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-01-27 15:34:56.645 ***
bOb_unsubscribe_1841@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e165a11be87860c2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.645 ***
bOb_unsubscribe_1841@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>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-01-27 15:34:56.645 ***
bOb_unsubscribe_1841@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xODQxAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@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-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b694014841c89b34' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@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-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@localhost/res1 out
<iq type='set' id='7fc715ffb37236071eddecdce25f7a6a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq id='7fc715ffb37236071eddecdce25f7a6a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_1841@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.647 ***
bOb_unsubscribe_1841@localhost/res1 out
<iq type='set' id='8e87e055401473d426685fabc20188d6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.648 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq type='result' id='8e87e055401473d426685fabc20188d6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.648 ***
bOb_unsubscribe_1841@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.650 ***
bOb_unsubscribe_1841@localhost/res1 in
<presence from='bOb_unsubscribe_1841@localhost/res1' to='bob_unsubscribe_1841@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.650 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq type='set' id='e5720ee2a178dc36c4822a4620e6effd'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_1841@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.670 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq from='alicE_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' id='push49b4f70110fe4f8b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1841@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.670 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq from='alicE_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' id='e5720ee2a178dc36c4822a4620e6effd' type='result'/>
*** User 2022-01-27 15:34:56.670 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq to='alicE_unsubscribe_1841@localhost' id='push49b4f70110fe4f8b' type='result'/>
*** User 2022-01-27 15:34:56.670 ***
alicE_unsubscribe_1841@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1841@localhost'/>
*** User 2022-01-27 15:34:56.682 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq from='alicE_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' id='push1eb8824ea35a6c81' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1841@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.682 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq to='alicE_unsubscribe_1841@localhost' id='push1eb8824ea35a6c81' type='result'/>
*** User 2022-01-27 15:34:56.682 ***
bOb_unsubscribe_1841@localhost/res1 in
<presence from='alicE_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 15:34:56.682 ***
bOb_unsubscribe_1841@localhost/res1 out
<iq type='set' id='72bec03f34ff5201b2ea84ba06820e1f'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_1841@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.698 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq from='bOb_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' id='push6be88b992b5b446c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1841@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.698 ***
bOb_unsubscribe_1841@localhost/res1 out
<iq to='bOb_unsubscribe_1841@localhost' id='push6be88b992b5b446c' type='result'/>
*** User 2022-01-27 15:34:56.698 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq from='bOb_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' id='72bec03f34ff5201b2ea84ba06820e1f' type='result'/>
*** User 2022-01-27 15:34:56.698 ***
bOb_unsubscribe_1841@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1841@localhost'/>
*** User 2022-01-27 15:34:56.743 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq from='alicE_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' id='pushde3be8b15e713f6e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1841@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.743 ***
alicE_unsubscribe_1841@localhost/res1 in
<presence from='bOb_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-01-27 15:34:56.743 ***
alicE_unsubscribe_1841@localhost/res1 in
<presence from='bOb_unsubscribe_1841@localhost/res1' to='alice_unsubscribe_1841@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.743 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq from='bOb_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' id='push57179d009c2acf58' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1841@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.743 ***
alicE_unsubscribe_1841@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1841@localhost'/>
*** User 2022-01-27 15:34:56.754 ***
alicE_unsubscribe_1841@localhost/res1 in
<iq from='alicE_unsubscribe_1841@localhost' to='alicE_unsubscribe_1841@localhost/res1' id='push6bc5c02999f29782' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1841@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.754 ***
alicE_unsubscribe_1841@localhost/res1 out
<iq to='alicE_unsubscribe_1841@localhost' id='push6bc5c02999f29782' type='result'/>
*** User 2022-01-27 15:34:56.754 ***
bOb_unsubscribe_1841@localhost/res1 in
<iq from='bOb_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' id='push2932cf40cfd7c510' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1841@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.754 ***
bOb_unsubscribe_1841@localhost/res1 in
<presence from='alicE_unsubscribe_1841@localhost' to='bOb_unsubscribe_1841@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-01-27 15:34:56.754 ***
alicE_unsubscribe_1841@localhost/res1 in
<presence from='bOb_unsubscribe_1841@localhost/res1' to='alice_unsubscribe_1841@localhost/res1' type='unavailable'/>
*** User 2022-01-27 15:34:56.754 ***
bOb_unsubscribe_1841@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.754 ***
bOb_unsubscribe_1841@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:56.755 ***
alicE_unsubscribe_1841@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.755 ***
alicE_unsubscribe_1841@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:56
=== successfully completed test case
=== === Returned value: ok