=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.68302.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/presence_suite.unsubscribe.162435.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/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@d3b7dd7159a8.2023-12-07_07.46.41"
=== Started at 2023-12-07 07:57:32
*** User 2023-12-07 07:57:32.131 ***🔗
alicE_unsubscribe_2500@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 2023-12-07 07:57:32.131 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2f15fbb7528aa1c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:57:32.131 ***🔗
alicE_unsubscribe_2500@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 2023-12-07 07:57:32.132 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1MDAAbWF0eWdyeXNh</auth>
*** User 2023-12-07 07:57:32.132 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:57:32.132 ***🔗
alicE_unsubscribe_2500@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 2023-12-07 07:57:32.133 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b58a2e4d1714708' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2500@domain.example.com'>
*** User 2023-12-07 07:57:32.133 ***🔗
alicE_unsubscribe_2500@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 2023-12-07 07:57:32.133 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='4335a3b9344f1eddec9f273675c985c0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:57:32.133 ***🔗
alicE_unsubscribe_2500@domain.example.com/res1 in
<iq id='4335a3b9344f1eddec9f273675c985c0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2500@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:57:32.133 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='a659d459406f3b1952be6c73c137c6be'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.134 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='a659d459406f3b1952be6c73c137c6be' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.134 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:57:32.136 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<presence from='alice_unsubscribe_2500@domain.example.com/res1' to='alice_unsubscribe_2500@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.136 ***🔗
bOb_unsubscribe_2500@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 2023-12-07 07:57:32.136 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc6e546c96e3cb00' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:57:32.137 ***🔗
bOb_unsubscribe_2500@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 2023-12-07 07:57:32.137 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTAwAG1ha3JvbGlrYQ==</auth>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_unsubscribe_2500@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 2023-12-07 07:57:32.138 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='462e5c1364e587f0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2500@domain.example.com'>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_unsubscribe_2500@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 2023-12-07 07:57:32.138 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='f38a2329731dce1d8622868cdb9f2b4a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bOb_unsubscribe_2500@domain.example.com/res1 in
<iq id='f38a2329731dce1d8622868cdb9f2b4a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2500@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='bd3c9cffaae5594d09612992a783ea1c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' id='bd3c9cffaae5594d09612992a783ea1c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:57:32.141 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<presence from='bob_unsubscribe_2500@domain.example.com/res1' to='bob_unsubscribe_2500@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.141 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='f4ba2d2d8e263b34f43546349a735790'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2500@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.157 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='alice_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='push17c167475ca12fca' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2500@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.157 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='alice_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='f4ba2d2d8e263b34f43546349a735790' type='result'/>
*** User 2023-12-07 07:57:32.157 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<iq to='alice_unsubscribe_2500@domain.example.com' id='push17c167475ca12fca' type='result'/>
*** User 2023-12-07 07:57:32.157 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2500@domain.example.com'/>
*** User 2023-12-07 07:57:32.163 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='alice_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='pushc162a616af88aeca' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2500@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.163 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<iq to='alice_unsubscribe_2500@domain.example.com' id='pushc162a616af88aeca' type='result'/>
*** User 2023-12-07 07:57:32.163 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<presence from='alice_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' type='subscribe'/>
*** User 2023-12-07 07:57:32.163 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
<iq type='set' id='bfbdc88d5d0cbe6a9309107d28e9e635'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2500@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.168 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<iq from='bob_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' id='pushffae2e0af5e00bf0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2500@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.168 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
<iq to='bob_unsubscribe_2500@domain.example.com' id='pushffae2e0af5e00bf0' type='result'/>
*** User 2023-12-07 07:57:32.168 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<iq from='bob_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' id='bfbdc88d5d0cbe6a9309107d28e9e635' type='result'/>
*** User 2023-12-07 07:57:32.169 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2500@domain.example.com'/>
*** User 2023-12-07 07:57:32.175 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='alice_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='pushcdba4c758a65220a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_2500@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.175 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<presence from='bob_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' type='subscribed'/>
*** User 2023-12-07 07:57:32.175 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<presence from='bob_unsubscribe_2500@domain.example.com/res1' to='alice_unsubscribe_2500@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.176 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<iq from='bob_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' id='push3a0c8395834b8393' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_2500@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.176 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2500@domain.example.com'/>
*** User 2023-12-07 07:57:32.225 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<iq from='alice_unsubscribe_2500@domain.example.com' to='alice_unsubscribe_2500@domain.example.com/res1' id='pushaf1f383346d2ee2b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2500@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.225 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
<iq to='alice_unsubscribe_2500@domain.example.com' id='pushaf1f383346d2ee2b' type='result'/>
*** User 2023-12-07 07:57:32.225 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<iq from='bob_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' id='pushc5d70705a6f8d238' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2500@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.225 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
<presence from='alice_unsubscribe_2500@domain.example.com' to='bob_unsubscribe_2500@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-12-07 07:57:32.225 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
<presence from='bob_unsubscribe_2500@domain.example.com/res1' to='alice_unsubscribe_2500@domain.example.com/res1' type='unavailable'/>
*** User 2023-12-07 07:57:32.225 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 out
</stream:stream>
*** User 2023-12-07 07:57:32.226 ***🔗
bob_unsubscribe_2500@domain.example.com/res1 in
</stream:stream>
*** User 2023-12-07 07:57:32.226 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 out
</stream:stream>
*** User 2023-12-07 07:57:32.226 ***🔗
alice_unsubscribe_2500@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-12-07 07:57:32
=== successfully completed test case
=== === Returned value: ok