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

=== Config value:

    [{watchdog,<0.72366.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@a950b60ae868.2024-03-18_09.25.02/big_tests.tests.presence_SUITE.logs/run.2024-03-18_09.38.18/presence_suite.unsubscribe.154499.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@a950b60ae868.2024-03-18_09.25.02/big_tests.tests.presence_SUITE.logs/run.2024-03-18_09.38.18/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@a950b60ae868.2024-03-18_09.25.02"

=== Started at 2024-03-18 09:38:20


*** CT 2024-03-18 09:38:20.146 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2570.html

*** User 2024-03-18 09:38:20.156 ***🔗
alicE_unsubscribe_2907@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-03-18 09:38:20.157 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81695c8f0194db30' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-18 09:38:20.157 ***🔗
alicE_unsubscribe_2907@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-03-18 09:38:20.157 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI5MDcAbWF0eWdyeXNh</auth>



*** User 2024-03-18 09:38:20.158 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-18 09:38:20.158 ***🔗
alicE_unsubscribe_2907@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-03-18 09:38:20.158 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fede872f135b03f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2907@domain.example.com'>

*** User 2024-03-18 09:38:20.158 ***🔗
alicE_unsubscribe_2907@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-03-18 09:38:20.159 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='c8979089f9fa770be7050352e6505ec9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 09:38:20.159 ***🔗
alicE_unsubscribe_2907@domain.example.com/res1 in
<iq id='c8979089f9fa770be7050352e6505ec9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2907@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 09:38:20.159 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='4a245a7545d7513a5ca4a96e55dba005'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 09:38:20.159 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='4a245a7545d7513a5ca4a96e55dba005' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 09:38:20.160 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<presence/>



*** User 2024-03-18 09:38:20.160 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<presence from='alice_unsubscribe_2907@domain.example.com/res1' to='alice_unsubscribe_2907@domain.example.com/res1'/>



*** User 2024-03-18 09:38:20.161 ***🔗
bOb_unsubscribe_2907@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-03-18 09:38:20.161 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34a6cecb90a65fbf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-18 09:38:20.161 ***🔗
bOb_unsubscribe_2907@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-03-18 09:38:20.161 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yOTA3AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-18 09:38:20.162 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-18 09:38:20.162 ***🔗
bOb_unsubscribe_2907@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-03-18 09:38:20.163 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f2ec7aa22bd8394' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2907@domain.example.com'>

*** User 2024-03-18 09:38:20.163 ***🔗
bOb_unsubscribe_2907@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-03-18 09:38:20.163 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='5c55f24d5120deb15f5798acadd41c30'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 09:38:20.163 ***🔗
bOb_unsubscribe_2907@domain.example.com/res1 in
<iq id='5c55f24d5120deb15f5798acadd41c30' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2907@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 09:38:20.163 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='d30cbf1b5f1085b6fe2eb0495028db57'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 09:38:20.164 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' id='d30cbf1b5f1085b6fe2eb0495028db57' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 09:38:20.164 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
<presence/>



*** User 2024-03-18 09:38:20.165 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<presence from='bob_unsubscribe_2907@domain.example.com/res1' to='bob_unsubscribe_2907@domain.example.com/res1'/>



*** User 2024-03-18 09:38:20.165 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='c2360861ec726632d4f6ff8a07864175'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2907@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.169 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='alice_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='pushc58ccfde503cd986' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2907@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.170 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='alice_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='c2360861ec726632d4f6ff8a07864175' type='result'/>



*** User 2024-03-18 09:38:20.170 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<iq to='alice_unsubscribe_2907@domain.example.com' id='pushc58ccfde503cd986' type='result'/>



*** User 2024-03-18 09:38:20.170 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2907@domain.example.com'/>



*** User 2024-03-18 09:38:20.173 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='alice_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='push700de3ab127580ba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2907@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.173 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<iq to='alice_unsubscribe_2907@domain.example.com' id='push700de3ab127580ba' type='result'/>



*** User 2024-03-18 09:38:20.174 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<presence from='alice_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-18 09:38:20.174 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
<iq type='set' id='2dfc1d675da744b6f47c3e4114083ce1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2907@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.177 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<iq from='bob_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' id='pushfc71d13f5aee298c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2907@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.178 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
<iq to='bob_unsubscribe_2907@domain.example.com' id='pushfc71d13f5aee298c' type='result'/>



*** User 2024-03-18 09:38:20.178 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<iq from='bob_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' id='2dfc1d675da744b6f47c3e4114083ce1' type='result'/>



*** User 2024-03-18 09:38:20.178 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2907@domain.example.com'/>



*** User 2024-03-18 09:38:20.200 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='alice_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='push409b2ad41622dd78' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2907@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.201 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<presence from='bob_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-18 09:38:20.201 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<presence from='bob_unsubscribe_2907@domain.example.com/res1' to='alice_unsubscribe_2907@domain.example.com/res1'/>



*** User 2024-03-18 09:38:20.201 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<iq from='bob_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' id='pushe537926f1f3552e9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2907@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.201 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2907@domain.example.com'/>



*** User 2024-03-18 09:38:20.208 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<iq from='alice_unsubscribe_2907@domain.example.com' to='alice_unsubscribe_2907@domain.example.com/res1' id='pushca63b748cd8be320' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2907@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.208 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
<iq to='alice_unsubscribe_2907@domain.example.com' id='pushca63b748cd8be320' type='result'/>



*** User 2024-03-18 09:38:20.208 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<iq from='bob_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' id='pushfaf5e33353070743' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2907@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-18 09:38:20.209 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
<presence from='alice_unsubscribe_2907@domain.example.com' to='bob_unsubscribe_2907@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-03-18 09:38:20.209 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
<presence from='bob_unsubscribe_2907@domain.example.com/res1' to='alice_unsubscribe_2907@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-18 09:38:20.209 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-18 09:38:20.209 ***🔗
bob_unsubscribe_2907@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-18 09:38:20.210 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-18 09:38:20.210 ***🔗
alice_unsubscribe_2907@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-18 09:38:20.218 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2570.html



=== Ended at 2024-03-18 09:38:20
=== successfully completed test case
=== === Returned value: ok