=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.3252.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.unsubscribe.104195.html"},
{tc_group_properties,[{name,subscribe_group},
{repeat_until_all_ok,3},
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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/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@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:13:10
*** User 2022-04-04 15:13:10.468 ***
alicE_unsubscribe_2026@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.468 ***
alicE_unsubscribe_2026@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f89d909843b553b1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.468 ***
alicE_unsubscribe_2026@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:13:10.468 ***
alicE_unsubscribe_2026@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIwMjYAbWF0eWdyeXNh</auth>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c179a00bde8fb33d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq type='set' id='baf2d2c27229ecad3fdef512084d65ec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:13:10.469 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq id='baf2d2c27229ecad3fdef512084d65ec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unsubscribe_2026@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:13:10.470 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq type='set' id='2a2ec2feb11dce8d205591d06c11f0b6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.470 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq type='result' id='2a2ec2feb11dce8d205591d06c11f0b6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.470 ***
alicE_unsubscribe_2026@localhost/res1 out
<presence/>
*** User 2022-04-04 15:13:10.472 ***
alicE_unsubscribe_2026@localhost/res1 in
<presence from='alicE_unsubscribe_2026@localhost/res1' to='alice_unsubscribe_2026@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.472 ***
bOb_unsubscribe_2026@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.473 ***
bOb_unsubscribe_2026@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac668781a97256e6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.473 ***
bOb_unsubscribe_2026@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:13:10.473 ***
bOb_unsubscribe_2026@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMDI2AG1ha3JvbGlrYQ==</auth>
*** User 2022-04-04 15:13:10.474 ***
bOb_unsubscribe_2026@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:10.474 ***
bOb_unsubscribe_2026@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.475 ***
bOb_unsubscribe_2026@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d5200c69ed53efa' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.475 ***
bOb_unsubscribe_2026@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:13:10.475 ***
bOb_unsubscribe_2026@localhost/res1 out
<iq type='set' id='cad2bc1d04a3188c07631282bbb3f96a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:13:10.475 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq id='cad2bc1d04a3188c07631282bbb3f96a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unsubscribe_2026@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:13:10.475 ***
bOb_unsubscribe_2026@localhost/res1 out
<iq type='set' id='9f781afe144c52294422de07f91e384d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.476 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq type='result' id='9f781afe144c52294422de07f91e384d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.476 ***
bOb_unsubscribe_2026@localhost/res1 out
<presence/>
*** User 2022-04-04 15:13:10.477 ***
bOb_unsubscribe_2026@localhost/res1 in
<presence from='bOb_unsubscribe_2026@localhost/res1' to='bob_unsubscribe_2026@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.477 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq type='set' id='f68e973f4767195fff6ed474be1447ad'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_unsubscribe_2026@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.490 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq from='alicE_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' id='push0fa5be868248ff86' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2026@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.490 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq from='alicE_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' id='f68e973f4767195fff6ed474be1447ad' type='result'/>
*** User 2022-04-04 15:13:10.490 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq to='alicE_unsubscribe_2026@localhost' id='push0fa5be868248ff86' type='result'/>
*** User 2022-04-04 15:13:10.490 ***
alicE_unsubscribe_2026@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_2026@localhost'/>
*** User 2022-04-04 15:13:10.536 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq from='alicE_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' id='pushfbd71467e5ede96f' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2026@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.536 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq to='alicE_unsubscribe_2026@localhost' id='pushfbd71467e5ede96f' type='result'/>
*** User 2022-04-04 15:13:10.536 ***
bOb_unsubscribe_2026@localhost/res1 in
<presence from='alicE_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-04-04 15:13:10.536 ***
bOb_unsubscribe_2026@localhost/res1 out
<iq type='set' id='70c203152c7fb5bde4ce97acf7faea36'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_unsubscribe_2026@localhost' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.541 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq from='bOb_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' id='push42509f4ea0d8c41c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2026@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.541 ***
bOb_unsubscribe_2026@localhost/res1 out
<iq to='bOb_unsubscribe_2026@localhost' id='push42509f4ea0d8c41c' type='result'/>
*** User 2022-04-04 15:13:10.541 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq from='bOb_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' id='70c203152c7fb5bde4ce97acf7faea36' type='result'/>
*** User 2022-04-04 15:13:10.541 ***
bOb_unsubscribe_2026@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_2026@localhost'/>
*** User 2022-04-04 15:13:10.549 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq from='alicE_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' id='pushdf38f86c90f11f9a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_2026@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.549 ***
alicE_unsubscribe_2026@localhost/res1 in
<presence from='bOb_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-04-04 15:13:10.549 ***
alicE_unsubscribe_2026@localhost/res1 in
<presence from='bOb_unsubscribe_2026@localhost/res1' to='alice_unsubscribe_2026@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.549 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq from='bOb_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' id='push29812a761f289969' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_2026@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.549 ***
alicE_unsubscribe_2026@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_2026@localhost'/>
*** User 2022-04-04 15:13:10.561 ***
alicE_unsubscribe_2026@localhost/res1 in
<iq from='alicE_unsubscribe_2026@localhost' to='alicE_unsubscribe_2026@localhost/res1' id='push82fa15f2431c821e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2026@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.561 ***
alicE_unsubscribe_2026@localhost/res1 out
<iq to='alicE_unsubscribe_2026@localhost' id='push82fa15f2431c821e' type='result'/>
*** User 2022-04-04 15:13:10.561 ***
bOb_unsubscribe_2026@localhost/res1 in
<iq from='bOb_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' id='push577b3516b18316b4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2026@localhost'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.561 ***
bOb_unsubscribe_2026@localhost/res1 in
<presence from='alicE_unsubscribe_2026@localhost' to='bOb_unsubscribe_2026@localhost/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-04-04 15:13:10.561 ***
alicE_unsubscribe_2026@localhost/res1 in
<presence from='bOb_unsubscribe_2026@localhost/res1' to='alice_unsubscribe_2026@localhost/res1' type='unavailable'/>
*** User 2022-04-04 15:13:10.561 ***
bOb_unsubscribe_2026@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:13:10.562 ***
bOb_unsubscribe_2026@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:13:10.562 ***
alicE_unsubscribe_2026@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:13:10.562 ***
alicE_unsubscribe_2026@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:13:10
=== successfully completed test case
=== === Returned value: ok