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

=== Config value:

    [{watchdog,<0.30301.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-22_14.58.40/metrics_roster_suite.unsubscribe.html"},
     {tc_group_properties,[{name,subscriptions},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_roster_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-22_14.58.40/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@c3695dab14af.2024-04-22_14.48.10"

=== Started at 2024-04-22 14:58:41


*** CT 2024-04-22 14:58:41.211 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3398.html

*** User 2024-04-22 14:58:41.218 ***🔗
alicE_unsubscribe_2812@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-22 14:58:41.219 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65f485dbb16d10f0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:41.219 ***🔗
alicE_unsubscribe_2812@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-22 14:58:41.219 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4MTIAbWF0eWdyeXNh</auth>



*** User 2024-04-22 14:58:41.220 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:41.220 ***🔗
alicE_unsubscribe_2812@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-22 14:58:41.220 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f65761ca1c1789a5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2812@domain.example.com'>

*** User 2024-04-22 14:58:41.220 ***🔗
alicE_unsubscribe_2812@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-22 14:58:41.220 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='585bdf7d66bc51e45850bda0d720a5ef'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:41.221 ***🔗
alicE_unsubscribe_2812@domain.example.com/res1 in
<iq id='585bdf7d66bc51e45850bda0d720a5ef' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2812@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:41.221 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='00f457be6adc66bee1f5de1eff5c2d0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:41.221 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='00f457be6adc66bee1f5de1eff5c2d0f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:41.221 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:58:41.222 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<presence from='alice_unsubscribe_2812@domain.example.com/res1' to='alice_unsubscribe_2812@domain.example.com/res1'/>



*** User 2024-04-22 14:58:41.223 ***🔗
bOb_unsubscribe_2812@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-22 14:58:41.223 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3de54a2860611ae0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:41.223 ***🔗
bOb_unsubscribe_2812@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-22 14:58:41.223 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODEyAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-22 14:58:41.224 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:41.224 ***🔗
bOb_unsubscribe_2812@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-22 14:58:41.225 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee14560ea73c4941' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2812@domain.example.com'>

*** User 2024-04-22 14:58:41.225 ***🔗
bOb_unsubscribe_2812@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-22 14:58:41.225 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='d33d0c9431157ea46ca2deb284d02129'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:41.225 ***🔗
bOb_unsubscribe_2812@domain.example.com/res1 in
<iq id='d33d0c9431157ea46ca2deb284d02129' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2812@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:41.225 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='6d53d1de763a3ebc5743da1d3ac627bd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:41.226 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' id='6d53d1de763a3ebc5743da1d3ac627bd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:41.226 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:58:41.227 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<presence from='bob_unsubscribe_2812@domain.example.com/res1' to='bob_unsubscribe_2812@domain.example.com/res1'/>



*** User 2024-04-22 14:58:41.227 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='f121ce4346f41bf444bd7eab4df949be'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2812@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.229 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='alice_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='push077cc64882fdcd96' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2812@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.229 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<iq to='alice_unsubscribe_2812@domain.example.com' id='push077cc64882fdcd96' type='result'/>



*** User 2024-04-22 14:58:41.229 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='alice_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='f121ce4346f41bf444bd7eab4df949be' type='result'/>



*** User 2024-04-22 14:58:41.230 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2812@domain.example.com'/>



*** User 2024-04-22 14:58:41.232 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='alice_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='push08167c98c75ddd53' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2812@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.232 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<iq to='alice_unsubscribe_2812@domain.example.com' id='push08167c98c75ddd53' type='result'/>



*** User 2024-04-22 14:58:41.232 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<presence from='alice_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-22 14:58:41.233 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
<iq type='set' id='bf9537c9c78f69c21abf4df0af9ecdb1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2812@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.235 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<iq from='bob_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' id='push4b3627b1b33de9ee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2812@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.235 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
<iq to='bob_unsubscribe_2812@domain.example.com' id='push4b3627b1b33de9ee' type='result'/>



*** User 2024-04-22 14:58:41.235 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<iq from='bob_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' id='bf9537c9c78f69c21abf4df0af9ecdb1' type='result'/>



*** User 2024-04-22 14:58:41.235 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2812@domain.example.com'/>



*** User 2024-04-22 14:58:41.238 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='alice_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='push4de4725a084f1f35' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2812@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.238 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<presence from='bob_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-22 14:58:41.238 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<presence from='bob_unsubscribe_2812@domain.example.com/res1' to='alice_unsubscribe_2812@domain.example.com/res1'/>



*** User 2024-04-22 14:58:41.238 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<iq from='bob_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' id='pushc72c8eec1161318b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2812@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.239 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2812@domain.example.com'/>



*** User 2024-04-22 14:58:41.242 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
<iq from='alice_unsubscribe_2812@domain.example.com' to='alice_unsubscribe_2812@domain.example.com/res1' id='push96ba70ea0acfee25' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2812@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.242 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
<iq to='alice_unsubscribe_2812@domain.example.com' id='push96ba70ea0acfee25' type='result'/>



*** User 2024-04-22 14:58:41.242 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<iq from='bob_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' id='pushff42813a2704e302' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2812@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:58:41.243 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
<presence from='alice_unsubscribe_2812@domain.example.com' to='bob_unsubscribe_2812@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-22 14:58:41.244 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:58:41.244 ***🔗
bob_unsubscribe_2812@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-22 14:58:41.245 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:58:41.245 ***🔗
alice_unsubscribe_2812@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-22 14:58:41.250 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3398.html



=== Ended at 2024-04-22 14:58:41
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result