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

=== Config value:

    [{watchdog,<0.63309.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@f4c4c3a5d63b.2024-04-26_12.39.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-26_12.49.14/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@f4c4c3a5d63b.2024-04-26_12.39.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-26_12.49.14/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@f4c4c3a5d63b.2024-04-26_12.39.34"

=== Started at 2024-04-26 12:49:16


*** CT 2024-04-26 12:49:16.940 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2039.html

*** User 2024-04-26 12:49:16.957 ***🔗
alicE_unsubscribe_2502@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-26 12:49:16.957 ***🔗
alicE_unsubscribe_2502@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='130604921c452a5f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:49:16.957 ***🔗
alicE_unsubscribe_2502@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-26 12:49:16.957 ***🔗
alicE_unsubscribe_2502@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1MDIAbWF0eWdyeXNh</auth>



*** User 2024-04-26 12:49:16.958 ***🔗
alicE_unsubscribe_2502@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:49:16.958 ***🔗
alicE_unsubscribe_2502@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-26 12:49:16.958 ***🔗
alicE_unsubscribe_2502@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9258f1f13dab245d' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2502@localhost'>

*** User 2024-04-26 12:49:16.959 ***🔗
alicE_unsubscribe_2502@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-26 12:49:16.959 ***🔗
alicE_unsubscribe_2502@localhost/res1 out
<iq type='set' id='53973edf7d470755d841cf7338b9f4a5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:49:16.959 ***🔗
alicE_unsubscribe_2502@localhost/res1 in
<iq id='53973edf7d470755d841cf7338b9f4a5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2502@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:49:16.959 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<iq type='set' id='f10d245fef207eb9a7409c6a4dab81e1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:16.960 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2502@localhost/res1' id='f10d245fef207eb9a7409c6a4dab81e1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:16.960 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<presence/>



*** User 2024-04-26 12:49:16.961 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<presence from='alice_unsubscribe_2502@localhost/res1' to='alice_unsubscribe_2502@localhost/res1'/>



*** User 2024-04-26 12:49:16.962 ***🔗
bOb_unsubscribe_2502@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-26 12:49:16.962 ***🔗
bOb_unsubscribe_2502@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d356595ac63d021c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:49:16.962 ***🔗
bOb_unsubscribe_2502@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-26 12:49:16.962 ***🔗
bOb_unsubscribe_2502@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTAyAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@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-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a7b57b0ae697e98' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2502@localhost'>

*** User 2024-04-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@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-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@localhost/res1 out
<iq type='set' id='0fb096c16cb94ae490d7399a2919aefb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:49:16.963 ***🔗
bOb_unsubscribe_2502@localhost/res1 in
<iq id='0fb096c16cb94ae490d7399a2919aefb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2502@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:49:16.963 ***🔗
bob_unsubscribe_2502@localhost/res1 out
<iq type='set' id='6b8eba34ad9c90fd7ed77b0baa140ed6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:16.964 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2502@localhost/res1' id='6b8eba34ad9c90fd7ed77b0baa140ed6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:16.964 ***🔗
bob_unsubscribe_2502@localhost/res1 out
<presence/>



*** User 2024-04-26 12:49:16.966 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<presence from='bob_unsubscribe_2502@localhost/res1' to='bob_unsubscribe_2502@localhost/res1'/>



*** User 2024-04-26 12:49:16.966 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<iq type='set' id='58c2f3ed5d7580d42fbed70e89deedc6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2502@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.972 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='alice_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' id='pushf37b0f9cbd6642d9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2502@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.972 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<iq to='alice_unsubscribe_2502@localhost' id='pushf37b0f9cbd6642d9' type='result'/>



*** User 2024-04-26 12:49:16.972 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='alice_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' id='58c2f3ed5d7580d42fbed70e89deedc6' type='result'/>



*** User 2024-04-26 12:49:16.972 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2502@localhost'/>



*** User 2024-04-26 12:49:16.980 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='alice_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' id='push5702569e929160e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2502@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.980 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<iq to='alice_unsubscribe_2502@localhost' id='push5702569e929160e5' type='result'/>



*** User 2024-04-26 12:49:16.980 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<presence from='alice_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:49:16.980 ***🔗
bob_unsubscribe_2502@localhost/res1 out
<iq type='set' id='8392bbed7d286eb15a2e340ae8faaea9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2502@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.983 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<iq from='bob_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' id='pushf52766e9f3b01107' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2502@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.983 ***🔗
bob_unsubscribe_2502@localhost/res1 out
<iq to='bob_unsubscribe_2502@localhost' id='pushf52766e9f3b01107' type='result'/>



*** User 2024-04-26 12:49:16.983 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<iq from='bob_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' id='8392bbed7d286eb15a2e340ae8faaea9' type='result'/>



*** User 2024-04-26 12:49:16.983 ***🔗
bob_unsubscribe_2502@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2502@localhost'/>



*** User 2024-04-26 12:49:16.989 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='alice_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' id='pushf7a4b6031e65c4a3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2502@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.989 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<presence from='bob_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' type='subscribed'/>



*** User 2024-04-26 12:49:16.990 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<presence from='bob_unsubscribe_2502@localhost/res1' to='alice_unsubscribe_2502@localhost/res1'/>



*** User 2024-04-26 12:49:16.990 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<iq from='bob_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' id='push3a3b70ee97f0000a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2502@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.990 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2502@localhost'/>



*** User 2024-04-26 12:49:16.998 ***🔗
alice_unsubscribe_2502@localhost/res1 in
<iq from='alice_unsubscribe_2502@localhost' to='alice_unsubscribe_2502@localhost/res1' id='pushd29ac19cbf1cdb32' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2502@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.998 ***🔗
alice_unsubscribe_2502@localhost/res1 out
<iq to='alice_unsubscribe_2502@localhost' id='pushd29ac19cbf1cdb32' type='result'/>



*** User 2024-04-26 12:49:16.998 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<iq from='bob_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' id='pushd097c6d918e87d87' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2502@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:16.998 ***🔗
bob_unsubscribe_2502@localhost/res1 in
<presence from='alice_unsubscribe_2502@localhost' to='bob_unsubscribe_2502@localhost/res1' type='unsubscribe'/>



*** User 2024-04-26 12:49:16.999 ***🔗
bob_unsubscribe_2502@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:49:17.000 ***🔗
bob_unsubscribe_2502@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:49:17.000 ***🔗
alice_unsubscribe_2502@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:49:17.000 ***🔗
alice_unsubscribe_2502@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:49:17.006 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2039.html



=== Ended at 2024-04-26 12:49:17
=== successfully completed test case
=== === Returned value: ok


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