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

=== Config value:

    [{watchdog,<0.72498.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/presence_suite.unsubscribe.212226.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/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@82e417e9e7f3.2024-04-15_15.52.32"

=== Started at 2024-04-15 16:05:06


*** CT 2024-04-15 16:05:06.825 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2564.html

*** User 2024-04-15 16:05:06.836 ***🔗
alicE_unsubscribe_2873@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-15 16:05:06.837 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='411859c8e997eaea' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:05:06.837 ***🔗
alicE_unsubscribe_2873@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-15 16:05:06.837 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NzMAbWF0eWdyeXNh</auth>



*** User 2024-04-15 16:05:06.838 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:05:06.838 ***🔗
alicE_unsubscribe_2873@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-15 16:05:06.839 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30c5b990d7fb1deb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2873@domain.example.com'>

*** User 2024-04-15 16:05:06.839 ***🔗
alicE_unsubscribe_2873@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-15 16:05:06.839 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='962cd6eede991996099b95f766207feb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:05:06.839 ***🔗
alicE_unsubscribe_2873@domain.example.com/res1 in
<iq id='962cd6eede991996099b95f766207feb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2873@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:05:06.839 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='b52ff1485774ef92152a89c81a7cda79'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:06.840 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='b52ff1485774ef92152a89c81a7cda79' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:06.840 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 16:05:06.841 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<presence from='alice_unsubscribe_2873@domain.example.com/res1' to='alice_unsubscribe_2873@domain.example.com/res1'/>



*** User 2024-04-15 16:05:06.842 ***🔗
bOb_unsubscribe_2873@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-15 16:05:06.842 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83eda13a1a233e7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:05:06.842 ***🔗
bOb_unsubscribe_2873@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-15 16:05:06.842 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODczAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-15 16:05:06.843 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:05:06.843 ***🔗
bOb_unsubscribe_2873@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-15 16:05:06.843 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bace992b1be6eb52' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2873@domain.example.com'>

*** User 2024-04-15 16:05:06.844 ***🔗
bOb_unsubscribe_2873@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-15 16:05:06.844 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='1d8f18801581f176150214cdfd1b3901'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:05:06.844 ***🔗
bOb_unsubscribe_2873@domain.example.com/res1 in
<iq id='1d8f18801581f176150214cdfd1b3901' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2873@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:05:06.844 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='f31e22459276a99be9cd269f6fb9021f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:06.844 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' id='f31e22459276a99be9cd269f6fb9021f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:06.845 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 16:05:06.845 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<presence from='bob_unsubscribe_2873@domain.example.com/res1' to='bob_unsubscribe_2873@domain.example.com/res1'/>



*** User 2024-04-15 16:05:06.846 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='f4d9047610655a1658f102c7b72712c0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2873@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.875 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='alice_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='push6107ba6e2b2a42b5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2873@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.875 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='alice_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='f4d9047610655a1658f102c7b72712c0' type='result'/>



*** User 2024-04-15 16:05:06.875 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<iq to='alice_unsubscribe_2873@domain.example.com' id='push6107ba6e2b2a42b5' type='result'/>



*** User 2024-04-15 16:05:06.875 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2873@domain.example.com'/>



*** User 2024-04-15 16:05:06.880 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='alice_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='push840104ce76b4cb7c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2873@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.880 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<iq to='alice_unsubscribe_2873@domain.example.com' id='push840104ce76b4cb7c' type='result'/>



*** User 2024-04-15 16:05:06.880 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<presence from='alice_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-15 16:05:06.880 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
<iq type='set' id='98dd30933a6b5c684dfa12558bc41ace'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2873@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.885 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<iq from='bob_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' id='push98c6ccc53388e4bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2873@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.885 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
<iq to='bob_unsubscribe_2873@domain.example.com' id='push98c6ccc53388e4bd' type='result'/>



*** User 2024-04-15 16:05:06.885 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<iq from='bob_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' id='98dd30933a6b5c684dfa12558bc41ace' type='result'/>



*** User 2024-04-15 16:05:06.885 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2873@domain.example.com'/>



*** User 2024-04-15 16:05:06.892 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='alice_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='pushfc9a0f6664a0a827' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2873@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.892 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<presence from='bob_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-15 16:05:06.892 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<presence from='bob_unsubscribe_2873@domain.example.com/res1' to='alice_unsubscribe_2873@domain.example.com/res1'/>



*** User 2024-04-15 16:05:06.892 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<iq from='bob_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' id='pushbd9178f990f1819b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2873@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.892 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2873@domain.example.com'/>



*** User 2024-04-15 16:05:06.897 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<iq from='alice_unsubscribe_2873@domain.example.com' to='alice_unsubscribe_2873@domain.example.com/res1' id='pushd44412279e2e160e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2873@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.897 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
<iq to='alice_unsubscribe_2873@domain.example.com' id='pushd44412279e2e160e' type='result'/>



*** User 2024-04-15 16:05:06.897 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<iq from='bob_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' id='pushb1c4cd304654c99b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2873@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:06.897 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
<presence from='alice_unsubscribe_2873@domain.example.com' to='bob_unsubscribe_2873@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-15 16:05:06.897 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
<presence from='bob_unsubscribe_2873@domain.example.com/res1' to='alice_unsubscribe_2873@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-15 16:05:06.898 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 16:05:06.898 ***🔗
bob_unsubscribe_2873@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-15 16:05:06.898 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 16:05:06.898 ***🔗
alice_unsubscribe_2873@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-15 16:05:06.906 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2564.html



=== Ended at 2024-04-15 16:05:06
=== successfully completed test case
=== === Returned value: ok