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

=== Config value:

    [{watchdog,<0.71316.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@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.presence_SUITE.logs/run.2024-02-19_17.34.35/presence_suite.remove_unsubscribe.146179.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@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.presence_SUITE.logs/run.2024-02-19_17.34.35/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@b324fd85012a.2024-02-19_17.21.03"

=== Started at 2024-02-19 17:34:37


*** CT 2024-02-19 17:34:37.050 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2550.html

*** User 2024-02-19 17:34:37.059 ***🔗
alicE_remove_unsubscribe_2815@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-02-19 17:34:37.059 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dbb9f9ad7c634801' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-19 17:34:37.059 ***🔗
alicE_remove_unsubscribe_2815@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-02-19 17:34:37.059 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yODE1AG1hdHlncnlzYQ==</auth>



*** User 2024-02-19 17:34:37.060 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-19 17:34:37.060 ***🔗
alicE_remove_unsubscribe_2815@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-02-19 17:34:37.060 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3300caaafe6d1219' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2815@domain.example.com'>

*** User 2024-02-19 17:34:37.061 ***🔗
alicE_remove_unsubscribe_2815@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-02-19 17:34:37.061 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='974e07a5c4315287f494b2ef8a642300'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.061 ***🔗
alicE_remove_unsubscribe_2815@domain.example.com/res1 in
<iq id='974e07a5c4315287f494b2ef8a642300' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2815@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.061 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='72b9fff12da52dcee6584fb68c2b9f9a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.061 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='72b9fff12da52dcee6584fb68c2b9f9a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.061 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<presence/>



*** User 2024-02-19 17:34:37.062 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2815@domain.example.com/res1' to='alice_remove_unsubscribe_2815@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.063 ***🔗
bOb_remove_unsubscribe_2815@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-02-19 17:34:37.063 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b51d1896c500ab1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-19 17:34:37.063 ***🔗
bOb_remove_unsubscribe_2815@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-02-19 17:34:37.063 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjgxNQBtYWtyb2xpa2E=</auth>



*** User 2024-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@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-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ac597f8958e6b05' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2815@domain.example.com'>

*** User 2024-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@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-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='6bd06322f05f3103a2156b5396e462a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.064 ***🔗
bOb_remove_unsubscribe_2815@domain.example.com/res1 in
<iq id='6bd06322f05f3103a2156b5396e462a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2815@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.064 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='a7ad40a8663fb336c70db04ab53ea372'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.065 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' id='a7ad40a8663fb336c70db04ab53ea372' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.065 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
<presence/>



*** User 2024-02-19 17:34:37.066 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2815@domain.example.com/res1' to='bob_remove_unsubscribe_2815@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.066 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='e321a4c92c344ac79e1a5a47742a5ab7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2815@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.075 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='push4dec610dd51c7798' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2815@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.076 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='e321a4c92c344ac79e1a5a47742a5ab7' type='result'/>



*** User 2024-02-19 17:34:37.076 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2815@domain.example.com' id='push4dec610dd51c7798' type='result'/>



*** User 2024-02-19 17:34:37.076 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2815@domain.example.com'/>



*** User 2024-02-19 17:34:37.081 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='push3791d7e40e00028b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2815@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.081 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2815@domain.example.com' id='push3791d7e40e00028b' type='result'/>



*** User 2024-02-19 17:34:37.081 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-19 17:34:37.081 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='38b52c004205850bba32bccc1dad37d6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2815@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.083 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' id='push8d75fddec08456ed' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2815@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.084 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2815@domain.example.com' id='push8d75fddec08456ed' type='result'/>



*** User 2024-02-19 17:34:37.084 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' id='38b52c004205850bba32bccc1dad37d6' type='result'/>



*** User 2024-02-19 17:34:37.084 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2815@domain.example.com'/>



*** User 2024-02-19 17:34:37.088 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='pushb1c60f96cddec5d8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2815@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.088 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-19 17:34:37.088 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2815@domain.example.com/res1' to='alice_remove_unsubscribe_2815@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.088 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' id='pushe038ff7e76a2e339' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2815@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.089 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
<iq type='set' id='bf04f3f33cdac0f2a5876af3952648dd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2815@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-02-19 17:34:37.091 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='push8989fc10ed511542' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2815@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-19 17:34:37.094 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2815@domain.example.com' to='alice_remove_unsubscribe_2815@domain.example.com/res1' id='bf04f3f33cdac0f2a5876af3952648dd' type='result'/>



*** User 2024-02-19 17:34:37.094 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2815@domain.example.com/res1' to='alice_remove_unsubscribe_2815@domain.example.com/res1' type='unavailable'/>



*** User 2024-02-19 17:34:37.094 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' id='push5adcdbc23c498dce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2815@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.095 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2815@domain.example.com' to='bob_remove_unsubscribe_2815@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-02-19 17:34:37.095 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-19 17:34:37.095 ***🔗
bob_remove_unsubscribe_2815@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-19 17:34:37.095 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-19 17:34:37.095 ***🔗
alice_remove_unsubscribe_2815@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-19 17:34:37.098 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2550.html



=== Ended at 2024-02-19 17:34:37
=== successfully completed test case
=== === Returned value: ok