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

=== Config value:

    [{watchdog,<0.31150.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@7e18e8030105.2024-04-24_13.07.28/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.18.20/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@7e18e8030105.2024-04-24_13.07.28/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.18.20/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@7e18e8030105.2024-04-24_13.07.28"

=== Started at 2024-04-24 13:18:20


*** CT 2024-04-24 13:18:20.716 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2320.html

*** User 2024-04-24 13:18:20.724 ***🔗
alicE_unsubscribe_2683@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:18:20.724 ***🔗
alicE_unsubscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='642f1498cf037646' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-24 13:18:20.725 ***🔗
alicE_unsubscribe_2683@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:18:20.726 ***🔗
alicE_unsubscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59bd9d0ee70fafa5' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2683@localhost'>

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



*** User 2024-04-24 13:18:20.726 ***🔗
alicE_unsubscribe_2683@localhost/res1 in
<iq id='b98183ac79513e013d312279ef2af2c7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2683@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.726 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<iq type='set' id='6b468e57d52f774cfc137f5e60f2459d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.727 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2683@localhost/res1' id='6b468e57d52f774cfc137f5e60f2459d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.727 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<presence/>



*** User 2024-04-24 13:18:20.728 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<presence from='alice_unsubscribe_2683@localhost/res1' to='alice_unsubscribe_2683@localhost/res1'/>



*** User 2024-04-24 13:18:20.729 ***🔗
bOb_unsubscribe_2683@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:18:20.729 ***🔗
bOb_unsubscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c831898523a4e01' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-24 13:18:20.731 ***🔗
bOb_unsubscribe_2683@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:18:20.731 ***🔗
bOb_unsubscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a5859b62da8f75e' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2683@localhost'>

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



*** User 2024-04-24 13:18:20.732 ***🔗
bOb_unsubscribe_2683@localhost/res1 in
<iq id='cfa229da2178c7acfaa7a3c572e2e70c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2683@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.732 ***🔗
bob_unsubscribe_2683@localhost/res1 out
<iq type='set' id='473f055945b1627cadcf6cbfa70c79b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.733 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2683@localhost/res1' id='473f055945b1627cadcf6cbfa70c79b8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.733 ***🔗
bob_unsubscribe_2683@localhost/res1 out
<presence/>



*** User 2024-04-24 13:18:20.734 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<presence from='bob_unsubscribe_2683@localhost/res1' to='bob_unsubscribe_2683@localhost/res1'/>



*** User 2024-04-24 13:18:20.734 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<iq type='set' id='d848bb1896877de325382e5af7bf1933'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2683@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.737 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='alice_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' id='pushb5280ae025340bde' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2683@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.737 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<iq to='alice_unsubscribe_2683@localhost' id='pushb5280ae025340bde' type='result'/>



*** User 2024-04-24 13:18:20.737 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='alice_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' id='d848bb1896877de325382e5af7bf1933' type='result'/>



*** User 2024-04-24 13:18:20.737 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2683@localhost'/>



*** User 2024-04-24 13:18:20.740 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='alice_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' id='pushf5f44f6e68822f0e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2683@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.740 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<iq to='alice_unsubscribe_2683@localhost' id='pushf5f44f6e68822f0e' type='result'/>



*** User 2024-04-24 13:18:20.740 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<presence from='alice_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' type='subscribe'/>



*** User 2024-04-24 13:18:20.740 ***🔗
bob_unsubscribe_2683@localhost/res1 out
<iq type='set' id='9ba4d83abd1eff5f6de44e45f52f07d1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2683@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.742 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<iq from='bob_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' id='push16fa7312337d1d39' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2683@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.742 ***🔗
bob_unsubscribe_2683@localhost/res1 out
<iq to='bob_unsubscribe_2683@localhost' id='push16fa7312337d1d39' type='result'/>



*** User 2024-04-24 13:18:20.742 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<iq from='bob_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' id='9ba4d83abd1eff5f6de44e45f52f07d1' type='result'/>



*** User 2024-04-24 13:18:20.742 ***🔗
bob_unsubscribe_2683@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2683@localhost'/>



*** User 2024-04-24 13:18:20.746 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='alice_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' id='pushad55a00b40972abe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2683@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.746 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<presence from='bob_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' type='subscribed'/>



*** User 2024-04-24 13:18:20.746 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<presence from='bob_unsubscribe_2683@localhost/res1' to='alice_unsubscribe_2683@localhost/res1'/>



*** User 2024-04-24 13:18:20.746 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<iq from='bob_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' id='push2c78ef028241eb1f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2683@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.746 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2683@localhost'/>



*** User 2024-04-24 13:18:20.750 ***🔗
alice_unsubscribe_2683@localhost/res1 in
<iq from='alice_unsubscribe_2683@localhost' to='alice_unsubscribe_2683@localhost/res1' id='push944406936122a173' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2683@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.750 ***🔗
alice_unsubscribe_2683@localhost/res1 out
<iq to='alice_unsubscribe_2683@localhost' id='push944406936122a173' type='result'/>



*** User 2024-04-24 13:18:20.750 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<iq from='bob_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' id='push644ddd8e294f407f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2683@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.750 ***🔗
bob_unsubscribe_2683@localhost/res1 in
<presence from='alice_unsubscribe_2683@localhost' to='bob_unsubscribe_2683@localhost/res1' type='unsubscribe'/>



*** User 2024-04-24 13:18:20.751 ***🔗
bob_unsubscribe_2683@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:18:20.752 ***🔗
bob_unsubscribe_2683@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:18:20.752 ***🔗
alice_unsubscribe_2683@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:18:20.752 ***🔗
alice_unsubscribe_2683@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:18:20.758 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2320.html



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


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