=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.77923.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@04325015025b.2024-04-25_14.32.38/big_tests.tests.presence_SUITE.logs/run.2024-04-25_14.48.31/presence_suite.unsubscribe.160259.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@04325015025b.2024-04-25_14.32.38/big_tests.tests.presence_SUITE.logs/run.2024-04-25_14.48.31/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@04325015025b.2024-04-25_14.32.38"
=== Started at 2024-04-25 14:48:33
*** User 2024-04-25 14:48:33.401 ***🔗
alicE_unsubscribe_3029@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 14:48:33.402 ***🔗
alicE_unsubscribe_3029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85ef946dc71b9ebd' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:33.402 ***🔗
alicE_unsubscribe_3029@localhost/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-25 14:48:33.402 ***🔗
alicE_unsubscribe_3029@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwMjkAbWF0eWdyeXNh</auth>
*** User 2024-04-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39a6fd777d12050c' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3029@localhost'>
*** User 2024-04-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/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-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/res1 out
<iq type='set' id='8a5e9b4492dddb63eef1a4128d8be2eb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:33.403 ***🔗
alicE_unsubscribe_3029@localhost/res1 in
<iq id='8a5e9b4492dddb63eef1a4128d8be2eb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_3029@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:33.403 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<iq type='set' id='fd6bcc96117ebe92c40cef071625b7d2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:33.404 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_3029@localhost/res1' id='fd6bcc96117ebe92c40cef071625b7d2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:33.404 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<presence/>
*** User 2024-04-25 14:48:33.405 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<presence from='alice_unsubscribe_3029@localhost/res1' to='alice_unsubscribe_3029@localhost/res1'/>
*** User 2024-04-25 14:48:33.405 ***🔗
bOb_unsubscribe_3029@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 14:48:33.405 ***🔗
bOb_unsubscribe_3029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae0fcb573b9deedb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:33.405 ***🔗
bOb_unsubscribe_3029@localhost/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-25 14:48:33.406 ***🔗
bOb_unsubscribe_3029@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDI5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-25 14:48:33.406 ***🔗
bOb_unsubscribe_3029@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:33.406 ***🔗
bOb_unsubscribe_3029@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 14:48:33.407 ***🔗
bOb_unsubscribe_3029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c95a744540b43d66' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3029@localhost'>
*** User 2024-04-25 14:48:33.407 ***🔗
bOb_unsubscribe_3029@localhost/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-25 14:48:33.407 ***🔗
bOb_unsubscribe_3029@localhost/res1 out
<iq type='set' id='c623057b75f5b883a962172fd1cc231a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:33.407 ***🔗
bOb_unsubscribe_3029@localhost/res1 in
<iq id='c623057b75f5b883a962172fd1cc231a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_3029@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:33.407 ***🔗
bob_unsubscribe_3029@localhost/res1 out
<iq type='set' id='de2646ed37d234dede04879741aa5bd0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:33.407 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_3029@localhost/res1' id='de2646ed37d234dede04879741aa5bd0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:33.407 ***🔗
bob_unsubscribe_3029@localhost/res1 out
<presence/>
*** User 2024-04-25 14:48:33.408 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<presence from='bob_unsubscribe_3029@localhost/res1' to='bob_unsubscribe_3029@localhost/res1'/>
*** User 2024-04-25 14:48:33.408 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<iq type='set' id='2f5d5a5da13274e367f3ca02e8029b9c'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_3029@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.422 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='alice_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' id='pushe68be097f239f5b6' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3029@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.422 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='alice_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' id='2f5d5a5da13274e367f3ca02e8029b9c' type='result'/>
*** User 2024-04-25 14:48:33.422 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<iq to='alice_unsubscribe_3029@localhost' id='pushe68be097f239f5b6' type='result'/>
*** User 2024-04-25 14:48:33.422 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3029@localhost'/>
*** User 2024-04-25 14:48:33.428 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='alice_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' id='push2b3f3d030ffee6c6' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3029@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.428 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<iq to='alice_unsubscribe_3029@localhost' id='push2b3f3d030ffee6c6' type='result'/>
*** User 2024-04-25 14:48:33.428 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<presence from='alice_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' type='subscribe'/>
*** User 2024-04-25 14:48:33.428 ***🔗
bob_unsubscribe_3029@localhost/res1 out
<iq type='set' id='fc3a9dd7d1c46a03414c94e1a44f864f'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_3029@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.455 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<iq from='bob_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' id='push1003d4ba109727bd' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3029@localhost' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.455 ***🔗
bob_unsubscribe_3029@localhost/res1 out
<iq to='bob_unsubscribe_3029@localhost' id='push1003d4ba109727bd' type='result'/>
*** User 2024-04-25 14:48:33.455 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<iq from='bob_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' id='fc3a9dd7d1c46a03414c94e1a44f864f' type='result'/>
*** User 2024-04-25 14:48:33.456 ***🔗
bob_unsubscribe_3029@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3029@localhost'/>
*** User 2024-04-25 14:48:33.462 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='alice_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' id='pushedec41900bf3271f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3029@localhost' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.462 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<presence from='bob_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' type='subscribed'/>
*** User 2024-04-25 14:48:33.462 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<presence from='bob_unsubscribe_3029@localhost/res1' to='alice_unsubscribe_3029@localhost/res1'/>
*** User 2024-04-25 14:48:33.462 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<iq from='bob_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' id='push9f07946104bd6188' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3029@localhost' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.463 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3029@localhost'/>
*** User 2024-04-25 14:48:33.470 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<iq from='alice_unsubscribe_3029@localhost' to='alice_unsubscribe_3029@localhost/res1' id='push9668fe5512aff125' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3029@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.470 ***🔗
alice_unsubscribe_3029@localhost/res1 out
<iq to='alice_unsubscribe_3029@localhost' id='push9668fe5512aff125' type='result'/>
*** User 2024-04-25 14:48:33.470 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<iq from='bob_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' id='pushc2667a364e6777dc' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3029@localhost' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-25 14:48:33.470 ***🔗
bob_unsubscribe_3029@localhost/res1 in
<presence from='alice_unsubscribe_3029@localhost' to='bob_unsubscribe_3029@localhost/res1' type='unsubscribe'/>
*** User 2024-04-25 14:48:33.470 ***🔗
alice_unsubscribe_3029@localhost/res1 in
<presence from='bob_unsubscribe_3029@localhost/res1' to='alice_unsubscribe_3029@localhost/res1' type='unavailable'/>
*** User 2024-04-25 14:48:33.471 ***🔗
bob_unsubscribe_3029@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:48:33.471 ***🔗
bob_unsubscribe_3029@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:48:33.471 ***🔗
alice_unsubscribe_3029@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:48:33.471 ***🔗
alice_unsubscribe_3029@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 14:48:33
=== successfully completed test case
=== === Returned value: ok