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

=== Config value:

    [{watchdog,<0.72325.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@2fae5249a3b3.2024-04-16_10.56.49/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.12.56/presence_suite.remove_unsubscribe.118788.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@2fae5249a3b3.2024-04-16_10.56.49/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.12.56/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@2fae5249a3b3.2024-04-16_10.56.49"

=== Started at 2024-04-16 11:12:58


*** CT 2024-04-16 11:12:58.649 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2561.html

*** User 2024-04-16 11:12:58.659 ***🔗
alicE_remove_unsubscribe_3283@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-16 11:12:58.659 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da308853cd4bf5e3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:12:58.660 ***🔗
alicE_remove_unsubscribe_3283@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-16 11:12:58.660 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8zMjgzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 11:12:58.660 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:12:58.661 ***🔗
alicE_remove_unsubscribe_3283@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-16 11:12:58.661 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d02963ac9c6c0ff1' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_3283@domain.example.com'>

*** User 2024-04-16 11:12:58.661 ***🔗
alicE_remove_unsubscribe_3283@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-16 11:12:58.661 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='d8098ae194d9b3774edd087ef7f51c9b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:12:58.661 ***🔗
alicE_remove_unsubscribe_3283@domain.example.com/res1 in
<iq id='d8098ae194d9b3774edd087ef7f51c9b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_3283@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:12:58.662 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='8f5e2008b60c20ce0798c79214d8c1f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:12:58.662 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='8f5e2008b60c20ce0798c79214d8c1f0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:12:58.662 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:12:58.663 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3283@domain.example.com/res1' to='alice_remove_unsubscribe_3283@domain.example.com/res1'/>



*** User 2024-04-16 11:12:58.664 ***🔗
bOb_remove_unsubscribe_3283@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-16 11:12:58.664 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9096f1dafec8bc9d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:12:58.664 ***🔗
bOb_remove_unsubscribe_3283@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-16 11:12:58.664 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMzI4MwBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:12:58.665 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:12:58.665 ***🔗
bOb_remove_unsubscribe_3283@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-16 11:12:58.665 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7232b0eb3cec913c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_3283@domain.example.com'>

*** User 2024-04-16 11:12:58.665 ***🔗
bOb_remove_unsubscribe_3283@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-16 11:12:58.665 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='838ed57325fee93d873bb9c87f458d30'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:12:58.666 ***🔗
bOb_remove_unsubscribe_3283@domain.example.com/res1 in
<iq id='838ed57325fee93d873bb9c87f458d30' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_3283@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:12:58.666 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='a6351196a5764d4b03b7fc15d6d26b59'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:12:58.666 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' id='a6351196a5764d4b03b7fc15d6d26b59' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:12:58.666 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:12:58.667 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3283@domain.example.com/res1' to='bob_remove_unsubscribe_3283@domain.example.com/res1'/>



*** User 2024-04-16 11:12:58.667 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='968539506b4857d28c5337a3c47818dc'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_3283@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.674 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='pushc507cf063a06fc42' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3283@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.674 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='968539506b4857d28c5337a3c47818dc' type='result'/>



*** User 2024-04-16 11:12:58.674 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3283@domain.example.com' id='pushc507cf063a06fc42' type='result'/>



*** User 2024-04-16 11:12:58.675 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_3283@domain.example.com'/>



*** User 2024-04-16 11:12:58.707 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='push1f4abcb07aa3d94a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_3283@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.707 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3283@domain.example.com' id='push1f4abcb07aa3d94a' type='result'/>



*** User 2024-04-16 11:12:58.707 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 11:12:58.707 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='62b32976961f9edf1469c909206aa4f5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_3283@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.710 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' id='push0125585c637ac77e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3283@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.710 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_3283@domain.example.com' id='push0125585c637ac77e' type='result'/>



*** User 2024-04-16 11:12:58.710 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' id='62b32976961f9edf1469c909206aa4f5' type='result'/>



*** User 2024-04-16 11:12:58.711 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_3283@domain.example.com'/>



*** User 2024-04-16 11:12:58.715 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='push0c6370d2ae5783e0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3283@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.715 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 11:12:58.715 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3283@domain.example.com/res1' to='alice_remove_unsubscribe_3283@domain.example.com/res1'/>



*** User 2024-04-16 11:12:58.716 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' id='push73273060e273a64e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3283@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.716 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
<iq type='set' id='28b448d9654eddc8c3cc6ddcf3d0bc89'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_3283@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 11:12:58.718 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='pushcbc8344dd6f5abcd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3283@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 11:12:58.720 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3283@domain.example.com' to='alice_remove_unsubscribe_3283@domain.example.com/res1' id='28b448d9654eddc8c3cc6ddcf3d0bc89' type='result'/>



*** User 2024-04-16 11:12:58.720 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3283@domain.example.com/res1' to='alice_remove_unsubscribe_3283@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-16 11:12:58.720 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' id='push7c74a31653685cf1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3283@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:12:58.721 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3283@domain.example.com' to='bob_remove_unsubscribe_3283@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-16 11:12:58.721 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:12:58.721 ***🔗
bob_remove_unsubscribe_3283@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 11:12:58.721 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:12:58.721 ***🔗
alice_remove_unsubscribe_3283@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 11:12:58.724 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2561.html



=== Ended at 2024-04-16 11:12:58
=== successfully completed test case
=== === Returned value: ok