=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.69012.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/presence_suite.remove_unsubscribe.187394.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/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@7465fd1d5a64.2023-11-23_14.13.58"
=== Started at 2023-11-23 14:27:03
*** User 2023-11-23 14:27:03.400 ***🔗
alicE_remove_unsubscribe_2650@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-23 14:27:03.401 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9ca91a93353ee0b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.401 ***🔗
alicE_remove_unsubscribe_2650@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-23 14:27:03.401 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNjUwAG1hdHlncnlzYQ==</auth>
*** User 2023-11-23 14:27:03.401 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_remove_unsubscribe_2650@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-23 14:27:03.402 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c372524cddc68a83' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2650@domain.example.com'>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_remove_unsubscribe_2650@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-23 14:27:03.402 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='810cdf2ce6d15389d6df73003ba13576'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_remove_unsubscribe_2650@domain.example.com/res1 in
<iq id='810cdf2ce6d15389d6df73003ba13576' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_2650@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='733669314a5a6aa5c5f614214b098cb4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='733669314a5a6aa5c5f614214b098cb4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.404 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2650@domain.example.com/res1' to='alice_remove_unsubscribe_2650@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.405 ***🔗
bOb_remove_unsubscribe_2650@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-23 14:27:03.405 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e17a55dbe2652897' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.405 ***🔗
bOb_remove_unsubscribe_2650@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-23 14:27:03.405 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjY1MABtYWtyb2xpa2E=</auth>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_remove_unsubscribe_2650@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-23 14:27:03.406 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e166e0969d5df97' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2650@domain.example.com'>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_remove_unsubscribe_2650@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-23 14:27:03.407 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='78e47779b7dfa925816760111b317f3a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bOb_remove_unsubscribe_2650@domain.example.com/res1 in
<iq id='78e47779b7dfa925816760111b317f3a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_2650@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='b18eafe7bfabf185d94bfc2652215ffe'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.408 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' id='b18eafe7bfabf185d94bfc2652215ffe' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.408 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.409 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2650@domain.example.com/res1' to='bob_remove_unsubscribe_2650@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.409 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='c6fb5ccdba180da54c6775514a1c7d7f'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2650@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='pushf0b09fe9ca275ac4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2650@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='c6fb5ccdba180da54c6775514a1c7d7f' type='result'/>
*** User 2023-11-23 14:27:03.416 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2650@domain.example.com' id='pushf0b09fe9ca275ac4' type='result'/>
*** User 2023-11-23 14:27:03.416 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2650@domain.example.com'/>
*** User 2023-11-23 14:27:03.420 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='push8c1ff3a6d010398b' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2650@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.420 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2650@domain.example.com' id='push8c1ff3a6d010398b' type='result'/>
*** User 2023-11-23 14:27:03.420 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-23 14:27:03.420 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='216bbf244e4620708e9f9da4e8cf1e4e'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_2650@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.430 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' id='pushd414699aa74e368c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2650@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.430 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2650@domain.example.com' id='pushd414699aa74e368c' type='result'/>
*** User 2023-11-23 14:27:03.430 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' id='216bbf244e4620708e9f9da4e8cf1e4e' type='result'/>
*** User 2023-11-23 14:27:03.430 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2650@domain.example.com'/>
*** User 2023-11-23 14:27:03.435 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='push7e1096649a2e1120' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2650@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.435 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-23 14:27:03.436 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2650@domain.example.com/res1' to='alice_remove_unsubscribe_2650@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.436 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' id='pushd44493b794c3c961' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2650@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.436 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
<iq type='set' id='2197a222da49d9a9b1b3f92919957607'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_2650@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2023-11-23 14:27:03.438 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='push08581070a1f1eb89' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2650@domain.example.com'/>
</query>
</iq>
*** User 2023-11-23 14:27:03.467 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2650@domain.example.com' to='alice_remove_unsubscribe_2650@domain.example.com/res1' id='2197a222da49d9a9b1b3f92919957607' type='result'/>
*** User 2023-11-23 14:27:03.467 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2650@domain.example.com/res1' to='alice_remove_unsubscribe_2650@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-23 14:27:03.467 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' id='pusheaa97ade605b95f8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2650@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.467 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2650@domain.example.com' to='bob_remove_unsubscribe_2650@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-23 14:27:03.467 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.467 ***🔗
bob_remove_unsubscribe_2650@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:27:03.467 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.468 ***🔗
alice_remove_unsubscribe_2650@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-23 14:27:03
=== successfully completed test case
=== === Returned value: ok