=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.70978.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@d144898ca8cb.2024-02-29_09.17.24/big_tests.tests.presence_SUITE.logs/run.2024-02-29_09.29.13/presence_suite.unsubscribe.110724.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@d144898ca8cb.2024-02-29_09.17.24/big_tests.tests.presence_SUITE.logs/run.2024-02-29_09.29.13/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@d144898ca8cb.2024-02-29_09.17.24"
=== Started at 2024-02-29 09:29:15
*** User 2024-02-29 09:29:15.796 ***🔗
alicE_unsubscribe_2699@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-02-29 09:29:15.796 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c60102bb72506ecf' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-29 09:29:15.797 ***🔗
alicE_unsubscribe_2699@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-02-29 09:29:15.797 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2OTkAbWF0eWdyeXNh</auth>
*** User 2024-02-29 09:29:15.797 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-29 09:29:15.798 ***🔗
alicE_unsubscribe_2699@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-02-29 09:29:15.798 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3954a434765ba7d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2699@domain.example.com'>
*** User 2024-02-29 09:29:15.798 ***🔗
alicE_unsubscribe_2699@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-02-29 09:29:15.798 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='e1281395eebbeae3a3a037c7b67b062e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-29 09:29:15.798 ***🔗
alicE_unsubscribe_2699@domain.example.com/res1 in
<iq id='e1281395eebbeae3a3a037c7b67b062e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2699@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-29 09:29:15.798 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='09bd5103f952126618650a06955a4be4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:15.799 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='09bd5103f952126618650a06955a4be4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:15.799 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<presence/>
*** User 2024-02-29 09:29:15.801 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<presence from='alice_unsubscribe_2699@domain.example.com/res1' to='alice_unsubscribe_2699@domain.example.com/res1'/>
*** User 2024-02-29 09:29:15.802 ***🔗
bOb_unsubscribe_2699@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-02-29 09:29:15.802 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa4ccee79f0ad87e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-29 09:29:15.802 ***🔗
bOb_unsubscribe_2699@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-02-29 09:29:15.802 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjk5AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@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-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='93ef198ceb7f5f76' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2699@domain.example.com'>
*** User 2024-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@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-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='9e41cc55f86f871ae494ab5c1efa744d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-29 09:29:15.803 ***🔗
bOb_unsubscribe_2699@domain.example.com/res1 in
<iq id='9e41cc55f86f871ae494ab5c1efa744d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2699@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-29 09:29:15.804 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='5bdce620911325280b1af76b907d89e8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:15.804 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' id='5bdce620911325280b1af76b907d89e8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:15.804 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
<presence/>
*** User 2024-02-29 09:29:15.806 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<presence from='bob_unsubscribe_2699@domain.example.com/res1' to='bob_unsubscribe_2699@domain.example.com/res1'/>
*** User 2024-02-29 09:29:15.806 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='4691604ef12cf3883a0242ffcec53b04'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2699@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.817 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='alice_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='push48443ccb9de552f4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2699@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.817 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='alice_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='4691604ef12cf3883a0242ffcec53b04' type='result'/>
*** User 2024-02-29 09:29:15.817 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<iq to='alice_unsubscribe_2699@domain.example.com' id='push48443ccb9de552f4' type='result'/>
*** User 2024-02-29 09:29:15.817 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2699@domain.example.com'/>
*** User 2024-02-29 09:29:15.826 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='alice_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='push8d8ed28559c97ead' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2699@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.826 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<iq to='alice_unsubscribe_2699@domain.example.com' id='push8d8ed28559c97ead' type='result'/>
*** User 2024-02-29 09:29:15.826 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<presence from='alice_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' type='subscribe'/>
*** User 2024-02-29 09:29:15.826 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
<iq type='set' id='3249671625844a0630a9cc008f1de886'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2699@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.835 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<iq from='bob_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' id='push8379b855bada3fc5' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2699@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.835 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
<iq to='bob_unsubscribe_2699@domain.example.com' id='push8379b855bada3fc5' type='result'/>
*** User 2024-02-29 09:29:15.835 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<iq from='bob_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' id='3249671625844a0630a9cc008f1de886' type='result'/>
*** User 2024-02-29 09:29:15.835 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2699@domain.example.com'/>
*** User 2024-02-29 09:29:15.879 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='alice_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='pushd0c498d67fa9d153' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2699@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.879 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<presence from='bob_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' type='subscribed'/>
*** User 2024-02-29 09:29:15.879 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<presence from='bob_unsubscribe_2699@domain.example.com/res1' to='alice_unsubscribe_2699@domain.example.com/res1'/>
*** User 2024-02-29 09:29:15.879 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<iq from='bob_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' id='push79dbfe9c254c1b18' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2699@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.879 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2699@domain.example.com'/>
*** User 2024-02-29 09:29:15.888 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<iq from='alice_unsubscribe_2699@domain.example.com' to='alice_unsubscribe_2699@domain.example.com/res1' id='push84d0fc5b06b76c8e' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2699@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.888 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
<iq to='alice_unsubscribe_2699@domain.example.com' id='push84d0fc5b06b76c8e' type='result'/>
*** User 2024-02-29 09:29:15.888 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<iq from='bob_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' id='pushf0fde575986e9df1' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2699@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-02-29 09:29:15.888 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
<presence from='alice_unsubscribe_2699@domain.example.com' to='bob_unsubscribe_2699@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-02-29 09:29:15.888 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
<presence from='bob_unsubscribe_2699@domain.example.com/res1' to='alice_unsubscribe_2699@domain.example.com/res1' type='unavailable'/>
*** User 2024-02-29 09:29:15.889 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-29 09:29:15.889 ***🔗
bob_unsubscribe_2699@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-29 09:29:15.889 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-29 09:29:15.889 ***🔗
alice_unsubscribe_2699@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-29 09:29:15
=== successfully completed test case
=== === Returned value: ok