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

=== Config value:

    [{watchdog,<0.68309.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c9d2fb3f0bb8.2023-12-04_15.41.18/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.52.23/presence_suite.remove_unsubscribe.120195.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@c9d2fb3f0bb8.2023-12-04_15.41.18/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.52.23/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@c9d2fb3f0bb8.2023-12-04_15.41.18"

=== Started at 2023-12-04 15:52:24


*** CT 2023-12-04 15:52:24.985 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2327.html

*** User 2023-12-04 15:52:24.996 ***🔗
alicE_remove_unsubscribe_2491@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-12-04 15:52:24.997 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faad475772d6e713' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:52:24.997 ***🔗
alicE_remove_unsubscribe_2491@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-12-04 15:52:24.997 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNDkxAG1hdHlncnlzYQ==</auth>



*** User 2023-12-04 15:52:24.998 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:52:24.998 ***🔗
alicE_remove_unsubscribe_2491@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-12-04 15:52:24.998 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a42f7d722bfbb4a4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2491@domain.example.com'>

*** User 2023-12-04 15:52:24.998 ***🔗
alicE_remove_unsubscribe_2491@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-12-04 15:52:24.999 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='c3d94a014c86dc0e57b86e9ef0d4f71c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:52:24.999 ***🔗
alicE_remove_unsubscribe_2491@domain.example.com/res1 in
<iq id='c3d94a014c86dc0e57b86e9ef0d4f71c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2491@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:52:24.999 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='28794c81f4a9e94345f66e18a65ee859'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:25.000 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='28794c81f4a9e94345f66e18a65ee859' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:25.000 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<presence/>



*** User 2023-12-04 15:52:25.001 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2491@domain.example.com/res1' to='alice_remove_unsubscribe_2491@domain.example.com/res1'/>



*** User 2023-12-04 15:52:25.002 ***🔗
bOb_remove_unsubscribe_2491@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-12-04 15:52:25.002 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a51a14a29d8efd7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:52:25.002 ***🔗
bOb_remove_unsubscribe_2491@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-12-04 15:52:25.002 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjQ5MQBtYWtyb2xpa2E=</auth>



*** User 2023-12-04 15:52:25.003 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:52:25.003 ***🔗
bOb_remove_unsubscribe_2491@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-12-04 15:52:25.004 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dee39a7132f9b93a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2491@domain.example.com'>

*** User 2023-12-04 15:52:25.004 ***🔗
bOb_remove_unsubscribe_2491@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-12-04 15:52:25.004 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='6f80eca7a7658b54054c142c8730216e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:52:25.004 ***🔗
bOb_remove_unsubscribe_2491@domain.example.com/res1 in
<iq id='6f80eca7a7658b54054c142c8730216e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2491@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:52:25.004 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='f6ec22319d8b783f4b1253d74626d357'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:25.005 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' id='f6ec22319d8b783f4b1253d74626d357' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:25.005 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
<presence/>



*** User 2023-12-04 15:52:25.007 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2491@domain.example.com/res1' to='bob_remove_unsubscribe_2491@domain.example.com/res1'/>



*** User 2023-12-04 15:52:25.007 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='fedf9cb09fadc4718c60d25943b57669'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2491@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.024 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='pushbca62b477623f621' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2491@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.024 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='fedf9cb09fadc4718c60d25943b57669' type='result'/>



*** User 2023-12-04 15:52:25.024 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2491@domain.example.com' id='pushbca62b477623f621' type='result'/>



*** User 2023-12-04 15:52:25.024 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2491@domain.example.com'/>



*** User 2023-12-04 15:52:25.030 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='push537d03e162b16c25' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2491@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.030 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2491@domain.example.com' id='push537d03e162b16c25' type='result'/>



*** User 2023-12-04 15:52:25.030 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-04 15:52:25.030 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='4df76b55e3ad5ca26c76884ba04c6ca3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2491@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.038 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' id='push18adfe4e024b68e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2491@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.039 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2491@domain.example.com' id='push18adfe4e024b68e5' type='result'/>



*** User 2023-12-04 15:52:25.039 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' id='4df76b55e3ad5ca26c76884ba04c6ca3' type='result'/>



*** User 2023-12-04 15:52:25.039 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2491@domain.example.com'/>



*** User 2023-12-04 15:52:25.044 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='pushbe8626a5a2d582c4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2491@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.045 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' type='subscribed'/>



*** User 2023-12-04 15:52:25.045 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2491@domain.example.com/res1' to='alice_remove_unsubscribe_2491@domain.example.com/res1'/>



*** User 2023-12-04 15:52:25.045 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' id='pushb0985ae2662ab037' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2491@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.045 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
<iq type='set' id='61c5f367351de0deada7980b97a57ff2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2491@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2023-12-04 15:52:25.048 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='push2f7cd5944051d58c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2491@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-04 15:52:25.053 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2491@domain.example.com/res1' to='alice_remove_unsubscribe_2491@domain.example.com/res1' type='unavailable'/>



*** User 2023-12-04 15:52:25.053 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2491@domain.example.com' to='alice_remove_unsubscribe_2491@domain.example.com/res1' id='61c5f367351de0deada7980b97a57ff2' type='result'/>



*** User 2023-12-04 15:52:25.053 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' id='pusha7eadc1f328533bf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2491@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:52:25.053 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2491@domain.example.com' to='bob_remove_unsubscribe_2491@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-12-04 15:52:25.053 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-04 15:52:25.053 ***🔗
bob_remove_unsubscribe_2491@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-04 15:52:25.054 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-04 15:52:25.054 ***🔗
alice_remove_unsubscribe_2491@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-04 15:52:25.058 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2327.html



=== Ended at 2023-12-04 15:52:25
=== successfully completed test case
=== === Returned value: ok