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

=== Config value:

    [{watchdog,<0.63375.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,"mysql_redis"},
     {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@f53478984827.2024-04-24_13.07.56/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.17.01/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@f53478984827.2024-04-24_13.07.56/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.17.01/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@f53478984827.2024-04-24_13.07.56"

=== Started at 2024-04-24 13:17:01


*** CT 2024-04-24 13:17:01.447 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2046.html

*** User 2024-04-24 13:17:01.454 ***🔗
alicE_unsubscribe_2496@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-24 13:17:01.454 ***🔗
alicE_unsubscribe_2496@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ad74dde3b7c5184' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:17:01.454 ***🔗
alicE_unsubscribe_2496@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-24 13:17:01.454 ***🔗
alicE_unsubscribe_2496@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI0OTYAbWF0eWdyeXNh</auth>



*** User 2024-04-24 13:17:01.455 ***🔗
alicE_unsubscribe_2496@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:17:01.455 ***🔗
alicE_unsubscribe_2496@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-24 13:17:01.456 ***🔗
alicE_unsubscribe_2496@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='215ff648ff20831c' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2496@localhost'>

*** User 2024-04-24 13:17:01.456 ***🔗
alicE_unsubscribe_2496@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-24 13:17:01.456 ***🔗
alicE_unsubscribe_2496@localhost/res1 out
<iq type='set' id='3f607e34f8abeb63efc31738e25da4cd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:17:01.456 ***🔗
alicE_unsubscribe_2496@localhost/res1 in
<iq id='3f607e34f8abeb63efc31738e25da4cd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2496@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:17:01.456 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<iq type='set' id='8d5ef06e556a589b2ef30cd50570e584'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:17:01.457 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2496@localhost/res1' id='8d5ef06e556a589b2ef30cd50570e584' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:17:01.457 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<presence/>



*** User 2024-04-24 13:17:01.458 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<presence from='alice_unsubscribe_2496@localhost/res1' to='alice_unsubscribe_2496@localhost/res1'/>



*** User 2024-04-24 13:17:01.459 ***🔗
bOb_unsubscribe_2496@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-24 13:17:01.459 ***🔗
bOb_unsubscribe_2496@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2acb814fabc905dc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:17:01.459 ***🔗
bOb_unsubscribe_2496@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-24 13:17:01.460 ***🔗
bOb_unsubscribe_2496@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNDk2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-24 13:17:01.460 ***🔗
bOb_unsubscribe_2496@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:17:01.461 ***🔗
bOb_unsubscribe_2496@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-24 13:17:01.461 ***🔗
bOb_unsubscribe_2496@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='973b8342fb332575' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2496@localhost'>

*** User 2024-04-24 13:17:01.461 ***🔗
bOb_unsubscribe_2496@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-24 13:17:01.461 ***🔗
bOb_unsubscribe_2496@localhost/res1 out
<iq type='set' id='b93090fc9b9066f2f9d5848ed7fa10a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:17:01.461 ***🔗
bOb_unsubscribe_2496@localhost/res1 in
<iq id='b93090fc9b9066f2f9d5848ed7fa10a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2496@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:17:01.461 ***🔗
bob_unsubscribe_2496@localhost/res1 out
<iq type='set' id='40b6f588531d580c94c08899777e40dd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:17:01.462 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2496@localhost/res1' id='40b6f588531d580c94c08899777e40dd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:17:01.462 ***🔗
bob_unsubscribe_2496@localhost/res1 out
<presence/>



*** User 2024-04-24 13:17:01.464 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<presence from='bob_unsubscribe_2496@localhost/res1' to='bob_unsubscribe_2496@localhost/res1'/>



*** User 2024-04-24 13:17:01.464 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<iq type='set' id='ae8778c5dfe2ec6c0d6f00b8466cc8db'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2496@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.467 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='alice_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' id='push2d2fc4d6bff956e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2496@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.467 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<iq to='alice_unsubscribe_2496@localhost' id='push2d2fc4d6bff956e7' type='result'/>



*** User 2024-04-24 13:17:01.467 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='alice_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' id='ae8778c5dfe2ec6c0d6f00b8466cc8db' type='result'/>



*** User 2024-04-24 13:17:01.467 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2496@localhost'/>



*** User 2024-04-24 13:17:01.471 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='alice_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' id='pushfdab052abec2d897' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2496@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.471 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<iq to='alice_unsubscribe_2496@localhost' id='pushfdab052abec2d897' type='result'/>



*** User 2024-04-24 13:17:01.471 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<presence from='alice_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' type='subscribe'/>



*** User 2024-04-24 13:17:01.471 ***🔗
bob_unsubscribe_2496@localhost/res1 out
<iq type='set' id='306fac494a7e4dd8c55ea2568adcdc20'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2496@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.474 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<iq from='bob_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' id='pushbe6e04a678b3ffc4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2496@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.474 ***🔗
bob_unsubscribe_2496@localhost/res1 out
<iq to='bob_unsubscribe_2496@localhost' id='pushbe6e04a678b3ffc4' type='result'/>



*** User 2024-04-24 13:17:01.474 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<iq from='bob_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' id='306fac494a7e4dd8c55ea2568adcdc20' type='result'/>



*** User 2024-04-24 13:17:01.474 ***🔗
bob_unsubscribe_2496@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2496@localhost'/>



*** User 2024-04-24 13:17:01.479 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='alice_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' id='push06e11edc2f1f6d12' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2496@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.480 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<presence from='bob_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' type='subscribed'/>



*** User 2024-04-24 13:17:01.480 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<presence from='bob_unsubscribe_2496@localhost/res1' to='alice_unsubscribe_2496@localhost/res1'/>



*** User 2024-04-24 13:17:01.480 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<iq from='bob_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' id='push80f56da7814400d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2496@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.480 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2496@localhost'/>



*** User 2024-04-24 13:17:01.487 ***🔗
alice_unsubscribe_2496@localhost/res1 in
<iq from='alice_unsubscribe_2496@localhost' to='alice_unsubscribe_2496@localhost/res1' id='pushfddcbf80f9d59bc2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2496@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.487 ***🔗
alice_unsubscribe_2496@localhost/res1 out
<iq to='alice_unsubscribe_2496@localhost' id='pushfddcbf80f9d59bc2' type='result'/>



*** User 2024-04-24 13:17:01.487 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<iq from='bob_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' id='push76693823113de2e8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2496@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:17:01.487 ***🔗
bob_unsubscribe_2496@localhost/res1 in
<presence from='alice_unsubscribe_2496@localhost' to='bob_unsubscribe_2496@localhost/res1' type='unsubscribe'/>



*** User 2024-04-24 13:17:01.488 ***🔗
bob_unsubscribe_2496@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:17:01.488 ***🔗
bob_unsubscribe_2496@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:17:01.488 ***🔗
alice_unsubscribe_2496@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:17:01.489 ***🔗
alice_unsubscribe_2496@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:17:01.495 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2046.html



=== Ended at 2024-04-24 13:17:01
=== successfully completed test case
=== === Returned value: ok


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