=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.78423.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.00/presence_suite.unsubscribe.159747.html"},
{tc_group_properties,[{name,subscribe_group},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@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.00/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@eb6fc23ce6f4.2024-04-23_08.56.42"
=== Started at 2024-04-23 09:10:02
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_unsubscribe_2842@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='448c3b6ff8b28b52' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_unsubscribe_2842@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NDIAbWF0eWdyeXNh</auth>
*** User 2024-04-23 09:10:02.714 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:10:02.714 ***🔗
alicE_unsubscribe_2842@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 09:10:02.715 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d2b78e33c0ae51c' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2842@localhost'>
*** User 2024-04-23 09:10:02.715 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-23 09:10:02.715 ***🔗
alicE_unsubscribe_2842@localhost/res1 out
<iq type='set' id='dfcf37f78ff7dfa6092df057116b6b80'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:10:02.715 ***🔗
alicE_unsubscribe_2842@localhost/res1 in
<iq id='dfcf37f78ff7dfa6092df057116b6b80' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2842@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:10:02.716 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<iq type='set' id='bfa0382913788985d2f54170d766ee39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.716 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2842@localhost/res1' id='bfa0382913788985d2f54170d766ee39' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.716 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<presence/>
*** User 2024-04-23 09:10:02.718 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<presence from='alice_unsubscribe_2842@localhost/res1' to='alice_unsubscribe_2842@localhost/res1'/>
*** User 2024-04-23 09:10:02.718 ***🔗
bOb_unsubscribe_2842@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14b4f6efd5a0dbfb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_unsubscribe_2842@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODQyAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 09:10:02.720 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:10:02.720 ***🔗
bOb_unsubscribe_2842@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 09:10:02.720 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c00287829540893' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2842@localhost'>
*** User 2024-04-23 09:10:02.721 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-23 09:10:02.721 ***🔗
bOb_unsubscribe_2842@localhost/res1 out
<iq type='set' id='294a72e5ddc000c81839069dd5639db0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:10:02.721 ***🔗
bOb_unsubscribe_2842@localhost/res1 in
<iq id='294a72e5ddc000c81839069dd5639db0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2842@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:10:02.721 ***🔗
bob_unsubscribe_2842@localhost/res1 out
<iq type='set' id='a6dc130fb2cc1ad8b8635a545731d242'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.722 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2842@localhost/res1' id='a6dc130fb2cc1ad8b8635a545731d242' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.722 ***🔗
bob_unsubscribe_2842@localhost/res1 out
<presence/>
*** User 2024-04-23 09:10:02.723 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<presence from='bob_unsubscribe_2842@localhost/res1' to='bob_unsubscribe_2842@localhost/res1'/>
*** User 2024-04-23 09:10:02.723 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<iq type='set' id='eb18df90414e541173310c961718f59c'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2842@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.733 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='alice_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' id='push09c3d3bc89573dfa' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2842@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.733 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='alice_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' id='eb18df90414e541173310c961718f59c' type='result'/>
*** User 2024-04-23 09:10:02.733 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<iq to='alice_unsubscribe_2842@localhost' id='push09c3d3bc89573dfa' type='result'/>
*** User 2024-04-23 09:10:02.733 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2842@localhost'/>
*** User 2024-04-23 09:10:02.738 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='alice_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' id='push84ed1f85d0ab8a71' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2842@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.738 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<iq to='alice_unsubscribe_2842@localhost' id='push84ed1f85d0ab8a71' type='result'/>
*** User 2024-04-23 09:10:02.738 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<presence from='alice_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' type='subscribe'/>
*** User 2024-04-23 09:10:02.738 ***🔗
bob_unsubscribe_2842@localhost/res1 out
<iq type='set' id='dba6c9df7c76a09895ad026204ae32e3'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2842@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.745 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<iq from='bob_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' id='pushb27644abfcee405f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2842@localhost' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.745 ***🔗
bob_unsubscribe_2842@localhost/res1 out
<iq to='bob_unsubscribe_2842@localhost' id='pushb27644abfcee405f' type='result'/>
*** User 2024-04-23 09:10:02.745 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<iq from='bob_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' id='dba6c9df7c76a09895ad026204ae32e3' type='result'/>
*** User 2024-04-23 09:10:02.745 ***🔗
bob_unsubscribe_2842@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2842@localhost'/>
*** User 2024-04-23 09:10:02.794 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='alice_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' id='pushc4678e8ec6ccbfc2' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2842@localhost' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.794 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<presence from='bob_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' type='subscribed'/>
*** User 2024-04-23 09:10:02.794 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<presence from='bob_unsubscribe_2842@localhost/res1' to='alice_unsubscribe_2842@localhost/res1'/>
*** User 2024-04-23 09:10:02.794 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<iq from='bob_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' id='push1c69ca9c7fbc25c5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2842@localhost' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.794 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2842@localhost'/>
*** User 2024-04-23 09:10:02.802 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<iq from='alice_unsubscribe_2842@localhost' to='alice_unsubscribe_2842@localhost/res1' id='pushd18f982da5974e5c' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2842@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.802 ***🔗
alice_unsubscribe_2842@localhost/res1 out
<iq to='alice_unsubscribe_2842@localhost' id='pushd18f982da5974e5c' type='result'/>
*** User 2024-04-23 09:10:02.802 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<iq from='bob_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' id='push1e720f8aa815bd48' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2842@localhost' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.802 ***🔗
bob_unsubscribe_2842@localhost/res1 in
<presence from='alice_unsubscribe_2842@localhost' to='bob_unsubscribe_2842@localhost/res1' type='unsubscribe'/>
*** User 2024-04-23 09:10:02.802 ***🔗
alice_unsubscribe_2842@localhost/res1 in
<presence from='bob_unsubscribe_2842@localhost/res1' to='alice_unsubscribe_2842@localhost/res1' type='unavailable'/>
*** User 2024-04-23 09:10:02.802 ***🔗
bob_unsubscribe_2842@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:10:02.803 ***🔗
bob_unsubscribe_2842@localhost/res1 in
</stream:stream>
*** User 2024-04-23 09:10:02.803 ***🔗
alice_unsubscribe_2842@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:10:02.803 ***🔗
alice_unsubscribe_2842@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 09:10:02
=== successfully completed test case
=== === Returned value: ok