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

=== Config value:

    [{watchdog,<0.28766.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_11.01.07/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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_11.01.07/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@b3c75cb3c9a2.2024-04-23_10.51.31"

=== Started at 2024-04-23 11:01:07


*** CT 2024-04-23 11:01:07.654 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2289.html

*** User 2024-04-23 11:01:07.663 ***🔗
alicE_unsubscribe_2805@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-23 11:01:07.664 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0f0145942c52a3a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:01:07.664 ***🔗
alicE_unsubscribe_2805@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-23 11:01:07.664 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4MDUAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:01:07.666 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:01:07.666 ***🔗
alicE_unsubscribe_2805@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-23 11:01:07.667 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a7f4c9072f0f2ea' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2805@domain.example.com'>

*** User 2024-04-23 11:01:07.667 ***🔗
alicE_unsubscribe_2805@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-23 11:01:07.667 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='3e717556761f96c4b7428e14180adae5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:01:07.667 ***🔗
alicE_unsubscribe_2805@domain.example.com/res1 in
<iq id='3e717556761f96c4b7428e14180adae5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2805@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:01:07.667 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='f6a626306e92cbdd95e5f8b8f4449142'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:01:07.668 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='f6a626306e92cbdd95e5f8b8f4449142' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:01:07.668 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:01:07.669 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<presence from='alice_unsubscribe_2805@domain.example.com/res1' to='alice_unsubscribe_2805@domain.example.com/res1'/>



*** User 2024-04-23 11:01:07.670 ***🔗
bOb_unsubscribe_2805@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-23 11:01:07.670 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fda2386e01458874' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:01:07.671 ***🔗
bOb_unsubscribe_2805@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-23 11:01:07.671 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODA1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:01:07.672 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:01:07.672 ***🔗
bOb_unsubscribe_2805@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-23 11:01:07.672 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15e2b08c027d14dd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2805@domain.example.com'>

*** User 2024-04-23 11:01:07.672 ***🔗
bOb_unsubscribe_2805@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-23 11:01:07.672 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='93a8d079396682a68e73417d9bfd0e1f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:01:07.673 ***🔗
bOb_unsubscribe_2805@domain.example.com/res1 in
<iq id='93a8d079396682a68e73417d9bfd0e1f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2805@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:01:07.673 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='6b0af06afa245f38105f5536a81cb71a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:01:07.674 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' id='6b0af06afa245f38105f5536a81cb71a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:01:07.674 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:01:07.675 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<presence from='bob_unsubscribe_2805@domain.example.com/res1' to='bob_unsubscribe_2805@domain.example.com/res1'/>



*** User 2024-04-23 11:01:07.675 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='d6ab6be46b783db492dac3cfafec5a18'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2805@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.677 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='alice_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='push3bfb801eaed613a9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2805@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.678 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<iq to='alice_unsubscribe_2805@domain.example.com' id='push3bfb801eaed613a9' type='result'/>



*** User 2024-04-23 11:01:07.678 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='alice_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='d6ab6be46b783db492dac3cfafec5a18' type='result'/>



*** User 2024-04-23 11:01:07.678 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2805@domain.example.com'/>



*** User 2024-04-23 11:01:07.681 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='alice_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='pushc78778952d3150c7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2805@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.681 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<iq to='alice_unsubscribe_2805@domain.example.com' id='pushc78778952d3150c7' type='result'/>



*** User 2024-04-23 11:01:07.681 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<presence from='alice_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 11:01:07.682 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
<iq type='set' id='a60866d03aefcab456a3ade902b8a19f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2805@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.685 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<iq from='bob_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' id='push56a031d5a769b64c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2805@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.685 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
<iq to='bob_unsubscribe_2805@domain.example.com' id='push56a031d5a769b64c' type='result'/>



*** User 2024-04-23 11:01:07.685 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<iq from='bob_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' id='a60866d03aefcab456a3ade902b8a19f' type='result'/>



*** User 2024-04-23 11:01:07.685 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2805@domain.example.com'/>



*** User 2024-04-23 11:01:07.689 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='alice_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='pushf224a4e414a343d4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2805@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.689 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<presence from='bob_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 11:01:07.689 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<presence from='bob_unsubscribe_2805@domain.example.com/res1' to='alice_unsubscribe_2805@domain.example.com/res1'/>



*** User 2024-04-23 11:01:07.689 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<iq from='bob_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' id='push01a51856e7d3af6d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2805@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.689 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2805@domain.example.com'/>



*** User 2024-04-23 11:01:07.695 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
<iq from='alice_unsubscribe_2805@domain.example.com' to='alice_unsubscribe_2805@domain.example.com/res1' id='push1e3031c8721d6e07' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2805@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.695 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
<iq to='alice_unsubscribe_2805@domain.example.com' id='push1e3031c8721d6e07' type='result'/>



*** User 2024-04-23 11:01:07.695 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<iq from='bob_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' id='push0ca3a2425e028ec2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2805@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:01:07.695 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
<presence from='alice_unsubscribe_2805@domain.example.com' to='bob_unsubscribe_2805@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-23 11:01:07.697 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:01:07.697 ***🔗
bob_unsubscribe_2805@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 11:01:07.697 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:01:07.698 ***🔗
alice_unsubscribe_2805@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 11:01:07.705 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



=== Ended at 2024-04-23 11:01:07
=== successfully completed test case
=== === Returned value: ok


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