=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.9573.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/presence_suite.remove_unsubscribe.87684.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cdcecdf9c9e0.2023-12-04_15.40.23"
=== Started at 2023-12-04 15:53:49
*** User 2023-12-04 15:53:49.949 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.953 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3026e411300000dd' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.953 ***🔗
alicE_remove_unsubscribe_2735@localhost/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-04 15:53:49.953 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzM1AG1hdHlncnlzYQ==</auth>
*** User 2023-12-04 15:53:49.960 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.961 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.961 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d722fa38f4fd9cd4' from='localhost' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2735@localhost'>
*** User 2023-12-04 15:53:49.961 ***🔗
alicE_remove_unsubscribe_2735@localhost/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-04 15:53:49.962 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='9498adf57fc7cee03c740f1859e39e0c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.962 ***🔗
alicE_remove_unsubscribe_2735@localhost/res1 in
<iq id='9498adf57fc7cee03c740f1859e39e0c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2735@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.962 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='e565f9bf565181c0cc84609a5c7ce4cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.962 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='e565f9bf565181c0cc84609a5c7ce4cb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.962 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.963 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<presence from='alice_remove_unsubscribe_2735@localhost/res1' to='alice_remove_unsubscribe_2735@localhost/res1'/>
*** User 2023-12-04 15:53:49.964 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.964 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='240af849964e0ccc' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.964 ***🔗
bOb_remove_unsubscribe_2735@localhost/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-04 15:53:49.964 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjczNQBtYWtyb2xpa2E=</auth>
*** User 2023-12-04 15:53:49.965 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.965 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.965 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dffde88a44761930' from='localhost' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2735@localhost'>
*** User 2023-12-04 15:53:49.965 ***🔗
bOb_remove_unsubscribe_2735@localhost/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-04 15:53:49.966 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='e3631ce944c0b70170b16b31b1ca6777'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.966 ***🔗
bOb_remove_unsubscribe_2735@localhost/res1 in
<iq id='e3631ce944c0b70170b16b31b1ca6777' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2735@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.966 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='5168f5ea9257bc2acca05c8c097e8971'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.966 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<iq from='localhost' to='bob_remove_unsubscribe_2735@localhost/res1' id='5168f5ea9257bc2acca05c8c097e8971' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.966 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.967 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<presence from='bob_remove_unsubscribe_2735@localhost/res1' to='bob_remove_unsubscribe_2735@localhost/res1'/>
*** User 2023-12-04 15:53:49.967 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='f301e3aab0157a64bafc97c355d72db5'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2735@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.971 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='pushb2ec7a6b9f688e85' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2735@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.971 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='f301e3aab0157a64bafc97c355d72db5' type='result'/>
*** User 2023-12-04 15:53:49.972 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<iq to='alice_remove_unsubscribe_2735@localhost' id='pushb2ec7a6b9f688e85' type='result'/>
*** User 2023-12-04 15:53:49.972 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2735@localhost'/>
*** User 2023-12-04 15:53:49.976 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='pushc1f203be610f8be7' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2735@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.976 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<iq to='alice_remove_unsubscribe_2735@localhost' id='pushc1f203be610f8be7' type='result'/>
*** User 2023-12-04 15:53:49.976 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<presence from='alice_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' type='subscribe'/>
*** User 2023-12-04 15:53:49.976 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='7deb8b6602ff0da533ed9a003b722fa9'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2735@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.977 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<iq from='bob_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' id='push85f1c5b7b0bed143' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2735@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.978 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
<iq to='bob_remove_unsubscribe_2735@localhost' id='push85f1c5b7b0bed143' type='result'/>
*** User 2023-12-04 15:53:49.978 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<iq from='bob_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' id='7deb8b6602ff0da533ed9a003b722fa9' type='result'/>
*** User 2023-12-04 15:53:49.978 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2735@localhost'/>
*** User 2023-12-04 15:53:49.982 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='pusha3fdb6a0784198be' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2735@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.982 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<presence from='bob_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' type='subscribed'/>
*** User 2023-12-04 15:53:49.982 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<presence from='bob_remove_unsubscribe_2735@localhost/res1' to='alice_remove_unsubscribe_2735@localhost/res1'/>
*** User 2023-12-04 15:53:49.982 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<iq from='bob_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' id='pusha48329c95d140104' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2735@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.982 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
<iq type='set' id='273bed396f86dfcd4707a30c51602d3c'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2735@localhost' subscription='remove'/>
</query>
</iq>
*** User 2023-12-04 15:53:49.983 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='pushbe60062d253a4d6e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2735@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:53:49.986 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<iq from='alice_remove_unsubscribe_2735@localhost' to='alice_remove_unsubscribe_2735@localhost/res1' id='273bed396f86dfcd4707a30c51602d3c' type='result'/>
*** User 2023-12-04 15:53:49.986 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
<presence from='bob_remove_unsubscribe_2735@localhost/res1' to='alice_remove_unsubscribe_2735@localhost/res1' type='unavailable'/>
*** User 2023-12-04 15:53:49.986 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<iq from='bob_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' id='pushf9d228b41169f021' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2735@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.986 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
<presence from='alice_remove_unsubscribe_2735@localhost' to='bob_remove_unsubscribe_2735@localhost/res1' type='unsubscribe'/>
*** User 2023-12-04 15:53:49.986 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.987 ***🔗
bob_remove_unsubscribe_2735@localhost/res1 in
</stream:stream>
*** User 2023-12-04 15:53:49.987 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.987 ***🔗
alice_remove_unsubscribe_2735@localhost/res1 in
</stream:stream>
=== Ended at 2023-12-04 15:53:50
=== successfully completed test case
=== === Returned value: ok