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

=== Config value:

    [{watchdog,<0.2838.2>},
     {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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.32.28/presence_suite.unsubscribe.126851.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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.32.28/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@1d8001dd39bd.2023-11-13_19.21.09"

=== Started at 2023-11-13 19:32:30


*** CT 2023-11-13 19:32:30.105 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2514.html

*** User 2023-11-13 19:32:30.114 ***🔗
alicE_unsubscribe_2609@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 2023-11-13 19:32:30.114 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f551ddb6c4279b3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:32:30.114 ***🔗
alicE_unsubscribe_2609@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 2023-11-13 19:32:30.114 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2MDkAbWF0eWdyeXNh</auth>



*** User 2023-11-13 19:32:30.115 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:32:30.115 ***🔗
alicE_unsubscribe_2609@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 2023-11-13 19:32:30.115 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c5ee84f516aced9' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2609@domain.example.com'>

*** User 2023-11-13 19:32:30.115 ***🔗
alicE_unsubscribe_2609@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 2023-11-13 19:32:30.115 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='d73b58fbbdb6424727d81dc426ff6100'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:32:30.116 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<iq id='d73b58fbbdb6424727d81dc426ff6100' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2609@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:32:30.116 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='2dab5cd0607f57e48805d6823ed5fdea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:30.116 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='2dab5cd0607f57e48805d6823ed5fdea' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:30.116 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:32:30.117 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='alice_unsubscribe_2609@domain.example.com/res1' to='alice_unsubscribe_2609@domain.example.com/res1'/>



*** User 2023-11-13 19:32:30.117 ***🔗
bOb_unsubscribe_2609@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 2023-11-13 19:32:30.117 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43f6da5e6bf814c5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:32:30.117 ***🔗
bOb_unsubscribe_2609@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 2023-11-13 19:32:30.117 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjA5AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-13 19:32:30.118 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:32:30.118 ***🔗
bOb_unsubscribe_2609@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 2023-11-13 19:32:30.119 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50f1759b7c078a3d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2609@domain.example.com'>

*** User 2023-11-13 19:32:30.119 ***🔗
bOb_unsubscribe_2609@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 2023-11-13 19:32:30.119 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='278701c14d2b203a12c8bb3a2f8a2a6a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:32:30.119 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<iq id='278701c14d2b203a12c8bb3a2f8a2a6a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2609@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:32:30.119 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='81d06ba9a804c4afa44588897242b6df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:30.119 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='81d06ba9a804c4afa44588897242b6df' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:30.119 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:32:30.120 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com/res1' to='bob_unsubscribe_2609@domain.example.com/res1'/>



*** User 2023-11-13 19:32:30.120 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='495d3520849472f04cf3ca7afe0f852d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2609@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.126 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='push3651e7c8037ea869' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.126 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='495d3520849472f04cf3ca7afe0f852d' type='result'/>



*** User 2023-11-13 19:32:30.126 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='push3651e7c8037ea869' type='result'/>



*** User 2023-11-13 19:32:30.126 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2609@domain.example.com'/>



*** User 2023-11-13 19:32:30.129 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='push169db9b81e7dac8d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.129 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='push169db9b81e7dac8d' type='result'/>



*** User 2023-11-13 19:32:30.129 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<presence from='alice_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-13 19:32:30.129 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='e7fbf9b7769f6e64d230f5fd709df70b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2609@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.131 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='pushd0b52f21e2185473' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.131 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq to='bob_unsubscribe_2609@domain.example.com' id='pushd0b52f21e2185473' type='result'/>



*** User 2023-11-13 19:32:30.131 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='e7fbf9b7769f6e64d230f5fd709df70b' type='result'/>



*** User 2023-11-13 19:32:30.131 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2609@domain.example.com'/>



*** User 2023-11-13 19:32:30.134 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='pushddd3203bde3967da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.134 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-13 19:32:30.134 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com/res1' to='alice_unsubscribe_2609@domain.example.com/res1'/>



*** User 2023-11-13 19:32:30.134 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='push10a10cfaf502475b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.134 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2609@domain.example.com'/>



*** User 2023-11-13 19:32:30.138 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='pushbf07b96c3c4e8fc0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.138 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='pushbf07b96c3c4e8fc0' type='result'/>



*** User 2023-11-13 19:32:30.138 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='push09040c83d6177599' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:32:30.138 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<presence from='alice_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-13 19:32:30.138 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com/res1' to='alice_unsubscribe_2609@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-13 19:32:30.138 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:32:30.139 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-13 19:32:30.139 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:32:30.139 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-13 19:32:30.145 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2514.html



=== Ended at 2023-11-13 19:32:30
=== successfully completed test case
=== === Returned value: ok