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

=== Config value:

    [{watchdog,<0.63824.0>},
     {preset,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/presence_suite.negative_priority_presence.84228.html"},
     {tc_group_properties,[{name,presence_priority},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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/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@6b87bb397ec6.2024-04-16_10.12.53"

=== Started at 2024-04-16 10:27:57


*** CT 2024-04-16 10:27:57.868 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4235.html

*** User 2024-04-16 10:27:57.872 ***🔗
alicE_negative_priority_presence_2166@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-16 10:27:57.873 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e240ee6a328b1183' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:57.873 ***🔗
alicE_negative_priority_presence_2166@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-16 10:27:57.873 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIxNjYAbWF0eWdyeXNh</auth>



*** User 2024-04-16 10:27:57.873 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:57.873 ***🔗
alicE_negative_priority_presence_2166@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-16 10:27:57.874 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='296ad16e263e2311' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2166@localhost'>

*** User 2024-04-16 10:27:57.874 ***🔗
alicE_negative_priority_presence_2166@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-16 10:27:57.874 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 out
<iq type='set' id='f040a16b9bf481420fc36e3c95899533'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.874 ***🔗
alicE_negative_priority_presence_2166@localhost/res1 in
<iq id='f040a16b9bf481420fc36e3c95899533' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2166@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.874 ***🔗
alice_negative_priority_presence_2166@localhost/res1 out
<iq type='set' id='6b48b828509dcc31c7bebff8f3bfa1ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.875 ***🔗
alice_negative_priority_presence_2166@localhost/res1 in
<iq from='localhost' to='alice_negative_priority_presence_2166@localhost/res1' id='6b48b828509dcc31c7bebff8f3bfa1ee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.875 ***🔗
alice_negative_priority_presence_2166@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:57.876 ***🔗
alice_negative_priority_presence_2166@localhost/res1 in
<presence from='alice_negative_priority_presence_2166@localhost/res1' to='alice_negative_priority_presence_2166@localhost/res1'/>



*** User 2024-04-16 10:27:57.877 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:57.877 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e711289f56e86e8b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:57.877 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 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-16 10:27:57.877 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIxNjYAbWF0eWdyeXNh</auth>



*** User 2024-04-16 10:27:57.878 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:57.878 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:57.878 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7802b9988db15d62' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2166@localhost'>

*** User 2024-04-16 10:27:57.878 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 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-16 10:27:57.878 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 out
<iq type='set' id='45754f70f93d07a71aced2c9d5cb8060'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.879 ***🔗
alicE_negative_priority_presence_2166@localhost/res2 in
<iq id='45754f70f93d07a71aced2c9d5cb8060' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2166@localhost/res2</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.879 ***🔗
alice_negative_priority_presence_2166@localhost/res2 out
<iq type='set' id='ca1ae982dd077a66ab2c51205778d5ea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.879 ***🔗
alice_negative_priority_presence_2166@localhost/res2 in
<iq from='localhost' to='alice_negative_priority_presence_2166@localhost/res2' id='ca1ae982dd077a66ab2c51205778d5ea' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.879 ***🔗
alice_negative_priority_presence_2166@localhost/res2 out
<presence/>



*** User 2024-04-16 10:27:57.880 ***🔗
alice_negative_priority_presence_2166@localhost/res2 in
<presence from='alice_negative_priority_presence_2166@localhost/res2' to='alice_negative_priority_presence_2166@localhost/res2'/>



*** User 2024-04-16 10:27:57.880 ***🔗
alice_negative_priority_presence_2166@localhost/res2 in
<presence from='alice_negative_priority_presence_2166@localhost/res1' to='alice_negative_priority_presence_2166@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T10:27:57.875724Z' from='alice_negative_priority_presence_2166@localhost/res1'/>
</presence>



*** User 2024-04-16 10:27:57.880 ***🔗
alice_negative_priority_presence_2166@localhost/res1 in
<presence from='alice_negative_priority_presence_2166@localhost/res2' to='alice_negative_priority_presence_2166@localhost/res1'/>



*** User 2024-04-16 10:27:57.881 ***🔗
bOb_negative_priority_presence_2166@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-16 10:27:57.881 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c35a87386ffcbfcb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:57.881 ***🔗
bOb_negative_priority_presence_2166@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-16 10:27:57.882 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yMTY2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 10:27:57.882 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:57.882 ***🔗
bOb_negative_priority_presence_2166@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-16 10:27:57.882 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7dd110d6b015bc0b' from='localhost' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2166@localhost'>

*** User 2024-04-16 10:27:57.882 ***🔗
bOb_negative_priority_presence_2166@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-16 10:27:57.883 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 out
<iq type='set' id='665818093c9496679bfad1d5eed19a1f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.883 ***🔗
bOb_negative_priority_presence_2166@localhost/res1 in
<iq id='665818093c9496679bfad1d5eed19a1f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2166@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:57.883 ***🔗
bob_negative_priority_presence_2166@localhost/res1 out
<iq type='set' id='af1d97901d61bce487e95bf72c7e4710'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.884 ***🔗
bob_negative_priority_presence_2166@localhost/res1 in
<iq from='localhost' to='bob_negative_priority_presence_2166@localhost/res1' id='af1d97901d61bce487e95bf72c7e4710' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:57.884 ***🔗
bob_negative_priority_presence_2166@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:57.884 ***🔗
bob_negative_priority_presence_2166@localhost/res1 in
<presence from='bob_negative_priority_presence_2166@localhost/res1' to='bob_negative_priority_presence_2166@localhost/res1'/>



*** User 2024-04-16 10:27:57.885 ***🔗
alice_negative_priority_presence_2166@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-16 10:27:57.885 ***🔗
alice_negative_priority_presence_2166@localhost/res1 in
<presence from='alice_negative_priority_presence_2166@localhost/res1' to='alice_negative_priority_presence_2166@localhost/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-16 10:27:57.885 ***🔗
alice_negative_priority_presence_2166@localhost/res2 in
<presence from='alice_negative_priority_presence_2166@localhost/res1' to='alice_negative_priority_presence_2166@localhost/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-16 10:27:57.885 ***🔗
bob_negative_priority_presence_2166@localhost/res1 out
<message type='chat' to='alice_negative_priority_presence_2166@localhost'>
	<body>Hi.</body>
</message>



*** User 2024-04-16 10:27:58.886 ***🔗
bob_negative_priority_presence_2166@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:58.887 ***🔗
bob_negative_priority_presence_2166@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:27:58.887 ***🔗
alice_negative_priority_presence_2166@localhost/res2 out
</stream:stream>

*** User 2024-04-16 10:27:58.887 ***🔗
alice_negative_priority_presence_2166@localhost/res2 in
</stream:stream>

*** User 2024-04-16 10:27:58.887 ***🔗
alice_negative_priority_presence_2166@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:58.888 ***🔗
alice_negative_priority_presence_2166@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:27:58.890 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4235.html



=== Ended at 2024-04-16 10:27:58
=== successfully completed test case
=== === Returned value: ok