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

=== Config value:

    [{watchdog,<0.57286.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"pgsql_cets"},
     {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@55a9538c7bf7.2024-04-25_14.32.29/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.40.50/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@55a9538c7bf7.2024-04-25_14.32.29/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.40.50/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@55a9538c7bf7.2024-04-25_14.32.29"

=== Started at 2024-04-25 14:40:51


*** CT 2024-04-25 14:40:51.246 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1968.html

*** User 2024-04-25 14:40:51.253 ***🔗
alicE_unsubscribe_2297@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-25 14:40:51.254 ***🔗
alicE_unsubscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a77fd3cbf681ac5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:40:51.254 ***🔗
alicE_unsubscribe_2297@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-25 14:40:51.254 ***🔗
alicE_unsubscribe_2297@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIyOTcAbWF0eWdyeXNh</auth>



*** User 2024-04-25 14:40:51.255 ***🔗
alicE_unsubscribe_2297@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:40:51.255 ***🔗
alicE_unsubscribe_2297@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-25 14:40:51.255 ***🔗
alicE_unsubscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad2696f0739c0b62' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2297@localhost'>

*** User 2024-04-25 14:40:51.255 ***🔗
alicE_unsubscribe_2297@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-25 14:40:51.255 ***🔗
alicE_unsubscribe_2297@localhost/res1 out
<iq type='set' id='6d10612c71e5fd8f89b12d482b9ff381'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:40:51.256 ***🔗
alicE_unsubscribe_2297@localhost/res1 in
<iq id='6d10612c71e5fd8f89b12d482b9ff381' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2297@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:40:51.256 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<iq type='set' id='cc677caa87a39e3b146fc8dbbbfe2b68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:40:51.256 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2297@localhost/res1' id='cc677caa87a39e3b146fc8dbbbfe2b68' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:40:51.256 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<presence/>



*** User 2024-04-25 14:40:51.257 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<presence from='alice_unsubscribe_2297@localhost/res1' to='alice_unsubscribe_2297@localhost/res1'/>



*** User 2024-04-25 14:40:51.258 ***🔗
bOb_unsubscribe_2297@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-25 14:40:51.258 ***🔗
bOb_unsubscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d8f8ea2275bf5cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:40:51.259 ***🔗
bOb_unsubscribe_2297@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-25 14:40:51.259 ***🔗
bOb_unsubscribe_2297@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMjk3AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@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-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1c91ee5f39c68dd' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2297@localhost'>

*** User 2024-04-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@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-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@localhost/res1 out
<iq type='set' id='a8cf8f10f10571b986a0cff8b4c63244'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:40:51.260 ***🔗
bOb_unsubscribe_2297@localhost/res1 in
<iq id='a8cf8f10f10571b986a0cff8b4c63244' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2297@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:40:51.260 ***🔗
bob_unsubscribe_2297@localhost/res1 out
<iq type='set' id='3125f1c03bf22d9543da077609650b31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:40:51.261 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2297@localhost/res1' id='3125f1c03bf22d9543da077609650b31' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:40:51.261 ***🔗
bob_unsubscribe_2297@localhost/res1 out
<presence/>



*** User 2024-04-25 14:40:51.262 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<presence from='bob_unsubscribe_2297@localhost/res1' to='bob_unsubscribe_2297@localhost/res1'/>



*** User 2024-04-25 14:40:51.262 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<iq type='set' id='bb29c9b86ceee030ddf67f077318ac71'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2297@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.264 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='alice_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' id='push43540e208d485add' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2297@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.265 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<iq to='alice_unsubscribe_2297@localhost' id='push43540e208d485add' type='result'/>



*** User 2024-04-25 14:40:51.265 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='alice_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' id='bb29c9b86ceee030ddf67f077318ac71' type='result'/>



*** User 2024-04-25 14:40:51.265 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2297@localhost'/>



*** User 2024-04-25 14:40:51.268 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='alice_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' id='pushb100243c3a2343dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2297@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.268 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<iq to='alice_unsubscribe_2297@localhost' id='pushb100243c3a2343dd' type='result'/>



*** User 2024-04-25 14:40:51.268 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<presence from='alice_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' type='subscribe'/>



*** User 2024-04-25 14:40:51.268 ***🔗
bob_unsubscribe_2297@localhost/res1 out
<iq type='set' id='e4e84cd327c3dcd7b5c9ed8504d9db89'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2297@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.270 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<iq from='bob_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' id='push2bff67e4a4b1dd9f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2297@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.270 ***🔗
bob_unsubscribe_2297@localhost/res1 out
<iq to='bob_unsubscribe_2297@localhost' id='push2bff67e4a4b1dd9f' type='result'/>



*** User 2024-04-25 14:40:51.270 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<iq from='bob_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' id='e4e84cd327c3dcd7b5c9ed8504d9db89' type='result'/>



*** User 2024-04-25 14:40:51.270 ***🔗
bob_unsubscribe_2297@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2297@localhost'/>



*** User 2024-04-25 14:40:51.273 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='alice_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' id='pushda35799e988b62ef' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2297@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.274 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<presence from='bob_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' type='subscribed'/>



*** User 2024-04-25 14:40:51.274 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<presence from='bob_unsubscribe_2297@localhost/res1' to='alice_unsubscribe_2297@localhost/res1'/>



*** User 2024-04-25 14:40:51.274 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<iq from='bob_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' id='push8e505066d6e99bd2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2297@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.274 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2297@localhost'/>



*** User 2024-04-25 14:40:51.278 ***🔗
alice_unsubscribe_2297@localhost/res1 in
<iq from='alice_unsubscribe_2297@localhost' to='alice_unsubscribe_2297@localhost/res1' id='pushe2c707984d0dbaa1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2297@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.278 ***🔗
alice_unsubscribe_2297@localhost/res1 out
<iq to='alice_unsubscribe_2297@localhost' id='pushe2c707984d0dbaa1' type='result'/>



*** User 2024-04-25 14:40:51.278 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<iq from='bob_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' id='pushf19894a94e812df7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2297@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:40:51.278 ***🔗
bob_unsubscribe_2297@localhost/res1 in
<presence from='alice_unsubscribe_2297@localhost' to='bob_unsubscribe_2297@localhost/res1' type='unsubscribe'/>



*** User 2024-04-25 14:40:51.280 ***🔗
bob_unsubscribe_2297@localhost/res1 out
</stream:stream>

*** User 2024-04-25 14:40:51.280 ***🔗
bob_unsubscribe_2297@localhost/res1 in
</stream:stream>

*** User 2024-04-25 14:40:51.280 ***🔗
alice_unsubscribe_2297@localhost/res1 out
</stream:stream>

*** User 2024-04-25 14:40:51.280 ***🔗
alice_unsubscribe_2297@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 14:40:51.286 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1968.html



=== Ended at 2024-04-25 14:40:51
=== successfully completed test case
=== === Returned value: ok


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