=== Test case: presence_SUITE: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.unsubscribe.187522.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.407 ***🔗
alicE_unsubscribe_2651@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.407 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='20515d3f2c8b6709' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.407 ***🔗
alicE_unsubscribe_2651@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.407 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2NTEAbWF0eWdyeXNh</auth>
*** User 2023-11-23 14:27:03.408 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.408 ***🔗
alicE_unsubscribe_2651@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.409 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9bc4bc18be059461' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2651@domain.example.com'>
*** User 2023-11-23 14:27:03.409 ***🔗
alicE_unsubscribe_2651@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.409 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='50e4eeafc406fc709f571612620fa06e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.409 ***🔗
alicE_unsubscribe_2651@domain.example.com/res1 in
<iq id='50e4eeafc406fc709f571612620fa06e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2651@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.409 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='9309fc3ba57e0483d5f00190d7e68e0f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.410 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='9309fc3ba57e0483d5f00190d7e68e0f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.410 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.412 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<presence from='alice_unsubscribe_2651@domain.example.com/res1' to='alice_unsubscribe_2651@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.413 ***🔗
bOb_unsubscribe_2651@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.413 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e684ace12d0b28a7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.413 ***🔗
bOb_unsubscribe_2651@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.413 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjUxAG1ha3JvbGlrYQ==</auth>
*** User 2023-11-23 14:27:03.415 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.415 ***🔗
bOb_unsubscribe_2651@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.415 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='960dc43a17a423dd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2651@domain.example.com'>
*** User 2023-11-23 14:27:03.415 ***🔗
bOb_unsubscribe_2651@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.416 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='4d7d8db5e5895ec125aa89add1ef30e0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
bOb_unsubscribe_2651@domain.example.com/res1 in
<iq id='4d7d8db5e5895ec125aa89add1ef30e0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2651@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='97d0151b57dfc753a04922bae0159cd7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' id='97d0151b57dfc753a04922bae0159cd7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.416 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.417 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<presence from='bob_unsubscribe_2651@domain.example.com/res1' to='bob_unsubscribe_2651@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.417 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='e57151941cbfb577560e98209759ba1e'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2651@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.424 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='alice_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='pushb7dac3945c5e314c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2651@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.424 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='alice_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='e57151941cbfb577560e98209759ba1e' type='result'/>
*** User 2023-11-23 14:27:03.424 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<iq to='alice_unsubscribe_2651@domain.example.com' id='pushb7dac3945c5e314c' type='result'/>
*** User 2023-11-23 14:27:03.424 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2651@domain.example.com'/>
*** User 2023-11-23 14:27:03.428 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='alice_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='push5e112af2b0ef241c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2651@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.428 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<iq to='alice_unsubscribe_2651@domain.example.com' id='push5e112af2b0ef241c' type='result'/>
*** User 2023-11-23 14:27:03.428 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<presence from='alice_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-23 14:27:03.429 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
<iq type='set' id='7133a0c48626296f76547bb8554c4dcd'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2651@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.433 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<iq from='bob_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' id='pushbdbe1ba5fa3fbcd9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2651@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.433 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
<iq to='bob_unsubscribe_2651@domain.example.com' id='pushbdbe1ba5fa3fbcd9' type='result'/>
*** User 2023-11-23 14:27:03.433 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<iq from='bob_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' id='7133a0c48626296f76547bb8554c4dcd' type='result'/>
*** User 2023-11-23 14:27:03.433 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2651@domain.example.com'/>
*** User 2023-11-23 14:27:03.437 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='alice_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='pushbd544a4493269d05' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_2651@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.438 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<presence from='bob_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-23 14:27:03.438 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<presence from='bob_unsubscribe_2651@domain.example.com/res1' to='alice_unsubscribe_2651@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.438 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<iq from='bob_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' id='push8d1317f588a31dff' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_2651@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.438 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2651@domain.example.com'/>
*** User 2023-11-23 14:27:03.471 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<iq from='alice_unsubscribe_2651@domain.example.com' to='alice_unsubscribe_2651@domain.example.com/res1' id='push9b0e8f541bf4edb9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2651@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.471 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
<iq to='alice_unsubscribe_2651@domain.example.com' id='push9b0e8f541bf4edb9' type='result'/>
*** User 2023-11-23 14:27:03.471 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<iq from='bob_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' id='push089338816a6683c8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2651@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.471 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
<presence from='alice_unsubscribe_2651@domain.example.com' to='bob_unsubscribe_2651@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-23 14:27:03.471 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
<presence from='bob_unsubscribe_2651@domain.example.com/res1' to='alice_unsubscribe_2651@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-23 14:27:03.472 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.472 ***🔗
bob_unsubscribe_2651@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:27:03.472 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.472 ***🔗
alice_unsubscribe_2651@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-23 14:27:03
=== successfully completed test case
=== === Returned value: ok