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

=== Config value:

    [{watchdog,<0.61177.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.44.15/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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.44.15/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@9653e50c5872.2024-04-25_14.32.38"

=== Started at 2024-04-25 14:44:16


*** CT 2024-04-25 14:44:16.120 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2310.html

*** User 2024-04-25 14:44:16.135 ***🔗
alicE_unsubscribe_2734@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 2024-04-25 14:44:16.136 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7e28d668a97adb0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:44:16.136 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 14:44:16.136 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MzQAbWF0eWdyeXNh</auth>



*** User 2024-04-25 14:44:16.137 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:44:16.137 ***🔗
alicE_unsubscribe_2734@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 2024-04-25 14:44:16.137 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c89bbc4bf8c93e80' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2734@domain.example.com'>

*** User 2024-04-25 14:44:16.138 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 14:44:16.138 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='6b74c7e4cdf14afdadd43baddeff542b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.138 ***🔗
alicE_unsubscribe_2734@domain.example.com/res1 in
<iq id='6b74c7e4cdf14afdadd43baddeff542b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2734@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.138 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='3413fa02c89c2c761f7f474d00942be1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.138 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='3413fa02c89c2c761f7f474d00942be1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.138 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:44:16.140 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<presence from='alice_unsubscribe_2734@domain.example.com/res1' to='alice_unsubscribe_2734@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.140 ***🔗
bOb_unsubscribe_2734@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 2024-04-25 14:44:16.140 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf37c6740a80cb53' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:44:16.140 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 14:44:16.141 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzM0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@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 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cf300892c154e52' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2734@domain.example.com'>

*** User 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='018a54f0db9cdaaf67225233783b066f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.142 ***🔗
bOb_unsubscribe_2734@domain.example.com/res1 in
<iq id='018a54f0db9cdaaf67225233783b066f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2734@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.142 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='7b1fd7d5062ac4459a541309cf81448d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.143 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' id='7b1fd7d5062ac4459a541309cf81448d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.143 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:44:16.144 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<presence from='bob_unsubscribe_2734@domain.example.com/res1' to='bob_unsubscribe_2734@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.144 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='e051ac5a51a9d298cd20a0aaff51436d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2734@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.150 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='alice_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='push57ed51038f9ef10d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2734@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.150 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<iq to='alice_unsubscribe_2734@domain.example.com' id='push57ed51038f9ef10d' type='result'/>



*** User 2024-04-25 14:44:16.150 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='alice_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='e051ac5a51a9d298cd20a0aaff51436d' type='result'/>



*** User 2024-04-25 14:44:16.150 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2734@domain.example.com'/>



*** User 2024-04-25 14:44:16.158 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='alice_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='pushb8f706971b45e323' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2734@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.158 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<iq to='alice_unsubscribe_2734@domain.example.com' id='pushb8f706971b45e323' type='result'/>



*** User 2024-04-25 14:44:16.158 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<presence from='alice_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-25 14:44:16.158 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
<iq type='set' id='740b58a777992202e85f14ebdc1b2ac3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2734@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.163 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<iq from='bob_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' id='pushc68d192e58d978a1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2734@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.163 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
<iq to='bob_unsubscribe_2734@domain.example.com' id='pushc68d192e58d978a1' type='result'/>



*** User 2024-04-25 14:44:16.163 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<iq from='bob_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' id='740b58a777992202e85f14ebdc1b2ac3' type='result'/>



*** User 2024-04-25 14:44:16.164 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2734@domain.example.com'/>



*** User 2024-04-25 14:44:16.170 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='alice_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='push504fb4a4e39667ab' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2734@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.170 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<presence from='bob_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-25 14:44:16.170 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<presence from='bob_unsubscribe_2734@domain.example.com/res1' to='alice_unsubscribe_2734@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.170 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<iq from='bob_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' id='pusha42c851979e450d9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2734@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.170 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2734@domain.example.com'/>



*** User 2024-04-25 14:44:16.178 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
<iq from='alice_unsubscribe_2734@domain.example.com' to='alice_unsubscribe_2734@domain.example.com/res1' id='pushd1d9f4f0ed39cfe7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2734@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.178 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
<iq to='alice_unsubscribe_2734@domain.example.com' id='pushd1d9f4f0ed39cfe7' type='result'/>



*** User 2024-04-25 14:44:16.178 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<iq from='bob_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' id='push68c33e0e14b511e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2734@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.178 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
<presence from='alice_unsubscribe_2734@domain.example.com' to='bob_unsubscribe_2734@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-25 14:44:16.179 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:44:16.179 ***🔗
bob_unsubscribe_2734@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 14:44:16.179 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:44:16.180 ***🔗
alice_unsubscribe_2734@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-25 14:44:16.187 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2310.html



=== Ended at 2024-04-25 14:44:16
=== successfully completed test case
=== === Returned value: ok


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