=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.1410.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"mysql_redis"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.unsubscribe.67460.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"
=== Started at 2022-03-07 16:07:27
*** User 2022-03-07 16:07:27.700 ***
alicE_unsubscribe_1916@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 16:07:27.700 ***
alicE_unsubscribe_1916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36cae8b97b9fc1a8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.700 ***
alicE_unsubscribe_1916@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 16:07:27.700 ***
alicE_unsubscribe_1916@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE5MTYAbWF0eWdyeXNh</auth>
*** User 2022-03-07 16:07:27.701 ***
alicE_unsubscribe_1916@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:07:27.701 ***
alicE_unsubscribe_1916@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 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6696e96843f8b783' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.702 ***
alicE_unsubscribe_1916@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 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq type='set' id='fa4e109c0e53f5fd5e344c06353c7583'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq id='fa4e109c0e53f5fd5e344c06353c7583' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_1916@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq type='set' id='47a5baf14c43a5119419a2fe8e46f155'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq type='result' id='47a5baf14c43a5119419a2fe8e46f155'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.702 ***
alicE_unsubscribe_1916@localhost/res1 out
<presence/>
*** User 2022-03-07 16:07:27.706 ***
alicE_unsubscribe_1916@localhost/res1 in
<presence from='alicE_unsubscribe_1916@localhost/res1' to='alice_unsubscribe_1916@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:07:27.707 ***
bOb_unsubscribe_1916@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 16:07:27.707 ***
bOb_unsubscribe_1916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8de8344a232a5e2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.707 ***
bOb_unsubscribe_1916@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 16:07:27.707 ***
bOb_unsubscribe_1916@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xOTE2AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-07 16:07:27.708 ***
bOb_unsubscribe_1916@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:07:27.708 ***
bOb_unsubscribe_1916@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 16:07:27.708 ***
bOb_unsubscribe_1916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dc704b5c920022d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.708 ***
bOb_unsubscribe_1916@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 16:07:27.708 ***
bOb_unsubscribe_1916@localhost/res1 out
<iq type='set' id='afbb75a7c30b6f01049f647e5a61ec4e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:07:27.709 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq id='afbb75a7c30b6f01049f647e5a61ec4e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_1916@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:07:27.709 ***
bOb_unsubscribe_1916@localhost/res1 out
<iq type='set' id='bea8a431aeabbe96d8b04100c428a929'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.709 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq type='result' id='bea8a431aeabbe96d8b04100c428a929'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.709 ***
bOb_unsubscribe_1916@localhost/res1 out
<presence/>
*** User 2022-03-07 16:07:27.711 ***
bOb_unsubscribe_1916@localhost/res1 in
<presence from='bOb_unsubscribe_1916@localhost/res1' to='bob_unsubscribe_1916@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:07:27.711 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq type='set' id='d96b0246f7b5fe2e57a8cb3a894eacd1'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_1916@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.800 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq from='alicE_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' id='pushe31ed05e4ec51c30' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1916@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.800 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq from='alicE_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' id='d96b0246f7b5fe2e57a8cb3a894eacd1' type='result'/>
*** User 2022-03-07 16:07:27.800 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq to='alicE_unsubscribe_1916@localhost' id='pushe31ed05e4ec51c30' type='result'/>
*** User 2022-03-07 16:07:27.800 ***
alicE_unsubscribe_1916@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1916@localhost'/>
*** User 2022-03-07 16:07:27.809 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq from='alicE_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' id='push0bdaaecffe6dfa08' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1916@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.809 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq to='alicE_unsubscribe_1916@localhost' id='push0bdaaecffe6dfa08' type='result'/>
*** User 2022-03-07 16:07:27.809 ***
bOb_unsubscribe_1916@localhost/res1 in
<presence from='alicE_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-07 16:07:27.809 ***
bOb_unsubscribe_1916@localhost/res1 out
<iq type='set' id='aebffd3982ff895cabc9b4b9dff40c7d'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_1916@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.815 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq from='bOb_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' id='push747fcb1cd4a7e073' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1916@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.815 ***
bOb_unsubscribe_1916@localhost/res1 out
<iq to='bOb_unsubscribe_1916@localhost' id='push747fcb1cd4a7e073' type='result'/>
*** User 2022-03-07 16:07:27.815 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq from='bOb_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' id='aebffd3982ff895cabc9b4b9dff40c7d' type='result'/>
*** User 2022-03-07 16:07:27.815 ***
bOb_unsubscribe_1916@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1916@localhost'/>
*** User 2022-03-07 16:07:27.823 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq from='alicE_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' id='push887bdee7d6239d4a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1916@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.823 ***
alicE_unsubscribe_1916@localhost/res1 in
<presence from='bOb_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-03-07 16:07:27.824 ***
alicE_unsubscribe_1916@localhost/res1 in
<presence from='bOb_unsubscribe_1916@localhost/res1' to='alice_unsubscribe_1916@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:07:27.824 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq from='bOb_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' id='push72d9d1abbbc5806a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1916@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.824 ***
alicE_unsubscribe_1916@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1916@localhost'/>
*** User 2022-03-07 16:07:27.841 ***
alicE_unsubscribe_1916@localhost/res1 in
<iq from='alicE_unsubscribe_1916@localhost' to='alicE_unsubscribe_1916@localhost/res1' id='push077f94523764a043' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1916@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.841 ***
alicE_unsubscribe_1916@localhost/res1 out
<iq to='alicE_unsubscribe_1916@localhost' id='push077f94523764a043' type='result'/>
*** User 2022-03-07 16:07:27.842 ***
bOb_unsubscribe_1916@localhost/res1 in
<iq from='bOb_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' id='push08af05dd888053fc' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1916@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.842 ***
bOb_unsubscribe_1916@localhost/res1 in
<presence from='alicE_unsubscribe_1916@localhost' to='bOb_unsubscribe_1916@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-03-07 16:07:27.842 ***
alicE_unsubscribe_1916@localhost/res1 in
<presence from='bOb_unsubscribe_1916@localhost/res1' to='alice_unsubscribe_1916@localhost/res1' type='unavailable'/>
*** User 2022-03-07 16:07:27.842 ***
bOb_unsubscribe_1916@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:07:27.842 ***
bOb_unsubscribe_1916@localhost/res1 in
</stream:stream>
*** User 2022-03-07 16:07:27.842 ***
alicE_unsubscribe_1916@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:07:27.842 ***
alicE_unsubscribe_1916@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 16:07:27
=== successfully completed test case
=== === Returned value: ok