=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.68639.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/presence_suite.remove_unsubscribe.147459.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/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@cdb4b709e1db.2023-11-16_09.06.27"
=== Started at 2023-11-16 09:19:12
*** User 2023-11-16 09:19:12.284 ***🔗
alicE_remove_unsubscribe_2730@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-16 09:19:12.284 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='010184721487e8d5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:12.284 ***🔗
alicE_remove_unsubscribe_2730@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-16 09:19:12.284 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzMwAG1hdHlncnlzYQ==</auth>
*** User 2023-11-16 09:19:12.285 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:12.285 ***🔗
alicE_remove_unsubscribe_2730@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-16 09:19:12.285 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e907d62f8bbe48de' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2730@domain.example.com'>
*** User 2023-11-16 09:19:12.285 ***🔗
alicE_remove_unsubscribe_2730@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-16 09:19:12.285 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='c8ac73b46a3c84c13c0c2a4269274b63'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:12.286 ***🔗
alicE_remove_unsubscribe_2730@domain.example.com/res1 in
<iq id='c8ac73b46a3c84c13c0c2a4269274b63' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2730@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:12.286 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='9ce9e0b2e22c250adb313e3c354f24b0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.286 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='9ce9e0b2e22c250adb313e3c354f24b0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.286 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:12.287 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2730@domain.example.com/res1' to='alice_remove_unsubscribe_2730@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.288 ***🔗
bOb_remove_unsubscribe_2730@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-16 09:19:12.288 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a555fc4968f8f7c9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:12.288 ***🔗
bOb_remove_unsubscribe_2730@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-16 09:19:12.288 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjczMABtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:19:12.289 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:12.289 ***🔗
bOb_remove_unsubscribe_2730@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-16 09:19:12.290 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce4343401b4a7cdf' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2730@domain.example.com'>
*** User 2023-11-16 09:19:12.290 ***🔗
bOb_remove_unsubscribe_2730@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-16 09:19:12.290 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='0b5f6c4f65fb19da79fb5392619c5218'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:12.290 ***🔗
bOb_remove_unsubscribe_2730@domain.example.com/res1 in
<iq id='0b5f6c4f65fb19da79fb5392619c5218' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2730@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:12.290 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='270613187ceb60b0ceef83a94b8457b2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.291 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' id='270613187ceb60b0ceef83a94b8457b2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.291 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:12.293 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2730@domain.example.com/res1' to='bob_remove_unsubscribe_2730@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.293 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='6f5e8332118ee386437d2690a6fd1619'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2730@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.301 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='push2c1c6668baed52df' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2730@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.301 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='6f5e8332118ee386437d2690a6fd1619' type='result'/>
*** User 2023-11-16 09:19:12.301 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2730@domain.example.com' id='push2c1c6668baed52df' type='result'/>
*** User 2023-11-16 09:19:12.301 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2730@domain.example.com'/>
*** User 2023-11-16 09:19:12.324 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='push6c78534b30019aa4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2730@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.324 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2730@domain.example.com' id='push6c78534b30019aa4' type='result'/>
*** User 2023-11-16 09:19:12.324 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-16 09:19:12.324 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='f63917ff01a99ac33c8760f39caea5f0'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2730@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.326 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' id='pusha7fdbaeb1fb500e6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2730@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.326 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2730@domain.example.com' id='pusha7fdbaeb1fb500e6' type='result'/>
*** User 2023-11-16 09:19:12.326 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' id='f63917ff01a99ac33c8760f39caea5f0' type='result'/>
*** User 2023-11-16 09:19:12.326 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2730@domain.example.com'/>
*** User 2023-11-16 09:19:12.330 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='pushd6d13e811aa8d3e4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2730@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.330 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-16 09:19:12.330 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2730@domain.example.com/res1' to='alice_remove_unsubscribe_2730@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.330 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' id='push7c7138d3172c5032' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2730@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.330 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
<iq type='set' id='b48bd0c5279d5cd13ba65bf4ec5297a6'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2730@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2023-11-16 09:19:12.332 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='push383f7bc2ffbd4e48' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2730@domain.example.com'/>
</query>
</iq>
*** User 2023-11-16 09:19:12.334 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2730@domain.example.com' to='alice_remove_unsubscribe_2730@domain.example.com/res1' id='b48bd0c5279d5cd13ba65bf4ec5297a6' type='result'/>
*** User 2023-11-16 09:19:12.334 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2730@domain.example.com/res1' to='alice_remove_unsubscribe_2730@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-16 09:19:12.334 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' id='push041dec1737be6c8c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2730@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.335 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2730@domain.example.com' to='bob_remove_unsubscribe_2730@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-16 09:19:12.335 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:12.335 ***🔗
bob_remove_unsubscribe_2730@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-16 09:19:12.335 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:12.335 ***🔗
alice_remove_unsubscribe_2730@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:19:12
=== successfully completed test case
=== === Returned value: ok