=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6876.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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/presence_suite.remove_unsubscribe.146051.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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/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@c99c1168ae9b.2024-04-23_11.31.47"
=== Started at 2024-04-23 11:44:31
*** User 2024-04-23 11:44:31.527 ***🔗
alicE_remove_unsubscribe_2888@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:44:31.528 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49274b6787959923' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:44:31.528 ***🔗
alicE_remove_unsubscribe_2888@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:44:31.528 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODg4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:44:31.529 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:44:31.529 ***🔗
alicE_remove_unsubscribe_2888@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:44:31.530 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a27436e9af06903' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2888@domain.example.com'>
*** User 2024-04-23 11:44:31.530 ***🔗
alicE_remove_unsubscribe_2888@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:44:31.530 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='baf449dad9fe939dfa1f2388dbb2de3d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:44:31.530 ***🔗
alicE_remove_unsubscribe_2888@domain.example.com/res1 in
<iq id='baf449dad9fe939dfa1f2388dbb2de3d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2888@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:44:31.530 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='1c79c5229df7553de59f92346ffed9c3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.531 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='1c79c5229df7553de59f92346ffed9c3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.531 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:44:31.532 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2888@domain.example.com/res1' to='alice_remove_unsubscribe_2888@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.532 ***🔗
bOb_remove_unsubscribe_2888@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:44:31.533 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60d094a5a2aefe75' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:44:31.533 ***🔗
bOb_remove_unsubscribe_2888@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:44:31.533 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg4OABtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:44:31.534 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:44:31.534 ***🔗
bOb_remove_unsubscribe_2888@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:44:31.534 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b4b290e25af887f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2888@domain.example.com'>
*** User 2024-04-23 11:44:31.534 ***🔗
bOb_remove_unsubscribe_2888@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:44:31.534 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='4b355fc5e3178aa39b171264c81fa6e8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:44:31.535 ***🔗
bOb_remove_unsubscribe_2888@domain.example.com/res1 in
<iq id='4b355fc5e3178aa39b171264c81fa6e8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2888@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:44:31.535 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='86dfe1155cd0f3b81d3eed0f65d4a59f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.535 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' id='86dfe1155cd0f3b81d3eed0f65d4a59f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.535 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:44:31.536 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2888@domain.example.com/res1' to='bob_remove_unsubscribe_2888@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.536 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='c1df4c7fb8cc5e3786025fb8494b6580'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2888@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.547 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='pushf60e8156f015695e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2888@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.548 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='c1df4c7fb8cc5e3786025fb8494b6580' type='result'/>
*** User 2024-04-23 11:44:31.548 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2888@domain.example.com' id='pushf60e8156f015695e' type='result'/>
*** User 2024-04-23 11:44:31.548 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2888@domain.example.com'/>
*** User 2024-04-23 11:44:31.551 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='pushee18e11283053357' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2888@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.551 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2888@domain.example.com' id='pushee18e11283053357' type='result'/>
*** User 2024-04-23 11:44:31.551 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 11:44:31.551 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='198e1e8822f804648ee07d22e8cc54e0'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2888@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.557 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' id='push05eaca56ad336bab' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2888@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.557 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2888@domain.example.com' id='push05eaca56ad336bab' type='result'/>
*** User 2024-04-23 11:44:31.557 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' id='198e1e8822f804648ee07d22e8cc54e0' type='result'/>
*** User 2024-04-23 11:44:31.557 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2888@domain.example.com'/>
*** User 2024-04-23 11:44:31.589 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='push16d53dc81996add5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2888@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.590 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-23 11:44:31.590 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2888@domain.example.com/res1' to='alice_remove_unsubscribe_2888@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.590 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' id='push5aca93fddad88ba4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2888@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.590 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
<iq type='set' id='d076d1608c38bf2b3e5e6ddd7f6e25b1'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2888@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-23 11:44:31.592 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='push0c0caa777a9ef12a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2888@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-23 11:44:31.594 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2888@domain.example.com/res1' to='alice_remove_unsubscribe_2888@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-23 11:44:31.594 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2888@domain.example.com' to='alice_remove_unsubscribe_2888@domain.example.com/res1' id='d076d1608c38bf2b3e5e6ddd7f6e25b1' type='result'/>
*** User 2024-04-23 11:44:31.594 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' id='push70a86dedbd56dc90' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2888@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.594 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2888@domain.example.com' to='bob_remove_unsubscribe_2888@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-23 11:44:31.595 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:44:31.595 ***🔗
bob_remove_unsubscribe_2888@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 11:44:31.595 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:44:31.595 ***🔗
alice_remove_unsubscribe_2888@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:44:31
=== successfully completed test case
=== === Returned value: ok