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

=== Config value:

    [{watchdog,<0.10563.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_12.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_12.32.54/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:32:55


*** CT 2022-01-27 12:32:55.133 *** View log from node mongooseim@localhost when started mongooseim@localhost_1835.html
*** CT 2022-01-27 12:32:55.133 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_538.html

*** User 2022-01-27 12:32:55.136 ***
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-01-27 12:32:55.136 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5a27c238e52dccf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.137 ***
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-01-27 12:32:55.137 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:32:55.138 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:55.138 ***
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-01-27 12:32:55.138 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f223b9453721eeef' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.138 ***
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-01-27 12:32:55.138 ***
alicE@domain.example.com/res1 out
<iq type='set' id='24fbd09acce64f80a7d7b85b84e91b37'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.138 ***
alicE@domain.example.com/res1 in
<iq id='24fbd09acce64f80a7d7b85b84e91b37' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.138 ***
alicE@domain.example.com/res1 out
<iq type='set' id='acdc2ee3d1b760c3cc12e01533c91bdd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.139 ***
alicE@domain.example.com/res1 in
<iq type='result' id='acdc2ee3d1b760c3cc12e01533c91bdd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.139 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:55.140 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:55.140 ***
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-01-27 12:32:55.141 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15234df3efb5c7b6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.141 ***
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-01-27 12:32:55.141 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:32:55.142 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:55.142 ***
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-01-27 12:32:55.142 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4852032692937e47' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.142 ***
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-01-27 12:32:55.142 ***
bOb@domain.example.com/res1 out
<iq type='set' id='e4bd33ac3e1217b616ff8580ea533ebb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.142 ***
bOb@domain.example.com/res1 in
<iq id='e4bd33ac3e1217b616ff8580ea533ebb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.142 ***
bOb@domain.example.com/res1 out
<iq type='set' id='7b5f0defdcb0481ded67b57f2053125c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.143 ***
bOb@domain.example.com/res1 in
<iq type='result' id='7b5f0defdcb0481ded67b57f2053125c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.143 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:55.144 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:55.144 ***
alicE@domain.example.com/res1 out
<iq type='set' id='a39fd37afaa3276b8b1dacb79dfb6e3c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:32:55.149 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push2d8945491d6008a9' 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-01-27 12:32:55.149 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='push2d8945491d6008a9' type='result'/>



*** User 2022-01-27 12:32:55.149 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='a39fd37afaa3276b8b1dacb79dfb6e3c' type='result'/>



*** User 2022-01-27 12:32:55.149 ***
alicE@domain.example.com/res1 out
<presence type='subscribe' to='bOb@domain.example.com'/>



*** User 2022-01-27 12:32:55.167 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushd6b7dac135550d83' 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-01-27 12:32:55.168 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushd6b7dac135550d83' type='result'/>



*** User 2022-01-27 12:32:55.168 ***
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-01-27 12:32:55.168 ***
bOb@domain.example.com/res1 out
<iq type='set' id='ac9180dd365b319a1990fe22505c47ad'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:32:55.175 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='pushbf7f74de250028be' 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-01-27 12:32:55.175 ***
bOb@domain.example.com/res1 out
<iq to='bOb@domain.example.com' id='pushbf7f74de250028be' type='result'/>



*** User 2022-01-27 12:32:55.176 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='ac9180dd365b319a1990fe22505c47ad' type='result'/>



*** User 2022-01-27 12:32:55.176 ***
bOb@domain.example.com/res1 out
<presence type='subscribed' to='alicE@domain.example.com'/>



*** User 2022-01-27 12:32:55.187 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushad64a58222f4416e' 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-01-27 12:32:55.187 ***
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-01-27 12:32:55.187 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:55.187 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='push4cd93da633efe723' 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-01-27 12:32:55.187 ***
alicE@domain.example.com/res1 out
<presence type='unsubscribe' to='bOb@domain.example.com'/>



*** User 2022-01-27 12:32:55.202 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push1533069e16cadbc0' 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-01-27 12:32:55.202 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='push1533069e16cadbc0' type='result'/>



*** User 2022-01-27 12:32:55.202 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='pusha839da0f9557510d' 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-01-27 12:32:55.202 ***
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-01-27 12:32:55.203 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:55.203 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:32:55.203 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:55.204 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:32:55.224 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_538.html
*** CT 2022-01-27 12:32:55.225 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1835.html



=== Ended at 2022-01-27 12:32:55
=== successfully completed test case
=== === Returned value: ok


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