=== Test case: presence_SUITE:remove_unsubscribe/1 (click for source code)

=== Config value:

    [{watchdog,<0.24942.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/presence_suite.remove_unsubscribe.146434.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:50


*** CT 2022-03-04 11:24:50.077 *** View log from node mongooseim@localhost when started mongooseim@localhost_2400.html
*** CT 2022-03-04 11:24:50.078 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:24:50.091 ***
alicE_remove_unsubscribe_1747@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-03-04 11:24:50.091 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d70b091fd859d0ab' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.091 ***
alicE_remove_unsubscribe_1747@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-03-04 11:24:50.091 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8xNzQ3AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@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-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c5fabff08c1eecc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@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-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='13c67ca704f8074ca61f3268c84279b0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.092 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq id='13c67ca704f8074ca61f3268c84279b0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_unsubscribe_1747@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='d9ab57dc1ac4ecc7d1f08c43e914f9b9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq type='result' id='d9ab57dc1ac4ecc7d1f08c43e914f9b9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:50.095 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1747@domain.example.com/res1' to='alice_remove_unsubscribe_1747@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.095 ***
bOb_remove_unsubscribe_1747@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-03-04 11:24:50.095 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a097adac24ec1765' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.095 ***
bOb_remove_unsubscribe_1747@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-03-04 11:24:50.095 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMTc0NwBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:24:50.096 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:50.096 ***
bOb_remove_unsubscribe_1747@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-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffe84e0b5a5fd11b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@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-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='b4be89ed3482fc1f0fa4a7ef56bd0ce1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq id='b4be89ed3482fc1f0fa4a7ef56bd0ce1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_unsubscribe_1747@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='c31d00fb8d23525374755daca3d78ed1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq type='result' id='c31d00fb8d23525374755daca3d78ed1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.097 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:50.099 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1747@domain.example.com/res1' to='bob_remove_unsubscribe_1747@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.099 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='71c2c3d7eb0ddf9c43a4943ed5b197ca'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1747@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.108 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='pushd5d7575f434bbe1e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1747@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.108 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='71c2c3d7eb0ddf9c43a4943ed5b197ca' type='result'/>



*** User 2022-03-04 11:24:50.108 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq to='alicE_remove_unsubscribe_1747@domain.example.com' id='pushd5d7575f434bbe1e' type='result'/>



*** User 2022-03-04 11:24:50.108 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_1747@domain.example.com'/>



*** User 2022-03-04 11:24:50.115 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='pusha860f4232f731b2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1747@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.115 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq to='alicE_remove_unsubscribe_1747@domain.example.com' id='pusha860f4232f731b2d' type='result'/>



*** User 2022-03-04 11:24:50.115 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1747@domain.example.com' to='bOb_remove_unsubscribe_1747@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:24:50.115 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='d17b484ab7a0a91d58adf52bb4f0a50d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_remove_unsubscribe_1747@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.129 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1747@domain.example.com' to='bOb_remove_unsubscribe_1747@domain.example.com/res1' id='push19510caad312b7a9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1747@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.129 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<iq to='bOb_remove_unsubscribe_1747@domain.example.com' id='push19510caad312b7a9' type='result'/>



*** User 2022-03-04 11:24:50.129 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1747@domain.example.com' to='bOb_remove_unsubscribe_1747@domain.example.com/res1' id='d17b484ab7a0a91d58adf52bb4f0a50d' type='result'/>



*** User 2022-03-04 11:24:50.129 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_1747@domain.example.com'/>



*** User 2022-03-04 11:24:50.146 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='pushb3575cecafc124da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_1747@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.146 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:24:50.146 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1747@domain.example.com/res1' to='alice_remove_unsubscribe_1747@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.146 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='bOb_remove_unsubscribe_1747@domain.example.com' to='bOb_remove_unsubscribe_1747@domain.example.com/res1' id='pushf0c4afbf9055d497' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_1747@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.146 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
<iq type='set' id='2b852a3fc40cf7ce3fe1ab5aac9a9bdd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1747@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2022-03-04 11:24:50.150 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='push9e24fd1b40b57ad3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1747@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:50.159 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='bOb_remove_unsubscribe_1747@domain.example.com/res1' to='alice_remove_unsubscribe_1747@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-04 11:24:50.159 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='alicE_remove_unsubscribe_1747@domain.example.com' to='alicE_remove_unsubscribe_1747@domain.example.com/res1' id='2b852a3fc40cf7ce3fe1ab5aac9a9bdd' type='result'/>



*** User 2022-03-04 11:24:50.159 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_1747@domain.example.com' to='bob_remove_unsubscribe_1747@domain.example.com/res1' id='push901f81d8fa8bd3ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1747@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.159 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
<presence from='alicE_remove_unsubscribe_1747@domain.example.com' to='bob_remove_unsubscribe_1747@domain.example.com/res1' type='unsubscribe'/>



*** User 2022-03-04 11:24:50.159 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:50.160 ***
bOb_remove_unsubscribe_1747@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:50.160 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:50.160 ***
alicE_remove_unsubscribe_1747@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:50.162 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:50.163 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2400.html



=== Ended at 2022-03-04 11:24:50
=== successfully completed test case
=== === Returned value: ok