=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6792.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@622407a836e4.2024-03-27_08.12.47/big_tests.tests.presence_SUITE.logs/run.2024-03-27_08.25.45/presence_suite.remove_unsubscribe.218498.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@622407a836e4.2024-03-27_08.12.47/big_tests.tests.presence_SUITE.logs/run.2024-03-27_08.25.45/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@622407a836e4.2024-03-27_08.12.47"
=== Started at 2024-03-27 08:25:47
*** User 2024-03-27 08:25:47.481 ***🔗
alicE_remove_unsubscribe_2996@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-27 08:25:47.481 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db014978eeca87be' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-27 08:25:47.481 ***🔗
alicE_remove_unsubscribe_2996@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-27 08:25:47.481 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yOTk2AG1hdHlncnlzYQ==</auth>
*** User 2024-03-27 08:25:47.482 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 08:25:47.482 ***🔗
alicE_remove_unsubscribe_2996@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-27 08:25:47.482 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6a76524d2af3763' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2996@domain.example.com'>
*** User 2024-03-27 08:25:47.482 ***🔗
alicE_remove_unsubscribe_2996@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-27 08:25:47.482 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='bb067133f98dc13467bcb26b739f723e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 08:25:47.483 ***🔗
alicE_remove_unsubscribe_2996@domain.example.com/res1 in
<iq id='bb067133f98dc13467bcb26b739f723e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2996@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-27 08:25:47.483 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='363c31876420141c265e7a7fc757c618'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 08:25:47.483 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='363c31876420141c265e7a7fc757c618' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 08:25:47.483 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<presence/>
*** User 2024-03-27 08:25:47.484 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2996@domain.example.com/res1' to='alice_remove_unsubscribe_2996@domain.example.com/res1'/>
*** User 2024-03-27 08:25:47.484 ***🔗
bOb_remove_unsubscribe_2996@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-27 08:25:47.485 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c730a713b613fd40' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-27 08:25:47.485 ***🔗
bOb_remove_unsubscribe_2996@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-27 08:25:47.485 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjk5NgBtYWtyb2xpa2E=</auth>
*** User 2024-03-27 08:25:47.485 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 08:25:47.485 ***🔗
bOb_remove_unsubscribe_2996@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-27 08:25:47.486 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87c30d38b1018fd1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2996@domain.example.com'>
*** User 2024-03-27 08:25:47.486 ***🔗
bOb_remove_unsubscribe_2996@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-27 08:25:47.486 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='81684ceb952fc5937501b31b41369f39'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 08:25:47.486 ***🔗
bOb_remove_unsubscribe_2996@domain.example.com/res1 in
<iq id='81684ceb952fc5937501b31b41369f39' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2996@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-27 08:25:47.486 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='d5b5faff0abe972efe237b9bbce96e12'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 08:25:47.487 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' id='d5b5faff0abe972efe237b9bbce96e12' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 08:25:47.487 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
<presence/>
*** User 2024-03-27 08:25:47.488 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2996@domain.example.com/res1' to='bob_remove_unsubscribe_2996@domain.example.com/res1'/>
*** User 2024-03-27 08:25:47.488 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='2feb1284e4cb98ba15f39439a6956e45'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2996@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.493 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='push6bf7f6ba9ac69d1b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2996@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.493 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='2feb1284e4cb98ba15f39439a6956e45' type='result'/>
*** User 2024-03-27 08:25:47.493 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2996@domain.example.com' id='push6bf7f6ba9ac69d1b' type='result'/>
*** User 2024-03-27 08:25:47.493 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2996@domain.example.com'/>
*** User 2024-03-27 08:25:47.496 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='push1cb2dbbc2601a2f8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2996@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.496 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2996@domain.example.com' id='push1cb2dbbc2601a2f8' type='result'/>
*** User 2024-03-27 08:25:47.496 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' type='subscribe'/>
*** User 2024-03-27 08:25:47.496 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='d3742ac4fb6153e9c2cfc90c0cc48b4c'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2996@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.499 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' id='pushf39fc67fe4abd0c3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2996@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.499 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2996@domain.example.com' id='pushf39fc67fe4abd0c3' type='result'/>
*** User 2024-03-27 08:25:47.499 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' id='d3742ac4fb6153e9c2cfc90c0cc48b4c' type='result'/>
*** User 2024-03-27 08:25:47.499 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2996@domain.example.com'/>
*** User 2024-03-27 08:25:47.504 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='push0bbc81cf02acfafa' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2996@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.504 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' type='subscribed'/>
*** User 2024-03-27 08:25:47.504 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2996@domain.example.com/res1' to='alice_remove_unsubscribe_2996@domain.example.com/res1'/>
*** User 2024-03-27 08:25:47.505 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' id='push050e8ceeda64b48b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2996@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.505 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
<iq type='set' id='757a58fa514ce441c96ff7eb28d29bbe'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2996@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-27 08:25:47.507 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='push34c14535c5073b2c' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2996@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-27 08:25:47.509 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2996@domain.example.com/res1' to='alice_remove_unsubscribe_2996@domain.example.com/res1' type='unavailable'/>
*** User 2024-03-27 08:25:47.509 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2996@domain.example.com' to='alice_remove_unsubscribe_2996@domain.example.com/res1' id='757a58fa514ce441c96ff7eb28d29bbe' type='result'/>
*** User 2024-03-27 08:25:47.509 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' id='pushb65ac26e0c963ce5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2996@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-03-27 08:25:47.509 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2996@domain.example.com' to='bob_remove_unsubscribe_2996@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-03-27 08:25:47.509 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-27 08:25:47.510 ***🔗
bob_remove_unsubscribe_2996@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-27 08:25:47.510 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-27 08:25:47.510 ***🔗
alice_remove_unsubscribe_2996@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-27 08:25:47
=== successfully completed test case
=== === Returned value: ok