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

=== Config value:

    [{watchdog,<0.58531.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@48902645c190.2024-04-23_06.26.59/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.35.46/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@48902645c190.2024-04-23_06.26.59/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.35.46/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@48902645c190.2024-04-23_06.26.59"

=== Started at 2024-04-23 06:35:47


*** CT 2024-04-23 06:35:47.286 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2974.html

*** User 2024-04-23 06:35:47.292 ***🔗
alicE_unsubscribe_2295@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-23 06:35:47.292 ***🔗
alicE_unsubscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60e2003ece8963a2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:35:47.293 ***🔗
alicE_unsubscribe_2295@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-23 06:35:47.293 ***🔗
alicE_unsubscribe_2295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIyOTUAbWF0eWdyeXNh</auth>



*** User 2024-04-23 06:35:47.293 ***🔗
alicE_unsubscribe_2295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:35:47.293 ***🔗
alicE_unsubscribe_2295@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-23 06:35:47.294 ***🔗
alicE_unsubscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8352d126c93a8812' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2295@localhost'>

*** User 2024-04-23 06:35:47.294 ***🔗
alicE_unsubscribe_2295@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-23 06:35:47.294 ***🔗
alicE_unsubscribe_2295@localhost/res1 out
<iq type='set' id='a532d8b72c2f23dd8f8264928d77d1f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.294 ***🔗
alicE_unsubscribe_2295@localhost/res1 in
<iq id='a532d8b72c2f23dd8f8264928d77d1f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2295@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.294 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<iq type='set' id='c04867774ff27a744667724e066b1c5d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.295 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2295@localhost/res1' id='c04867774ff27a744667724e066b1c5d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.295 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<presence/>



*** User 2024-04-23 06:35:47.296 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<presence from='alice_unsubscribe_2295@localhost/res1' to='alice_unsubscribe_2295@localhost/res1'/>



*** User 2024-04-23 06:35:47.296 ***🔗
bOb_unsubscribe_2295@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-23 06:35:47.297 ***🔗
bOb_unsubscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b1b1f8531c744b9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:35:47.297 ***🔗
bOb_unsubscribe_2295@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-23 06:35:47.297 ***🔗
bOb_unsubscribe_2295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMjk1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@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-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='953b3b0d5c2b7ca9' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2295@localhost'>

*** User 2024-04-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@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-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@localhost/res1 out
<iq type='set' id='ce85e0ad7d023e7a3b6d46d2d959af0a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.298 ***🔗
bOb_unsubscribe_2295@localhost/res1 in
<iq id='ce85e0ad7d023e7a3b6d46d2d959af0a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2295@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.298 ***🔗
bob_unsubscribe_2295@localhost/res1 out
<iq type='set' id='93814cdb5716c314554b671121479d96'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.299 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2295@localhost/res1' id='93814cdb5716c314554b671121479d96' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.299 ***🔗
bob_unsubscribe_2295@localhost/res1 out
<presence/>



*** User 2024-04-23 06:35:47.300 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<presence from='bob_unsubscribe_2295@localhost/res1' to='bob_unsubscribe_2295@localhost/res1'/>



*** User 2024-04-23 06:35:47.300 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<iq type='set' id='a5d5fef0b94004cb9dbeab5818303215'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2295@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.302 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='alice_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' id='push1594dce567a4850c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2295@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.302 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<iq to='alice_unsubscribe_2295@localhost' id='push1594dce567a4850c' type='result'/>



*** User 2024-04-23 06:35:47.302 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='alice_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' id='a5d5fef0b94004cb9dbeab5818303215' type='result'/>



*** User 2024-04-23 06:35:47.302 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2295@localhost'/>



*** User 2024-04-23 06:35:47.305 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='alice_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' id='push92fa570516545b0b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2295@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.305 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<iq to='alice_unsubscribe_2295@localhost' id='push92fa570516545b0b' type='result'/>



*** User 2024-04-23 06:35:47.305 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<presence from='alice_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' type='subscribe'/>



*** User 2024-04-23 06:35:47.306 ***🔗
bob_unsubscribe_2295@localhost/res1 out
<iq type='set' id='d69fe4e20dc2dc2b420d83b743725767'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2295@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.307 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<iq from='bob_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' id='push0ae232743b7b5b3b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2295@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.307 ***🔗
bob_unsubscribe_2295@localhost/res1 out
<iq to='bob_unsubscribe_2295@localhost' id='push0ae232743b7b5b3b' type='result'/>



*** User 2024-04-23 06:35:47.307 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<iq from='bob_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' id='d69fe4e20dc2dc2b420d83b743725767' type='result'/>



*** User 2024-04-23 06:35:47.307 ***🔗
bob_unsubscribe_2295@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2295@localhost'/>



*** User 2024-04-23 06:35:47.310 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='alice_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' id='push9d37755a802eb06e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2295@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.311 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<presence from='bob_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' type='subscribed'/>



*** User 2024-04-23 06:35:47.311 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<presence from='bob_unsubscribe_2295@localhost/res1' to='alice_unsubscribe_2295@localhost/res1'/>



*** User 2024-04-23 06:35:47.311 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<iq from='bob_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' id='push8de98bf7f9eed070' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2295@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.311 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2295@localhost'/>



*** User 2024-04-23 06:35:47.314 ***🔗
alice_unsubscribe_2295@localhost/res1 in
<iq from='alice_unsubscribe_2295@localhost' to='alice_unsubscribe_2295@localhost/res1' id='push3e424665f85aee3a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2295@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.314 ***🔗
alice_unsubscribe_2295@localhost/res1 out
<iq to='alice_unsubscribe_2295@localhost' id='push3e424665f85aee3a' type='result'/>



*** User 2024-04-23 06:35:47.315 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<iq from='bob_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' id='push07d787a602edf0c1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2295@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.315 ***🔗
bob_unsubscribe_2295@localhost/res1 in
<presence from='alice_unsubscribe_2295@localhost' to='bob_unsubscribe_2295@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 06:35:47.316 ***🔗
bob_unsubscribe_2295@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:35:47.316 ***🔗
bob_unsubscribe_2295@localhost/res1 in
</stream:stream>

*** User 2024-04-23 06:35:47.316 ***🔗
alice_unsubscribe_2295@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:35:47.316 ***🔗
alice_unsubscribe_2295@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 06:35:47.321 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2974.html



=== Ended at 2024-04-23 06:35:47
=== successfully completed test case
=== === Returned value: ok


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