=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.30423.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/presence_suite.remove_unsubscribe.147074.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/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@df370d24fb6d.2022-05-11_08.56.40"
=== Started at 2022-05-11 09:04:18
*** User 2022-05-11 09:04:18.914 ***
alicE_remove_unsubscribe_1941@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 2022-05-11 09:04:18.915 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2df27150488cacb2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:18.915 ***
alicE_remove_unsubscribe_1941@domain.example.com/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-05-11 09:04:18.915 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8xOTQxAG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@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 2022-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5779d1b117237682' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@domain.example.com/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-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='ab3098f11a4e106fc9a3164e41862d39'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:18.916 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq id='ab3098f11a4e106fc9a3164e41862d39' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_remove_unsubscribe_1941@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:18.917 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='b7c7fe9563e5b1425d8a685850ac9dd8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:18.917 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq type='result' id='b7c7fe9563e5b1425d8a685850ac9dd8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:18.917 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:18.918 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1941@domain.example.com/res1' to='alice_remove_unsubscribe_1941@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:18.919 ***
bOb_remove_unsubscribe_1941@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 2022-05-11 09:04:18.919 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43233a3f8a469f16' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:18.920 ***
bOb_remove_unsubscribe_1941@domain.example.com/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-05-11 09:04:18.920 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMTk0MQBtYWtyb2xpa2E=</auth>
*** User 2022-05-11 09:04:18.920 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:18.921 ***
bOb_remove_unsubscribe_1941@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 2022-05-11 09:04:18.921 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='831a1973734bac40' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:18.921 ***
bOb_remove_unsubscribe_1941@domain.example.com/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-05-11 09:04:18.921 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='4b5c1e1ec53ef3a258a45e3c4bf9b9e9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:18.921 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq id='4b5c1e1ec53ef3a258a45e3c4bf9b9e9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_remove_unsubscribe_1941@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:18.922 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='855be79927b627630a77050620a4cc6c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:18.922 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq type='result' id='855be79927b627630a77050620a4cc6c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:18.922 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:18.923 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1941@domain.example.com/res1' to='bob_remove_unsubscribe_1941@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:18.923 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='4d35509487f6711dc2408c5ab5c10457'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_remove_unsubscribe_1941@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.925 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='push3ad7906018d34f37' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1941@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.925 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='4d35509487f6711dc2408c5ab5c10457' type='result'/>
*** User 2022-05-11 09:04:18.926 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq to='alicE_remove_unsubscribe_1941@domain.example.com' id='push3ad7906018d34f37' type='result'/>
*** User 2022-05-11 09:04:18.926 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_1941@domain.example.com'/>
*** User 2022-05-11 09:04:18.929 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='push0e50807032ec3c88' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1941@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.929 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq to='alicE_remove_unsubscribe_1941@domain.example.com' id='push0e50807032ec3c88' type='result'/>
*** User 2022-05-11 09:04:18.929 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1941@domain.example.com' to='bOb_remove_unsubscribe_1941@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-11 09:04:18.929 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='9dc2fb6eb59613da10c7a8fa176995fe'>
<query xmlns='jabber:iq:roster'>
<item jid='alicE_remove_unsubscribe_1941@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.939 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1941@domain.example.com' to='bOb_remove_unsubscribe_1941@domain.example.com/res1' id='push4547a2cae94d78cb' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1941@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.939 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<iq to='bOb_remove_unsubscribe_1941@domain.example.com' id='push4547a2cae94d78cb' type='result'/>
*** User 2022-05-11 09:04:18.939 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1941@domain.example.com' to='bOb_remove_unsubscribe_1941@domain.example.com/res1' id='9dc2fb6eb59613da10c7a8fa176995fe' type='result'/>
*** User 2022-05-11 09:04:18.939 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_1941@domain.example.com'/>
*** User 2022-05-11 09:04:18.943 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='pushc24dcce74500d384' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_1941@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.943 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-11 09:04:18.943 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1941@domain.example.com/res1' to='alice_remove_unsubscribe_1941@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:18.943 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1941@domain.example.com' to='bOb_remove_unsubscribe_1941@domain.example.com/res1' id='pusha6bcd72e94135de2' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_1941@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.944 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
<iq type='set' id='841e6b7f86f82751859aa0d2df2f2064'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_remove_unsubscribe_1941@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2022-05-11 09:04:18.947 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='push85bd8a0270075988' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1941@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:18.951 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1941@domain.example.com/res1' to='alice_remove_unsubscribe_1941@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-11 09:04:18.951 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1941@domain.example.com' to='alicE_remove_unsubscribe_1941@domain.example.com/res1' id='841e6b7f86f82751859aa0d2df2f2064' type='result'/>
*** User 2022-05-11 09:04:18.951 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_1941@domain.example.com' to='bob_remove_unsubscribe_1941@domain.example.com/res1' id='push87dc0b9b2227f67b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1941@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-11 09:04:18.951 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1941@domain.example.com' to='bob_remove_unsubscribe_1941@domain.example.com/res1' type='unsubscribe'/>
*** User 2022-05-11 09:04:18.951 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:18.977 ***
bOb_remove_unsubscribe_1941@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-11 09:04:18.977 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:18.977 ***
alicE_remove_unsubscribe_1941@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-11 09:04:19
=== successfully completed test case
=== === Returned value: ok