=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.72367.0>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/presence_suite.unsubscribe.169091.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/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@a000afa994eb.2024-04-25_16.17.04"
=== Started at 2024-04-25 16:30:23
*** User 2024-04-25 16:30:23.735 ***🔗
alicE_unsubscribe_2878@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-25 16:30:23.736 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34f0346b84f596dc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.736 ***🔗
alicE_unsubscribe_2878@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-25 16:30:23.736 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NzgAbWF0eWdyeXNh</auth>
*** User 2024-04-25 16:30:23.736 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.737 ***🔗
alicE_unsubscribe_2878@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-25 16:30:23.737 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='988e878535821edf' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2878@domain.example.com'>
*** User 2024-04-25 16:30:23.737 ***🔗
alicE_unsubscribe_2878@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-25 16:30:23.737 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='b6cdcfc00771bad08d7ba406d4c63693'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.737 ***🔗
alicE_unsubscribe_2878@domain.example.com/res1 in
<iq id='b6cdcfc00771bad08d7ba406d4c63693' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2878@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.737 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='fa02bd14701af7fab067f7b204dc92dd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.738 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='fa02bd14701af7fab067f7b204dc92dd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.738 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.739 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<presence from='alice_unsubscribe_2878@domain.example.com/res1' to='alice_unsubscribe_2878@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.740 ***🔗
bOb_unsubscribe_2878@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-25 16:30:23.740 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abbc6d760e61047e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.740 ***🔗
bOb_unsubscribe_2878@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-25 16:30:23.740 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODc4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-25 16:30:23.741 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.741 ***🔗
bOb_unsubscribe_2878@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-25 16:30:23.742 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='952cfb160126043b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2878@domain.example.com'>
*** User 2024-04-25 16:30:23.742 ***🔗
bOb_unsubscribe_2878@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-25 16:30:23.742 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='cd10106a677d79b7cac554ebd5326850'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.742 ***🔗
bOb_unsubscribe_2878@domain.example.com/res1 in
<iq id='cd10106a677d79b7cac554ebd5326850' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2878@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.742 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='a803656ab13139bcb54760542ed8f95e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.743 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' id='a803656ab13139bcb54760542ed8f95e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.743 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.744 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<presence from='bob_unsubscribe_2878@domain.example.com/res1' to='bob_unsubscribe_2878@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.744 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='34645155ac6bc00f612249398b7ca915'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2878@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.763 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='alice_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='pushf9ffc46cf76f1d49' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2878@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.763 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='alice_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='34645155ac6bc00f612249398b7ca915' type='result'/>
*** User 2024-04-25 16:30:23.763 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<iq to='alice_unsubscribe_2878@domain.example.com' id='pushf9ffc46cf76f1d49' type='result'/>
*** User 2024-04-25 16:30:23.763 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2878@domain.example.com'/>
*** User 2024-04-25 16:30:23.767 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='alice_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='pushd9330f16d6d1090d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2878@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.767 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<iq to='alice_unsubscribe_2878@domain.example.com' id='pushd9330f16d6d1090d' type='result'/>
*** User 2024-04-25 16:30:23.767 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<presence from='alice_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-25 16:30:23.767 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
<iq type='set' id='2e1a6659e68460b68a57067932cff3f5'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2878@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<iq from='bob_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' id='pushfa8692254d323794' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2878@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
<iq to='bob_unsubscribe_2878@domain.example.com' id='pushfa8692254d323794' type='result'/>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<iq from='bob_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' id='2e1a6659e68460b68a57067932cff3f5' type='result'/>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2878@domain.example.com'/>
*** User 2024-04-25 16:30:23.787 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='alice_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='push54180b0e43b36d9b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2878@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.787 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<presence from='bob_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-25 16:30:23.787 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<presence from='bob_unsubscribe_2878@domain.example.com/res1' to='alice_unsubscribe_2878@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.787 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<iq from='bob_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' id='pushf2caaedd8cdf1cab' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2878@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.787 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2878@domain.example.com'/>
*** User 2024-04-25 16:30:23.799 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<iq from='alice_unsubscribe_2878@domain.example.com' to='alice_unsubscribe_2878@domain.example.com/res1' id='push03b25f5a7411c81e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2878@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.799 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
<iq to='alice_unsubscribe_2878@domain.example.com' id='push03b25f5a7411c81e' type='result'/>
*** User 2024-04-25 16:30:23.799 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<iq from='bob_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' id='pushf08741d985729bca' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2878@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.799 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
<presence from='alice_unsubscribe_2878@domain.example.com' to='bob_unsubscribe_2878@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-25 16:30:23.799 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
<presence from='bob_unsubscribe_2878@domain.example.com/res1' to='alice_unsubscribe_2878@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-25 16:30:23.800 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.800 ***🔗
bob_unsubscribe_2878@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 16:30:23.800 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.800 ***🔗
alice_unsubscribe_2878@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:30:23
=== successfully completed test case
=== === Returned value: ok