=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6848.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@80070a6ff3c4.2024-04-25_12.00.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.12.42/presence_suite.remove_unsubscribe.95492.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@80070a6ff3c4.2024-04-25_12.00.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.12.42/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@80070a6ff3c4.2024-04-25_12.00.25"
=== Started at 2024-04-25 12:12:43
*** User 2024-04-25 12:12:43.901 ***🔗
alicE_remove_unsubscribe_2858@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-25 12:12:43.901 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e653aca7cde807b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:12:43.901 ***🔗
alicE_remove_unsubscribe_2858@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-25 12:12:43.902 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODU4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 12:12:43.903 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:12:43.903 ***🔗
alicE_remove_unsubscribe_2858@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-25 12:12:43.903 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16c75e2e78c3d2e8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2858@domain.example.com'>
*** User 2024-04-25 12:12:43.903 ***🔗
alicE_remove_unsubscribe_2858@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-25 12:12:43.903 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='a5618cd90244ee5e6a202a8a05968202'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:12:43.904 ***🔗
alicE_remove_unsubscribe_2858@domain.example.com/res1 in
<iq id='a5618cd90244ee5e6a202a8a05968202' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2858@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:12:43.904 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='d4342ded4a39cb1d78e075fc24ba7d61'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:12:43.905 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='d4342ded4a39cb1d78e075fc24ba7d61' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:12:43.905 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 12:12:43.906 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2858@domain.example.com/res1' to='alice_remove_unsubscribe_2858@domain.example.com/res1'/>
*** User 2024-04-25 12:12:43.906 ***🔗
bOb_remove_unsubscribe_2858@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-25 12:12:43.906 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88b1e0ad281dc6fa' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:12:43.907 ***🔗
bOb_remove_unsubscribe_2858@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-25 12:12:43.907 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg1OABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 12:12:43.907 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:12:43.907 ***🔗
bOb_remove_unsubscribe_2858@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-25 12:12:43.908 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f920c238c8c6d5e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2858@domain.example.com'>
*** User 2024-04-25 12:12:43.908 ***🔗
bOb_remove_unsubscribe_2858@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-25 12:12:43.908 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='40e31c1b90f55834b9c512202dc2996e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:12:43.908 ***🔗
bOb_remove_unsubscribe_2858@domain.example.com/res1 in
<iq id='40e31c1b90f55834b9c512202dc2996e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2858@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:12:43.908 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='3d59de77eba59be3ef1fccaf30e2a5c9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:12:43.909 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' id='3d59de77eba59be3ef1fccaf30e2a5c9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:12:43.909 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 12:12:43.910 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2858@domain.example.com/res1' to='bob_remove_unsubscribe_2858@domain.example.com/res1'/>
*** User 2024-04-25 12:12:43.910 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='fd603cf44c8d41640efba3754336a7d6'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2858@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.921 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='push32e59b9c697272a5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2858@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.921 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='fd603cf44c8d41640efba3754336a7d6' type='result'/>
*** User 2024-04-25 12:12:43.921 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2858@domain.example.com' id='push32e59b9c697272a5' type='result'/>
*** User 2024-04-25 12:12:43.921 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2858@domain.example.com'/>
*** User 2024-04-25 12:12:43.935 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='push1e0291b7c8043d4a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2858@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.935 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2858@domain.example.com' id='push1e0291b7c8043d4a' type='result'/>
*** User 2024-04-25 12:12:43.935 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-25 12:12:43.936 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='97397a11f4113d85c415727eaf1c763a'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2858@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.938 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' id='push463bb4adaccd9d57' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2858@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.938 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2858@domain.example.com' id='push463bb4adaccd9d57' type='result'/>
*** User 2024-04-25 12:12:43.938 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' id='97397a11f4113d85c415727eaf1c763a' type='result'/>
*** User 2024-04-25 12:12:43.938 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2858@domain.example.com'/>
*** User 2024-04-25 12:12:43.942 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='pushf03c26077a782e6a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2858@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.942 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-25 12:12:43.942 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2858@domain.example.com/res1' to='alice_remove_unsubscribe_2858@domain.example.com/res1'/>
*** User 2024-04-25 12:12:43.942 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' id='push397c1abc07efb5fd' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2858@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.942 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
<iq type='set' id='3bb42db698b9d5c0b8fe8ec51e74ff35'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2858@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 12:12:43.945 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='pusha9a578e0f7ad8cda' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2858@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 12:12:43.947 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2858@domain.example.com' to='alice_remove_unsubscribe_2858@domain.example.com/res1' id='3bb42db698b9d5c0b8fe8ec51e74ff35' type='result'/>
*** User 2024-04-25 12:12:43.947 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2858@domain.example.com/res1' to='alice_remove_unsubscribe_2858@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-25 12:12:43.947 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' id='push0c787b7370e9cf2e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2858@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:12:43.947 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2858@domain.example.com' to='bob_remove_unsubscribe_2858@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-25 12:12:43.948 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 12:12:43.948 ***🔗
bob_remove_unsubscribe_2858@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 12:12:43.948 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 12:12:43.948 ***🔗
alice_remove_unsubscribe_2858@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 12:12:43
=== successfully completed test case
=== === Returned value: ok