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

=== Config value:

    [{watchdog,<0.27727.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.metrics_roster_SUITE.logs/run.2023-12-04_15.49.39/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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.metrics_roster_SUITE.logs/run.2023-12-04_15.49.39/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@cdcecdf9c9e0.2023-12-04_15.40.23"

=== Started at 2023-12-04 15:49:40


*** CT 2023-12-04 15:49:40.171 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2378.html

*** User 2023-12-04 15:49:40.177 ***🔗
alicE_unsubscribe_2385@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:49:40.177 ***🔗
alicE_unsubscribe_2385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4da7851eb8440b8' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:49:40.177 ***🔗
alicE_unsubscribe_2385@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 2023-12-04 15:49:40.178 ***🔗
alicE_unsubscribe_2385@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIzODUAbWF0eWdyeXNh</auth>



*** User 2023-12-04 15:49:40.178 ***🔗
alicE_unsubscribe_2385@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:49:40.178 ***🔗
alicE_unsubscribe_2385@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:49:40.179 ***🔗
alicE_unsubscribe_2385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26fa4cdd6d424b07' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2385@localhost'>

*** User 2023-12-04 15:49:40.179 ***🔗
alicE_unsubscribe_2385@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 2023-12-04 15:49:40.179 ***🔗
alicE_unsubscribe_2385@localhost/res1 out
<iq type='set' id='0e083c7db907fef0bb5e78624b29ad12'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:49:40.179 ***🔗
alicE_unsubscribe_2385@localhost/res1 in
<iq id='0e083c7db907fef0bb5e78624b29ad12' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2385@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:49:40.179 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<iq type='set' id='89b295fc6d0ce22c43c9b6899e0c57a1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:49:40.180 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2385@localhost/res1' id='89b295fc6d0ce22c43c9b6899e0c57a1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:49:40.180 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<presence/>



*** User 2023-12-04 15:49:40.180 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<presence from='alice_unsubscribe_2385@localhost/res1' to='alice_unsubscribe_2385@localhost/res1'/>



*** User 2023-12-04 15:49:40.181 ***🔗
bOb_unsubscribe_2385@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:49:40.181 ***🔗
bOb_unsubscribe_2385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae0ff26866af465e' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:49:40.181 ***🔗
bOb_unsubscribe_2385@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 2023-12-04 15:49:40.182 ***🔗
bOb_unsubscribe_2385@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMzg1AG1ha3JvbGlrYQ==</auth>



*** User 2023-12-04 15:49:40.182 ***🔗
bOb_unsubscribe_2385@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:49:40.182 ***🔗
bOb_unsubscribe_2385@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:49:40.183 ***🔗
bOb_unsubscribe_2385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc71eec6dbce2e67' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2385@localhost'>

*** User 2023-12-04 15:49:40.183 ***🔗
bOb_unsubscribe_2385@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 2023-12-04 15:49:40.183 ***🔗
bOb_unsubscribe_2385@localhost/res1 out
<iq type='set' id='ab68d49ebc636c19293bdbdffbeecc34'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:49:40.183 ***🔗
bOb_unsubscribe_2385@localhost/res1 in
<iq id='ab68d49ebc636c19293bdbdffbeecc34' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2385@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:49:40.183 ***🔗
bob_unsubscribe_2385@localhost/res1 out
<iq type='set' id='2f07aee2400211debffc94b946c53bef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:49:40.183 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2385@localhost/res1' id='2f07aee2400211debffc94b946c53bef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:49:40.184 ***🔗
bob_unsubscribe_2385@localhost/res1 out
<presence/>



*** User 2023-12-04 15:49:40.184 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<presence from='bob_unsubscribe_2385@localhost/res1' to='bob_unsubscribe_2385@localhost/res1'/>



*** User 2023-12-04 15:49:40.184 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<iq type='set' id='1f02566c7062fc10d7673daafabf55cb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2385@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.187 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='alice_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' id='push25643e4302de2cc3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2385@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.187 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<iq to='alice_unsubscribe_2385@localhost' id='push25643e4302de2cc3' type='result'/>



*** User 2023-12-04 15:49:40.187 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='alice_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' id='1f02566c7062fc10d7673daafabf55cb' type='result'/>



*** User 2023-12-04 15:49:40.187 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2385@localhost'/>



*** User 2023-12-04 15:49:40.190 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='alice_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' id='pusha1adc772ececb32a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2385@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.190 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<iq to='alice_unsubscribe_2385@localhost' id='pusha1adc772ececb32a' type='result'/>



*** User 2023-12-04 15:49:40.190 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<presence from='alice_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' type='subscribe'/>



*** User 2023-12-04 15:49:40.191 ***🔗
bob_unsubscribe_2385@localhost/res1 out
<iq type='set' id='9781eb32ca46fdd4f477385f64a24906'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2385@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.192 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<iq from='bob_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' id='push1816c859039a940b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2385@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.192 ***🔗
bob_unsubscribe_2385@localhost/res1 out
<iq to='bob_unsubscribe_2385@localhost' id='push1816c859039a940b' type='result'/>



*** User 2023-12-04 15:49:40.192 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<iq from='bob_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' id='9781eb32ca46fdd4f477385f64a24906' type='result'/>



*** User 2023-12-04 15:49:40.192 ***🔗
bob_unsubscribe_2385@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2385@localhost'/>



*** User 2023-12-04 15:49:40.196 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='alice_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' id='push8c7dadead537468e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2385@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.196 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<presence from='bob_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' type='subscribed'/>



*** User 2023-12-04 15:49:40.196 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<presence from='bob_unsubscribe_2385@localhost/res1' to='alice_unsubscribe_2385@localhost/res1'/>



*** User 2023-12-04 15:49:40.196 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<iq from='bob_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' id='push2bc35f4d4bafc087' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2385@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.196 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2385@localhost'/>



*** User 2023-12-04 15:49:40.200 ***🔗
alice_unsubscribe_2385@localhost/res1 in
<iq from='alice_unsubscribe_2385@localhost' to='alice_unsubscribe_2385@localhost/res1' id='push5b159042f8089207' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2385@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.200 ***🔗
alice_unsubscribe_2385@localhost/res1 out
<iq to='alice_unsubscribe_2385@localhost' id='push5b159042f8089207' type='result'/>



*** User 2023-12-04 15:49:40.200 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<iq from='bob_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' id='push69b6f65a4c8c9b2c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2385@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-04 15:49:40.200 ***🔗
bob_unsubscribe_2385@localhost/res1 in
<presence from='alice_unsubscribe_2385@localhost' to='bob_unsubscribe_2385@localhost/res1' type='unsubscribe'/>



*** User 2023-12-04 15:49:40.202 ***🔗
bob_unsubscribe_2385@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:49:40.202 ***🔗
bob_unsubscribe_2385@localhost/res1 in
</stream:stream>

*** User 2023-12-04 15:49:40.202 ***🔗
alice_unsubscribe_2385@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:49:40.202 ***🔗
alice_unsubscribe_2385@localhost/res1 in
</stream:stream>
*** CT 2023-12-04 15:49:40.207 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2378.html



=== Ended at 2023-12-04 15:49:40
=== successfully completed test case
=== === Returned value: ok


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