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

=== Config value:

    [{watchdog,<0.12580.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.113763633>,
                         [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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.43/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:21:44


*** CT 2022-03-04 11:21:44.074 *** View log from node mongooseim@localhost when started mongooseim@localhost_1895.html
*** CT 2022-03-04 11:21:44.075 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:21:44.078 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.079 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce66ed5affa73150' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:44.079 ***
alicE@domain.example.com/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-04 11:21:44.079 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:21:44.080 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:21:44.080 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.080 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09d91dffeda573e4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:44.081 ***
alicE@domain.example.com/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-04 11:21:44.081 ***
alicE@domain.example.com/res1 out
<iq type='set' id='9847a87e73e00f5fd629a99290e911ca'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.081 ***
alicE@domain.example.com/res1 in
<iq id='9847a87e73e00f5fd629a99290e911ca' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.081 ***
alicE@domain.example.com/res1 out
<iq type='set' id='0248923b492d97cc5d788781cf0d7874'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.081 ***
alicE@domain.example.com/res1 in
<iq type='result' id='0248923b492d97cc5d788781cf0d7874'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.081 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:21:44.082 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:44.083 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.083 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71d474588b2c81df' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:44.083 ***
bOb@domain.example.com/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-04 11:21:44.083 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:21:44.085 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:21:44.085 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.085 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8620103487bcf0aa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:44.085 ***
bOb@domain.example.com/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-04 11:21:44.085 ***
bOb@domain.example.com/res1 out
<iq type='set' id='9e2afecbff78703602a9780befab18bb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.086 ***
bOb@domain.example.com/res1 in
<iq id='9e2afecbff78703602a9780befab18bb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.086 ***
bOb@domain.example.com/res1 out
<iq type='set' id='3fb312039611bcb657cf9f92a1dc02ed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.086 ***
bOb@domain.example.com/res1 in
<iq type='result' id='3fb312039611bcb657cf9f92a1dc02ed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.086 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:21:44.087 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:44.087 ***
alicE@domain.example.com/res1 out
<iq type='set' id='94cf147e4a305bca0aa746e89fd76c46'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.091 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push4092a24fbe4215ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.091 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='push4092a24fbe4215ea' type='result'/>



*** User 2022-03-04 11:21:44.091 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='94cf147e4a305bca0aa746e89fd76c46' type='result'/>



*** User 2022-03-04 11:21:44.091 ***
alicE@domain.example.com/res1 out
<presence type='subscribe' to='bOb@domain.example.com'/>



*** User 2022-03-04 11:21:44.099 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushcea8ad9dc92443d2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.099 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushcea8ad9dc92443d2' type='result'/>



*** User 2022-03-04 11:21:44.099 ***
bOb@domain.example.com/res1 in
<presence from='alicE@domain.example.com' to='bOb@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:21:44.099 ***
bOb@domain.example.com/res1 out
<iq type='set' id='f44e6b458d3f38ab2e006ab187b57b2b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.102 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='pushc3686bf9e7c71158' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.103 ***
bOb@domain.example.com/res1 out
<iq to='bOb@domain.example.com' id='pushc3686bf9e7c71158' type='result'/>



*** User 2022-03-04 11:21:44.103 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='f44e6b458d3f38ab2e006ab187b57b2b' type='result'/>



*** User 2022-03-04 11:21:44.103 ***
bOb@domain.example.com/res1 out
<presence type='subscribed' to='alicE@domain.example.com'/>



*** User 2022-03-04 11:21:44.108 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push07c1994d89088e0b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.108 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com' to='alicE@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:21:44.108 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:44.108 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='push5de220661a49adb4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.108 ***
alicE@domain.example.com/res1 out
<presence type='unsubscribe' to='bOb@domain.example.com'/>



*** User 2022-03-04 11:21:44.115 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push81956826a81b36b7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.115 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='push81956826a81b36b7' type='result'/>



*** User 2022-03-04 11:21:44.115 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='pusha91ec8a59cb147a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:44.115 ***
bOb@domain.example.com/res1 in
<presence from='alicE@domain.example.com' to='bOb@domain.example.com/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-03-04 11:21:44.116 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:21:44.116 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:21:44.117 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:21:44.117 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:21:44.123 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:21:44.124 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1895.html



=== Ended at 2022-03-04 11:21:44
=== successfully completed test case
=== === Returned value: ok


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