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

=== Config value:

    [{watchdog,<0.72419.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/presence_suite.unsubscribe.139139.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/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@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:49:22


*** CT 2024-04-09 11:49:22.421 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2566.html

*** User 2024-04-09 11:49:22.436 ***🔗
alicE_unsubscribe_3039@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-09 11:49:22.441 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ed94a3ff3a3b10d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:22.441 ***🔗
alicE_unsubscribe_3039@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-09 11:49:22.441 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwMzkAbWF0eWdyeXNh</auth>



*** User 2024-04-09 11:49:22.443 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:22.444 ***🔗
alicE_unsubscribe_3039@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-09 11:49:22.444 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68ac5ab6947f677b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_3039@domain.example.com'>

*** User 2024-04-09 11:49:22.444 ***🔗
alicE_unsubscribe_3039@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-09 11:49:22.446 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='4d47236e2b58a3d0f7f045f29cd61ed1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.446 ***🔗
alicE_unsubscribe_3039@domain.example.com/res1 in
<iq id='4d47236e2b58a3d0f7f045f29cd61ed1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3039@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.446 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='795db0add40c04f4af02d2ede74201ca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.447 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='795db0add40c04f4af02d2ede74201ca' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.447 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:22.448 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<presence from='alice_unsubscribe_3039@domain.example.com/res1' to='alice_unsubscribe_3039@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.449 ***🔗
bOb_unsubscribe_3039@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-09 11:49:22.449 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31ef4176f490e86c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:22.449 ***🔗
bOb_unsubscribe_3039@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-09 11:49:22.449 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDM5AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-09 11:49:22.450 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:22.450 ***🔗
bOb_unsubscribe_3039@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-09 11:49:22.451 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51ab036b27e9d0a3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_3039@domain.example.com'>

*** User 2024-04-09 11:49:22.451 ***🔗
bOb_unsubscribe_3039@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-09 11:49:22.451 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='ea720d930128fc9a331008966f78c992'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.453 ***🔗
bOb_unsubscribe_3039@domain.example.com/res1 in
<iq id='ea720d930128fc9a331008966f78c992' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3039@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.453 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='9d8fc934d8a5480ac309b883123d9f7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.453 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' id='9d8fc934d8a5480ac309b883123d9f7e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.454 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:22.455 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<presence from='bob_unsubscribe_3039@domain.example.com/res1' to='bob_unsubscribe_3039@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.455 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='ee42e96de491fe14263a5e138ebd7ea3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3039@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.474 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='alice_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='push843db1e9be1c1c3d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3039@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.474 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='alice_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='ee42e96de491fe14263a5e138ebd7ea3' type='result'/>



*** User 2024-04-09 11:49:22.474 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<iq to='alice_unsubscribe_3039@domain.example.com' id='push843db1e9be1c1c3d' type='result'/>



*** User 2024-04-09 11:49:22.474 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_3039@domain.example.com'/>



*** User 2024-04-09 11:49:22.481 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='alice_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='push3fbae172f3ff0220' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3039@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.481 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<iq to='alice_unsubscribe_3039@domain.example.com' id='push3fbae172f3ff0220' type='result'/>



*** User 2024-04-09 11:49:22.481 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<presence from='alice_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-09 11:49:22.481 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
<iq type='set' id='c914769bc5f0badca9750799d2c3f4a3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3039@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.484 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<iq from='bob_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' id='push8927cade3a981c45' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3039@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.484 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
<iq to='bob_unsubscribe_3039@domain.example.com' id='push8927cade3a981c45' type='result'/>



*** User 2024-04-09 11:49:22.484 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<iq from='bob_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' id='c914769bc5f0badca9750799d2c3f4a3' type='result'/>



*** User 2024-04-09 11:49:22.484 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_3039@domain.example.com'/>



*** User 2024-04-09 11:49:22.489 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='alice_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='push818aba8d214b0837' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3039@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.489 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<presence from='bob_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-09 11:49:22.489 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<presence from='bob_unsubscribe_3039@domain.example.com/res1' to='alice_unsubscribe_3039@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.489 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<iq from='bob_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' id='push28021f29a9426e53' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3039@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.489 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3039@domain.example.com'/>



*** User 2024-04-09 11:49:22.498 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<iq from='alice_unsubscribe_3039@domain.example.com' to='alice_unsubscribe_3039@domain.example.com/res1' id='pushcb2de8e7c210fc3d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3039@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.498 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
<iq to='alice_unsubscribe_3039@domain.example.com' id='pushcb2de8e7c210fc3d' type='result'/>



*** User 2024-04-09 11:49:22.499 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<iq from='bob_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' id='push9c74c0f8dca1d27f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3039@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.499 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
<presence from='alice_unsubscribe_3039@domain.example.com' to='bob_unsubscribe_3039@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-09 11:49:22.499 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
<presence from='bob_unsubscribe_3039@domain.example.com/res1' to='alice_unsubscribe_3039@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-09 11:49:22.499 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:22.499 ***🔗
bob_unsubscribe_3039@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:49:22.499 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:22.500 ***🔗
alice_unsubscribe_3039@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:49:22.509 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2566.html



=== Ended at 2024-04-09 11:49:22
=== successfully completed test case
=== === Returned value: ok