=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.72367.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/presence_suite.remove_unsubscribe.168963.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/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@a000afa994eb.2024-04-25_16.17.04"
=== Started at 2024-04-25 16:30:23
*** User 2024-04-25 16:30:23.737 ***🔗
alicE_remove_unsubscribe_2879@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 16:30:23.737 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50b72dadb11041ec' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.737 ***🔗
alicE_remove_unsubscribe_2879@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 16:30:23.738 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODc5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 16:30:23.738 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.738 ***🔗
alicE_remove_unsubscribe_2879@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 16:30:23.739 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d770e606e114ea4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2879@domain.example.com'>
*** User 2024-04-25 16:30:23.739 ***🔗
alicE_remove_unsubscribe_2879@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 16:30:23.739 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='493bd3218098dc55983874c375f16676'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.739 ***🔗
alicE_remove_unsubscribe_2879@domain.example.com/res1 in
<iq id='493bd3218098dc55983874c375f16676' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2879@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.739 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='1cb4e126953044b35965f55fd9d18742'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='1cb4e126953044b35965f55fd9d18742' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.741 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2879@domain.example.com/res1' to='alice_remove_unsubscribe_2879@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.741 ***🔗
bOb_remove_unsubscribe_2879@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 16:30:23.742 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='312df7040a9c97f3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.742 ***🔗
bOb_remove_unsubscribe_2879@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 16:30:23.742 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjg3OQBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@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 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e080324a56723c15' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2879@domain.example.com'>
*** User 2024-04-25 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@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 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='a4137350693241fff86b8b08dacbcabd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.743 ***🔗
bOb_remove_unsubscribe_2879@domain.example.com/res1 in
<iq id='a4137350693241fff86b8b08dacbcabd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2879@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.743 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='4cb928476542caeb966b028c5b9d0a1d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.744 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' id='4cb928476542caeb966b028c5b9d0a1d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.744 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.746 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2879@domain.example.com/res1' to='bob_remove_unsubscribe_2879@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.746 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='5000bfc587dd4f61ed229a6e8a91bfc7'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2879@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.769 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='push224173b09bcf6b7e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2879@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.769 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='5000bfc587dd4f61ed229a6e8a91bfc7' type='result'/>
*** User 2024-04-25 16:30:23.769 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2879@domain.example.com' id='push224173b09bcf6b7e' type='result'/>
*** User 2024-04-25 16:30:23.769 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2879@domain.example.com'/>
*** User 2024-04-25 16:30:23.777 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='push018142cf550f1a1b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2879@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.777 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2879@domain.example.com' id='push018142cf550f1a1b' type='result'/>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-25 16:30:23.777 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='ce1f7cdc6dee698bd83660eda0a2aa95'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2879@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.783 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' id='pushdbcd36d86fdd7367' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2879@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.783 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2879@domain.example.com' id='pushdbcd36d86fdd7367' type='result'/>
*** User 2024-04-25 16:30:23.783 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' id='ce1f7cdc6dee698bd83660eda0a2aa95' type='result'/>
*** User 2024-04-25 16:30:23.783 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2879@domain.example.com'/>
*** User 2024-04-25 16:30:23.793 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='pushcef963b78fe37727' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2879@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.793 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-25 16:30:23.793 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2879@domain.example.com/res1' to='alice_remove_unsubscribe_2879@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.793 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' id='push0b3308573a80f30d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2879@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.794 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
<iq type='set' id='d188d3f145f0c6e0784d45b96acf6201'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2879@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 16:30:23.803 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='push83a0a448ef37eba9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_2879@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 16:30:23.810 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2879@domain.example.com' to='alice_remove_unsubscribe_2879@domain.example.com/res1' id='d188d3f145f0c6e0784d45b96acf6201' type='result'/>
*** User 2024-04-25 16:30:23.811 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2879@domain.example.com/res1' to='alice_remove_unsubscribe_2879@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-25 16:30:23.811 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' id='push95161590547ec380' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_2879@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.811 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2879@domain.example.com' to='bob_remove_unsubscribe_2879@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-25 16:30:23.811 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.811 ***🔗
bob_remove_unsubscribe_2879@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 16:30:23.811 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.812 ***🔗
alice_remove_unsubscribe_2879@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:30:23
=== successfully completed test case
=== === Returned value: ok