=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6265.2>},
{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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/presence_suite.remove_unsubscribe.221186.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/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@a458c4eb991a.2024-03-07_11.00.02"
=== Started at 2024-03-07 11:12:55
*** User 2024-03-07 11:12:55.723 ***🔗
alicE_remove_unsubscribe_2851@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-03-07 11:12:55.724 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='268ff54add595395' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:12:55.724 ***🔗
alicE_remove_unsubscribe_2851@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-03-07 11:12:55.724 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODUxAG1hdHlncnlzYQ==</auth>
*** User 2024-03-07 11:12:55.725 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:12:55.725 ***🔗
alicE_remove_unsubscribe_2851@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-03-07 11:12:55.725 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7cabe6a0e8d99a35' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2851@domain.example.com'>
*** User 2024-03-07 11:12:55.725 ***🔗
alicE_remove_unsubscribe_2851@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-03-07 11:12:55.725 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='d2a8bd52b7fb955fb613f05442c4bdb8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:12:55.726 ***🔗
alicE_remove_unsubscribe_2851@domain.example.com/res1 in
<iq id='d2a8bd52b7fb955fb613f05442c4bdb8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2851@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:12:55.726 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='bf98591a992397e0587837062b50184c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:12:55.726 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='bf98591a992397e0587837062b50184c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:12:55.726 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:12:55.727 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2851@domain.example.com/res1' to='alice_remove_unsubscribe_2851@domain.example.com/res1'/>
*** User 2024-03-07 11:12:55.728 ***🔗
bOb_remove_unsubscribe_2851@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-03-07 11:12:55.728 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='059702a540bc067d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:12:55.728 ***🔗
bOb_remove_unsubscribe_2851@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-03-07 11:12:55.728 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg1MQBtYWtyb2xpa2E=</auth>
*** User 2024-03-07 11:12:55.729 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:12:55.729 ***🔗
bOb_remove_unsubscribe_2851@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-03-07 11:12:55.729 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a423f1e79cb522f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2851@domain.example.com'>
*** User 2024-03-07 11:12:55.730 ***🔗
bOb_remove_unsubscribe_2851@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-03-07 11:12:55.730 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='4868f947cdbbe334af238229ca4ce0da'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:12:55.730 ***🔗
bOb_remove_unsubscribe_2851@domain.example.com/res1 in
<iq id='4868f947cdbbe334af238229ca4ce0da' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2851@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:12:55.730 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='a59a22c12c19a524f61c22ff4d29fd7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:12:55.731 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' id='a59a22c12c19a524f61c22ff4d29fd7f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:12:55.731 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:12:55.733 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2851@domain.example.com/res1' to='bob_remove_unsubscribe_2851@domain.example.com/res1'/>
*** User 2024-03-07 11:12:55.733 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='49ad406b0ce57dd525e8bd0481d64a96'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2851@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.740 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='pushc62eed9d4a5a5e04' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2851@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.740 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='49ad406b0ce57dd525e8bd0481d64a96' type='result'/>
*** User 2024-03-07 11:12:55.741 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2851@domain.example.com' id='pushc62eed9d4a5a5e04' type='result'/>
*** User 2024-03-07 11:12:55.741 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2851@domain.example.com'/>
*** User 2024-03-07 11:12:55.766 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='push01c3a6709bfce1a8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2851@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.766 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2851@domain.example.com' id='push01c3a6709bfce1a8' type='result'/>
*** User 2024-03-07 11:12:55.766 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' type='subscribe'/>
*** User 2024-03-07 11:12:55.767 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='801d81ebbb87535048f5dfdf8279180c'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2851@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.770 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' id='push6b3dc54715006ed8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2851@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.770 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2851@domain.example.com' id='push6b3dc54715006ed8' type='result'/>
*** User 2024-03-07 11:12:55.770 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' id='801d81ebbb87535048f5dfdf8279180c' type='result'/>
*** User 2024-03-07 11:12:55.770 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2851@domain.example.com'/>
*** User 2024-03-07 11:12:55.774 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='push52ffcbbcffe811e7' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2851@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.774 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' type='subscribed'/>
*** User 2024-03-07 11:12:55.775 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2851@domain.example.com/res1' to='alice_remove_unsubscribe_2851@domain.example.com/res1'/>
*** User 2024-03-07 11:12:55.775 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' id='push206af14d31bd782c' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2851@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.775 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
<iq type='set' id='23432e51237190713e7f80b8bd4d5f78'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2851@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-07 11:12:55.778 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='pushd9821cf76f006c8e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2851@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-07 11:12:55.782 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2851@domain.example.com/res1' to='alice_remove_unsubscribe_2851@domain.example.com/res1' type='unavailable'/>
*** User 2024-03-07 11:12:55.782 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2851@domain.example.com' to='alice_remove_unsubscribe_2851@domain.example.com/res1' id='23432e51237190713e7f80b8bd4d5f78' type='result'/>
*** User 2024-03-07 11:12:55.782 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' id='pushdbea18bbb33e3e65' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2851@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-07 11:12:55.782 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2851@domain.example.com' to='bob_remove_unsubscribe_2851@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-03-07 11:12:55.783 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:12:55.783 ***🔗
bob_remove_unsubscribe_2851@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-07 11:12:55.783 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:12:55.783 ***🔗
alice_remove_unsubscribe_2851@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-07 11:12:55
=== successfully completed test case
=== === Returned value: ok