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

=== Config value:

    [{watchdog,<0.57425.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.19.37/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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.19.37/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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:19:37


*** CT 2023-11-17 15:19:37.714 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2372.html

*** User 2023-11-17 15:19:37.721 ***🔗
alicE_unsubscribe_2349@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 2023-11-17 15:19:37.721 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ced8d3760f3c1a7b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:19:37.722 ***🔗
alicE_unsubscribe_2349@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 2023-11-17 15:19:37.722 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIzNDkAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@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 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dacde9ce093ad654' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2349@domain.example.com'>

*** User 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@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 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='6a490b57af8588295584d4b3e622d900'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.723 ***🔗
alicE_unsubscribe_2349@domain.example.com/res1 in
<iq id='6a490b57af8588295584d4b3e622d900' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2349@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.723 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='0910d6fa124bffcb655948c3daa79802'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.724 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='0910d6fa124bffcb655948c3daa79802' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.724 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:19:37.725 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<presence from='alice_unsubscribe_2349@domain.example.com/res1' to='alice_unsubscribe_2349@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.725 ***🔗
bOb_unsubscribe_2349@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 2023-11-17 15:19:37.725 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d737ce9481aa26e1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:19:37.725 ***🔗
bOb_unsubscribe_2349@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 2023-11-17 15:19:37.725 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMzQ5AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:19:37.726 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:19:37.726 ***🔗
bOb_unsubscribe_2349@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 2023-11-17 15:19:37.726 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed33c9f8f6990d9d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2349@domain.example.com'>

*** User 2023-11-17 15:19:37.727 ***🔗
bOb_unsubscribe_2349@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 2023-11-17 15:19:37.727 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='802881bf9ba6547c69a28524b3559aff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.727 ***🔗
bOb_unsubscribe_2349@domain.example.com/res1 in
<iq id='802881bf9ba6547c69a28524b3559aff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2349@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.727 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='b81ad07733984431e3277496eaf9e768'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.727 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' id='b81ad07733984431e3277496eaf9e768' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.727 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:19:37.728 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<presence from='bob_unsubscribe_2349@domain.example.com/res1' to='bob_unsubscribe_2349@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.728 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='c09a5174cff7de8ade6dc8c3daf910c9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2349@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.730 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='alice_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='push21114ac5ffc43180' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2349@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.731 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<iq to='alice_unsubscribe_2349@domain.example.com' id='push21114ac5ffc43180' type='result'/>



*** User 2023-11-17 15:19:37.731 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='alice_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='c09a5174cff7de8ade6dc8c3daf910c9' type='result'/>



*** User 2023-11-17 15:19:37.731 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2349@domain.example.com'/>



*** User 2023-11-17 15:19:37.734 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='alice_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='push0f85cb9833bc6d16' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2349@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.734 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<iq to='alice_unsubscribe_2349@domain.example.com' id='push0f85cb9833bc6d16' type='result'/>



*** User 2023-11-17 15:19:37.735 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<presence from='alice_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:19:37.735 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
<iq type='set' id='066eb7365baeed9e0c0cff6e74aeddc8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2349@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.737 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<iq from='bob_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' id='pushb13813c93a749c9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2349@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.737 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
<iq to='bob_unsubscribe_2349@domain.example.com' id='pushb13813c93a749c9e' type='result'/>



*** User 2023-11-17 15:19:37.738 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<iq from='bob_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' id='066eb7365baeed9e0c0cff6e74aeddc8' type='result'/>



*** User 2023-11-17 15:19:37.738 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2349@domain.example.com'/>



*** User 2023-11-17 15:19:37.742 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='alice_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='pushdbad4750eeb870c6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2349@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.742 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<presence from='bob_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:19:37.742 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<presence from='bob_unsubscribe_2349@domain.example.com/res1' to='alice_unsubscribe_2349@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.742 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<iq from='bob_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' id='pushc635e2fd06c7e77d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2349@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.742 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2349@domain.example.com'/>



*** User 2023-11-17 15:19:37.747 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
<iq from='alice_unsubscribe_2349@domain.example.com' to='alice_unsubscribe_2349@domain.example.com/res1' id='push9bee5d9c48f5d607' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2349@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.748 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
<iq to='alice_unsubscribe_2349@domain.example.com' id='push9bee5d9c48f5d607' type='result'/>



*** User 2023-11-17 15:19:37.748 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<iq from='bob_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' id='pushfdf7abebf74bccaf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2349@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.748 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
<presence from='alice_unsubscribe_2349@domain.example.com' to='bob_unsubscribe_2349@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-17 15:19:37.748 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:19:37.749 ***🔗
bob_unsubscribe_2349@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:19:37.749 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:19:37.749 ***🔗
alice_unsubscribe_2349@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:19:37.755 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2372.html



=== Ended at 2023-11-17 15:19:37
=== successfully completed test case
=== === Returned value: ok


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