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

=== Config value:

    [{watchdog,<0.57369.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,"mysql_redis"},
     {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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.metrics_roster_SUITE.logs/run.2023-12-07_07.54.24/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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.metrics_roster_SUITE.logs/run.2023-12-07_07.54.24/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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:54:24


*** CT 2023-12-07 07:54:24.456 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2074.html

*** User 2023-12-07 07:54:24.469 ***🔗
alicE_unsubscribe_2247@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-12-07 07:54:24.470 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='873c67d3d6b9d272' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:54:24.470 ***🔗
alicE_unsubscribe_2247@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-12-07 07:54:24.470 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIyNDcAbWF0eWdyeXNh</auth>



*** User 2023-12-07 07:54:24.471 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:54:24.471 ***🔗
alicE_unsubscribe_2247@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-12-07 07:54:24.471 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85e91d841bd56776' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2247@domain.example.com'>

*** User 2023-12-07 07:54:24.471 ***🔗
alicE_unsubscribe_2247@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-12-07 07:54:24.472 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='2c217683fe453178d27978d2299d742e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:54:24.472 ***🔗
alicE_unsubscribe_2247@domain.example.com/res1 in
<iq id='2c217683fe453178d27978d2299d742e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2247@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:54:24.472 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='3a496bcf2068524031d6cf07fd6fd9a8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:54:24.473 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='3a496bcf2068524031d6cf07fd6fd9a8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:54:24.473 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:54:24.474 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<presence from='alice_unsubscribe_2247@domain.example.com/res1' to='alice_unsubscribe_2247@domain.example.com/res1'/>



*** User 2023-12-07 07:54:24.475 ***🔗
bOb_unsubscribe_2247@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-12-07 07:54:24.475 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52796f1a1d3d55ed' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:54:24.475 ***🔗
bOb_unsubscribe_2247@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-12-07 07:54:24.475 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMjQ3AG1ha3JvbGlrYQ==</auth>



*** User 2023-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@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-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0595a0ad1924d45' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2247@domain.example.com'>

*** User 2023-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@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-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='8660ed332448c5ea4c6e40c093b31e55'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:54:24.476 ***🔗
bOb_unsubscribe_2247@domain.example.com/res1 in
<iq id='8660ed332448c5ea4c6e40c093b31e55' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2247@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:54:24.476 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='8744d0bf92aeb22d60ca0e2627a16a70'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:54:24.477 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' id='8744d0bf92aeb22d60ca0e2627a16a70' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:54:24.477 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:54:24.478 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<presence from='bob_unsubscribe_2247@domain.example.com/res1' to='bob_unsubscribe_2247@domain.example.com/res1'/>



*** User 2023-12-07 07:54:24.479 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='c22e5a1cea68c5f15522d74f2649573b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2247@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.482 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='alice_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='push7f3bbaae542f7c35' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2247@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.482 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<iq to='alice_unsubscribe_2247@domain.example.com' id='push7f3bbaae542f7c35' type='result'/>



*** User 2023-12-07 07:54:24.482 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='alice_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='c22e5a1cea68c5f15522d74f2649573b' type='result'/>



*** User 2023-12-07 07:54:24.482 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2247@domain.example.com'/>



*** User 2023-12-07 07:54:24.493 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='alice_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='push93c2a45ff32bbc98' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_2247@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.493 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<iq to='alice_unsubscribe_2247@domain.example.com' id='push93c2a45ff32bbc98' type='result'/>



*** User 2023-12-07 07:54:24.493 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<presence from='alice_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-07 07:54:24.493 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
<iq type='set' id='d12a57a5764e43a180ebd98ad02c9e4b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2247@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.498 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<iq from='bob_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' id='push1346476e7e75151d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2247@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.498 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
<iq to='bob_unsubscribe_2247@domain.example.com' id='push1346476e7e75151d' type='result'/>



*** User 2023-12-07 07:54:24.498 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<iq from='bob_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' id='d12a57a5764e43a180ebd98ad02c9e4b' type='result'/>



*** User 2023-12-07 07:54:24.498 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2247@domain.example.com'/>



*** User 2023-12-07 07:54:24.508 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='alice_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='pushb40dbb787c18fff6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_2247@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.508 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<presence from='bob_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' type='subscribed'/>



*** User 2023-12-07 07:54:24.508 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<presence from='bob_unsubscribe_2247@domain.example.com/res1' to='alice_unsubscribe_2247@domain.example.com/res1'/>



*** User 2023-12-07 07:54:24.508 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<iq from='bob_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' id='push7212d94ab1546a9b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2247@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.508 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2247@domain.example.com'/>



*** User 2023-12-07 07:54:24.518 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
<iq from='alice_unsubscribe_2247@domain.example.com' to='alice_unsubscribe_2247@domain.example.com/res1' id='push4bbd6a5165ba5865' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_2247@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.518 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
<iq to='alice_unsubscribe_2247@domain.example.com' id='push4bbd6a5165ba5865' type='result'/>



*** User 2023-12-07 07:54:24.519 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<iq from='bob_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' id='pushcc7d09c659fcce0b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2247@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:54:24.519 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
<presence from='alice_unsubscribe_2247@domain.example.com' to='bob_unsubscribe_2247@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-12-07 07:54:24.520 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:54:24.520 ***🔗
bob_unsubscribe_2247@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:54:24.520 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:54:24.520 ***🔗
alice_unsubscribe_2247@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:54:24.526 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2074.html



=== Ended at 2023-12-07 07:54:24
=== successfully completed test case
=== === Returned value: ok


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