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

=== Config value:

    [{watchdog,<0.60637.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,"odbc_mssql_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@1eb197021f67.2024-03-06_12.05.53/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-06_12.17.12/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@1eb197021f67.2024-03-06_12.05.53/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-06_12.17.12/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1eb197021f67.2024-03-06_12.05.53"

=== Started at 2024-03-06 12:17:13


*** CT 2024-03-06 12:17:13.022 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2331.html

*** User 2024-03-06 12:17:13.032 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-06 12:17:13.032 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7861968c0e2415c8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-06 12:17:13.033 ***🔗
alicE_unsubscribe_2611@domain.example.com/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-06 12:17:13.033 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2MTEAbWF0eWdyeXNh</auth>



*** User 2024-03-06 12:17:13.034 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 12:17:13.034 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-06 12:17:13.035 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1258c6a2645366af' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2611@domain.example.com'>

*** User 2024-03-06 12:17:13.035 ***🔗
alicE_unsubscribe_2611@domain.example.com/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-06 12:17:13.035 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='3b77279a6bfcb0d734904bd0d41c883a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 12:17:13.035 ***🔗
alicE_unsubscribe_2611@domain.example.com/res1 in
<iq id='3b77279a6bfcb0d734904bd0d41c883a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2611@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 12:17:13.035 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='3eb256a1877218e1c5418c1576ba5531'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 12:17:13.036 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='3eb256a1877218e1c5418c1576ba5531' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 12:17:13.036 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<presence/>



*** User 2024-03-06 12:17:13.038 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<presence from='alice_unsubscribe_2611@domain.example.com/res1' to='alice_unsubscribe_2611@domain.example.com/res1'/>



*** User 2024-03-06 12:17:13.038 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-06 12:17:13.039 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52051e191141d616' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-06 12:17:13.039 ***🔗
bOb_unsubscribe_2611@domain.example.com/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-06 12:17:13.039 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjExAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-06 12:17:13.040 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 12:17:13.040 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-06 12:17:13.041 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f6f5f49b97ec485' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2611@domain.example.com'>

*** User 2024-03-06 12:17:13.041 ***🔗
bOb_unsubscribe_2611@domain.example.com/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-06 12:17:13.041 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='3e338bd02de2b2199b521231cee4346c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 12:17:13.041 ***🔗
bOb_unsubscribe_2611@domain.example.com/res1 in
<iq id='3e338bd02de2b2199b521231cee4346c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2611@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 12:17:13.041 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='8276d036d49eabb7f1aa58db2ce9f0f9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 12:17:13.042 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' id='8276d036d49eabb7f1aa58db2ce9f0f9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 12:17:13.042 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
<presence/>



*** User 2024-03-06 12:17:13.043 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<presence from='bob_unsubscribe_2611@domain.example.com/res1' to='bob_unsubscribe_2611@domain.example.com/res1'/>



*** User 2024-03-06 12:17:13.043 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='a58d526138681acf123191905e7e43f3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2611@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.047 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='alice_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='pusha74b0f3226a17f68' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2611@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.047 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<iq to='alice_unsubscribe_2611@domain.example.com' id='pusha74b0f3226a17f68' type='result'/>



*** User 2024-03-06 12:17:13.048 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='alice_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='a58d526138681acf123191905e7e43f3' type='result'/>



*** User 2024-03-06 12:17:13.048 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2611@domain.example.com'/>



*** User 2024-03-06 12:17:13.056 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='alice_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='push9715ef89893bd164' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2611@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.056 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<iq to='alice_unsubscribe_2611@domain.example.com' id='push9715ef89893bd164' type='result'/>



*** User 2024-03-06 12:17:13.056 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<presence from='alice_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-06 12:17:13.056 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
<iq type='set' id='d4e71380b299123de9314bf3b410f4fb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2611@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.063 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<iq from='bob_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' id='pushbf09f7b3af7f3d76' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2611@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.063 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
<iq to='bob_unsubscribe_2611@domain.example.com' id='pushbf09f7b3af7f3d76' type='result'/>



*** User 2024-03-06 12:17:13.063 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<iq from='bob_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' id='d4e71380b299123de9314bf3b410f4fb' type='result'/>



*** User 2024-03-06 12:17:13.063 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2611@domain.example.com'/>



*** User 2024-03-06 12:17:13.069 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='alice_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='push8d4eda774e61058b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2611@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.070 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<presence from='bob_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-06 12:17:13.070 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<presence from='bob_unsubscribe_2611@domain.example.com/res1' to='alice_unsubscribe_2611@domain.example.com/res1'/>



*** User 2024-03-06 12:17:13.070 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<iq from='bob_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' id='pushd5d2e678753121bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2611@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.070 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2611@domain.example.com'/>



*** User 2024-03-06 12:17:13.078 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
<iq from='alice_unsubscribe_2611@domain.example.com' to='alice_unsubscribe_2611@domain.example.com/res1' id='pushffc3b0219c2853e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2611@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.078 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
<iq to='alice_unsubscribe_2611@domain.example.com' id='pushffc3b0219c2853e6' type='result'/>



*** User 2024-03-06 12:17:13.079 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<iq from='bob_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' id='pushba0d4d259e9c2940' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2611@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 12:17:13.079 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
<presence from='alice_unsubscribe_2611@domain.example.com' to='bob_unsubscribe_2611@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-03-06 12:17:13.080 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-06 12:17:13.080 ***🔗
bob_unsubscribe_2611@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-06 12:17:13.080 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-06 12:17:13.080 ***🔗
alice_unsubscribe_2611@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-06 12:17:13.088 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2331.html



=== Ended at 2024-03-06 12:17:13
=== successfully completed test case
=== === Returned value: ok


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