=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.7643.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/presence_suite.unsubscribe.158211.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/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@893c79bb0538.2024-03-20_18.07.18"
=== Started at 2024-03-20 18:21:11
*** User 2024-03-20 18:21:11.171 ***🔗
alicE_unsubscribe_2913@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-20 18:21:11.171 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60222e573961d71b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:11.171 ***🔗
alicE_unsubscribe_2913@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-20 18:21:11.172 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI5MTMAbWF0eWdyeXNh</auth>
*** User 2024-03-20 18:21:11.172 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:11.173 ***🔗
alicE_unsubscribe_2913@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-20 18:21:11.173 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca55fba29929cbbb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2913@domain.example.com'>
*** User 2024-03-20 18:21:11.173 ***🔗
alicE_unsubscribe_2913@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-20 18:21:11.173 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='09857bd41770f9097615f51863f1c8d7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:11.173 ***🔗
alicE_unsubscribe_2913@domain.example.com/res1 in
<iq id='09857bd41770f9097615f51863f1c8d7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2913@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:11.173 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='49f98074d2187adcb7758ef4f842de2b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.174 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='49f98074d2187adcb7758ef4f842de2b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.174 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:11.175 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<presence from='alice_unsubscribe_2913@domain.example.com/res1' to='alice_unsubscribe_2913@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.176 ***🔗
bOb_unsubscribe_2913@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-20 18:21:11.176 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54def212e7fe5601' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:11.176 ***🔗
bOb_unsubscribe_2913@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-20 18:21:11.176 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yOTEzAG1ha3JvbGlrYQ==</auth>
*** User 2024-03-20 18:21:11.177 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:11.177 ***🔗
bOb_unsubscribe_2913@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-20 18:21:11.177 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9eb94e1086e9c6f5' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2913@domain.example.com'>
*** User 2024-03-20 18:21:11.178 ***🔗
bOb_unsubscribe_2913@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-20 18:21:11.178 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='30a7540f102563cda35dacef48cdb3d7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:11.178 ***🔗
bOb_unsubscribe_2913@domain.example.com/res1 in
<iq id='30a7540f102563cda35dacef48cdb3d7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2913@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:11.178 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='9c5e0984b0ea27c809f5db6c1fdd0fdc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.179 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' id='9c5e0984b0ea27c809f5db6c1fdd0fdc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.179 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:11.183 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<presence from='bob_unsubscribe_2913@domain.example.com/res1' to='bob_unsubscribe_2913@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.183 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='030be81ac376f6fff33932ebf387748b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2913@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.194 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='alice_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='push7f48ce208f428868' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2913@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.194 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='alice_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='030be81ac376f6fff33932ebf387748b' type='result'/>
*** User 2024-03-20 18:21:11.194 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<iq to='alice_unsubscribe_2913@domain.example.com' id='push7f48ce208f428868' type='result'/>
*** User 2024-03-20 18:21:11.194 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2913@domain.example.com'/>
*** User 2024-03-20 18:21:11.198 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='alice_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='pusha00b1bc853ae41a5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2913@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.198 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<iq to='alice_unsubscribe_2913@domain.example.com' id='pusha00b1bc853ae41a5' type='result'/>
*** User 2024-03-20 18:21:11.198 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<presence from='alice_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' type='subscribe'/>
*** User 2024-03-20 18:21:11.198 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
<iq type='set' id='d2979e92e65ab293a098111087c25109'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2913@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<iq from='bob_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' id='pusheddfccec877bb534' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2913@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
<iq to='bob_unsubscribe_2913@domain.example.com' id='pusheddfccec877bb534' type='result'/>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<iq from='bob_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' id='d2979e92e65ab293a098111087c25109' type='result'/>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2913@domain.example.com'/>
*** User 2024-03-20 18:21:11.239 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='alice_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='pushb395584871d16735' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2913@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.239 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<presence from='bob_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' type='subscribed'/>
*** User 2024-03-20 18:21:11.239 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<presence from='bob_unsubscribe_2913@domain.example.com/res1' to='alice_unsubscribe_2913@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.239 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<iq from='bob_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' id='pushe1d4c57c4a5d5acb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2913@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.239 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2913@domain.example.com'/>
*** User 2024-03-20 18:21:11.245 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<iq from='alice_unsubscribe_2913@domain.example.com' to='alice_unsubscribe_2913@domain.example.com/res1' id='push63c9c3195086693d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2913@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.245 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
<iq to='alice_unsubscribe_2913@domain.example.com' id='push63c9c3195086693d' type='result'/>
*** User 2024-03-20 18:21:11.245 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<iq from='bob_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' id='push1f92454cd5a5fc8d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2913@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.245 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
<presence from='alice_unsubscribe_2913@domain.example.com' to='bob_unsubscribe_2913@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-03-20 18:21:11.245 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
<presence from='bob_unsubscribe_2913@domain.example.com/res1' to='alice_unsubscribe_2913@domain.example.com/res1' type='unavailable'/>
*** User 2024-03-20 18:21:11.246 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:11.246 ***🔗
bob_unsubscribe_2913@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-20 18:21:11.247 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:11.247 ***🔗
alice_unsubscribe_2913@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-20 18:21:11
=== successfully completed test case
=== === Returned value: ok