=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6869.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/presence_suite.unsubscribe.70405.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/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@b3c75cb3c9a2.2024-04-23_10.51.31"
=== Started at 2024-04-23 11:04:28
*** User 2024-04-23 11:04:28.952 ***🔗
alicE_unsubscribe_3082@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-04-23 11:04:28.952 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa2cfff98356a074' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_unsubscribe_3082@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-04-23 11:04:28.953 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwODIAbWF0eWdyeXNh</auth>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.954 ***🔗
alicE_unsubscribe_3082@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-04-23 11:04:28.954 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bb5a516f70807ec' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_3082@domain.example.com'>
*** User 2024-04-23 11:04:28.954 ***🔗
alicE_unsubscribe_3082@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-04-23 11:04:28.954 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='3c9d635c66be75b872dacedff16d12a3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.954 ***🔗
alicE_unsubscribe_3082@domain.example.com/res1 in
<iq id='3c9d635c66be75b872dacedff16d12a3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_3082@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.954 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='e648cd71b42f1a7666b3918ff79a5c08'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.955 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='e648cd71b42f1a7666b3918ff79a5c08' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.955 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.956 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<presence from='alice_unsubscribe_3082@domain.example.com/res1' to='alice_unsubscribe_3082@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.957 ***🔗
bOb_unsubscribe_3082@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-04-23 11:04:28.957 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ecacd9fd1629d0e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.957 ***🔗
bOb_unsubscribe_3082@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-04-23 11:04:28.957 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDgyAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 11:04:28.958 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.958 ***🔗
bOb_unsubscribe_3082@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-04-23 11:04:28.958 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffaf49bff6badc60' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_3082@domain.example.com'>
*** User 2024-04-23 11:04:28.958 ***🔗
bOb_unsubscribe_3082@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-04-23 11:04:28.958 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='91d51eb52c6c02b58a3759b425f7acec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bOb_unsubscribe_3082@domain.example.com/res1 in
<iq id='91d51eb52c6c02b58a3759b425f7acec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_3082@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='55c53daff2fe2a6c55cd40c1406ebb9c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' id='55c53daff2fe2a6c55cd40c1406ebb9c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.960 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<presence from='bob_unsubscribe_3082@domain.example.com/res1' to='bob_unsubscribe_3082@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.960 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='ab00f5689048506b382d8d02bcda6a7d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_3082@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.964 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='alice_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='push4e1316a78cd8bf3d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3082@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.964 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='alice_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='ab00f5689048506b382d8d02bcda6a7d' type='result'/>
*** User 2024-04-23 11:04:28.964 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<iq to='alice_unsubscribe_3082@domain.example.com' id='push4e1316a78cd8bf3d' type='result'/>
*** User 2024-04-23 11:04:28.964 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_3082@domain.example.com'/>
*** User 2024-04-23 11:04:28.968 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='alice_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='push1c3e1a63f82df18d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3082@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.968 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<iq to='alice_unsubscribe_3082@domain.example.com' id='push1c3e1a63f82df18d' type='result'/>
*** User 2024-04-23 11:04:28.969 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<presence from='alice_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 11:04:28.969 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
<iq type='set' id='865ad5c2d566aa01bc3538ac58d6cea0'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_3082@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.972 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<iq from='bob_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' id='push17c307608121faab' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3082@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.972 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
<iq to='bob_unsubscribe_3082@domain.example.com' id='push17c307608121faab' type='result'/>
*** User 2024-04-23 11:04:28.973 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<iq from='bob_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' id='865ad5c2d566aa01bc3538ac58d6cea0' type='result'/>
*** User 2024-04-23 11:04:28.973 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_3082@domain.example.com'/>
*** User 2024-04-23 11:04:28.980 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='alice_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='push62dd247ea39b6d6e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3082@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.980 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<presence from='bob_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-23 11:04:28.980 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<presence from='bob_unsubscribe_3082@domain.example.com/res1' to='alice_unsubscribe_3082@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.981 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<iq from='bob_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' id='pushe70c3aca084e93cc' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3082@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.981 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3082@domain.example.com'/>
*** User 2024-04-23 11:04:28.985 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<iq from='alice_unsubscribe_3082@domain.example.com' to='alice_unsubscribe_3082@domain.example.com/res1' id='push424f15ff739ef4fb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3082@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.986 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
<iq to='alice_unsubscribe_3082@domain.example.com' id='push424f15ff739ef4fb' type='result'/>
*** User 2024-04-23 11:04:28.986 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<iq from='bob_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' id='pushbd962e8fd7300aaa' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3082@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.986 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
<presence from='alice_unsubscribe_3082@domain.example.com' to='bob_unsubscribe_3082@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-23 11:04:28.986 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
<presence from='bob_unsubscribe_3082@domain.example.com/res1' to='alice_unsubscribe_3082@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-23 11:04:28.986 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.986 ***🔗
bob_unsubscribe_3082@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 11:04:28.986 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.987 ***🔗
alice_unsubscribe_3082@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:04:29
=== successfully completed test case
=== === Returned value: ok