=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.8643.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@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.presence_SUITE.logs/run.2022-04-29_14.01.50/presence_suite.unsubscribe.19844.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@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.presence_SUITE.logs/run.2022-04-29_14.01.50/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@8df352b23b1e.2022-04-29_13.53.53"
=== Started at 2022-04-29 14:01:52
*** User 2022-04-29 14:01:52.383 ***
alicE_unsubscribe_1106@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-04-29 14:01:52.383 ***
alicE_unsubscribe_1106@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c6a21f6bcaacd7a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:52.383 ***
alicE_unsubscribe_1106@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-04-29 14:01:52.383 ***
alicE_unsubscribe_1106@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzExMDYAbWF0eWdyeXNh</auth>
*** User 2022-04-29 14:01:52.385 ***
alicE_unsubscribe_1106@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:01:52.385 ***
alicE_unsubscribe_1106@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-04-29 14:01:52.385 ***
alicE_unsubscribe_1106@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23fbbddc305ddf97' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:52.385 ***
alicE_unsubscribe_1106@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-04-29 14:01:52.385 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq type='set' id='68ce5280b7e1ad14db8ad02f38ba3e26'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:01:52.386 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq id='68ce5280b7e1ad14db8ad02f38ba3e26' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_1106@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:01:52.386 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq type='set' id='41d37ca329475dad922ecb25b40f3d35'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:52.386 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq type='result' id='41d37ca329475dad922ecb25b40f3d35'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:52.386 ***
alicE_unsubscribe_1106@localhost/res1 out
<presence/>
*** User 2022-04-29 14:01:52.387 ***
alicE_unsubscribe_1106@localhost/res1 in
<presence from='alicE_unsubscribe_1106@localhost/res1' to='alice_unsubscribe_1106@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:52.387 ***
bOb_unsubscribe_1106@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-04-29 14:01:52.388 ***
bOb_unsubscribe_1106@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c8196ac94ab5818' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:52.388 ***
bOb_unsubscribe_1106@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-04-29 14:01:52.388 ***
bOb_unsubscribe_1106@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMTA2AG1ha3JvbGlrYQ==</auth>
*** User 2022-04-29 14:01:52.389 ***
bOb_unsubscribe_1106@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:01:52.389 ***
bOb_unsubscribe_1106@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-04-29 14:01:52.390 ***
bOb_unsubscribe_1106@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05af8288a4a3caff' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:52.390 ***
bOb_unsubscribe_1106@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-04-29 14:01:52.390 ***
bOb_unsubscribe_1106@localhost/res1 out
<iq type='set' id='b0138db9958997a1adee52a2ad6d0362'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:01:52.390 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq id='b0138db9958997a1adee52a2ad6d0362' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_1106@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:01:52.390 ***
bOb_unsubscribe_1106@localhost/res1 out
<iq type='set' id='12fc523d5162b32257c18e6d8334ac64'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:52.391 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq type='result' id='12fc523d5162b32257c18e6d8334ac64'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:52.391 ***
bOb_unsubscribe_1106@localhost/res1 out
<presence/>
*** User 2022-04-29 14:01:52.392 ***
bOb_unsubscribe_1106@localhost/res1 in
<presence from='bOb_unsubscribe_1106@localhost/res1' to='bob_unsubscribe_1106@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:52.392 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq type='set' id='fbfb50a3d775bd825292e50f62b123be'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_1106@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.393 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq from='alicE_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' id='push0531ce265d3ddeec' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1106@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.393 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq from='alicE_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' id='fbfb50a3d775bd825292e50f62b123be' type='result'/>
*** User 2022-04-29 14:01:52.393 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq to='alicE_unsubscribe_1106@localhost' id='push0531ce265d3ddeec' type='result'/>
*** User 2022-04-29 14:01:52.393 ***
alicE_unsubscribe_1106@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1106@localhost'/>
*** User 2022-04-29 14:01:52.395 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq from='alicE_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' id='push3435946229c53ff0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1106@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.395 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq to='alicE_unsubscribe_1106@localhost' id='push3435946229c53ff0' type='result'/>
*** User 2022-04-29 14:01:52.395 ***
bOb_unsubscribe_1106@localhost/res1 in
<presence from='alicE_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-04-29 14:01:52.395 ***
bOb_unsubscribe_1106@localhost/res1 out
<iq type='set' id='95c3736b33d452e6caad8756030beeff'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_1106@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.396 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq from='bOb_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' id='push1daca737bfd7f25f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1106@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.396 ***
bOb_unsubscribe_1106@localhost/res1 out
<iq to='bOb_unsubscribe_1106@localhost' id='push1daca737bfd7f25f' type='result'/>
*** User 2022-04-29 14:01:52.396 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq from='bOb_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' id='95c3736b33d452e6caad8756030beeff' type='result'/>
*** User 2022-04-29 14:01:52.396 ***
bOb_unsubscribe_1106@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1106@localhost'/>
*** User 2022-04-29 14:01:52.398 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq from='alicE_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' id='push86be149b305404d0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1106@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.398 ***
alicE_unsubscribe_1106@localhost/res1 in
<presence from='bOb_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-04-29 14:01:52.398 ***
alicE_unsubscribe_1106@localhost/res1 in
<presence from='bOb_unsubscribe_1106@localhost/res1' to='alice_unsubscribe_1106@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:52.398 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq from='bOb_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' id='push4c68a2a3c6386a42' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1106@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.398 ***
alicE_unsubscribe_1106@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1106@localhost'/>
*** User 2022-04-29 14:01:52.400 ***
alicE_unsubscribe_1106@localhost/res1 in
<iq from='alicE_unsubscribe_1106@localhost' to='alicE_unsubscribe_1106@localhost/res1' id='push8901880431f0665c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1106@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.401 ***
alicE_unsubscribe_1106@localhost/res1 out
<iq to='alicE_unsubscribe_1106@localhost' id='push8901880431f0665c' type='result'/>
*** User 2022-04-29 14:01:52.401 ***
bOb_unsubscribe_1106@localhost/res1 in
<iq from='bOb_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' id='push4fbd3c9ea52eeb29' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1106@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-29 14:01:52.401 ***
bOb_unsubscribe_1106@localhost/res1 in
<presence from='alicE_unsubscribe_1106@localhost' to='bOb_unsubscribe_1106@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-04-29 14:01:52.401 ***
alicE_unsubscribe_1106@localhost/res1 in
<presence from='bOb_unsubscribe_1106@localhost/res1' to='alice_unsubscribe_1106@localhost/res1' type='unavailable'/>
*** User 2022-04-29 14:01:52.401 ***
bOb_unsubscribe_1106@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:01:52.401 ***
bOb_unsubscribe_1106@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:01:52.401 ***
alicE_unsubscribe_1106@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:01:52.402 ***
alicE_unsubscribe_1106@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-29 14:01:52
=== successfully completed test case
=== === Returned value: ok