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

=== Config value:

    [{watchdog,<0.73342.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@9d860654bb8d.2024-04-22_14.32.29/big_tests.tests.presence_SUITE.logs/run.2024-04-22_14.45.32/presence_suite.remove_unsubscribe.212354.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@9d860654bb8d.2024-04-22_14.32.29/big_tests.tests.presence_SUITE.logs/run.2024-04-22_14.45.32/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@9d860654bb8d.2024-04-22_14.32.29"

=== Started at 2024-04-22 14:45:34


*** CT 2024-04-22 14:45:34.220 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3365.html

*** User 2024-04-22 14:45:34.236 ***🔗
alicE_remove_unsubscribe_2759@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 14:45:34.237 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0b113cb9828eae6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:45:34.237 ***🔗
alicE_remove_unsubscribe_2759@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 14:45:34.237 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzU5AG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 14:45:34.238 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:45:34.238 ***🔗
alicE_remove_unsubscribe_2759@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 14:45:34.238 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a98e7c598741e3f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2759@domain.example.com'>

*** User 2024-04-22 14:45:34.238 ***🔗
alicE_remove_unsubscribe_2759@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 14:45:34.238 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='baad421b3d6c54821ce12bbd3b4315ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:45:34.239 ***🔗
alicE_remove_unsubscribe_2759@domain.example.com/res1 in
<iq id='baad421b3d6c54821ce12bbd3b4315ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2759@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:45:34.239 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='c9cca3b92674b3597c0a107251383667'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:45:34.239 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='c9cca3b92674b3597c0a107251383667' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:45:34.240 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:45:34.241 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2759@domain.example.com/res1' to='alice_remove_unsubscribe_2759@domain.example.com/res1'/>



*** User 2024-04-22 14:45:34.242 ***🔗
bOb_remove_unsubscribe_2759@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 14:45:34.242 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ea0d4052a9febe2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:45:34.242 ***🔗
bOb_remove_unsubscribe_2759@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 14:45:34.242 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjc1OQBtYWtyb2xpa2E=</auth>



*** User 2024-04-22 14:45:34.243 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:45:34.243 ***🔗
bOb_remove_unsubscribe_2759@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 14:45:34.243 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f14af983c09685d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2759@domain.example.com'>

*** User 2024-04-22 14:45:34.243 ***🔗
bOb_remove_unsubscribe_2759@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 14:45:34.243 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='1b23cf24e41a920be3135ddd09a9e1c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:45:34.244 ***🔗
bOb_remove_unsubscribe_2759@domain.example.com/res1 in
<iq id='1b23cf24e41a920be3135ddd09a9e1c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2759@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:45:34.244 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='9c24f76e9afe1b65de24f3e54c70ed0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:45:34.244 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' id='9c24f76e9afe1b65de24f3e54c70ed0f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:45:34.244 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:45:34.245 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2759@domain.example.com/res1' to='bob_remove_unsubscribe_2759@domain.example.com/res1'/>



*** User 2024-04-22 14:45:34.246 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='448ad2de8fc6dc7600e0efd209b4b75c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2759@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.266 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='pushb187ac12afa980f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2759@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.266 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='448ad2de8fc6dc7600e0efd209b4b75c' type='result'/>



*** User 2024-04-22 14:45:34.266 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2759@domain.example.com' id='pushb187ac12afa980f4' type='result'/>



*** User 2024-04-22 14:45:34.267 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2759@domain.example.com'/>



*** User 2024-04-22 14:45:34.275 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='push48468f371051af8f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2759@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.275 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2759@domain.example.com' id='push48468f371051af8f' type='result'/>



*** User 2024-04-22 14:45:34.275 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-22 14:45:34.275 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='6580c07dc946907c862c2b688ca9dcb6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2759@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.282 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' id='push67552cd110662c0c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2759@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.282 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2759@domain.example.com' id='push67552cd110662c0c' type='result'/>



*** User 2024-04-22 14:45:34.282 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' id='6580c07dc946907c862c2b688ca9dcb6' type='result'/>



*** User 2024-04-22 14:45:34.282 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2759@domain.example.com'/>



*** User 2024-04-22 14:45:34.291 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='pushb213c4ab0ca4a0bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2759@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.291 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-22 14:45:34.291 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2759@domain.example.com/res1' to='alice_remove_unsubscribe_2759@domain.example.com/res1'/>



*** User 2024-04-22 14:45:34.291 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' id='pusheddcdcc88a81f930' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2759@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.291 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
<iq type='set' id='2f09508fe607d94b4143de4fe47f757f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2759@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-22 14:45:34.296 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='push17dd8264a4df9078' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2759@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-22 14:45:34.301 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2759@domain.example.com/res1' to='alice_remove_unsubscribe_2759@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-22 14:45:34.302 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2759@domain.example.com' to='alice_remove_unsubscribe_2759@domain.example.com/res1' id='2f09508fe607d94b4143de4fe47f757f' type='result'/>



*** User 2024-04-22 14:45:34.302 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' id='push73ef37aefacf0275' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2759@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:45:34.302 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2759@domain.example.com' to='bob_remove_unsubscribe_2759@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-22 14:45:34.302 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:45:34.302 ***🔗
bob_remove_unsubscribe_2759@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-22 14:45:34.302 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:45:34.303 ***🔗
alice_remove_unsubscribe_2759@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-22 14:45:34.307 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3365.html



=== Ended at 2024-04-22 14:45:34
=== successfully completed test case
=== === Returned value: ok