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

=== Config value:

    [{watchdog,<0.68984.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/presence_suite.unsubscribe.113540.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/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@eebaa68b7995.2024-01-14_19.39.51"

=== Started at 2024-01-14 19:50:24


*** CT 2024-01-14 19:50:24.066 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2342.html

*** User 2024-01-14 19:50:24.075 ***🔗
alicE_unsubscribe_2543@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-01-14 19:50:24.075 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39cadfde062e918d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:50:24.075 ***🔗
alicE_unsubscribe_2543@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-01-14 19:50:24.075 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1NDMAbWF0eWdyeXNh</auth>



*** User 2024-01-14 19:50:24.076 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:50:24.076 ***🔗
alicE_unsubscribe_2543@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-01-14 19:50:24.076 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2daf2f3777857346' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2543@domain.example.com'>

*** User 2024-01-14 19:50:24.077 ***🔗
alicE_unsubscribe_2543@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-01-14 19:50:24.077 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='a316cfbfaf0c7b00b789173073d58392'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.077 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<iq id='a316cfbfaf0c7b00b789173073d58392' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2543@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.077 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='beff670c55838820de4362eff066feeb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.077 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='beff670c55838820de4362eff066feeb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.078 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:50:24.079 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com/res1' to='alice_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.079 ***🔗
bOb_unsubscribe_2543@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-01-14 19:50:24.079 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b3959777a45a644' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:50:24.079 ***🔗
bOb_unsubscribe_2543@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-01-14 19:50:24.079 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTQzAG1ha3JvbGlrYQ==</auth>



*** User 2024-01-14 19:50:24.080 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:50:24.080 ***🔗
bOb_unsubscribe_2543@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-01-14 19:50:24.080 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a1403fc1a596d76' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2543@domain.example.com'>

*** User 2024-01-14 19:50:24.081 ***🔗
bOb_unsubscribe_2543@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-01-14 19:50:24.081 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='d9fd1d3dee44b1d48b59663c47aa9af5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<iq id='d9fd1d3dee44b1d48b59663c47aa9af5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2543@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='9f90256f8b8a9f7165aaa1a1ad6e053b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='9f90256f8b8a9f7165aaa1a1ad6e053b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:50:24.083 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com/res1' to='bob_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.083 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='af33faaabb6bcf9447e91972256d2202'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2543@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push31cce76ef6af908b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='af33faaabb6bcf9447e91972256d2202' type='result'/>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='push31cce76ef6af908b' type='result'/>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2543@domain.example.com'/>



*** User 2024-01-14 19:50:24.096 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push0dcfb94eced32266' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.096 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='push0dcfb94eced32266' type='result'/>



*** User 2024-01-14 19:50:24.096 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' type='subscribe'/>



*** User 2024-01-14 19:50:24.096 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='23d0d142de55c5fca12c888d43dcb7cb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2543@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.101 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='pushc5c6883e16a420c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.101 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq to='bob_unsubscribe_2543@domain.example.com' id='pushc5c6883e16a420c3' type='result'/>



*** User 2024-01-14 19:50:24.101 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='23d0d142de55c5fca12c888d43dcb7cb' type='result'/>



*** User 2024-01-14 19:50:24.101 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2543@domain.example.com'/>



*** User 2024-01-14 19:50:24.105 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push4a225f4befa8cff5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.106 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' type='subscribed'/>



*** User 2024-01-14 19:50:24.106 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com/res1' to='alice_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.106 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='pushf0d5c82d4b4ab014' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.106 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2543@domain.example.com'/>



*** User 2024-01-14 19:50:24.154 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push0588e7d0489d26f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.154 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='push0588e7d0489d26f2' type='result'/>



*** User 2024-01-14 19:50:24.154 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='pushb9e19bb7e753dbd6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.154 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-01-14 19:50:24.154 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com/res1' to='alice_unsubscribe_2543@domain.example.com/res1' type='unavailable'/>



*** User 2024-01-14 19:50:24.154 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:24.155 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:50:24.155 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:24.155 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:50:24.161 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2342.html



=== Ended at 2024-01-14 19:50:24
=== successfully completed test case
=== === Returned value: ok