=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.8432.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.presence_SUITE.logs/run.2024-04-22_15.01.44/presence_suite.unsubscribe.215170.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.presence_SUITE.logs/run.2024-04-22_15.01.44/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@c3695dab14af.2024-04-22_14.48.10"
=== Started at 2024-04-22 15:01:46
*** User 2024-04-22 15:01:46.956 ***🔗
alicE_unsubscribe_3067@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-22 15:01:46.956 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2cd2b11a9eac0e59' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:01:46.957 ***🔗
alicE_unsubscribe_3067@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-22 15:01:46.957 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwNjcAbWF0eWdyeXNh</auth>
*** User 2024-04-22 15:01:46.958 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:01:46.958 ***🔗
alicE_unsubscribe_3067@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-22 15:01:46.958 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='871115b95726e317' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_3067@domain.example.com'>
*** User 2024-04-22 15:01:46.958 ***🔗
alicE_unsubscribe_3067@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-22 15:01:46.958 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='7b993f5201f3a4b1ed3adbf4fcb0c2b4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:01:46.959 ***🔗
alicE_unsubscribe_3067@domain.example.com/res1 in
<iq id='7b993f5201f3a4b1ed3adbf4fcb0c2b4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_3067@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:01:46.959 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='aaf7e6550b3bb42dcba7e44de2217dd4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:01:46.959 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='aaf7e6550b3bb42dcba7e44de2217dd4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:01:46.960 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 15:01:46.961 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<presence from='alice_unsubscribe_3067@domain.example.com/res1' to='alice_unsubscribe_3067@domain.example.com/res1'/>
*** User 2024-04-22 15:01:46.961 ***🔗
bOb_unsubscribe_3067@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-22 15:01:46.962 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fa288914876b68b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:01:46.962 ***🔗
bOb_unsubscribe_3067@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-22 15:01:46.962 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDY3AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 15:01:46.963 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:01:46.963 ***🔗
bOb_unsubscribe_3067@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-22 15:01:46.963 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35850e18af93ce47' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_3067@domain.example.com'>
*** User 2024-04-22 15:01:46.964 ***🔗
bOb_unsubscribe_3067@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-22 15:01:46.964 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='8530dc9450b549dc74801a49272c7e85'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:01:46.964 ***🔗
bOb_unsubscribe_3067@domain.example.com/res1 in
<iq id='8530dc9450b549dc74801a49272c7e85' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_3067@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:01:46.964 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='4122ea7ddb812a3da44f3a534c4867db'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:01:46.965 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' id='4122ea7ddb812a3da44f3a534c4867db' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:01:46.965 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 15:01:46.966 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<presence from='bob_unsubscribe_3067@domain.example.com/res1' to='bob_unsubscribe_3067@domain.example.com/res1'/>
*** User 2024-04-22 15:01:46.966 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='f223306629a6659a622a31cbbd3e610d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_3067@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.976 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='alice_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='push169b3e453355b4d9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3067@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.976 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='alice_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='f223306629a6659a622a31cbbd3e610d' type='result'/>
*** User 2024-04-22 15:01:46.976 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<iq to='alice_unsubscribe_3067@domain.example.com' id='push169b3e453355b4d9' type='result'/>
*** User 2024-04-22 15:01:46.976 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_3067@domain.example.com'/>
*** User 2024-04-22 15:01:46.984 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='alice_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='push2a49c8e35c351aae' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3067@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.984 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<iq to='alice_unsubscribe_3067@domain.example.com' id='push2a49c8e35c351aae' type='result'/>
*** User 2024-04-22 15:01:46.984 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<presence from='alice_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-22 15:01:46.985 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
<iq type='set' id='25c2a738f8407dbbe12c488eaa66b1a1'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_3067@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.990 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<iq from='bob_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' id='push0920442945e7d2f2' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3067@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.990 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
<iq to='bob_unsubscribe_3067@domain.example.com' id='push0920442945e7d2f2' type='result'/>
*** User 2024-04-22 15:01:46.990 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<iq from='bob_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' id='25c2a738f8407dbbe12c488eaa66b1a1' type='result'/>
*** User 2024-04-22 15:01:46.990 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_3067@domain.example.com'/>
*** User 2024-04-22 15:01:46.996 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='alice_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='pushd6210597a016a23f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3067@domain.example.com' subscription='to'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.996 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<presence from='bob_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' type='subscribed'/>
*** User 2024-04-22 15:01:46.996 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<presence from='bob_unsubscribe_3067@domain.example.com/res1' to='alice_unsubscribe_3067@domain.example.com/res1'/>
*** User 2024-04-22 15:01:46.996 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<iq from='bob_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' id='pushdce2128ce224ad14' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3067@domain.example.com' subscription='from'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:46.996 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3067@domain.example.com'/>
*** User 2024-04-22 15:01:47.043 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<iq from='alice_unsubscribe_3067@domain.example.com' to='alice_unsubscribe_3067@domain.example.com/res1' id='pushc6fd8cd36356052b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_unsubscribe_3067@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:47.043 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
<iq to='alice_unsubscribe_3067@domain.example.com' id='pushc6fd8cd36356052b' type='result'/>
*** User 2024-04-22 15:01:47.043 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<iq from='bob_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' id='push02cc48cb2b2e50c7' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Alice' jid='alice_unsubscribe_3067@domain.example.com' subscription='none'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2024-04-22 15:01:47.044 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
<presence from='alice_unsubscribe_3067@domain.example.com' to='bob_unsubscribe_3067@domain.example.com/res1' type='unsubscribe'/>
*** User 2024-04-22 15:01:47.044 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
<presence from='bob_unsubscribe_3067@domain.example.com/res1' to='alice_unsubscribe_3067@domain.example.com/res1' type='unavailable'/>
*** User 2024-04-22 15:01:47.044 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 15:01:47.045 ***🔗
bob_unsubscribe_3067@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-22 15:01:47.045 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 15:01:47.045 ***🔗
alice_unsubscribe_3067@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-22 15:01:47
=== successfully completed test case
=== === Returned value: ok