=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.6869.2>},
{preset,"pgsql_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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/presence_suite.remove_unsubscribe.91268.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/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@b3c75cb3c9a2.2024-04-23_10.51.31"
=== Started at 2024-04-23 11:04:28
*** User 2024-04-23 11:04:28.954 ***🔗
alicE_remove_unsubscribe_3086@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-23 11:04:28.955 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0268b8bf15ff06ef' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.955 ***🔗
alicE_remove_unsubscribe_3086@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-23 11:04:28.955 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8zMDg2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:04:28.955 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.956 ***🔗
alicE_remove_unsubscribe_3086@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-23 11:04:28.956 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e425039978cfdf34' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_3086@domain.example.com'>
*** User 2024-04-23 11:04:28.956 ***🔗
alicE_remove_unsubscribe_3086@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-23 11:04:28.956 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='021ceb58acbd8eb46fd261816cdeb212'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.956 ***🔗
alicE_remove_unsubscribe_3086@domain.example.com/res1 in
<iq id='021ceb58acbd8eb46fd261816cdeb212' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_remove_unsubscribe_3086@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.957 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='9dcfa639a9a0c32da79dfa909e7635fe'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.957 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='9dcfa639a9a0c32da79dfa909e7635fe' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.957 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.958 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3086@domain.example.com/res1' to='alice_remove_unsubscribe_3086@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.959 ***🔗
bOb_remove_unsubscribe_3086@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-23 11:04:28.959 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='792dd6af64494d42' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.959 ***🔗
bOb_remove_unsubscribe_3086@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-23 11:04:28.959 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMzA4NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@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-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d673fda7659d64a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_3086@domain.example.com'>
*** User 2024-04-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@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-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='cb0607b5f376b88deb22896458434816'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.960 ***🔗
bOb_remove_unsubscribe_3086@domain.example.com/res1 in
<iq id='cb0607b5f376b88deb22896458434816' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_remove_unsubscribe_3086@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.961 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='d318ceb88fa8c2db8fd78c9796b799be'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.961 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' id='d318ceb88fa8c2db8fd78c9796b799be' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.961 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.962 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3086@domain.example.com/res1' to='bob_remove_unsubscribe_3086@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.962 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='5eca27a27d9595539ec254327b3a1f85'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_3086@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.968 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='pushaeb6b2291f17e16d' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_3086@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.968 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='5eca27a27d9595539ec254327b3a1f85' type='result'/>
*** User 2024-04-23 11:04:28.969 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3086@domain.example.com' id='pushaeb6b2291f17e16d' type='result'/>
*** User 2024-04-23 11:04:28.969 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_3086@domain.example.com'/>
*** User 2024-04-23 11:04:28.974 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='pushbdd9e469279f7915' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_3086@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.974 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3086@domain.example.com' id='pushbdd9e469279f7915' type='result'/>
*** User 2024-04-23 11:04:28.974 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 11:04:28.974 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='c81c054b4515e32504a5350595c0b633'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_remove_unsubscribe_3086@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.980 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' id='push84d781e4eb86f335' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_3086@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.980 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_3086@domain.example.com' id='push84d781e4eb86f335' type='result'/>
*** User 2024-04-23 11:04:28.980 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' id='c81c054b4515e32504a5350595c0b633' type='result'/>
*** User 2024-04-23 11:04:28.980 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_3086@domain.example.com'/>
*** User 2024-04-23 11:04:28.984 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='push08d44ce442803ef3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_3086@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.984 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-23 11:04:28.985 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3086@domain.example.com/res1' to='alice_remove_unsubscribe_3086@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.985 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' id='pushd6ba8ee35979b05a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_3086@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.985 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
<iq type='set' id='f36b07cd41e53d844b4c8eaa25c3223b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_remove_unsubscribe_3086@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-23 11:04:28.987 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='pushffcaf66edf01b5f9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_remove_unsubscribe_3086@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-23 11:04:28.990 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3086@domain.example.com/res1' to='alice_remove_unsubscribe_3086@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-23 11:04:28.990 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3086@domain.example.com' to='alice_remove_unsubscribe_3086@domain.example.com/res1' id='f36b07cd41e53d844b4c8eaa25c3223b' type='result'/>
*** User 2024-04-23 11:04:28.990 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' id='pusha0c231bdf83440f4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_remove_unsubscribe_3086@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.990 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3086@domain.example.com' to='bob_remove_unsubscribe_3086@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-23 11:04:28.990 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.990 ***🔗
bob_remove_unsubscribe_3086@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 11:04:28.990 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.991 ***🔗
alice_remove_unsubscribe_3086@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:04:29
=== successfully completed test case
=== === Returned value: ok