=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.74037.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@5a8ab3541394.2024-04-24_07.56.39/big_tests.tests.presence_SUITE.logs/run.2024-04-24_08.10.21/presence_suite.unsubscribe.210946.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@5a8ab3541394.2024-04-24_07.56.39/big_tests.tests.presence_SUITE.logs/run.2024-04-24_08.10.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@5a8ab3541394.2024-04-24_07.56.39"
=== Started at 2024-04-24 08:10:23
*** User 2024-04-24 08:10:23.282 ***🔗
alicE_unsubscribe_2908@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-24 08:10:23.283 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f47749ec4cf3b66e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 08:10:23.283 ***🔗
alicE_unsubscribe_2908@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-24 08:10:23.283 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI5MDgAbWF0eWdyeXNh</auth>
*** User 2024-04-24 08:10:23.284 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 08:10:23.284 ***🔗
alicE_unsubscribe_2908@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-24 08:10:23.285 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d7778f19ae4592c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2908@domain.example.com'>
*** User 2024-04-24 08:10:23.285 ***🔗
alicE_unsubscribe_2908@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-24 08:10:23.285 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='eaee166d55a9df25f880079a7d5bb90d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 08:10:23.285 ***🔗
alicE_unsubscribe_2908@domain.example.com/res1 in
<iq id='eaee166d55a9df25f880079a7d5bb90d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2908@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 08:10:23.285 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='421c9ad2754b7a0a361aee4aa5b8a2ed'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 08:10:23.286 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='421c9ad2754b7a0a361aee4aa5b8a2ed' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 08:10:23.286 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 08:10:23.286 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<presence from='alice_unsubscribe_2908@domain.example.com/res1' to='alice_unsubscribe_2908@domain.example.com/res1'/>
*** User 2024-04-24 08:10:23.287 ***🔗
bOb_unsubscribe_2908@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-24 08:10:23.287 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='832cc34d01eee753' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 08:10:23.288 ***🔗
bOb_unsubscribe_2908@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-24 08:10:23.288 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yOTA4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@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-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9428b8e911ab54e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2908@domain.example.com'>
*** User 2024-04-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@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-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='426d9602daee0c8b9fc235ff4e3da394'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 08:10:23.289 ***🔗
bOb_unsubscribe_2908@domain.example.com/res1 in
<iq id='426d9602daee0c8b9fc235ff4e3da394' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2908@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 08:10:23.289 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='f8d7721e6e555733d365789709c3ad6a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 08:10:23.290 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' id='f8d7721e6e555733d365789709c3ad6a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 08:10:23.290 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 08:10:23.292 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<presence from='bob_unsubscribe_2908@domain.example.com/res1' to='bob_unsubscribe_2908@domain.example.com/res1'/>
*** User 2024-04-24 08:10:23.292 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='01a62558a483b75d28c0256ff7ce9c63'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2908@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.299 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='alice_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='push8a4ebee48a9d7bd2' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2908@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.299 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='alice_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='01a62558a483b75d28c0256ff7ce9c63' type='result'/>
*** User 2024-04-24 08:10:23.299 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<iq to='alice_unsubscribe_2908@domain.example.com' id='push8a4ebee48a9d7bd2' type='result'/>
*** User 2024-04-24 08:10:23.299 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2908@domain.example.com'/>
*** User 2024-04-24 08:10:23.304 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='alice_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='pusha87383b6ddcbbbe3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2908@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.304 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<iq to='alice_unsubscribe_2908@domain.example.com' id='pusha87383b6ddcbbbe3' type='result'/>
*** User 2024-04-24 08:10:23.304 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<presence from='alice_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-24 08:10:23.304 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
<iq type='set' id='5d2458f5295f55836cb88e85bc0dd276'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2908@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.309 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<iq from='bob_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' id='pushc7af1bd92c1dc68d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2908@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.309 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
<iq to='bob_unsubscribe_2908@domain.example.com' id='pushc7af1bd92c1dc68d' type='result'/>
*** User 2024-04-24 08:10:23.309 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<iq from='bob_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' id='5d2458f5295f55836cb88e85bc0dd276' type='result'/>
*** User 2024-04-24 08:10:23.309 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2908@domain.example.com'/>
*** User 2024-04-24 08:10:23.314 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='alice_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='push6f5d775ec489870b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2908@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.314 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<presence from='bob_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-24 08:10:23.314 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<presence from='bob_unsubscribe_2908@domain.example.com/res1' to='alice_unsubscribe_2908@domain.example.com/res1'/>
*** User 2024-04-24 08:10:23.314 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<iq from='bob_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' id='pushec871ee70248495d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2908@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.314 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2908@domain.example.com'/>
*** User 2024-04-24 08:10:23.319 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<iq from='alice_unsubscribe_2908@domain.example.com' to='alice_unsubscribe_2908@domain.example.com/res1' id='push63177f9ae34e2be3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2908@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.319 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
<iq to='alice_unsubscribe_2908@domain.example.com' id='push63177f9ae34e2be3' type='result'/>
*** User 2024-04-24 08:10:23.319 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<iq from='bob_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' id='push0327239c78d19d5f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2908@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-24 08:10:23.319 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
<presence from='alice_unsubscribe_2908@domain.example.com' to='bob_unsubscribe_2908@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-24 08:10:23.319 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
<presence from='bob_unsubscribe_2908@domain.example.com/res1' to='alice_unsubscribe_2908@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-24 08:10:23.319 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 08:10:23.320 ***🔗
bob_unsubscribe_2908@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-24 08:10:23.320 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 08:10:23.320 ***🔗
alice_unsubscribe_2908@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-24 08:10:23
=== successfully completed test case
=== === Returned value: ok