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

=== Config value:

    [{watchdog,<0.57711.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-16_09.15.58/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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-16_09.15.58/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@cdb4b709e1db.2023-11-16_09.06.27"

=== Started at 2023-11-16 09:15:58


*** CT 2023-11-16 09:15:58.706 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2245.html

*** User 2023-11-16 09:15:58.714 ***🔗
alicE_unsubscribe_2464@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-16 09:15:58.714 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='020dd923f07f7570' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:15:58.714 ***🔗
alicE_unsubscribe_2464@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-16 09:15:58.715 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI0NjQAbWF0eWdyeXNh</auth>



*** User 2023-11-16 09:15:58.716 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:15:58.716 ***🔗
alicE_unsubscribe_2464@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-16 09:15:58.716 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9bd16dfa426f133' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2464@domain.example.com'>

*** User 2023-11-16 09:15:58.716 ***🔗
alicE_unsubscribe_2464@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-16 09:15:58.716 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='543141c37d5f95b2a39752a2700fd66f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.717 ***🔗
alicE_unsubscribe_2464@domain.example.com/res1 in
<iq id='543141c37d5f95b2a39752a2700fd66f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2464@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.717 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='bb55961505364a70f6f999f4c1a274b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.717 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='bb55961505364a70f6f999f4c1a274b3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.718 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:15:58.719 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<presence from='alice_unsubscribe_2464@domain.example.com/res1' to='alice_unsubscribe_2464@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.719 ***🔗
bOb_unsubscribe_2464@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-16 09:15:58.719 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5608baa48f68bd68' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:15:58.720 ***🔗
bOb_unsubscribe_2464@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-16 09:15:58.720 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNDY0AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-16 09:15:58.721 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:15:58.721 ***🔗
bOb_unsubscribe_2464@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-16 09:15:58.721 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='605d8066cab91f6f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2464@domain.example.com'>

*** User 2023-11-16 09:15:58.721 ***🔗
bOb_unsubscribe_2464@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-16 09:15:58.721 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='010ac49809aeb9299c64ef6f1e8ca915'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.722 ***🔗
bOb_unsubscribe_2464@domain.example.com/res1 in
<iq id='010ac49809aeb9299c64ef6f1e8ca915' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2464@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.722 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='955a60ace5b96b77bb8f39f74b02651b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.722 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' id='955a60ace5b96b77bb8f39f74b02651b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.722 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:15:58.723 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<presence from='bob_unsubscribe_2464@domain.example.com/res1' to='bob_unsubscribe_2464@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.724 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='22b13647cff2339e942cae5ed58c56e3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2464@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.730 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='alice_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='push7b650392b063966c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2464@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.731 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<iq to='alice_unsubscribe_2464@domain.example.com' id='push7b650392b063966c' type='result'/>



*** User 2023-11-16 09:15:58.731 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='alice_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='22b13647cff2339e942cae5ed58c56e3' type='result'/>



*** User 2023-11-16 09:15:58.731 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2464@domain.example.com'/>



*** User 2023-11-16 09:15:58.735 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='alice_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='pushc61a1af147821fcd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2464@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.735 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<iq to='alice_unsubscribe_2464@domain.example.com' id='pushc61a1af147821fcd' type='result'/>



*** User 2023-11-16 09:15:58.736 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<presence from='alice_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-16 09:15:58.736 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
<iq type='set' id='beb75bb7c789e31023928e36b114e94a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2464@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.740 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<iq from='bob_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' id='push09eb28f71ac062a6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2464@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.740 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
<iq to='bob_unsubscribe_2464@domain.example.com' id='push09eb28f71ac062a6' type='result'/>



*** User 2023-11-16 09:15:58.740 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<iq from='bob_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' id='beb75bb7c789e31023928e36b114e94a' type='result'/>



*** User 2023-11-16 09:15:58.740 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2464@domain.example.com'/>



*** User 2023-11-16 09:15:58.746 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='alice_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='pushccc04911a3b2e497' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2464@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.746 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<presence from='bob_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-16 09:15:58.746 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<presence from='bob_unsubscribe_2464@domain.example.com/res1' to='alice_unsubscribe_2464@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.746 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<iq from='bob_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' id='push18b73c2d5d2d57ff' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2464@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.746 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2464@domain.example.com'/>



*** User 2023-11-16 09:15:58.758 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
<iq from='alice_unsubscribe_2464@domain.example.com' to='alice_unsubscribe_2464@domain.example.com/res1' id='push74920de7f4b58e81' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2464@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.758 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
<iq to='alice_unsubscribe_2464@domain.example.com' id='push74920de7f4b58e81' type='result'/>



*** User 2023-11-16 09:15:58.758 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<iq from='bob_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' id='push5fc83ea66f8f957f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2464@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.758 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
<presence from='alice_unsubscribe_2464@domain.example.com' to='bob_unsubscribe_2464@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-16 09:15:58.759 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:15:58.760 ***🔗
bob_unsubscribe_2464@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-16 09:15:58.760 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:15:58.760 ***🔗
alice_unsubscribe_2464@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-16 09:15:58.767 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2245.html



=== Ended at 2023-11-16 09:15:58
=== successfully completed test case
=== === Returned value: ok


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