=== Test case: presence_SUITE:unsubscribe/1 (click for source code)
=== Config value:
[{watchdog,<0.30709.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/presence_suite.unsubscribe.135170.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/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@f0b09cc3aef4.2022-05-25_09.03.38"
=== Started at 2022-05-25 09:13:03
*** User 2022-05-25 09:13:03.414 ***
alicE_unsubscribe_1983@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-25 09:13:03.414 ***
alicE_unsubscribe_1983@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='096d359911ee0382' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:03.415 ***
alicE_unsubscribe_1983@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-25 09:13:03.415 ***
alicE_unsubscribe_1983@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE5ODMAbWF0eWdyeXNh</auth>
*** User 2022-05-25 09:13:03.415 ***
alicE_unsubscribe_1983@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:13:03.415 ***
alicE_unsubscribe_1983@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-25 09:13:03.416 ***
alicE_unsubscribe_1983@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b05dfa630b7b22c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:03.416 ***
alicE_unsubscribe_1983@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-25 09:13:03.416 ***
alicE_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='8a884b6c4f662cce1b97b432eccf461b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 09:13:03.416 ***
alicE_unsubscribe_1983@domain.example.com/res1 in
<iq id='8a884b6c4f662cce1b97b432eccf461b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unsubscribe_1983@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-25 09:13:03.416 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='db51f301cc9ae9bf35c4f2e1be5fdd9e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:03.417 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq type='result' id='db51f301cc9ae9bf35c4f2e1be5fdd9e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:03.417 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<presence/>
*** User 2022-05-25 09:13:03.421 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<presence from='alice_unsubscribe_1983@domain.example.com/res1' to='alice_unsubscribe_1983@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:03.422 ***
bOb_unsubscribe_1983@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-25 09:13:03.422 ***
bOb_unsubscribe_1983@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df185f3fb696c8fc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:03.422 ***
bOb_unsubscribe_1983@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-25 09:13:03.422 ***
bOb_unsubscribe_1983@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xOTgzAG1ha3JvbGlrYQ==</auth>
*** User 2022-05-25 09:13:03.423 ***
bOb_unsubscribe_1983@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:13:03.423 ***
bOb_unsubscribe_1983@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-25 09:13:03.424 ***
bOb_unsubscribe_1983@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='611193b07c74ba92' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:03.424 ***
bOb_unsubscribe_1983@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-25 09:13:03.424 ***
bOb_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='1af525c4617e9b06099da7aafd3cd2b5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 09:13:03.424 ***
bOb_unsubscribe_1983@domain.example.com/res1 in
<iq id='1af525c4617e9b06099da7aafd3cd2b5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unsubscribe_1983@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-25 09:13:03.424 ***
bob_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='c3e726acac78a9528889b2942859431d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:03.424 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<iq type='result' id='c3e726acac78a9528889b2942859431d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:03.424 ***
bob_unsubscribe_1983@domain.example.com/res1 out
<presence/>
*** User 2022-05-25 09:13:03.426 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<presence from='bob_unsubscribe_1983@domain.example.com/res1' to='bob_unsubscribe_1983@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:03.426 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='d63bc51456fe40d9a81d68f1ac215d9d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_unsubscribe_1983@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.434 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq from='alice_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' id='push3befbce0c1febb6c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1983@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.435 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq from='alice_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' id='d63bc51456fe40d9a81d68f1ac215d9d' type='result'/>
*** User 2022-05-25 09:13:03.435 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<iq to='alice_unsubscribe_1983@domain.example.com' id='push3befbce0c1febb6c' type='result'/>
*** User 2022-05-25 09:13:03.435 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_1983@domain.example.com'/>
*** User 2022-05-25 09:13:03.468 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq from='alice_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' id='pushbef29743ec2eeb99' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1983@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.469 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<iq to='alice_unsubscribe_1983@domain.example.com' id='pushbef29743ec2eeb99' type='result'/>
*** User 2022-05-25 09:13:03.469 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<presence from='alice_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-25 09:13:03.469 ***
bob_unsubscribe_1983@domain.example.com/res1 out
<iq type='set' id='ec44148570c513a07ab3f697660fea65'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_unsubscribe_1983@domain.example.com' name='Alice'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.485 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<iq from='bob_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' id='pushabfa5cbf0417a061' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1983@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.485 ***
bob_unsubscribe_1983@domain.example.com/res1 out
<iq to='bob_unsubscribe_1983@domain.example.com' id='pushabfa5cbf0417a061' type='result'/>
*** User 2022-05-25 09:13:03.485 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<iq from='bob_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' id='ec44148570c513a07ab3f697660fea65' type='result'/>
*** User 2022-05-25 09:13:03.485 ***
bob_unsubscribe_1983@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_1983@domain.example.com'/>
*** User 2022-05-25 09:13:03.493 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq from='alice_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' id='push2eee11a5e5726e66' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' name='Bobby' jid='bob_unsubscribe_1983@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.493 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<presence from='bob_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-25 09:13:03.493 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<presence from='bob_unsubscribe_1983@domain.example.com/res1' to='alice_unsubscribe_1983@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:03.493 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<iq from='bob_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' id='pusha402be9b2e922f8e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' name='Alice' jid='alice_unsubscribe_1983@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.493 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_1983@domain.example.com'/>
*** User 2022-05-25 09:13:03.501 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<iq from='alice_unsubscribe_1983@domain.example.com' to='alice_unsubscribe_1983@domain.example.com/res1' id='push3e23938a96d08cb2' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_unsubscribe_1983@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.501 ***
alice_unsubscribe_1983@domain.example.com/res1 out
<iq to='alice_unsubscribe_1983@domain.example.com' id='push3e23938a96d08cb2' type='result'/>
*** User 2022-05-25 09:13:03.501 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<iq from='bob_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' id='push3346022c537c04b7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Alice' jid='alice_unsubscribe_1983@domain.example.com'>
<group>enemies</group>
</item>
</query>
</iq>
*** User 2022-05-25 09:13:03.501 ***
bob_unsubscribe_1983@domain.example.com/res1 in
<presence from='alice_unsubscribe_1983@domain.example.com' to='bob_unsubscribe_1983@domain.example.com/res1' xml:lang='en' type='unsubscribe'/>
*** User 2022-05-25 09:13:03.501 ***
alice_unsubscribe_1983@domain.example.com/res1 in
<presence from='bob_unsubscribe_1983@domain.example.com/res1' to='alice_unsubscribe_1983@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-25 09:13:03.501 ***
bob_unsubscribe_1983@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-25 09:13:03.501 ***
bob_unsubscribe_1983@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-25 09:13:03.502 ***
alice_unsubscribe_1983@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-25 09:13:03.502 ***
alice_unsubscribe_1983@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-25 09:13:03
=== successfully completed test case
=== === Returned value: ok