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

=== Config value:

    [{watchdog,<0.59854.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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-20_07.47.14/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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-20_07.47.14/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@647ed17fbff4.2024-02-20_07.34.51"

=== Started at 2024-02-20 07:47:15


*** CT 2024-02-20 07:47:15.398 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2292.html

*** User 2024-02-20 07:47:15.406 ***🔗
alicE_unsubscribe_2636@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-02-20 07:47:15.406 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf26e30703c446bd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-20 07:47:15.407 ***🔗
alicE_unsubscribe_2636@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-02-20 07:47:15.407 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2MzYAbWF0eWdyeXNh</auth>



*** User 2024-02-20 07:47:15.408 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-20 07:47:15.408 ***🔗
alicE_unsubscribe_2636@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-02-20 07:47:15.408 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8c0851e2cc22278' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2636@domain.example.com'>

*** User 2024-02-20 07:47:15.408 ***🔗
alicE_unsubscribe_2636@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-02-20 07:47:15.408 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='be6dae98f400a0911ebd5d5b6655619b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.409 ***🔗
alicE_unsubscribe_2636@domain.example.com/res1 in
<iq id='be6dae98f400a0911ebd5d5b6655619b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2636@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.409 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='391f53d75a70fcdef532ca606f536cbc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.409 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='391f53d75a70fcdef532ca606f536cbc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.409 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<presence/>



*** User 2024-02-20 07:47:15.411 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<presence from='alice_unsubscribe_2636@domain.example.com/res1' to='alice_unsubscribe_2636@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.411 ***🔗
bOb_unsubscribe_2636@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-02-20 07:47:15.411 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dda6435bb15fbd5f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-20 07:47:15.412 ***🔗
bOb_unsubscribe_2636@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-02-20 07:47:15.412 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjM2AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-20 07:47:15.413 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-20 07:47:15.413 ***🔗
bOb_unsubscribe_2636@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-02-20 07:47:15.413 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='125d63446b40be52' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2636@domain.example.com'>

*** User 2024-02-20 07:47:15.413 ***🔗
bOb_unsubscribe_2636@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-02-20 07:47:15.413 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='72665fdf738b7f28e1be6706520eda83'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.414 ***🔗
bOb_unsubscribe_2636@domain.example.com/res1 in
<iq id='72665fdf738b7f28e1be6706520eda83' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2636@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.414 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='ccea8ab36c4802d0201f9647f42f3136'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.414 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' id='ccea8ab36c4802d0201f9647f42f3136' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.414 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
<presence/>



*** User 2024-02-20 07:47:15.415 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<presence from='bob_unsubscribe_2636@domain.example.com/res1' to='bob_unsubscribe_2636@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.415 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='2e3ed281484ed014cfeda716782f5e91'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2636@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.421 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='alice_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='push46d365c55e2066b3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2636@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.421 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<iq to='alice_unsubscribe_2636@domain.example.com' id='push46d365c55e2066b3' type='result'/>



*** User 2024-02-20 07:47:15.421 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='alice_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='2e3ed281484ed014cfeda716782f5e91' type='result'/>



*** User 2024-02-20 07:47:15.421 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2636@domain.example.com'/>



*** User 2024-02-20 07:47:15.426 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='alice_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='push78b754f19947907a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2636@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.426 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<iq to='alice_unsubscribe_2636@domain.example.com' id='push78b754f19947907a' type='result'/>



*** User 2024-02-20 07:47:15.426 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<presence from='alice_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-20 07:47:15.426 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
<iq type='set' id='f84a4ea44b070dbb250e0887af7c10db'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2636@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.429 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<iq from='bob_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' id='pushe51b13d925de944a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2636@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.429 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
<iq to='bob_unsubscribe_2636@domain.example.com' id='pushe51b13d925de944a' type='result'/>



*** User 2024-02-20 07:47:15.429 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<iq from='bob_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' id='f84a4ea44b070dbb250e0887af7c10db' type='result'/>



*** User 2024-02-20 07:47:15.429 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2636@domain.example.com'/>



*** User 2024-02-20 07:47:15.435 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='alice_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='push18579f08603a1208' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2636@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.435 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<presence from='bob_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-20 07:47:15.435 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<presence from='bob_unsubscribe_2636@domain.example.com/res1' to='alice_unsubscribe_2636@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.435 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<iq from='bob_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' id='pusha53b133933cc031e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2636@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.435 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2636@domain.example.com'/>



*** User 2024-02-20 07:47:15.442 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
<iq from='alice_unsubscribe_2636@domain.example.com' to='alice_unsubscribe_2636@domain.example.com/res1' id='pushf1fa04f8d01ae977' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2636@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.442 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
<iq to='alice_unsubscribe_2636@domain.example.com' id='pushf1fa04f8d01ae977' type='result'/>



*** User 2024-02-20 07:47:15.442 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<iq from='bob_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' id='push729eb8a1f8eb75a3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2636@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.442 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
<presence from='alice_unsubscribe_2636@domain.example.com' to='bob_unsubscribe_2636@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-02-20 07:47:15.443 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-20 07:47:15.444 ***🔗
bob_unsubscribe_2636@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-20 07:47:15.444 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-20 07:47:15.444 ***🔗
alice_unsubscribe_2636@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-20 07:47:15.451 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2292.html



=== Ended at 2024-02-20 07:47:15
=== successfully completed test case
=== === Returned value: ok


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