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

=== Config value:

    [{watchdog,<0.78480.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@49784645730c.2024-04-23_11.32.27/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.46.57/presence_suite.unsubscribe.107780.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@49784645730c.2024-04-23_11.32.27/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.46.57/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@49784645730c.2024-04-23_11.32.27"

=== Started at 2024-04-23 11:46:59


*** CT 2024-04-23 11:46:59.428 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4766.html

*** User 2024-04-23 11:46:59.452 ***🔗
alicE_unsubscribe_3058@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:46:59.452 ***🔗
alicE_unsubscribe_3058@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e195285cb6e5877' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:46:59.453 ***🔗
alicE_unsubscribe_3058@localhost/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-23 11:46:59.453 ***🔗
alicE_unsubscribe_3058@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwNTgAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:46:59.454 ***🔗
alicE_unsubscribe_3058@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:46:59.454 ***🔗
alicE_unsubscribe_3058@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:46:59.455 ***🔗
alicE_unsubscribe_3058@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14530109b5d5b2e7' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3058@localhost'>

*** User 2024-04-23 11:46:59.455 ***🔗
alicE_unsubscribe_3058@localhost/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-23 11:46:59.455 ***🔗
alicE_unsubscribe_3058@localhost/res1 out
<iq type='set' id='add02a4bcf3ef273308cc30bd49c8ad3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:46:59.456 ***🔗
alicE_unsubscribe_3058@localhost/res1 in
<iq id='add02a4bcf3ef273308cc30bd49c8ad3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3058@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:46:59.456 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<iq type='set' id='d1f082ca6e68225bb5ff95fcec832d50'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:59.456 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_3058@localhost/res1' id='d1f082ca6e68225bb5ff95fcec832d50' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:59.456 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<presence/>



*** User 2024-04-23 11:46:59.458 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<presence from='alice_unsubscribe_3058@localhost/res1' to='alice_unsubscribe_3058@localhost/res1'/>



*** User 2024-04-23 11:46:59.459 ***🔗
bOb_unsubscribe_3058@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:46:59.459 ***🔗
bOb_unsubscribe_3058@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ba28ef17abd78a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:46:59.459 ***🔗
bOb_unsubscribe_3058@localhost/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-23 11:46:59.459 ***🔗
bOb_unsubscribe_3058@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDU4AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:46:59.461 ***🔗
bOb_unsubscribe_3058@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:46:59.461 ***🔗
bOb_unsubscribe_3058@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:46:59.468 ***🔗
bOb_unsubscribe_3058@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3264f523998fedd9' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3058@localhost'>

*** User 2024-04-23 11:46:59.469 ***🔗
bOb_unsubscribe_3058@localhost/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-23 11:46:59.469 ***🔗
bOb_unsubscribe_3058@localhost/res1 out
<iq type='set' id='c5f4e5023f5ee446a14e2154728ba591'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:46:59.469 ***🔗
bOb_unsubscribe_3058@localhost/res1 in
<iq id='c5f4e5023f5ee446a14e2154728ba591' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3058@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:46:59.470 ***🔗
bob_unsubscribe_3058@localhost/res1 out
<iq type='set' id='d9dfd2188a667525b2c42433f41ad767'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:59.471 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_3058@localhost/res1' id='d9dfd2188a667525b2c42433f41ad767' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:59.471 ***🔗
bob_unsubscribe_3058@localhost/res1 out
<presence/>



*** User 2024-04-23 11:46:59.472 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<presence from='bob_unsubscribe_3058@localhost/res1' to='bob_unsubscribe_3058@localhost/res1'/>



*** User 2024-04-23 11:46:59.472 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<iq type='set' id='09a311cb67cabddea78e54e05d2f8b4c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3058@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.483 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='alice_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' id='pushfa5d0acf1d72bfb5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3058@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.483 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='alice_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' id='09a311cb67cabddea78e54e05d2f8b4c' type='result'/>



*** User 2024-04-23 11:46:59.484 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<iq to='alice_unsubscribe_3058@localhost' id='pushfa5d0acf1d72bfb5' type='result'/>



*** User 2024-04-23 11:46:59.484 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3058@localhost'/>



*** User 2024-04-23 11:46:59.489 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='alice_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' id='push4cfc528f6f4756bf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3058@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.489 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<iq to='alice_unsubscribe_3058@localhost' id='push4cfc528f6f4756bf' type='result'/>



*** User 2024-04-23 11:46:59.489 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<presence from='alice_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:46:59.489 ***🔗
bob_unsubscribe_3058@localhost/res1 out
<iq type='set' id='8a3f16a9540050c6c415713ff585c048'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3058@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.497 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<iq from='bob_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' id='push0fe56f32e9eb47fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3058@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.497 ***🔗
bob_unsubscribe_3058@localhost/res1 out
<iq to='bob_unsubscribe_3058@localhost' id='push0fe56f32e9eb47fe' type='result'/>



*** User 2024-04-23 11:46:59.497 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<iq from='bob_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' id='8a3f16a9540050c6c415713ff585c048' type='result'/>



*** User 2024-04-23 11:46:59.497 ***🔗
bob_unsubscribe_3058@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3058@localhost'/>



*** User 2024-04-23 11:46:59.505 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='alice_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' id='push30bb47e09daa8352' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3058@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.505 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<presence from='bob_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:46:59.505 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<presence from='bob_unsubscribe_3058@localhost/res1' to='alice_unsubscribe_3058@localhost/res1'/>



*** User 2024-04-23 11:46:59.505 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<iq from='bob_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' id='pushdeb7c1ff678a722b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3058@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.506 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3058@localhost'/>



*** User 2024-04-23 11:46:59.513 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<iq from='alice_unsubscribe_3058@localhost' to='alice_unsubscribe_3058@localhost/res1' id='push7a5f0f279f3fe1ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3058@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.514 ***🔗
alice_unsubscribe_3058@localhost/res1 out
<iq to='alice_unsubscribe_3058@localhost' id='push7a5f0f279f3fe1ad' type='result'/>



*** User 2024-04-23 11:46:59.514 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<iq from='bob_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' id='push03b228d23c083839' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3058@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:46:59.514 ***🔗
bob_unsubscribe_3058@localhost/res1 in
<presence from='alice_unsubscribe_3058@localhost' to='bob_unsubscribe_3058@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 11:46:59.514 ***🔗
alice_unsubscribe_3058@localhost/res1 in
<presence from='bob_unsubscribe_3058@localhost/res1' to='alice_unsubscribe_3058@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:46:59.514 ***🔗
bob_unsubscribe_3058@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:46:59.515 ***🔗
bob_unsubscribe_3058@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:46:59.515 ***🔗
alice_unsubscribe_3058@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:46:59.515 ***🔗
alice_unsubscribe_3058@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:46:59.527 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4766.html



=== Ended at 2024-04-23 11:46:59
=== successfully completed test case
=== === Returned value: ok