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

=== Config value:

    [{watchdog,<0.71832.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@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.presence_SUITE.logs/run.2024-04-26_13.21.54/presence_suite.unsubscribe.234626.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@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.presence_SUITE.logs/run.2024-04-26_13.21.54/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@699c7e574a5d.2024-04-26_13.09.59"

=== Started at 2024-04-26 13:21:56


*** CT 2024-04-26 13:21:56.692 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2285.html

*** User 2024-04-26 13:21:56.701 ***🔗
alicE_unsubscribe_2735@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-26 13:21:56.702 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6ba9f1306adc430' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:21:56.702 ***🔗
alicE_unsubscribe_2735@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-26 13:21:56.702 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MzUAbWF0eWdyeXNh</auth>



*** User 2024-04-26 13:21:56.702 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:21:56.703 ***🔗
alicE_unsubscribe_2735@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-26 13:21:56.703 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91e27e83b4305757' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2735@domain.example.com'>

*** User 2024-04-26 13:21:56.703 ***🔗
alicE_unsubscribe_2735@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-26 13:21:56.703 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='f8ee0df683ce41d4d32929591b27a3f9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:21:56.703 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<iq id='f8ee0df683ce41d4d32929591b27a3f9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:21:56.703 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='6f9712ff1f7878502e4ab60de41bc78b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:21:56.704 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='6f9712ff1f7878502e4ab60de41bc78b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:21:56.704 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 13:21:56.705 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-26 13:21:56.706 ***🔗
bOb_unsubscribe_2735@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-26 13:21:56.706 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdaad00fab77604b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:21:56.706 ***🔗
bOb_unsubscribe_2735@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-26 13:21:56.706 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzM1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-26 13:21:56.707 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:21:56.707 ***🔗
bOb_unsubscribe_2735@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-26 13:21:56.707 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bca99fe73c4f93cd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2735@domain.example.com'>

*** User 2024-04-26 13:21:56.707 ***🔗
bOb_unsubscribe_2735@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-26 13:21:56.707 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='dc60450bbb23782f9a375b98ad6bb20a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:21:56.708 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<iq id='dc60450bbb23782f9a375b98ad6bb20a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:21:56.708 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='5ae298726adf0f2da489af356870cfd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:21:56.708 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='5ae298726adf0f2da489af356870cfd2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:21:56.708 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 13:21:56.709 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='bob_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-26 13:21:56.709 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='5d0704fc302fae14d9ed00649bd04175'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2735@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.720 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pushf2db4321efb3d030' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.720 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='5d0704fc302fae14d9ed00649bd04175' type='result'/>



*** User 2024-04-26 13:21:56.720 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='pushf2db4321efb3d030' type='result'/>



*** User 2024-04-26 13:21:56.720 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-26 13:21:56.724 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pushf2d8be1b94267873' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.724 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='pushf2d8be1b94267873' type='result'/>



*** User 2024-04-26 13:21:56.724 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-26 13:21:56.724 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='40a54d1fd0e2555b34d1aa181fb82bd2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2735@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.728 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='pushafb5557be8ea5337' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.728 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq to='bob_unsubscribe_2735@domain.example.com' id='pushafb5557be8ea5337' type='result'/>



*** User 2024-04-26 13:21:56.728 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='40a54d1fd0e2555b34d1aa181fb82bd2' type='result'/>



*** User 2024-04-26 13:21:56.728 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-26 13:21:56.733 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pushc962cfa3d90884b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.733 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-26 13:21:56.733 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-26 13:21:56.733 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='push22089807046f5713' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.733 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-26 13:21:56.739 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pushf5d3375dcae2a118' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.739 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='pushf5d3375dcae2a118' type='result'/>



*** User 2024-04-26 13:21:56.739 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='pushc6b15cde18a50f9a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 13:21:56.739 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-26 13:21:56.739 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-26 13:21:56.739 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 13:21:56.739 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 13:21:56.740 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 13:21:56.740 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 13:21:56.748 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2285.html



=== Ended at 2024-04-26 13:21:56
=== successfully completed test case
=== === Returned value: ok