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

=== Config value:

    [{watchdog,<0.60095.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-23_17.41.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-23_17.41.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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:41:54


*** CT 2024-02-23 17:41:54.709 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2321.html

*** User 2024-02-23 17:41:54.718 ***🔗
alicE_unsubscribe_2543@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-23 17:41:54.718 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a49a001527cb9916' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:41:54.719 ***🔗
alicE_unsubscribe_2543@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-23 17:41:54.719 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1NDMAbWF0eWdyeXNh</auth>



*** User 2024-02-23 17:41:54.720 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:41:54.720 ***🔗
alicE_unsubscribe_2543@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-23 17:41:54.720 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='230697578c617baa' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2543@domain.example.com'>

*** User 2024-02-23 17:41:54.720 ***🔗
alicE_unsubscribe_2543@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-23 17:41:54.721 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='538ac6c866370833cecf5239a48bfb9c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.721 ***🔗
alicE_unsubscribe_2543@domain.example.com/res1 in
<iq id='538ac6c866370833cecf5239a48bfb9c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2543@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.721 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='1e16c38b7a66ad8972da1228198d5d31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.721 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='1e16c38b7a66ad8972da1228198d5d31' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.721 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:41:54.722 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com/res1' to='alice_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.723 ***🔗
bOb_unsubscribe_2543@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-23 17:41:54.723 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='895c492547a7f0fb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:41:54.723 ***🔗
bOb_unsubscribe_2543@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-23 17:41:54.723 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTQzAG1ha3JvbGlrYQ==</auth>



*** User 2024-02-23 17:41:54.724 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:41:54.724 ***🔗
bOb_unsubscribe_2543@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-23 17:41:54.724 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52966d44310d498b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2543@domain.example.com'>

*** User 2024-02-23 17:41:54.725 ***🔗
bOb_unsubscribe_2543@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-23 17:41:54.725 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='b512c5d1993e4dd9d2acaf43584b7354'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.725 ***🔗
bOb_unsubscribe_2543@domain.example.com/res1 in
<iq id='b512c5d1993e4dd9d2acaf43584b7354' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2543@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.725 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='96295625d2b020edd533f691eb55010b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.725 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='96295625d2b020edd533f691eb55010b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.725 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:41:54.727 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com/res1' to='bob_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.727 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='3c335cd9b68280e88e66daef75a0a811'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2543@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.730 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push23ae64662c76eb3d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.730 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='push23ae64662c76eb3d' type='result'/>



*** User 2024-02-23 17:41:54.730 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='3c335cd9b68280e88e66daef75a0a811' type='result'/>



*** User 2024-02-23 17:41:54.730 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2543@domain.example.com'/>



*** User 2024-02-23 17:41:54.736 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='pushf15062534be0a44a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.736 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='pushf15062534be0a44a' type='result'/>



*** User 2024-02-23 17:41:54.736 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-23 17:41:54.736 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq type='set' id='192f6ba2dd1f14d7a17507bb5504d181'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2543@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.738 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='pushb4f91cddb57fb9b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.738 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<iq to='bob_unsubscribe_2543@domain.example.com' id='pushb4f91cddb57fb9b6' type='result'/>



*** User 2024-02-23 17:41:54.738 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='192f6ba2dd1f14d7a17507bb5504d181' type='result'/>



*** User 2024-02-23 17:41:54.738 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2543@domain.example.com'/>



*** User 2024-02-23 17:41:54.743 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push3acf1ab4274e1f53' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.743 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-23 17:41:54.743 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<presence from='bob_unsubscribe_2543@domain.example.com/res1' to='alice_unsubscribe_2543@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.743 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='pushc93b40a65d65459f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.743 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2543@domain.example.com'/>



*** User 2024-02-23 17:41:54.750 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
<iq from='alice_unsubscribe_2543@domain.example.com' to='alice_unsubscribe_2543@domain.example.com/res1' id='push6d541b6691e2b9f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2543@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.750 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
<iq to='alice_unsubscribe_2543@domain.example.com' id='push6d541b6691e2b9f9' type='result'/>



*** User 2024-02-23 17:41:54.750 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<iq from='bob_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' id='push4ab559cb027af476' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2543@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.750 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
<presence from='alice_unsubscribe_2543@domain.example.com' to='bob_unsubscribe_2543@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-02-23 17:41:54.751 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:41:54.751 ***🔗
bob_unsubscribe_2543@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:41:54.751 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:41:54.752 ***🔗
alice_unsubscribe_2543@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:41:54.757 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2321.html



=== Ended at 2024-02-23 17:41:54
=== successfully completed test case
=== === Returned value: ok


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