=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.69642.0>},
{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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/presence_suite.unsubscribe.103940.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/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@d081adacb998.2024-01-14_19.39.56"
=== Started at 2024-01-14 19:53:17
*** User 2024-01-14 19:53:17.290 ***🔗
alicE_unsubscribe_2701@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-01-14 19:53:17.294 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f90edf1e456af94' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:53:17.294 ***🔗
alicE_unsubscribe_2701@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-01-14 19:53:17.294 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MDEAbWF0eWdyeXNh</auth>
*** User 2024-01-14 19:53:17.297 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:53:17.297 ***🔗
alicE_unsubscribe_2701@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-01-14 19:53:17.297 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5451c2e3061b02be' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2701@domain.example.com'>
*** User 2024-01-14 19:53:17.297 ***🔗
alicE_unsubscribe_2701@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-01-14 19:53:17.298 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='5bf39d75caa5419be9bc3c538a6b1448'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:53:17.298 ***🔗
alicE_unsubscribe_2701@domain.example.com/res1 in
<iq id='5bf39d75caa5419be9bc3c538a6b1448' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2701@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:53:17.298 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='9f4111d20f923d9d635fbaf4132f455a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.299 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='9f4111d20f923d9d635fbaf4132f455a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.299 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:53:17.304 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<presence from='alice_unsubscribe_2701@domain.example.com/res1' to='alice_unsubscribe_2701@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.305 ***🔗
bOb_unsubscribe_2701@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-01-14 19:53:17.305 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a7ec6ddc1d045e6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:53:17.305 ***🔗
bOb_unsubscribe_2701@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-01-14 19:53:17.305 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzAxAG1ha3JvbGlrYQ==</auth>
*** User 2024-01-14 19:53:17.306 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:53:17.306 ***🔗
bOb_unsubscribe_2701@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-01-14 19:53:17.307 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af83f65cb348ff97' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2701@domain.example.com'>
*** User 2024-01-14 19:53:17.307 ***🔗
bOb_unsubscribe_2701@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-01-14 19:53:17.307 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='590ddc89b293e5d85672beb5b51d0b0b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:53:17.307 ***🔗
bOb_unsubscribe_2701@domain.example.com/res1 in
<iq id='590ddc89b293e5d85672beb5b51d0b0b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2701@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:53:17.307 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='ab8a6c1cc500d182bbb033af00a041bb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.308 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' id='ab8a6c1cc500d182bbb033af00a041bb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.308 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:53:17.312 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<presence from='bob_unsubscribe_2701@domain.example.com/res1' to='bob_unsubscribe_2701@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.312 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='535b3676fb25db3788d5e87cb7c82ed7'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2701@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='alice_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='push76ec5a75a6c1b8e5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2701@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='alice_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='535b3676fb25db3788d5e87cb7c82ed7' type='result'/>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<iq to='alice_unsubscribe_2701@domain.example.com' id='push76ec5a75a6c1b8e5' type='result'/>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2701@domain.example.com'/>
*** User 2024-01-14 19:53:17.338 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='alice_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='pushc89375d6849df25a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2701@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.338 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<iq to='alice_unsubscribe_2701@domain.example.com' id='pushc89375d6849df25a' type='result'/>
*** User 2024-01-14 19:53:17.338 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<presence from='alice_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' type='subscribe'/>
*** User 2024-01-14 19:53:17.338 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
<iq type='set' id='0732600e772017250e5ddbe71a18a127'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2701@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.349 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<iq from='bob_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' id='push42cdbe4c48c73273' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2701@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.349 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
<iq to='bob_unsubscribe_2701@domain.example.com' id='push42cdbe4c48c73273' type='result'/>
*** User 2024-01-14 19:53:17.349 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<iq from='bob_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' id='0732600e772017250e5ddbe71a18a127' type='result'/>
*** User 2024-01-14 19:53:17.350 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2701@domain.example.com'/>
*** User 2024-01-14 19:53:17.355 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='alice_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='push0db54edb58623ad9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_2701@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.355 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<presence from='bob_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' type='subscribed'/>
*** User 2024-01-14 19:53:17.355 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<presence from='bob_unsubscribe_2701@domain.example.com/res1' to='alice_unsubscribe_2701@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.355 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<iq from='bob_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' id='push63a7873247f89216' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_2701@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.355 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2701@domain.example.com'/>
*** User 2024-01-14 19:53:17.364 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<iq from='alice_unsubscribe_2701@domain.example.com' to='alice_unsubscribe_2701@domain.example.com/res1' id='push5c6853a49a5ac080' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2701@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.365 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
<iq to='alice_unsubscribe_2701@domain.example.com' id='push5c6853a49a5ac080' type='result'/>
*** User 2024-01-14 19:53:17.365 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<iq from='bob_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' id='push608c59f4b292d2bf' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2701@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.365 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
<presence from='alice_unsubscribe_2701@domain.example.com' to='bob_unsubscribe_2701@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-01-14 19:53:17.365 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
<presence from='bob_unsubscribe_2701@domain.example.com/res1' to='alice_unsubscribe_2701@domain.example.com/res1' type='unavailable'/>
*** User 2024-01-14 19:53:17.365 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:53:17.365 ***🔗
bob_unsubscribe_2701@domain.example.com/res1 in
</stream:stream>
*** User 2024-01-14 19:53:17.365 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:53:17.366 ***🔗
alice_unsubscribe_2701@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-01-14 19:53:17
=== successfully completed test case
=== === Returned value: ok