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

=== Config value:

    [{watchdog,<0.61537.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@1486dc2ba640.2024-04-25_07.35.16/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_07.44.47/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@1486dc2ba640.2024-04-25_07.35.16/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_07.44.47/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@1486dc2ba640.2024-04-25_07.35.16"

=== Started at 2024-04-25 07:44:48


*** CT 2024-04-25 07:44:48.006 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2298.html

*** User 2024-04-25 07:44:48.012 ***🔗
alicE_unsubscribe_2584@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-25 07:44:48.012 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='efbb93b5ff1672f6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 07:44:48.013 ***🔗
alicE_unsubscribe_2584@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-25 07:44:48.013 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1ODQAbWF0eWdyeXNh</auth>



*** User 2024-04-25 07:44:48.013 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 07:44:48.013 ***🔗
alicE_unsubscribe_2584@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-25 07:44:48.014 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='37277f8d587f1cf9' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2584@domain.example.com'>

*** User 2024-04-25 07:44:48.014 ***🔗
alicE_unsubscribe_2584@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-25 07:44:48.014 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='f8f1106701caa597cb3e149c7b6a9608'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 07:44:48.014 ***🔗
alicE_unsubscribe_2584@domain.example.com/res1 in
<iq id='f8f1106701caa597cb3e149c7b6a9608' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2584@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 07:44:48.014 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='fc7f0ce38ae6d24814a63ca9e67c209d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 07:44:48.015 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='fc7f0ce38ae6d24814a63ca9e67c209d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 07:44:48.015 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 07:44:48.015 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<presence from='alice_unsubscribe_2584@domain.example.com/res1' to='alice_unsubscribe_2584@domain.example.com/res1'/>



*** User 2024-04-25 07:44:48.016 ***🔗
bOb_unsubscribe_2584@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-25 07:44:48.016 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dff52907212476d3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 07:44:48.016 ***🔗
bOb_unsubscribe_2584@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-25 07:44:48.016 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTg0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@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-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b715cae679a82935' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2584@domain.example.com'>

*** User 2024-04-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@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-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='e9ffce05926962880a3a7fb7b85cce63'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 07:44:48.017 ***🔗
bOb_unsubscribe_2584@domain.example.com/res1 in
<iq id='e9ffce05926962880a3a7fb7b85cce63' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2584@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 07:44:48.017 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='ba3d55626a226754599724769152d4c2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 07:44:48.018 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' id='ba3d55626a226754599724769152d4c2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 07:44:48.018 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 07:44:48.019 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<presence from='bob_unsubscribe_2584@domain.example.com/res1' to='bob_unsubscribe_2584@domain.example.com/res1'/>



*** User 2024-04-25 07:44:48.019 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='71b2345d2abbe41929481e1947e51a0e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2584@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.022 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='alice_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='push5697a7d69f105f04' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2584@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.022 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<iq to='alice_unsubscribe_2584@domain.example.com' id='push5697a7d69f105f04' type='result'/>



*** User 2024-04-25 07:44:48.022 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='alice_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='71b2345d2abbe41929481e1947e51a0e' type='result'/>



*** User 2024-04-25 07:44:48.022 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2584@domain.example.com'/>



*** User 2024-04-25 07:44:48.025 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='alice_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='pushadf165452f1ffe9d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2584@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.025 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<iq to='alice_unsubscribe_2584@domain.example.com' id='pushadf165452f1ffe9d' type='result'/>



*** User 2024-04-25 07:44:48.025 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<presence from='alice_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-25 07:44:48.025 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
<iq type='set' id='9d28b6967f432a65a4ac6768136f886e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2584@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.027 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<iq from='bob_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' id='push0331b09d00d4820d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2584@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.027 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
<iq to='bob_unsubscribe_2584@domain.example.com' id='push0331b09d00d4820d' type='result'/>



*** User 2024-04-25 07:44:48.027 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<iq from='bob_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' id='9d28b6967f432a65a4ac6768136f886e' type='result'/>



*** User 2024-04-25 07:44:48.027 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2584@domain.example.com'/>



*** User 2024-04-25 07:44:48.030 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='alice_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='push956ac455feda241d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2584@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.030 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<presence from='bob_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-25 07:44:48.030 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<presence from='bob_unsubscribe_2584@domain.example.com/res1' to='alice_unsubscribe_2584@domain.example.com/res1'/>



*** User 2024-04-25 07:44:48.030 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<iq from='bob_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' id='push3386ed0ca6eab5cd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2584@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.030 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2584@domain.example.com'/>



*** User 2024-04-25 07:44:48.034 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
<iq from='alice_unsubscribe_2584@domain.example.com' to='alice_unsubscribe_2584@domain.example.com/res1' id='push0b6e998913941ab1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2584@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.034 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
<iq to='alice_unsubscribe_2584@domain.example.com' id='push0b6e998913941ab1' type='result'/>



*** User 2024-04-25 07:44:48.034 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<iq from='bob_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' id='push639674d16ada024c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2584@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 07:44:48.034 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
<presence from='alice_unsubscribe_2584@domain.example.com' to='bob_unsubscribe_2584@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-25 07:44:48.035 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 07:44:48.035 ***🔗
bob_unsubscribe_2584@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 07:44:48.036 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 07:44:48.036 ***🔗
alice_unsubscribe_2584@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-25 07:44:48.040 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2298.html



=== Ended at 2024-04-25 07:44:48
=== successfully completed test case
=== === Returned value: ok


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