=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.73501.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@78fcac8d0ecc.2024-04-23_08.33.56/big_tests.tests.presence_SUITE.logs/run.2024-04-23_08.47.48/presence_suite.unsubscribe.209410.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@78fcac8d0ecc.2024-04-23_08.33.56/big_tests.tests.presence_SUITE.logs/run.2024-04-23_08.47.48/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@78fcac8d0ecc.2024-04-23_08.33.56"
=== Started at 2024-04-23 08:47:50
*** User 2024-04-23 08:47:50.171 ***🔗
alicE_unsubscribe_2797@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 08:47:50.171 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef7216315cc6670b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 08:47:50.171 ***🔗
alicE_unsubscribe_2797@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 08:47:50.171 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3OTcAbWF0eWdyeXNh</auth>
*** User 2024-04-23 08:47:50.172 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 08:47:50.172 ***🔗
alicE_unsubscribe_2797@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 08:47:50.173 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='426d86cd48e53293' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2797@domain.example.com'>
*** User 2024-04-23 08:47:50.173 ***🔗
alicE_unsubscribe_2797@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 08:47:50.173 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='2b8c8ac589d34dff59dfe953b759eaba'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 08:47:50.174 ***🔗
alicE_unsubscribe_2797@domain.example.com/res1 in
<iq id='2b8c8ac589d34dff59dfe953b759eaba' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2797@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 08:47:50.174 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='798c7ce9d729cfda7ebf00c29d41b0e7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 08:47:50.177 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='798c7ce9d729cfda7ebf00c29d41b0e7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 08:47:50.177 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 08:47:50.180 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<presence from='alice_unsubscribe_2797@domain.example.com/res1' to='alice_unsubscribe_2797@domain.example.com/res1'/>
*** User 2024-04-23 08:47:50.185 ***🔗
bOb_unsubscribe_2797@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 08:47:50.185 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ff4993c9d472853' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 08:47:50.186 ***🔗
bOb_unsubscribe_2797@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 08:47:50.186 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzk3AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 08:47:50.186 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 08:47:50.186 ***🔗
bOb_unsubscribe_2797@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 08:47:50.187 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f67f79d28881cc3f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2797@domain.example.com'>
*** User 2024-04-23 08:47:50.187 ***🔗
bOb_unsubscribe_2797@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 08:47:50.187 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='15df398c683c774aeec6ae851f121541'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 08:47:50.187 ***🔗
bOb_unsubscribe_2797@domain.example.com/res1 in
<iq id='15df398c683c774aeec6ae851f121541' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2797@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 08:47:50.187 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='1a463529b9e088e46f55812d351a9b37'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 08:47:50.188 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' id='1a463529b9e088e46f55812d351a9b37' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 08:47:50.189 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 08:47:50.191 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<presence from='bob_unsubscribe_2797@domain.example.com/res1' to='bob_unsubscribe_2797@domain.example.com/res1'/>
*** User 2024-04-23 08:47:50.191 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='991a2ef119da1ca4d66cccd00e948d3c'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2797@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.194 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='alice_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='push928329a89db5ec11' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2797@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.194 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='alice_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='991a2ef119da1ca4d66cccd00e948d3c' type='result'/>
*** User 2024-04-23 08:47:50.194 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<iq to='alice_unsubscribe_2797@domain.example.com' id='push928329a89db5ec11' type='result'/>
*** User 2024-04-23 08:47:50.194 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2797@domain.example.com'/>
*** User 2024-04-23 08:47:50.202 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='alice_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='push6e89e9e3bced040a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2797@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.202 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<iq to='alice_unsubscribe_2797@domain.example.com' id='push6e89e9e3bced040a' type='result'/>
*** User 2024-04-23 08:47:50.203 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<presence from='alice_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 08:47:50.203 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
<iq type='set' id='a09c9421cf6c99cfad48340e632178bb'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2797@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.215 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<iq from='bob_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' id='pushd918706370e7344f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2797@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.215 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
<iq to='bob_unsubscribe_2797@domain.example.com' id='pushd918706370e7344f' type='result'/>
*** User 2024-04-23 08:47:50.215 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<iq from='bob_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' id='a09c9421cf6c99cfad48340e632178bb' type='result'/>
*** User 2024-04-23 08:47:50.215 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2797@domain.example.com'/>
*** User 2024-04-23 08:47:50.224 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='alice_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='pusha3ae27f4fb02eae7' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2797@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.224 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<presence from='bob_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-23 08:47:50.224 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<presence from='bob_unsubscribe_2797@domain.example.com/res1' to='alice_unsubscribe_2797@domain.example.com/res1'/>
*** User 2024-04-23 08:47:50.224 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<iq from='bob_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' id='pushf6a5c79adb6d1736' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2797@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.224 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2797@domain.example.com'/>
*** User 2024-04-23 08:47:50.284 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<iq from='alice_unsubscribe_2797@domain.example.com' to='alice_unsubscribe_2797@domain.example.com/res1' id='push62808181861137c2' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2797@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.284 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
<iq to='alice_unsubscribe_2797@domain.example.com' id='push62808181861137c2' type='result'/>
*** User 2024-04-23 08:47:50.284 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<iq from='bob_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' id='push72ef7d98f3721e6a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2797@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 08:47:50.285 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
<presence from='alice_unsubscribe_2797@domain.example.com' to='bob_unsubscribe_2797@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-23 08:47:50.285 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
<presence from='bob_unsubscribe_2797@domain.example.com/res1' to='alice_unsubscribe_2797@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-23 08:47:50.285 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 08:47:50.285 ***🔗
bob_unsubscribe_2797@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 08:47:50.285 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 08:47:50.285 ***🔗
alice_unsubscribe_2797@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 08:47:50
=== successfully completed test case
=== === Returned value: ok