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

=== Config value:

    [{watchdog,<0.56758.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@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-11_11.32.07/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@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-11_11.32.07/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@b840ae5a4cd1.2024-03-11_11.24.34"

=== Started at 2024-03-11 11:32:07


*** CT 2024-03-11 11:32:07.782 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1949.html

*** User 2024-03-11 11:32:07.790 ***🔗
alicE_unsubscribe_2246@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-03-11 11:32:07.790 ***🔗
alicE_unsubscribe_2246@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='771c0b5b7990961c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:32:07.790 ***🔗
alicE_unsubscribe_2246@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-03-11 11:32:07.790 ***🔗
alicE_unsubscribe_2246@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIyNDYAbWF0eWdyeXNh</auth>



*** User 2024-03-11 11:32:07.791 ***🔗
alicE_unsubscribe_2246@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:32:07.791 ***🔗
alicE_unsubscribe_2246@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-03-11 11:32:07.792 ***🔗
alicE_unsubscribe_2246@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a549669f15a9e17' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2246@localhost'>

*** User 2024-03-11 11:32:07.792 ***🔗
alicE_unsubscribe_2246@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-03-11 11:32:07.792 ***🔗
alicE_unsubscribe_2246@localhost/res1 out
<iq type='set' id='07f9f9e6d252ae0624fc56a0ba20fea1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:32:07.792 ***🔗
alicE_unsubscribe_2246@localhost/res1 in
<iq id='07f9f9e6d252ae0624fc56a0ba20fea1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2246@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:32:07.792 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<iq type='set' id='f7c6c2854155df30637f67ad2710426d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:32:07.793 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2246@localhost/res1' id='f7c6c2854155df30637f67ad2710426d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:32:07.793 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<presence/>



*** User 2024-03-11 11:32:07.794 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<presence from='alice_unsubscribe_2246@localhost/res1' to='alice_unsubscribe_2246@localhost/res1'/>



*** User 2024-03-11 11:32:07.794 ***🔗
bOb_unsubscribe_2246@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-03-11 11:32:07.794 ***🔗
bOb_unsubscribe_2246@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e34331591ddd24f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:32:07.794 ***🔗
bOb_unsubscribe_2246@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-03-11 11:32:07.795 ***🔗
bOb_unsubscribe_2246@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMjQ2AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-11 11:32:07.795 ***🔗
bOb_unsubscribe_2246@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:32:07.795 ***🔗
bOb_unsubscribe_2246@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-03-11 11:32:07.795 ***🔗
bOb_unsubscribe_2246@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='439981e9b9912d03' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2246@localhost'>

*** User 2024-03-11 11:32:07.795 ***🔗
bOb_unsubscribe_2246@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-03-11 11:32:07.796 ***🔗
bOb_unsubscribe_2246@localhost/res1 out
<iq type='set' id='6384a7e28a66ce32fef70d7ce0d43d78'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:32:07.796 ***🔗
bOb_unsubscribe_2246@localhost/res1 in
<iq id='6384a7e28a66ce32fef70d7ce0d43d78' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2246@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:32:07.796 ***🔗
bob_unsubscribe_2246@localhost/res1 out
<iq type='set' id='51068f4e6ee61e0d9ba7650665e2390f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:32:07.796 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2246@localhost/res1' id='51068f4e6ee61e0d9ba7650665e2390f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:32:07.796 ***🔗
bob_unsubscribe_2246@localhost/res1 out
<presence/>



*** User 2024-03-11 11:32:07.797 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<presence from='bob_unsubscribe_2246@localhost/res1' to='bob_unsubscribe_2246@localhost/res1'/>



*** User 2024-03-11 11:32:07.797 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<iq type='set' id='1451205b31dd0ce7dc775733f4a053bf'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2246@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.799 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='alice_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' id='pushce206a58010776b7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2246@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.799 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<iq to='alice_unsubscribe_2246@localhost' id='pushce206a58010776b7' type='result'/>



*** User 2024-03-11 11:32:07.799 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='alice_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' id='1451205b31dd0ce7dc775733f4a053bf' type='result'/>



*** User 2024-03-11 11:32:07.799 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2246@localhost'/>



*** User 2024-03-11 11:32:07.801 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='alice_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' id='push04f63efb0050ae0a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2246@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.802 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<iq to='alice_unsubscribe_2246@localhost' id='push04f63efb0050ae0a' type='result'/>



*** User 2024-03-11 11:32:07.802 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<presence from='alice_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' type='subscribe'/>



*** User 2024-03-11 11:32:07.802 ***🔗
bob_unsubscribe_2246@localhost/res1 out
<iq type='set' id='f842a84151ad039f84021a84d3a0fd32'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2246@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.804 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<iq from='bob_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' id='push223fc2f11eb015a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2246@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.804 ***🔗
bob_unsubscribe_2246@localhost/res1 out
<iq to='bob_unsubscribe_2246@localhost' id='push223fc2f11eb015a7' type='result'/>



*** User 2024-03-11 11:32:07.804 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<iq from='bob_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' id='f842a84151ad039f84021a84d3a0fd32' type='result'/>



*** User 2024-03-11 11:32:07.804 ***🔗
bob_unsubscribe_2246@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2246@localhost'/>



*** User 2024-03-11 11:32:07.807 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='alice_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' id='push6da842750674c7fb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2246@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.807 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<presence from='bob_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' type='subscribed'/>



*** User 2024-03-11 11:32:07.807 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<presence from='bob_unsubscribe_2246@localhost/res1' to='alice_unsubscribe_2246@localhost/res1'/>



*** User 2024-03-11 11:32:07.807 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<iq from='bob_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' id='pushbe75111d8ee17468' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2246@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.807 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2246@localhost'/>



*** User 2024-03-11 11:32:07.811 ***🔗
alice_unsubscribe_2246@localhost/res1 in
<iq from='alice_unsubscribe_2246@localhost' to='alice_unsubscribe_2246@localhost/res1' id='push6a714820f30fa25c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2246@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.811 ***🔗
alice_unsubscribe_2246@localhost/res1 out
<iq to='alice_unsubscribe_2246@localhost' id='push6a714820f30fa25c' type='result'/>



*** User 2024-03-11 11:32:07.811 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<iq from='bob_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' id='pushfa03ead5720c1a60' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2246@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:32:07.811 ***🔗
bob_unsubscribe_2246@localhost/res1 in
<presence from='alice_unsubscribe_2246@localhost' to='bob_unsubscribe_2246@localhost/res1' type='unsubscribe'/>



*** User 2024-03-11 11:32:07.812 ***🔗
bob_unsubscribe_2246@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:32:07.812 ***🔗
bob_unsubscribe_2246@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:32:07.812 ***🔗
alice_unsubscribe_2246@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:32:07.813 ***🔗
alice_unsubscribe_2246@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:32:07.817 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1949.html



=== Ended at 2024-03-11 11:32:07
=== successfully completed test case
=== === Returned value: ok


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