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

=== Config value:

    [{watchdog,<0.58089.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_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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-23_14.23.53/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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-23_14.23.53/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@7465fd1d5a64.2023-11-23_14.13.58"

=== Started at 2023-11-23 14:23:53


*** CT 2023-11-23 14:23:53.831 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2362.html

*** User 2023-11-23 14:23:53.838 ***🔗
alicE_unsubscribe_2395@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 2023-11-23 14:23:53.839 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cde407ec69feb956' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:23:53.839 ***🔗
alicE_unsubscribe_2395@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 2023-11-23 14:23:53.839 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIzOTUAbWF0eWdyeXNh</auth>



*** User 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@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 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66160dedfe2666eb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2395@domain.example.com'>

*** User 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@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 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='f2ee1717e189b0fe960a7ae1dfd0bfbe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:23:53.840 ***🔗
alicE_unsubscribe_2395@domain.example.com/res1 in
<iq id='f2ee1717e189b0fe960a7ae1dfd0bfbe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2395@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:23:53.841 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='5097cea74e3295e06aa08b26ee27fa14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:23:53.841 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='5097cea74e3295e06aa08b26ee27fa14' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:23:53.841 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:23:53.842 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<presence from='alice_unsubscribe_2395@domain.example.com/res1' to='alice_unsubscribe_2395@domain.example.com/res1'/>



*** User 2023-11-23 14:23:53.842 ***🔗
bOb_unsubscribe_2395@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 2023-11-23 14:23:53.843 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f7f2db923b57801' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:23:53.843 ***🔗
bOb_unsubscribe_2395@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 2023-11-23 14:23:53.843 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMzk1AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-23 14:23:53.844 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:23:53.844 ***🔗
bOb_unsubscribe_2395@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 2023-11-23 14:23:53.844 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e37e68e8b5e97563' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2395@domain.example.com'>

*** User 2023-11-23 14:23:53.844 ***🔗
bOb_unsubscribe_2395@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 2023-11-23 14:23:53.844 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='02bf9c4125d75f750786dade5cde38e9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:23:53.845 ***🔗
bOb_unsubscribe_2395@domain.example.com/res1 in
<iq id='02bf9c4125d75f750786dade5cde38e9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2395@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:23:53.845 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='701d13808d8008681da7f26da3f46406'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:23:53.845 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' id='701d13808d8008681da7f26da3f46406' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:23:53.845 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:23:53.846 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<presence from='bob_unsubscribe_2395@domain.example.com/res1' to='bob_unsubscribe_2395@domain.example.com/res1'/>



*** User 2023-11-23 14:23:53.846 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='bcc0c915929ad83adda7f03f1528f52d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2395@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.849 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='alice_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='pushbc3e90269aefec29' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2395@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.849 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<iq to='alice_unsubscribe_2395@domain.example.com' id='pushbc3e90269aefec29' type='result'/>



*** User 2023-11-23 14:23:53.849 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='alice_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='bcc0c915929ad83adda7f03f1528f52d' type='result'/>



*** User 2023-11-23 14:23:53.849 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2395@domain.example.com'/>



*** User 2023-11-23 14:23:53.852 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='alice_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='push7dd4df05300e00e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2395@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.852 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<iq to='alice_unsubscribe_2395@domain.example.com' id='push7dd4df05300e00e3' type='result'/>



*** User 2023-11-23 14:23:53.852 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<presence from='alice_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-23 14:23:53.852 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
<iq type='set' id='97cb067ab4a13a426ea9f5ac157ac3fe'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2395@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.854 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<iq from='bob_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' id='pushef8bd43ef672ae4c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2395@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.854 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
<iq to='bob_unsubscribe_2395@domain.example.com' id='pushef8bd43ef672ae4c' type='result'/>



*** User 2023-11-23 14:23:53.854 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<iq from='bob_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' id='97cb067ab4a13a426ea9f5ac157ac3fe' type='result'/>



*** User 2023-11-23 14:23:53.854 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2395@domain.example.com'/>



*** User 2023-11-23 14:23:53.857 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='alice_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='push3c8fd0505d276314' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2395@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.857 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<presence from='bob_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-23 14:23:53.857 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<presence from='bob_unsubscribe_2395@domain.example.com/res1' to='alice_unsubscribe_2395@domain.example.com/res1'/>



*** User 2023-11-23 14:23:53.857 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<iq from='bob_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' id='push1ca2ccca2122d53f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2395@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.857 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2395@domain.example.com'/>



*** User 2023-11-23 14:23:53.861 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
<iq from='alice_unsubscribe_2395@domain.example.com' to='alice_unsubscribe_2395@domain.example.com/res1' id='pusha52ee1cbc4280a0c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2395@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.861 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
<iq to='alice_unsubscribe_2395@domain.example.com' id='pusha52ee1cbc4280a0c' type='result'/>



*** User 2023-11-23 14:23:53.861 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<iq from='bob_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' id='push45299cbc495e7a84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2395@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-23 14:23:53.861 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
<presence from='alice_unsubscribe_2395@domain.example.com' to='bob_unsubscribe_2395@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-23 14:23:53.862 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:23:53.862 ***🔗
bob_unsubscribe_2395@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-23 14:23:53.862 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:23:53.862 ***🔗
alice_unsubscribe_2395@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-23 14:23:53.867 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2362.html



=== Ended at 2023-11-23 14:23:53
=== successfully completed test case
=== === Returned value: ok


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