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

=== Config value:

    [{watchdog,<0.78594.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/presence_suite.unsubscribe.225922.html"},
     {tc_group_properties,[{name,subscribe_group},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25"

=== Started at 2024-04-25 12:16:52


*** CT 2024-04-25 12:16:52.979 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4801.html

*** User 2024-04-25 12:16:52.989 ***🔗
alicE_unsubscribe_3096@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:52.989 ***🔗
alicE_unsubscribe_3096@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ce3ff212974889f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:16:52.990 ***🔗
alicE_unsubscribe_3096@localhost/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 12:16:52.990 ***🔗
alicE_unsubscribe_3096@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwOTYAbWF0eWdyeXNh</auth>



*** User 2024-04-25 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0bec9997a5c70ff' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3096@localhost'>

*** User 2024-04-25 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/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 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/res1 out
<iq type='set' id='e6bce3e02a5a625e70450e9903b9528c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:16:52.991 ***🔗
alicE_unsubscribe_3096@localhost/res1 in
<iq id='e6bce3e02a5a625e70450e9903b9528c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3096@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:16:52.991 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<iq type='set' id='9c5c2b2a28e4ef63c3002305afe6007f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:52.992 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_3096@localhost/res1' id='9c5c2b2a28e4ef63c3002305afe6007f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:52.992 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<presence/>



*** User 2024-04-25 12:16:52.992 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<presence from='alice_unsubscribe_3096@localhost/res1' to='alice_unsubscribe_3096@localhost/res1'/>



*** User 2024-04-25 12:16:52.993 ***🔗
bOb_unsubscribe_3096@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:52.993 ***🔗
bOb_unsubscribe_3096@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70a2e1abe7cd1a6d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:16:52.993 ***🔗
bOb_unsubscribe_3096@localhost/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 12:16:52.993 ***🔗
bOb_unsubscribe_3096@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDk2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-25 12:16:52.994 ***🔗
bOb_unsubscribe_3096@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:16:52.994 ***🔗
bOb_unsubscribe_3096@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:52.994 ***🔗
bOb_unsubscribe_3096@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81f506967b7b6228' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3096@localhost'>

*** User 2024-04-25 12:16:52.994 ***🔗
bOb_unsubscribe_3096@localhost/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 12:16:52.994 ***🔗
bOb_unsubscribe_3096@localhost/res1 out
<iq type='set' id='4ec7c59cb748335b6a698ceb403aa8f5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:16:52.995 ***🔗
bOb_unsubscribe_3096@localhost/res1 in
<iq id='4ec7c59cb748335b6a698ceb403aa8f5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3096@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:16:52.995 ***🔗
bob_unsubscribe_3096@localhost/res1 out
<iq type='set' id='ba2007d2d7e90c877a72c874bba58319'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:52.995 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_3096@localhost/res1' id='ba2007d2d7e90c877a72c874bba58319' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:52.995 ***🔗
bob_unsubscribe_3096@localhost/res1 out
<presence/>



*** User 2024-04-25 12:16:52.996 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<presence from='bob_unsubscribe_3096@localhost/res1' to='bob_unsubscribe_3096@localhost/res1'/>



*** User 2024-04-25 12:16:52.996 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<iq type='set' id='063a614a835cdb40a35dd4560ff27b99'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3096@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.003 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='alice_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' id='push02aabb4ca2f40465' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3096@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.003 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='alice_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' id='063a614a835cdb40a35dd4560ff27b99' type='result'/>



*** User 2024-04-25 12:16:53.003 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<iq to='alice_unsubscribe_3096@localhost' id='push02aabb4ca2f40465' type='result'/>



*** User 2024-04-25 12:16:53.004 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3096@localhost'/>



*** User 2024-04-25 12:16:53.007 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='alice_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' id='push44add0d81850f5d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3096@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.007 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<iq to='alice_unsubscribe_3096@localhost' id='push44add0d81850f5d1' type='result'/>



*** User 2024-04-25 12:16:53.007 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<presence from='alice_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' type='subscribe'/>



*** User 2024-04-25 12:16:53.007 ***🔗
bob_unsubscribe_3096@localhost/res1 out
<iq type='set' id='904cd9ff25995310df477cd675be81af'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3096@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.010 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<iq from='bob_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' id='push5525a2f3a582c1ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3096@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.010 ***🔗
bob_unsubscribe_3096@localhost/res1 out
<iq to='bob_unsubscribe_3096@localhost' id='push5525a2f3a582c1ea' type='result'/>



*** User 2024-04-25 12:16:53.010 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<iq from='bob_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' id='904cd9ff25995310df477cd675be81af' type='result'/>



*** User 2024-04-25 12:16:53.010 ***🔗
bob_unsubscribe_3096@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3096@localhost'/>



*** User 2024-04-25 12:16:53.013 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='alice_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' id='pusha992d852012046e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3096@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.013 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<presence from='bob_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' type='subscribed'/>



*** User 2024-04-25 12:16:53.014 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<presence from='bob_unsubscribe_3096@localhost/res1' to='alice_unsubscribe_3096@localhost/res1'/>



*** User 2024-04-25 12:16:53.014 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<iq from='bob_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' id='pusha1691f564a4b423a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3096@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.014 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3096@localhost'/>



*** User 2024-04-25 12:16:53.042 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<iq from='alice_unsubscribe_3096@localhost' to='alice_unsubscribe_3096@localhost/res1' id='push72ce6152df2d6e3f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3096@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.042 ***🔗
alice_unsubscribe_3096@localhost/res1 out
<iq to='alice_unsubscribe_3096@localhost' id='push72ce6152df2d6e3f' type='result'/>



*** User 2024-04-25 12:16:53.042 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<iq from='bob_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' id='push1d830b94c4bcda75' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3096@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 12:16:53.042 ***🔗
bob_unsubscribe_3096@localhost/res1 in
<presence from='alice_unsubscribe_3096@localhost' to='bob_unsubscribe_3096@localhost/res1' type='unsubscribe'/>



*** User 2024-04-25 12:16:53.042 ***🔗
alice_unsubscribe_3096@localhost/res1 in
<presence from='bob_unsubscribe_3096@localhost/res1' to='alice_unsubscribe_3096@localhost/res1' type='unavailable'/>



*** User 2024-04-25 12:16:53.042 ***🔗
bob_unsubscribe_3096@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:16:53.044 ***🔗
bob_unsubscribe_3096@localhost/res1 in
</stream:stream>

*** User 2024-04-25 12:16:53.044 ***🔗
alice_unsubscribe_3096@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:16:53.046 ***🔗
alice_unsubscribe_3096@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 12:16:53.057 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4801.html



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