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

=== Config value:

    [{watchdog,<0.58507.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-18_11.04.17/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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-18_11.04.17/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@2ed2b07c4324.2024-04-18_10.56.18"

=== Started at 2024-04-18 11:04:17


*** CT 2024-04-18 11:04:17.938 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2972.html

*** User 2024-04-18 11:04:17.944 ***🔗
alicE_unsubscribe_2306@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-18 11:04:17.944 ***🔗
alicE_unsubscribe_2306@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f9c1555e66fc400' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:04:17.945 ***🔗
alicE_unsubscribe_2306@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-18 11:04:17.945 ***🔗
alicE_unsubscribe_2306@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIzMDYAbWF0eWdyeXNh</auth>



*** User 2024-04-18 11:04:17.945 ***🔗
alicE_unsubscribe_2306@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:04:17.946 ***🔗
alicE_unsubscribe_2306@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-18 11:04:17.946 ***🔗
alicE_unsubscribe_2306@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1de4956ef6832a3' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2306@localhost'>

*** User 2024-04-18 11:04:17.946 ***🔗
alicE_unsubscribe_2306@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-18 11:04:17.946 ***🔗
alicE_unsubscribe_2306@localhost/res1 out
<iq type='set' id='5257139fa15dff72314ab30498017dab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:04:17.946 ***🔗
alicE_unsubscribe_2306@localhost/res1 in
<iq id='5257139fa15dff72314ab30498017dab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2306@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:04:17.946 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<iq type='set' id='b387b92ee6e38562108cb7a154b5d318'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:04:17.947 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2306@localhost/res1' id='b387b92ee6e38562108cb7a154b5d318' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:04:17.947 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<presence/>



*** User 2024-04-18 11:04:17.948 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<presence from='alice_unsubscribe_2306@localhost/res1' to='alice_unsubscribe_2306@localhost/res1'/>



*** User 2024-04-18 11:04:17.948 ***🔗
bOb_unsubscribe_2306@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-18 11:04:17.949 ***🔗
bOb_unsubscribe_2306@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5fa073e4a483a08' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:04:17.949 ***🔗
bOb_unsubscribe_2306@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-18 11:04:17.949 ***🔗
bOb_unsubscribe_2306@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMzA2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@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-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ba6c3004eb6e2d4' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2306@localhost'>

*** User 2024-04-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@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-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@localhost/res1 out
<iq type='set' id='34bef6557ef58c327f87d524d9fe63ee'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:04:17.950 ***🔗
bOb_unsubscribe_2306@localhost/res1 in
<iq id='34bef6557ef58c327f87d524d9fe63ee' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2306@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:04:17.950 ***🔗
bob_unsubscribe_2306@localhost/res1 out
<iq type='set' id='6b51a70cd65eab4d50a782058478eacb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:04:17.951 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2306@localhost/res1' id='6b51a70cd65eab4d50a782058478eacb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:04:17.951 ***🔗
bob_unsubscribe_2306@localhost/res1 out
<presence/>



*** User 2024-04-18 11:04:17.952 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<presence from='bob_unsubscribe_2306@localhost/res1' to='bob_unsubscribe_2306@localhost/res1'/>



*** User 2024-04-18 11:04:17.952 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<iq type='set' id='217904898e011abc92786d49377eb6e8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2306@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.954 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='alice_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' id='push07518cd70abb4431' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2306@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.954 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<iq to='alice_unsubscribe_2306@localhost' id='push07518cd70abb4431' type='result'/>



*** User 2024-04-18 11:04:17.954 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='alice_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' id='217904898e011abc92786d49377eb6e8' type='result'/>



*** User 2024-04-18 11:04:17.954 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2306@localhost'/>



*** User 2024-04-18 11:04:17.957 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='alice_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' id='push7afd92658b92c723' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2306@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.957 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<iq to='alice_unsubscribe_2306@localhost' id='push7afd92658b92c723' type='result'/>



*** User 2024-04-18 11:04:17.957 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<presence from='alice_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' type='subscribe'/>



*** User 2024-04-18 11:04:17.957 ***🔗
bob_unsubscribe_2306@localhost/res1 out
<iq type='set' id='ae4fcb7f2c57c2a5a8e3d4f788e9feb8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2306@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.959 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<iq from='bob_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' id='push759f1917d7b12ca1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2306@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.959 ***🔗
bob_unsubscribe_2306@localhost/res1 out
<iq to='bob_unsubscribe_2306@localhost' id='push759f1917d7b12ca1' type='result'/>



*** User 2024-04-18 11:04:17.959 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<iq from='bob_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' id='ae4fcb7f2c57c2a5a8e3d4f788e9feb8' type='result'/>



*** User 2024-04-18 11:04:17.959 ***🔗
bob_unsubscribe_2306@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2306@localhost'/>



*** User 2024-04-18 11:04:17.962 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='alice_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' id='push3a8854276162b1fa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2306@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.962 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<presence from='bob_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' type='subscribed'/>



*** User 2024-04-18 11:04:17.962 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<presence from='bob_unsubscribe_2306@localhost/res1' to='alice_unsubscribe_2306@localhost/res1'/>



*** User 2024-04-18 11:04:17.962 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<iq from='bob_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' id='pushd19a0552eeb82bee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2306@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.962 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2306@localhost'/>



*** User 2024-04-18 11:04:17.966 ***🔗
alice_unsubscribe_2306@localhost/res1 in
<iq from='alice_unsubscribe_2306@localhost' to='alice_unsubscribe_2306@localhost/res1' id='push5f45dcf949c600b7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2306@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.966 ***🔗
alice_unsubscribe_2306@localhost/res1 out
<iq to='alice_unsubscribe_2306@localhost' id='push5f45dcf949c600b7' type='result'/>



*** User 2024-04-18 11:04:17.966 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<iq from='bob_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' id='push8b258a05e798da55' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2306@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-18 11:04:17.966 ***🔗
bob_unsubscribe_2306@localhost/res1 in
<presence from='alice_unsubscribe_2306@localhost' to='bob_unsubscribe_2306@localhost/res1' type='unsubscribe'/>



*** User 2024-04-18 11:04:17.968 ***🔗
bob_unsubscribe_2306@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:04:17.968 ***🔗
bob_unsubscribe_2306@localhost/res1 in
</stream:stream>

*** User 2024-04-18 11:04:17.968 ***🔗
alice_unsubscribe_2306@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:04:17.968 ***🔗
alice_unsubscribe_2306@localhost/res1 in
</stream:stream>
*** CT 2024-04-18 11:04:17.973 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2972.html



=== Ended at 2024-04-18 11:04:17
=== successfully completed test case
=== === Returned value: ok


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