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

=== Config value:

    [{watchdog,<0.57815.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,"pgsql_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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-14_11.51.03/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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-14_11.51.03/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@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:51:03


*** CT 2023-11-14 11:51:03.713 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2245.html

*** User 2023-11-14 11:51:03.720 ***🔗
alicE_unsubscribe_2924@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-14 11:51:03.721 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72e314759be27a9c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:51:03.721 ***🔗
alicE_unsubscribe_2924@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-14 11:51:03.721 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI5MjQAbWF0eWdyeXNh</auth>



*** User 2023-11-14 11:51:03.722 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:51:03.722 ***🔗
alicE_unsubscribe_2924@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-14 11:51:03.722 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8cfc244a06cbda01' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2924@domain.example.com'>

*** User 2023-11-14 11:51:03.723 ***🔗
alicE_unsubscribe_2924@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-14 11:51:03.723 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='51371f42f57aa5106449c7d34612eff7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:51:03.723 ***🔗
alicE_unsubscribe_2924@domain.example.com/res1 in
<iq id='51371f42f57aa5106449c7d34612eff7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2924@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:51:03.723 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='ea46f5b45805b170559976f76ffb5703'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:51:03.723 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='ea46f5b45805b170559976f76ffb5703' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:51:03.724 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:51:03.724 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<presence from='alice_unsubscribe_2924@domain.example.com/res1' to='alice_unsubscribe_2924@domain.example.com/res1'/>



*** User 2023-11-14 11:51:03.725 ***🔗
bOb_unsubscribe_2924@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-14 11:51:03.725 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b00899721f7d7855' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:51:03.726 ***🔗
bOb_unsubscribe_2924@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-14 11:51:03.726 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yOTI0AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@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-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a7a8a001c5bfade' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2924@domain.example.com'>

*** User 2023-11-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@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-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='f13274d00a35d976bd59be8ed1a49787'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:51:03.727 ***🔗
bOb_unsubscribe_2924@domain.example.com/res1 in
<iq id='f13274d00a35d976bd59be8ed1a49787' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2924@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:51:03.728 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='f1509f38d9e78a34eacbaf95e27748e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:51:03.728 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' id='f1509f38d9e78a34eacbaf95e27748e6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:51:03.728 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:51:03.729 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<presence from='bob_unsubscribe_2924@domain.example.com/res1' to='bob_unsubscribe_2924@domain.example.com/res1'/>



*** User 2023-11-14 11:51:03.729 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='b6665a962ab241907b8008c5c511ed7c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2924@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.731 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='alice_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='push7ed27323cbf1c71c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2924@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.731 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<iq to='alice_unsubscribe_2924@domain.example.com' id='push7ed27323cbf1c71c' type='result'/>



*** User 2023-11-14 11:51:03.732 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='alice_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='b6665a962ab241907b8008c5c511ed7c' type='result'/>



*** User 2023-11-14 11:51:03.732 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2924@domain.example.com'/>



*** User 2023-11-14 11:51:03.735 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='alice_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='pushd4b7aa45794a8dcf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2924@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.735 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<iq to='alice_unsubscribe_2924@domain.example.com' id='pushd4b7aa45794a8dcf' type='result'/>



*** User 2023-11-14 11:51:03.735 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<presence from='alice_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-14 11:51:03.735 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
<iq type='set' id='9e54abb87e51a20b42562c13ce0afc75'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2924@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.737 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<iq from='bob_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' id='push808a5548380bd5ac' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2924@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.737 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
<iq to='bob_unsubscribe_2924@domain.example.com' id='push808a5548380bd5ac' type='result'/>



*** User 2023-11-14 11:51:03.737 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<iq from='bob_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' id='9e54abb87e51a20b42562c13ce0afc75' type='result'/>



*** User 2023-11-14 11:51:03.737 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2924@domain.example.com'/>



*** User 2023-11-14 11:51:03.741 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='alice_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='push70d9bd6984e333a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2924@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.741 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<presence from='bob_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-14 11:51:03.741 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<presence from='bob_unsubscribe_2924@domain.example.com/res1' to='alice_unsubscribe_2924@domain.example.com/res1'/>



*** User 2023-11-14 11:51:03.741 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<iq from='bob_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' id='pushcc1836aa517b6db5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2924@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.741 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2924@domain.example.com'/>



*** User 2023-11-14 11:51:03.745 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
<iq from='alice_unsubscribe_2924@domain.example.com' to='alice_unsubscribe_2924@domain.example.com/res1' id='push36aae53753f1c8a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2924@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.745 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
<iq to='alice_unsubscribe_2924@domain.example.com' id='push36aae53753f1c8a4' type='result'/>



*** User 2023-11-14 11:51:03.746 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<iq from='bob_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' id='pushb490cfd685633db3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2924@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:51:03.746 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
<presence from='alice_unsubscribe_2924@domain.example.com' to='bob_unsubscribe_2924@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-14 11:51:03.747 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:51:03.747 ***🔗
bob_unsubscribe_2924@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-14 11:51:03.747 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:51:03.747 ***🔗
alice_unsubscribe_2924@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-14 11:51:03.753 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2245.html



=== Ended at 2023-11-14 11:51:03
=== successfully completed test case
=== === Returned value: ok


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