=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.72037.0>},
{preset,"odbc_mssql_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@2ee716155f46.2024-04-16_11.59.06/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.13.18/presence_suite.unsubscribe.175875.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@2ee716155f46.2024-04-16_11.59.06/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.13.18/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@2ee716155f46.2024-04-16_11.59.06"
=== Started at 2024-04-16 12:13:20
*** User 2024-04-16 12:13:20.783 ***🔗
alicE_unsubscribe_2936@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-16 12:13:20.783 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d4fc79cfe4ea93b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:13:20.783 ***🔗
alicE_unsubscribe_2936@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-16 12:13:20.783 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI5MzYAbWF0eWdyeXNh</auth>
*** User 2024-04-16 12:13:20.784 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:13:20.784 ***🔗
alicE_unsubscribe_2936@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-16 12:13:20.785 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b3f59a94773eeb5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2936@domain.example.com'>
*** User 2024-04-16 12:13:20.785 ***🔗
alicE_unsubscribe_2936@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-16 12:13:20.785 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='6c6feb083d57bfe5d7fbfab25ecb3585'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:13:20.785 ***🔗
alicE_unsubscribe_2936@domain.example.com/res1 in
<iq id='6c6feb083d57bfe5d7fbfab25ecb3585' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2936@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:13:20.785 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='e5d08c2fbeead1fe81c8957becce9a6a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:13:20.785 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='e5d08c2fbeead1fe81c8957becce9a6a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:13:20.786 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<presence/>
*** User 2024-04-16 12:13:20.786 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<presence from='alice_unsubscribe_2936@domain.example.com/res1' to='alice_unsubscribe_2936@domain.example.com/res1'/>
*** User 2024-04-16 12:13:20.787 ***🔗
bOb_unsubscribe_2936@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-16 12:13:20.787 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd65af521cf29060' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:13:20.787 ***🔗
bOb_unsubscribe_2936@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-16 12:13:20.787 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yOTM2AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-16 12:13:20.788 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:13:20.788 ***🔗
bOb_unsubscribe_2936@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-16 12:13:20.788 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1475dfc1ad5930d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2936@domain.example.com'>
*** User 2024-04-16 12:13:20.788 ***🔗
bOb_unsubscribe_2936@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-16 12:13:20.789 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='5bb12c5b260b4cd48443f88961265635'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:13:20.789 ***🔗
bOb_unsubscribe_2936@domain.example.com/res1 in
<iq id='5bb12c5b260b4cd48443f88961265635' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2936@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:13:20.789 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='cec99c54f32cbb3fe8d778cc18e61bbf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:13:20.789 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' id='cec99c54f32cbb3fe8d778cc18e61bbf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:13:20.789 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
<presence/>
*** User 2024-04-16 12:13:20.790 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<presence from='bob_unsubscribe_2936@domain.example.com/res1' to='bob_unsubscribe_2936@domain.example.com/res1'/>
*** User 2024-04-16 12:13:20.790 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='f397e664eb5e4c5403500387c7bf574a'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2936@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.802 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='alice_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='push046188fb52602ad9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2936@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.802 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='alice_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='f397e664eb5e4c5403500387c7bf574a' type='result'/>
*** User 2024-04-16 12:13:20.802 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<iq to='alice_unsubscribe_2936@domain.example.com' id='push046188fb52602ad9' type='result'/>
*** User 2024-04-16 12:13:20.802 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2936@domain.example.com'/>
*** User 2024-04-16 12:13:20.811 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='alice_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='push13c33f16c5fe4259' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2936@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.811 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<iq to='alice_unsubscribe_2936@domain.example.com' id='push13c33f16c5fe4259' type='result'/>
*** User 2024-04-16 12:13:20.811 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<presence from='alice_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-16 12:13:20.811 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
<iq type='set' id='e5ece32dbd520a41f5f5ba2fc4918302'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2936@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.853 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<iq from='bob_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' id='push96ea54f7cbccd4eb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2936@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.854 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
<iq to='bob_unsubscribe_2936@domain.example.com' id='push96ea54f7cbccd4eb' type='result'/>
*** User 2024-04-16 12:13:20.854 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<iq from='bob_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' id='e5ece32dbd520a41f5f5ba2fc4918302' type='result'/>
*** User 2024-04-16 12:13:20.854 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2936@domain.example.com'/>
*** User 2024-04-16 12:13:20.859 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='alice_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='push107f9d20b849a053' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2936@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.859 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<presence from='bob_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-16 12:13:20.859 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<presence from='bob_unsubscribe_2936@domain.example.com/res1' to='alice_unsubscribe_2936@domain.example.com/res1'/>
*** User 2024-04-16 12:13:20.859 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<iq from='bob_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' id='pushf614e3196c14647a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2936@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.859 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2936@domain.example.com'/>
*** User 2024-04-16 12:13:20.865 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<iq from='alice_unsubscribe_2936@domain.example.com' to='alice_unsubscribe_2936@domain.example.com/res1' id='push7e464e9cdc634644' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_2936@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.865 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
<iq to='alice_unsubscribe_2936@domain.example.com' id='push7e464e9cdc634644' type='result'/>
*** User 2024-04-16 12:13:20.865 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<iq from='bob_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' id='push2bd7e3607733dabc' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_2936@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:13:20.865 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
<presence from='alice_unsubscribe_2936@domain.example.com' to='bob_unsubscribe_2936@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-16 12:13:20.865 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
<presence from='bob_unsubscribe_2936@domain.example.com/res1' to='alice_unsubscribe_2936@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-16 12:13:20.865 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-16 12:13:20.865 ***🔗
bob_unsubscribe_2936@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-16 12:13:20.865 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-16 12:13:20.866 ***🔗
alice_unsubscribe_2936@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-16 12:13:20
=== successfully completed test case
=== === Returned value: ok