=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.68639.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/presence_suite.unsubscribe.187650.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/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@cdb4b709e1db.2023-11-16_09.06.27"
=== Started at 2023-11-16 09:19:12
*** User 2023-11-16 09:19:12.282 ***🔗
alicE_unsubscribe_2728@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 2023-11-16 09:19:12.282 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc43442010fca394' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:12.283 ***🔗
alicE_unsubscribe_2728@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 2023-11-16 09:19:12.283 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MjgAbWF0eWdyeXNh</auth>
*** User 2023-11-16 09:19:12.283 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:12.283 ***🔗
alicE_unsubscribe_2728@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 2023-11-16 09:19:12.284 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1aaf83a7a021dd2b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2728@domain.example.com'>
*** User 2023-11-16 09:19:12.284 ***🔗
alicE_unsubscribe_2728@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 2023-11-16 09:19:12.284 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='e42a1f874a0ad2f850401c5a5912713e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:12.284 ***🔗
alicE_unsubscribe_2728@domain.example.com/res1 in
<iq id='e42a1f874a0ad2f850401c5a5912713e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_2728@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:12.284 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='0e0371de975961d4cdd6eafcab1cb0f5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.285 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='0e0371de975961d4cdd6eafcab1cb0f5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.285 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:12.286 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<presence from='alice_unsubscribe_2728@domain.example.com/res1' to='alice_unsubscribe_2728@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.286 ***🔗
bOb_unsubscribe_2728@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 2023-11-16 09:19:12.287 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b550136664ae5c05' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:12.287 ***🔗
bOb_unsubscribe_2728@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 2023-11-16 09:19:12.287 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzI4AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-16 09:19:12.288 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:12.288 ***🔗
bOb_unsubscribe_2728@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 2023-11-16 09:19:12.288 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7eddab844072196d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2728@domain.example.com'>
*** User 2023-11-16 09:19:12.288 ***🔗
bOb_unsubscribe_2728@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 2023-11-16 09:19:12.288 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='4e3775747ddee8416f29013e9fd93cb6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:12.289 ***🔗
bOb_unsubscribe_2728@domain.example.com/res1 in
<iq id='4e3775747ddee8416f29013e9fd93cb6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_2728@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:12.289 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='9ba6f8dbba7357b89b3f03f5768479d6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.289 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' id='9ba6f8dbba7357b89b3f03f5768479d6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:12.289 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:12.290 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<presence from='bob_unsubscribe_2728@domain.example.com/res1' to='bob_unsubscribe_2728@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.291 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='edf76e947e7cd89e1f634a14e2268d1c'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_2728@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.300 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='alice_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='push42c88366bb0c4ff9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2728@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.300 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='alice_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='edf76e947e7cd89e1f634a14e2268d1c' type='result'/>
*** User 2023-11-16 09:19:12.300 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<iq to='alice_unsubscribe_2728@domain.example.com' id='push42c88366bb0c4ff9' type='result'/>
*** User 2023-11-16 09:19:12.300 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2728@domain.example.com'/>
*** User 2023-11-16 09:19:12.304 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='alice_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='pushdb76f67ee0efc306' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2728@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.304 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<iq to='alice_unsubscribe_2728@domain.example.com' id='pushdb76f67ee0efc306' type='result'/>
*** User 2023-11-16 09:19:12.304 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<presence from='alice_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-16 09:19:12.304 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
<iq type='set' id='1feb44ff7a9d27e001e439cb0da287a1'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_2728@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.324 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<iq from='bob_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' id='push0fc766a3bc6f9ff8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2728@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.324 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
<iq to='bob_unsubscribe_2728@domain.example.com' id='push0fc766a3bc6f9ff8' type='result'/>
*** User 2023-11-16 09:19:12.325 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<iq from='bob_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' id='1feb44ff7a9d27e001e439cb0da287a1' type='result'/>
*** User 2023-11-16 09:19:12.325 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2728@domain.example.com'/>
*** User 2023-11-16 09:19:12.328 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='alice_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='pushf1a43472f7d4f2a9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_2728@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.329 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<presence from='bob_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-16 09:19:12.329 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<presence from='bob_unsubscribe_2728@domain.example.com/res1' to='alice_unsubscribe_2728@domain.example.com/res1'/>
*** User 2023-11-16 09:19:12.329 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<iq from='bob_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' id='push5a709d64665ce9a7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_2728@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.329 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2728@domain.example.com'/>
*** User 2023-11-16 09:19:12.333 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<iq from='alice_unsubscribe_2728@domain.example.com' to='alice_unsubscribe_2728@domain.example.com/res1' id='push97a602a34f6e7238' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_2728@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.333 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
<iq to='alice_unsubscribe_2728@domain.example.com' id='push97a602a34f6e7238' type='result'/>
*** User 2023-11-16 09:19:12.333 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<iq from='bob_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' id='pushc79c938b1d4eb833' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_2728@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:12.333 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
<presence from='alice_unsubscribe_2728@domain.example.com' to='bob_unsubscribe_2728@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-16 09:19:12.333 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
<presence from='bob_unsubscribe_2728@domain.example.com/res1' to='alice_unsubscribe_2728@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-16 09:19:12.334 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:12.334 ***🔗
bob_unsubscribe_2728@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-16 09:19:12.334 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:12.334 ***🔗
alice_unsubscribe_2728@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:19:12
=== successfully completed test case
=== === Returned value: ok