=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.71755.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/presence_suite.unsubscribe.132739.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@204f21db9bdd.2024-04-10_16.27.55"
=== Started at 2024-04-10 16:39:15
*** User 2024-04-10 16:39:15.381 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 16:39:15.381 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1773afc17eec3b19' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 16:39:15.381 ***🔗
alicE_unsubscribe_2725@domain.example.com/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-10 16:39:15.382 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MjUAbWF0eWdyeXNh</auth>
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f4bfbb26ac188ed' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2725@domain.example.com'>
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/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-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='3cae0210554c4f4d0057dee02d0bd96b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_unsubscribe_2725@domain.example.com/res1 in
<iq id='3cae0210554c4f4d0057dee02d0bd96b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2725@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 16:39:15.384 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='fde498233d816cf221f3d60a1f96db7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.384 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='fde498233d816cf221f3d60a1f96db7f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.384 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 16:39:15.386 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<presence from='alice_unsubscribe_2725@domain.example.com/res1' to='alice_unsubscribe_2725@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.386 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 16:39:15.387 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9045a7f1bdb1e87f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 16:39:15.387 ***🔗
bOb_unsubscribe_2725@domain.example.com/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-10 16:39:15.387 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzI1AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a56d52f7b8ea21c3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2725@domain.example.com'>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/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-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='a6a5786d122ea0f079f2a43986d68ba7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_unsubscribe_2725@domain.example.com/res1 in
<iq id='a6a5786d122ea0f079f2a43986d68ba7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2725@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 16:39:15.388 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='b007fbf81f6bf6c00a0cbebd2d0d7c50'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.389 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' id='b007fbf81f6bf6c00a0cbebd2d0d7c50' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.389 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 16:39:15.390 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<presence from='bob_unsubscribe_2725@domain.example.com/res1' to='bob_unsubscribe_2725@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.390 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='dc33d853e48f61e3ae5a1bd95a21598a'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2725@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.402 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='alice_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='pushad5b17278fda8a6f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2725@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.402 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='alice_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='dc33d853e48f61e3ae5a1bd95a21598a' type='result'/>
*** User 2024-04-10 16:39:15.403 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<iq to='alice_unsubscribe_2725@domain.example.com' id='pushad5b17278fda8a6f' type='result'/>
*** User 2024-04-10 16:39:15.403 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2725@domain.example.com'/>
*** User 2024-04-10 16:39:15.422 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='alice_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='pushb4501b4b6f53b96c' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2725@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.422 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<iq to='alice_unsubscribe_2725@domain.example.com' id='pushb4501b4b6f53b96c' type='result'/>
*** User 2024-04-10 16:39:15.422 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<presence from='alice_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-10 16:39:15.422 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
<iq type='set' id='f914f91a89cbbac7b3eb6142587a2627'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2725@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.430 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<iq from='bob_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' id='pushc4615665876ed141' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2725@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.430 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
<iq to='bob_unsubscribe_2725@domain.example.com' id='pushc4615665876ed141' type='result'/>
*** User 2024-04-10 16:39:15.430 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<iq from='bob_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' id='f914f91a89cbbac7b3eb6142587a2627' type='result'/>
*** User 2024-04-10 16:39:15.430 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2725@domain.example.com'/>
*** User 2024-04-10 16:39:15.437 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='alice_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='push0b63b3d1abf34359' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2725@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.437 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<presence from='bob_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-10 16:39:15.437 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<presence from='bob_unsubscribe_2725@domain.example.com/res1' to='alice_unsubscribe_2725@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.437 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<iq from='bob_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' id='pushc9cbce1adeca3d68' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2725@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.437 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2725@domain.example.com'/>
*** User 2024-04-10 16:39:15.447 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<iq from='alice_unsubscribe_2725@domain.example.com' to='alice_unsubscribe_2725@domain.example.com/res1' id='pusha76948f017eba754' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2725@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.447 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
<iq to='alice_unsubscribe_2725@domain.example.com' id='pusha76948f017eba754' type='result'/>
*** User 2024-04-10 16:39:15.447 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<iq from='bob_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' id='push9962e0dff0247930' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2725@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.447 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
<presence from='alice_unsubscribe_2725@domain.example.com' to='bob_unsubscribe_2725@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-10 16:39:15.447 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
<presence from='bob_unsubscribe_2725@domain.example.com/res1' to='alice_unsubscribe_2725@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-10 16:39:15.447 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 16:39:15.447 ***🔗
bob_unsubscribe_2725@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-10 16:39:15.447 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 16:39:15.448 ***🔗
alice_unsubscribe_2725@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-10 16:39:15
=== successfully completed test case
=== === Returned value: ok