=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.68288.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/presence_suite.remove_unsubscribe.134147.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/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@a2fc54846062.2023-11-14_11.38.11"
=== Started at 2023-11-14 11:54:08
*** User 2023-11-14 11:54:08.933 ***🔗
alicE_remove_unsubscribe_3186@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-11-14 11:54:08.933 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abb47a499ba54b7f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:08.933 ***🔗
alicE_remove_unsubscribe_3186@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-11-14 11:54:08.933 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8zMTg2AG1hdHlncnlzYQ==</auth>
*** User 2023-11-14 11:54:08.934 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:08.934 ***🔗
alicE_remove_unsubscribe_3186@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-11-14 11:54:08.934 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3fde996faa17d01' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_3186@domain.example.com'>
*** User 2023-11-14 11:54:08.935 ***🔗
alicE_remove_unsubscribe_3186@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-11-14 11:54:08.935 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='c0a17da82834c57ea5f55668285fcd62'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:08.935 ***🔗
alicE_remove_unsubscribe_3186@domain.example.com/res1 in
<iq id='c0a17da82834c57ea5f55668285fcd62' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_3186@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:08.935 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='cc49a16ffe65406d5fd72305d3eb86b4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.935 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='cc49a16ffe65406d5fd72305d3eb86b4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.936 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:08.937 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3186@domain.example.com/res1' to='alice_remove_unsubscribe_3186@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.937 ***🔗
bOb_remove_unsubscribe_3186@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-11-14 11:54:08.938 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cd9e3847927f22b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:08.938 ***🔗
bOb_remove_unsubscribe_3186@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-11-14 11:54:08.938 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMzE4NgBtYWtyb2xpa2E=</auth>
*** User 2023-11-14 11:54:08.939 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:08.939 ***🔗
bOb_remove_unsubscribe_3186@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-11-14 11:54:08.940 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e4f780a51e71942' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_3186@domain.example.com'>
*** User 2023-11-14 11:54:08.940 ***🔗
bOb_remove_unsubscribe_3186@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-11-14 11:54:08.940 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='353031f2a7af14af58b15fea2703c695'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:08.940 ***🔗
bOb_remove_unsubscribe_3186@domain.example.com/res1 in
<iq id='353031f2a7af14af58b15fea2703c695' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_3186@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:08.940 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='f8f47b9a9aec5ddfd99abdbd94ad27e1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.941 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' id='f8f47b9a9aec5ddfd99abdbd94ad27e1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.941 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:08.943 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3186@domain.example.com/res1' to='bob_remove_unsubscribe_3186@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.943 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='5b69ce2a45a3623b98709c8b03c6b4ad'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_3186@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='pushec0805fcbbb69a7c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_3186@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='5b69ce2a45a3623b98709c8b03c6b4ad' type='result'/>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3186@domain.example.com' id='pushec0805fcbbb69a7c' type='result'/>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_3186@domain.example.com'/>
*** User 2023-11-14 11:54:08.968 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='push9d186b347fb7f86c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_3186@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.969 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3186@domain.example.com' id='push9d186b347fb7f86c' type='result'/>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='3900bf7a3ba7d0820e9d007d9ace8b73'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_3186@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.972 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' id='push3c9d2554d0b2ba74' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_3186@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.973 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_3186@domain.example.com' id='push3c9d2554d0b2ba74' type='result'/>
*** User 2023-11-14 11:54:08.973 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' id='3900bf7a3ba7d0820e9d007d9ace8b73' type='result'/>
*** User 2023-11-14 11:54:08.973 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_3186@domain.example.com'/>
*** User 2023-11-14 11:54:08.978 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='push957b17edf3a84bfb' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_3186@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.979 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-14 11:54:08.979 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3186@domain.example.com/res1' to='alice_remove_unsubscribe_3186@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.979 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' id='pushfbf03ea514733c94' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_3186@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.979 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
<iq type='set' id='794590c0fafffac0a827f61f69b6760b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_3186@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2023-11-14 11:54:08.983 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='push3bd0603f6bc7406a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_3186@domain.example.com'/>
</query>
</iq>
*** User 2023-11-14 11:54:08.986 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3186@domain.example.com/res1' to='alice_remove_unsubscribe_3186@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-14 11:54:08.986 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3186@domain.example.com' to='alice_remove_unsubscribe_3186@domain.example.com/res1' id='794590c0fafffac0a827f61f69b6760b' type='result'/>
*** User 2023-11-14 11:54:08.986 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' id='push0b9bc0b850b203c8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_3186@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.987 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3186@domain.example.com' to='bob_remove_unsubscribe_3186@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-14 11:54:08.987 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.987 ***🔗
bob_remove_unsubscribe_3186@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-14 11:54:08.987 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.987 ***🔗
alice_remove_unsubscribe_3186@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-14 11:54:09
=== successfully completed test case
=== === Returned value: ok