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

=== Config value:

    [{watchdog,<0.20631.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@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-07_08.32.54/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@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-07_08.32.54/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@a1e626d02594.2022-03-07_08.29.41"

=== Started at 2022-03-07 08:32:54


*** CT 2022-03-07 08:32:54.659 *** View log from node mongooseim@localhost when started mongooseim@localhost_863.html
*** CT 2022-03-07 08:32:54.660 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_482.html

*** User 2022-03-07 08:32:54.666 ***
alicE_unsubscribe_706@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-03-07 08:32:54.667 ***
alicE_unsubscribe_706@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='527285d2d1e71350' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:54.667 ***
alicE_unsubscribe_706@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-03-07 08:32:54.667 ***
alicE_unsubscribe_706@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzcwNgBtYXR5Z3J5c2E=</auth>



*** User 2022-03-07 08:32:54.667 ***
alicE_unsubscribe_706@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 08:32:54.667 ***
alicE_unsubscribe_706@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-03-07 08:32:54.668 ***
alicE_unsubscribe_706@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cabfc4a909ef83c2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:54.668 ***
alicE_unsubscribe_706@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-03-07 08:32:54.668 ***
alicE_unsubscribe_706@localhost/res1 out
<iq type='set' id='429caa7fa0a5b0e37e68eb29f6134087'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 08:32:54.668 ***
alicE_unsubscribe_706@localhost/res1 in
<iq id='429caa7fa0a5b0e37e68eb29f6134087' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_706@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 08:32:54.668 ***
alicE_unsubscribe_706@localhost/res1 out
<iq type='set' id='b5c54fa08b171722e3e008b0cf6ee086'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:54.669 ***
alicE_unsubscribe_706@localhost/res1 in
<iq type='result' id='b5c54fa08b171722e3e008b0cf6ee086'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:54.669 ***
alicE_unsubscribe_706@localhost/res1 out
<presence/>



*** User 2022-03-07 08:32:54.669 ***
alicE_unsubscribe_706@localhost/res1 in
<presence from='alicE_unsubscribe_706@localhost/res1' to='alice_unsubscribe_706@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 08:32:54.670 ***
bOb_unsubscribe_706@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-03-07 08:32:54.670 ***
bOb_unsubscribe_706@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92ec3dabc21db679' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:54.671 ***
bOb_unsubscribe_706@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-03-07 08:32:54.671 ***
bOb_unsubscribe_706@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV83MDYAbWFrcm9saWth</auth>



*** User 2022-03-07 08:32:54.671 ***
bOb_unsubscribe_706@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 08:32:54.671 ***
bOb_unsubscribe_706@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-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bae85c8bde3ffdab' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:54.672 ***
bOb_unsubscribe_706@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-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 out
<iq type='set' id='0c47b8a57ad73d4ee3af15946d185787'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 in
<iq id='0c47b8a57ad73d4ee3af15946d185787' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_706@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 out
<iq type='set' id='3c65d8fa5345a01e9dd73e755a17c363'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 in
<iq type='result' id='3c65d8fa5345a01e9dd73e755a17c363'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:54.672 ***
bOb_unsubscribe_706@localhost/res1 out
<presence/>



*** User 2022-03-07 08:32:54.673 ***
bOb_unsubscribe_706@localhost/res1 in
<presence from='bOb_unsubscribe_706@localhost/res1' to='bob_unsubscribe_706@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 08:32:54.673 ***
alicE_unsubscribe_706@localhost/res1 out
<iq type='set' id='6832ceb87ee84a1d1b632897d95106c2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_706@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.674 ***
alicE_unsubscribe_706@localhost/res1 in
<iq from='alicE_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' id='push3edde0dae4afb24b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_706@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.674 ***
alicE_unsubscribe_706@localhost/res1 out
<iq to='alicE_unsubscribe_706@localhost' id='push3edde0dae4afb24b' type='result'/>



*** User 2022-03-07 08:32:54.674 ***
alicE_unsubscribe_706@localhost/res1 in
<iq from='alicE_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' id='6832ceb87ee84a1d1b632897d95106c2' type='result'/>



*** User 2022-03-07 08:32:54.674 ***
alicE_unsubscribe_706@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_706@localhost'/>



*** User 2022-03-07 08:32:54.676 ***
alicE_unsubscribe_706@localhost/res1 in
<iq from='alicE_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' id='push67b1ca2c1b8ceb85' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_706@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.676 ***
alicE_unsubscribe_706@localhost/res1 out
<iq to='alicE_unsubscribe_706@localhost' id='push67b1ca2c1b8ceb85' type='result'/>



*** User 2022-03-07 08:32:54.676 ***
bOb_unsubscribe_706@localhost/res1 in
<presence from='alicE_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-07 08:32:54.676 ***
bOb_unsubscribe_706@localhost/res1 out
<iq type='set' id='e43ffcede5d83859de74f95e0c3f5d14'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_706@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.676 ***
bOb_unsubscribe_706@localhost/res1 in
<iq from='bOb_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' id='push31b583a3c05b3386' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_706@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.676 ***
bOb_unsubscribe_706@localhost/res1 out
<iq to='bOb_unsubscribe_706@localhost' id='push31b583a3c05b3386' type='result'/>



*** User 2022-03-07 08:32:54.677 ***
bOb_unsubscribe_706@localhost/res1 in
<iq from='bOb_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' id='e43ffcede5d83859de74f95e0c3f5d14' type='result'/>



*** User 2022-03-07 08:32:54.677 ***
bOb_unsubscribe_706@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_706@localhost'/>



*** User 2022-03-07 08:32:54.678 ***
alicE_unsubscribe_706@localhost/res1 in
<iq from='alicE_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' id='pushcc8bc069f134337a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_706@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.678 ***
alicE_unsubscribe_706@localhost/res1 in
<presence from='bOb_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-07 08:32:54.678 ***
alicE_unsubscribe_706@localhost/res1 in
<presence from='bOb_unsubscribe_706@localhost/res1' to='alice_unsubscribe_706@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 08:32:54.678 ***
bOb_unsubscribe_706@localhost/res1 in
<iq from='bOb_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' id='pushe3859a97c995a978' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_706@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.678 ***
alicE_unsubscribe_706@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_706@localhost'/>



*** User 2022-03-07 08:32:54.679 ***
alicE_unsubscribe_706@localhost/res1 in
<iq from='alicE_unsubscribe_706@localhost' to='alicE_unsubscribe_706@localhost/res1' id='pushf54ceb190d253385' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_706@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.679 ***
alicE_unsubscribe_706@localhost/res1 out
<iq to='alicE_unsubscribe_706@localhost' id='pushf54ceb190d253385' type='result'/>



*** User 2022-03-07 08:32:54.679 ***
bOb_unsubscribe_706@localhost/res1 in
<iq from='bOb_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' id='push65314c1011e5c903' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_706@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 08:32:54.680 ***
bOb_unsubscribe_706@localhost/res1 in
<presence from='alicE_unsubscribe_706@localhost' to='bOb_unsubscribe_706@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-03-07 08:32:54.681 ***
bOb_unsubscribe_706@localhost/res1 out
</stream:stream>

*** User 2022-03-07 08:32:54.682 ***
bOb_unsubscribe_706@localhost/res1 in
</stream:stream>

*** User 2022-03-07 08:32:54.682 ***
alicE_unsubscribe_706@localhost/res1 out
</stream:stream>

*** User 2022-03-07 08:32:54.682 ***
alicE_unsubscribe_706@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 08:32:54.685 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_482.html
*** CT 2022-03-07 08:32:54.685 *** View log from node mongooseim@localhost when finished mongooseim@localhost_863.html



=== Ended at 2022-03-07 08:32:54
=== successfully completed test case
=== === Returned value: ok


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