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

=== Config value:

    [{watchdog,<0.24292.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-29_13.57.05/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@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-29_13.57.05/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@e940550c5ac4.2022-04-29_13.53.57"

=== Started at 2022-04-29 13:57:05


*** CT 2022-04-29 13:57:05.559 *** View log from node mongooseim@localhost when started mongooseim@localhost_1739.html
*** CT 2022-04-29 13:57:05.560 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_490.html

*** User 2022-04-29 13:57:05.565 ***
alicE_unsubscribe_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-29 13:57:05.565 ***
alicE_unsubscribe_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='443687203c6180b9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzc3NABtYXR5Z3J5c2E=</auth>



*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4784a407ca654d7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.566 ***
alicE_unsubscribe_774@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-29 13:57:05.567 ***
alicE_unsubscribe_774@localhost/res1 out
<iq type='set' id='8400b7482c6c07297ce10e762116734e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.567 ***
alicE_unsubscribe_774@localhost/res1 in
<iq id='8400b7482c6c07297ce10e762116734e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.567 ***
alicE_unsubscribe_774@localhost/res1 out
<iq type='set' id='d2678402b0acff4fcfaf9841837c2c28'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.567 ***
alicE_unsubscribe_774@localhost/res1 in
<iq type='result' id='d2678402b0acff4fcfaf9841837c2c28'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.567 ***
alicE_unsubscribe_774@localhost/res1 out
<presence/>



*** User 2022-04-29 13:57:05.568 ***
alicE_unsubscribe_774@localhost/res1 in
<presence from='alicE_unsubscribe_774@localhost/res1' to='alice_unsubscribe_774@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.569 ***
bOb_unsubscribe_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-29 13:57:05.569 ***
bOb_unsubscribe_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c6f18f12690df1e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.569 ***
bOb_unsubscribe_774@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-29 13:57:05.569 ***
bOb_unsubscribe_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV83NzQAbWFrcm9saWth</auth>



*** User 2022-04-29 13:57:05.570 ***
bOb_unsubscribe_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 13:57:05.570 ***
bOb_unsubscribe_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-29 13:57:05.570 ***
bOb_unsubscribe_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7d0e9a25071dd1e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.570 ***
bOb_unsubscribe_774@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-29 13:57:05.570 ***
bOb_unsubscribe_774@localhost/res1 out
<iq type='set' id='65e3fe0ab835ec9475337769585b3767'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.571 ***
bOb_unsubscribe_774@localhost/res1 in
<iq id='65e3fe0ab835ec9475337769585b3767' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.571 ***
bOb_unsubscribe_774@localhost/res1 out
<iq type='set' id='d9aefb834343c2ccd9561c6a675e2832'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.571 ***
bOb_unsubscribe_774@localhost/res1 in
<iq type='result' id='d9aefb834343c2ccd9561c6a675e2832'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.571 ***
bOb_unsubscribe_774@localhost/res1 out
<presence/>



*** User 2022-04-29 13:57:05.572 ***
bOb_unsubscribe_774@localhost/res1 in
<presence from='bOb_unsubscribe_774@localhost/res1' to='bob_unsubscribe_774@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.572 ***
alicE_unsubscribe_774@localhost/res1 out
<iq type='set' id='7444811d966fa9045aa1656ce7741acb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_774@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.573 ***
alicE_unsubscribe_774@localhost/res1 in
<iq from='alicE_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' id='pusha96c0833b3fa77eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_774@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.573 ***
alicE_unsubscribe_774@localhost/res1 out
<iq to='alicE_unsubscribe_774@localhost' id='pusha96c0833b3fa77eb' type='result'/>



*** User 2022-04-29 13:57:05.573 ***
alicE_unsubscribe_774@localhost/res1 in
<iq from='alicE_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' id='7444811d966fa9045aa1656ce7741acb' type='result'/>



*** User 2022-04-29 13:57:05.573 ***
alicE_unsubscribe_774@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_774@localhost'/>



*** User 2022-04-29 13:57:05.574 ***
alicE_unsubscribe_774@localhost/res1 in
<iq from='alicE_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' id='push3cf1cd3389b734f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_774@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.574 ***
alicE_unsubscribe_774@localhost/res1 out
<iq to='alicE_unsubscribe_774@localhost' id='push3cf1cd3389b734f3' type='result'/>



*** User 2022-04-29 13:57:05.574 ***
bOb_unsubscribe_774@localhost/res1 in
<presence from='alicE_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-29 13:57:05.574 ***
bOb_unsubscribe_774@localhost/res1 out
<iq type='set' id='a004603372953339c8b401b2cc628df8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_774@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.575 ***
bOb_unsubscribe_774@localhost/res1 in
<iq from='bOb_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' id='push835ffa1f291f9cd3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_774@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.575 ***
bOb_unsubscribe_774@localhost/res1 out
<iq to='bOb_unsubscribe_774@localhost' id='push835ffa1f291f9cd3' type='result'/>



*** User 2022-04-29 13:57:05.575 ***
bOb_unsubscribe_774@localhost/res1 in
<iq from='bOb_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' id='a004603372953339c8b401b2cc628df8' type='result'/>



*** User 2022-04-29 13:57:05.575 ***
bOb_unsubscribe_774@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_774@localhost'/>



*** User 2022-04-29 13:57:05.576 ***
alicE_unsubscribe_774@localhost/res1 in
<iq from='alicE_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' id='pushac8f06a6d9560dbd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_774@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.576 ***
alicE_unsubscribe_774@localhost/res1 in
<presence from='bOb_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-29 13:57:05.577 ***
alicE_unsubscribe_774@localhost/res1 in
<presence from='bOb_unsubscribe_774@localhost/res1' to='alice_unsubscribe_774@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.577 ***
bOb_unsubscribe_774@localhost/res1 in
<iq from='bOb_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' id='push9a8252c3bb6423c1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_774@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.577 ***
alicE_unsubscribe_774@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_774@localhost'/>



*** User 2022-04-29 13:57:05.578 ***
alicE_unsubscribe_774@localhost/res1 in
<iq from='alicE_unsubscribe_774@localhost' to='alicE_unsubscribe_774@localhost/res1' id='push1d6b1be7c0e0be90' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_774@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.578 ***
alicE_unsubscribe_774@localhost/res1 out
<iq to='alicE_unsubscribe_774@localhost' id='push1d6b1be7c0e0be90' type='result'/>



*** User 2022-04-29 13:57:05.578 ***
bOb_unsubscribe_774@localhost/res1 in
<iq from='bOb_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' id='pushaa04a2cf3bd83d07' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_774@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.578 ***
bOb_unsubscribe_774@localhost/res1 in
<presence from='alicE_unsubscribe_774@localhost' to='bOb_unsubscribe_774@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-04-29 13:57:05.579 ***
bOb_unsubscribe_774@localhost/res1 out
</stream:stream>

*** User 2022-04-29 13:57:05.580 ***
bOb_unsubscribe_774@localhost/res1 in
</stream:stream>

*** User 2022-04-29 13:57:05.580 ***
alicE_unsubscribe_774@localhost/res1 out
</stream:stream>

*** User 2022-04-29 13:57:05.580 ***
alicE_unsubscribe_774@localhost/res1 in
</stream:stream>
*** CT 2022-04-29 13:57:05.582 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_490.html
*** CT 2022-04-29 13:57:05.583 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1739.html



=== Ended at 2022-04-29 13:57:05
=== successfully completed test case
=== === Returned value: ok


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