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

=== Config value:

    [{watchdog,<0.28553.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,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.44.43/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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.44.43/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:44:43


*** CT 2022-05-25 10:44:43.889 *** View log from node mongooseim@localhost when started mongooseim@localhost_1583.html
*** CT 2022-05-25 10:44:43.890 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_484.html

*** User 2022-05-25 10:44:43.899 ***
alicE_unsubscribe_911@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-05-25 10:44:43.899 ***
alicE_unsubscribe_911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41d06a48ab72d7a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:43.900 ***
alicE_unsubscribe_911@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-05-25 10:44:43.900 ***
alicE_unsubscribe_911@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzkxMQBtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:44:43.901 ***
alicE_unsubscribe_911@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:44:43.901 ***
alicE_unsubscribe_911@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-05-25 10:44:43.902 ***
alicE_unsubscribe_911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1191d34f23033f6e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:43.902 ***
alicE_unsubscribe_911@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-05-25 10:44:43.902 ***
alicE_unsubscribe_911@localhost/res1 out
<iq type='set' id='e9eb3e1b6949d4ab5643cf838d6f4c81'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:44:43.902 ***
alicE_unsubscribe_911@localhost/res1 in
<iq id='e9eb3e1b6949d4ab5643cf838d6f4c81' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_911@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:44:43.903 ***
alice_unsubscribe_911@localhost/res1 out
<iq type='set' id='f00ea300c47cbd54ac5564ae50306a11'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:43.903 ***
alice_unsubscribe_911@localhost/res1 in
<iq type='result' id='f00ea300c47cbd54ac5564ae50306a11'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:43.903 ***
alice_unsubscribe_911@localhost/res1 out
<presence/>



*** User 2022-05-25 10:44:43.905 ***
alice_unsubscribe_911@localhost/res1 in
<presence from='alice_unsubscribe_911@localhost/res1' to='alice_unsubscribe_911@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:43.906 ***
bOb_unsubscribe_911@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-05-25 10:44:43.906 ***
bOb_unsubscribe_911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f0aa9e6cf4bd8500' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:43.906 ***
bOb_unsubscribe_911@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-05-25 10:44:43.906 ***
bOb_unsubscribe_911@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV85MTEAbWFrcm9saWth</auth>



*** User 2022-05-25 10:44:43.908 ***
bOb_unsubscribe_911@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:44:43.908 ***
bOb_unsubscribe_911@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-05-25 10:44:43.908 ***
bOb_unsubscribe_911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05f338dba786782d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:43.908 ***
bOb_unsubscribe_911@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-05-25 10:44:43.908 ***
bOb_unsubscribe_911@localhost/res1 out
<iq type='set' id='a9bcbf9e00708854138bb4e4ab796003'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:44:43.908 ***
bOb_unsubscribe_911@localhost/res1 in
<iq id='a9bcbf9e00708854138bb4e4ab796003' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_911@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:44:43.909 ***
bob_unsubscribe_911@localhost/res1 out
<iq type='set' id='d25a991180b417a6b95fcfad9d028fba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:43.909 ***
bob_unsubscribe_911@localhost/res1 in
<iq type='result' id='d25a991180b417a6b95fcfad9d028fba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:43.909 ***
bob_unsubscribe_911@localhost/res1 out
<presence/>



*** User 2022-05-25 10:44:43.910 ***
bob_unsubscribe_911@localhost/res1 in
<presence from='bob_unsubscribe_911@localhost/res1' to='bob_unsubscribe_911@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:43.910 ***
alice_unsubscribe_911@localhost/res1 out
<iq type='set' id='2a1fbab67f8d7ac7e3ca4c93607e4825'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_911@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.913 ***
alice_unsubscribe_911@localhost/res1 in
<iq from='alice_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' id='push803410b7f6ed3315' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.913 ***
alice_unsubscribe_911@localhost/res1 out
<iq to='alice_unsubscribe_911@localhost' id='push803410b7f6ed3315' type='result'/>



*** User 2022-05-25 10:44:43.913 ***
alice_unsubscribe_911@localhost/res1 in
<iq from='alice_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' id='2a1fbab67f8d7ac7e3ca4c93607e4825' type='result'/>



*** User 2022-05-25 10:44:43.913 ***
alice_unsubscribe_911@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_911@localhost'/>



*** User 2022-05-25 10:44:43.919 ***
alice_unsubscribe_911@localhost/res1 in
<iq from='alice_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' id='push3d8a37b5d201064f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.919 ***
alice_unsubscribe_911@localhost/res1 out
<iq to='alice_unsubscribe_911@localhost' id='push3d8a37b5d201064f' type='result'/>



*** User 2022-05-25 10:44:43.919 ***
bob_unsubscribe_911@localhost/res1 in
<presence from='alice_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:44:43.920 ***
bob_unsubscribe_911@localhost/res1 out
<iq type='set' id='b0f9b6ddcc243bd4d7d1a8419933b744'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_911@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.922 ***
bob_unsubscribe_911@localhost/res1 in
<iq from='bob_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' id='push0603bfc164562edf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_911@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.922 ***
bob_unsubscribe_911@localhost/res1 out
<iq to='bob_unsubscribe_911@localhost' id='push0603bfc164562edf' type='result'/>



*** User 2022-05-25 10:44:43.922 ***
bob_unsubscribe_911@localhost/res1 in
<iq from='bob_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' id='b0f9b6ddcc243bd4d7d1a8419933b744' type='result'/>



*** User 2022-05-25 10:44:43.923 ***
bob_unsubscribe_911@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_911@localhost'/>



*** User 2022-05-25 10:44:43.928 ***
alice_unsubscribe_911@localhost/res1 in
<iq from='alice_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' id='push4b4d55aac7ab334a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.928 ***
alice_unsubscribe_911@localhost/res1 in
<presence from='bob_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:44:43.928 ***
alice_unsubscribe_911@localhost/res1 in
<presence from='bob_unsubscribe_911@localhost/res1' to='alice_unsubscribe_911@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:43.928 ***
bob_unsubscribe_911@localhost/res1 in
<iq from='bob_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' id='push4160aaf1a08ec707' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_911@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.928 ***
alice_unsubscribe_911@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_911@localhost'/>



*** User 2022-05-25 10:44:43.976 ***
alice_unsubscribe_911@localhost/res1 in
<iq from='alice_unsubscribe_911@localhost' to='alice_unsubscribe_911@localhost/res1' id='push80d4b09e304bc7d9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.976 ***
alice_unsubscribe_911@localhost/res1 out
<iq to='alice_unsubscribe_911@localhost' id='push80d4b09e304bc7d9' type='result'/>



*** User 2022-05-25 10:44:43.976 ***
bob_unsubscribe_911@localhost/res1 in
<iq from='bob_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' id='pushd5f4229ee59e9fba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_911@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:43.976 ***
bob_unsubscribe_911@localhost/res1 in
<presence from='alice_unsubscribe_911@localhost' to='bob_unsubscribe_911@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-05-25 10:44:43.978 ***
bob_unsubscribe_911@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:44:43.978 ***
bob_unsubscribe_911@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:44:43.978 ***
alice_unsubscribe_911@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:44:43.978 ***
alice_unsubscribe_911@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:44:43.984 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_484.html
*** CT 2022-05-25 10:44:43.985 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1583.html



=== Ended at 2022-05-25 10:44:44
=== successfully completed test case
=== === Returned value: ok


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