=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.1360.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/presence_suite.unsubscribe.129794.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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/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@b90e3713176e.2022-03-07_09.29.55"
=== Started at 2022-03-07 09:39:50
*** User 2022-03-07 09:39:50.654 ***
alicE_unsubscribe_1780@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-07 09:39:50.654 ***
alicE_unsubscribe_1780@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94cbd08207074c0d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.654 ***
alicE_unsubscribe_1780@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-03-07 09:39:50.655 ***
alicE_unsubscribe_1780@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE3ODAAbWF0eWdyeXNh</auth>
*** User 2022-03-07 09:39:50.655 ***
alicE_unsubscribe_1780@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:50.655 ***
alicE_unsubscribe_1780@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-07 09:39:50.656 ***
alicE_unsubscribe_1780@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bf5eba046426575' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.656 ***
alicE_unsubscribe_1780@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-07 09:39:50.656 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq type='set' id='23a6b8f38ed74e703a6c2f6adb9bb142'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq id='23a6b8f38ed74e703a6c2f6adb9bb142' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_1780@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq type='set' id='41dd45b61fc4f267323efbee7974918f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.657 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq type='result' id='41dd45b61fc4f267323efbee7974918f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.657 ***
alicE_unsubscribe_1780@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:50.658 ***
alicE_unsubscribe_1780@localhost/res1 in
<presence from='alicE_unsubscribe_1780@localhost/res1' to='alice_unsubscribe_1780@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.658 ***
bOb_unsubscribe_1780@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-07 09:39:50.663 ***
bOb_unsubscribe_1780@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a8e035d1214f329' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.663 ***
bOb_unsubscribe_1780@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-03-07 09:39:50.663 ***
bOb_unsubscribe_1780@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNzgwAG1ha3JvbGlrYQ==</auth>
*** User 2022-03-07 09:39:50.665 ***
bOb_unsubscribe_1780@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:50.665 ***
bOb_unsubscribe_1780@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-07 09:39:50.671 ***
bOb_unsubscribe_1780@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30597e9188c4ae65' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.671 ***
bOb_unsubscribe_1780@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-07 09:39:50.671 ***
bOb_unsubscribe_1780@localhost/res1 out
<iq type='set' id='d092505685bf056d7ce5dbe567f32691'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq id='d092505685bf056d7ce5dbe567f32691' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_1780@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_unsubscribe_1780@localhost/res1 out
<iq type='set' id='39de76eb757a9ef78b6882ed496f1145'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq type='result' id='39de76eb757a9ef78b6882ed496f1145'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_unsubscribe_1780@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:50.679 ***
bOb_unsubscribe_1780@localhost/res1 in
<presence from='bOb_unsubscribe_1780@localhost/res1' to='bob_unsubscribe_1780@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.679 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq type='set' id='8785ea3793c1eeaca955c7d35fcb8237'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_1780@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.710 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq from='alicE_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' id='push62e7f477133e0ef3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1780@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.710 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq from='alicE_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' id='8785ea3793c1eeaca955c7d35fcb8237' type='result'/>
*** User 2022-03-07 09:39:50.710 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq to='alicE_unsubscribe_1780@localhost' id='push62e7f477133e0ef3' type='result'/>
*** User 2022-03-07 09:39:50.710 ***
alicE_unsubscribe_1780@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1780@localhost'/>
*** User 2022-03-07 09:39:50.716 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq from='alicE_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' id='pushe36725e91c3b00d9' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1780@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.717 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq to='alicE_unsubscribe_1780@localhost' id='pushe36725e91c3b00d9' type='result'/>
*** User 2022-03-07 09:39:50.717 ***
bOb_unsubscribe_1780@localhost/res1 in
<presence from='alicE_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-07 09:39:50.717 ***
bOb_unsubscribe_1780@localhost/res1 out
<iq type='set' id='74543b40ee14e5577b5936ec22e8766e'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_1780@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.719 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq from='bOb_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' id='push7751160693bd7021' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1780@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.719 ***
bOb_unsubscribe_1780@localhost/res1 out
<iq to='bOb_unsubscribe_1780@localhost' id='push7751160693bd7021' type='result'/>
*** User 2022-03-07 09:39:50.719 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq from='bOb_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' id='74543b40ee14e5577b5936ec22e8766e' type='result'/>
*** User 2022-03-07 09:39:50.719 ***
bOb_unsubscribe_1780@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1780@localhost'/>
*** User 2022-03-07 09:39:50.724 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq from='alicE_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' id='push95a5841727383d93' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1780@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.724 ***
alicE_unsubscribe_1780@localhost/res1 in
<presence from='bOb_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-03-07 09:39:50.724 ***
alicE_unsubscribe_1780@localhost/res1 in
<presence from='bOb_unsubscribe_1780@localhost/res1' to='alice_unsubscribe_1780@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.724 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq from='bOb_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' id='push0a40ae958d421114' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1780@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.724 ***
alicE_unsubscribe_1780@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1780@localhost'/>
*** User 2022-03-07 09:39:50.729 ***
alicE_unsubscribe_1780@localhost/res1 in
<iq from='alicE_unsubscribe_1780@localhost' to='alicE_unsubscribe_1780@localhost/res1' id='pushea27395ca4a33f47' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1780@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.730 ***
alicE_unsubscribe_1780@localhost/res1 out
<iq to='alicE_unsubscribe_1780@localhost' id='pushea27395ca4a33f47' type='result'/>
*** User 2022-03-07 09:39:50.730 ***
bOb_unsubscribe_1780@localhost/res1 in
<iq from='bOb_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' id='push20077c22cd1a3a64' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1780@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.730 ***
bOb_unsubscribe_1780@localhost/res1 in
<presence from='alicE_unsubscribe_1780@localhost' to='bOb_unsubscribe_1780@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-03-07 09:39:50.730 ***
alicE_unsubscribe_1780@localhost/res1 in
<presence from='bOb_unsubscribe_1780@localhost/res1' to='alice_unsubscribe_1780@localhost/res1' type='unavailable'/>
*** User 2022-03-07 09:39:50.730 ***
bOb_unsubscribe_1780@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.730 ***
bOb_unsubscribe_1780@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:39:50.730 ***
alicE_unsubscribe_1780@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.730 ***
alicE_unsubscribe_1780@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 09:39:50
=== successfully completed test case
=== === Returned value: ok