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

=== Config value:

    [{watchdog,<0.61608.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@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_12.09.09/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@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_12.09.09/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@71655937ce6e.2024-04-16_11.59.01"

=== Started at 2024-04-16 12:09:09


*** CT 2024-04-16 12:09:09.397 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2295.html

*** User 2024-04-16 12:09:09.406 ***🔗
alicE_unsubscribe_2682@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-16 12:09:09.407 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15bdc6595df04fa3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:09:09.407 ***🔗
alicE_unsubscribe_2682@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-16 12:09:09.407 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2ODIAbWF0eWdyeXNh</auth>



*** User 2024-04-16 12:09:09.408 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:09:09.408 ***🔗
alicE_unsubscribe_2682@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-16 12:09:09.408 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c02681faa197dde4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2682@domain.example.com'>

*** User 2024-04-16 12:09:09.409 ***🔗
alicE_unsubscribe_2682@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-16 12:09:09.409 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='652cd0ed002a2492be1bac89363a4a40'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:09:09.409 ***🔗
alicE_unsubscribe_2682@domain.example.com/res1 in
<iq id='652cd0ed002a2492be1bac89363a4a40' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2682@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:09:09.409 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='2e4268ce787e741ac95509a5d8a649a8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:09:09.410 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='2e4268ce787e741ac95509a5d8a649a8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:09:09.410 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:09:09.411 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<presence from='alice_unsubscribe_2682@domain.example.com/res1' to='alice_unsubscribe_2682@domain.example.com/res1'/>



*** User 2024-04-16 12:09:09.412 ***🔗
bOb_unsubscribe_2682@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-16 12:09:09.412 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='456345df8e0b02c7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:09:09.412 ***🔗
bOb_unsubscribe_2682@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-16 12:09:09.412 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjgyAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 12:09:09.414 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:09:09.414 ***🔗
bOb_unsubscribe_2682@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-16 12:09:09.414 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1152126f7ef11f89' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2682@domain.example.com'>

*** User 2024-04-16 12:09:09.414 ***🔗
bOb_unsubscribe_2682@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-16 12:09:09.415 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='14f376745f6b9d242f1bc49bd259f867'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:09:09.415 ***🔗
bOb_unsubscribe_2682@domain.example.com/res1 in
<iq id='14f376745f6b9d242f1bc49bd259f867' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2682@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:09:09.415 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='c0347c6b24ae968c6b830a6c0bcafc38'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:09:09.416 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' id='c0347c6b24ae968c6b830a6c0bcafc38' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:09:09.416 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:09:09.417 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<presence from='bob_unsubscribe_2682@domain.example.com/res1' to='bob_unsubscribe_2682@domain.example.com/res1'/>



*** User 2024-04-16 12:09:09.417 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='3e650e44f30d1a53f3c22bee29ededf9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2682@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.421 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='alice_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='pushd3ffe8929dc96d56' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2682@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.421 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<iq to='alice_unsubscribe_2682@domain.example.com' id='pushd3ffe8929dc96d56' type='result'/>



*** User 2024-04-16 12:09:09.421 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='alice_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='3e650e44f30d1a53f3c22bee29ededf9' type='result'/>



*** User 2024-04-16 12:09:09.421 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2682@domain.example.com'/>



*** User 2024-04-16 12:09:09.425 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='alice_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='push6a615c67434234e4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2682@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.425 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<iq to='alice_unsubscribe_2682@domain.example.com' id='push6a615c67434234e4' type='result'/>



*** User 2024-04-16 12:09:09.425 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<presence from='alice_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 12:09:09.425 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
<iq type='set' id='29b80591b6234272fcb57d67b190746a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2682@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.428 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<iq from='bob_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' id='pushd5622d3b6dba5f9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2682@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.428 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
<iq to='bob_unsubscribe_2682@domain.example.com' id='pushd5622d3b6dba5f9e' type='result'/>



*** User 2024-04-16 12:09:09.428 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<iq from='bob_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' id='29b80591b6234272fcb57d67b190746a' type='result'/>



*** User 2024-04-16 12:09:09.428 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2682@domain.example.com'/>



*** User 2024-04-16 12:09:09.432 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='alice_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='push93dcec06664d85d0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2682@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.432 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<presence from='bob_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 12:09:09.432 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<presence from='bob_unsubscribe_2682@domain.example.com/res1' to='alice_unsubscribe_2682@domain.example.com/res1'/>



*** User 2024-04-16 12:09:09.432 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<iq from='bob_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' id='push6f413320746eacf5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2682@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.432 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2682@domain.example.com'/>



*** User 2024-04-16 12:09:09.437 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
<iq from='alice_unsubscribe_2682@domain.example.com' to='alice_unsubscribe_2682@domain.example.com/res1' id='push1fac3cfa9cd6d7e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2682@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.437 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
<iq to='alice_unsubscribe_2682@domain.example.com' id='push1fac3cfa9cd6d7e1' type='result'/>



*** User 2024-04-16 12:09:09.437 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<iq from='bob_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' id='pushf5a231997dbcbd79' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2682@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:09:09.437 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
<presence from='alice_unsubscribe_2682@domain.example.com' to='bob_unsubscribe_2682@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-16 12:09:09.438 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:09:09.439 ***🔗
bob_unsubscribe_2682@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:09:09.439 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:09:09.439 ***🔗
alice_unsubscribe_2682@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 12:09:09.445 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2295.html



=== Ended at 2024-04-16 12:09:09
=== successfully completed test case
=== === Returned value: ok


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