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

=== Config value:

    [{watchdog,<0.1244.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.negative_priority_presence.111875.html"},
     {tc_group_properties,[{name,presence_priority},
                           {repeat_until_all_ok,3},
                           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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:07:26


*** CT 2022-03-07 16:07:26.081 *** View log from node mongooseim@localhost when started mongooseim@localhost_4563.html
*** CT 2022-03-07 16:07:26.081 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:07:26.086 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.086 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80896df387decbf6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.087 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.087 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MDUAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:07:26.087 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1df7c316ffa807a8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<iq type='set' id='1c9c2d2554d432c841d060b46cbfce5f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<iq id='1c9c2d2554d432c841d060b46cbfce5f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1905@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<iq type='set' id='a17af4f6b69d3ada659d864a3f6b7035'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.088 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<iq type='result' id='a17af4f6b69d3ada659d864a3f6b7035'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.089 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:26.091 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<presence from='alicE_negative_priority_presence_1905@localhost/res1' to='alice_negative_priority_presence_1905@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:26.091 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.092 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92ebe09b2a9b224a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.092 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.092 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MDUAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44cc5f39f5acbdcc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<iq type='set' id='12b2abf1bd532577065a1cc3a4152f4d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<iq id='12b2abf1bd532577065a1cc3a4152f4d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1905@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<iq type='set' id='c7056294d6651ba04e989e41569ec0dc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<iq type='result' id='c7056294d6651ba04e989e41569ec0dc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.093 ***
alicE_negative_priority_presence_1905@localhost/res2 out
<presence/>



*** User 2022-03-07 16:07:26.096 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<presence from='alice_negative_priority_presence_1905@localhost/res1' to='alicE_negative_priority_presence_1905@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:07:26Z' from='alice_negative_priority_presence_1905@localhost/res1'/>
</presence>



*** User 2022-03-07 16:07:26.096 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<presence from='alicE_negative_priority_presence_1905@localhost/res2' to='alice_negative_priority_presence_1905@localhost/res2' xml:lang='en'/>



*** User 2022-03-07 16:07:26.096 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<presence from='alicE_negative_priority_presence_1905@localhost/res2' to='alice_negative_priority_presence_1905@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:26.097 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.097 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e1f5419bb750c2d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.097 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.097 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xOTA1AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96664d7a1c4cc846' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<iq type='set' id='88aa867fd709a0b89245b4f91a4e1add'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.098 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<iq id='88aa867fd709a0b89245b4f91a4e1add' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1905@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:26.099 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<iq type='set' id='7db42af33328d46764c552281a2cdc04'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.099 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<iq type='result' id='7db42af33328d46764c552281a2cdc04'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:26.099 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:26.101 ***
bOb_negative_priority_presence_1905@localhost/res1 in
<presence from='bOb_negative_priority_presence_1905@localhost/res1' to='bob_negative_priority_presence_1905@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:26.101 ***
alicE_negative_priority_presence_1905@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-03-07 16:07:26.102 ***
alicE_negative_priority_presence_1905@localhost/res1 in
<presence from='alicE_negative_priority_presence_1905@localhost/res1' to='alice_negative_priority_presence_1905@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-07 16:07:26.102 ***
alicE_negative_priority_presence_1905@localhost/res2 in
<presence from='alicE_negative_priority_presence_1905@localhost/res1' to='alice_negative_priority_presence_1905@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-07 16:07:26.102 ***
bOb_negative_priority_presence_1905@localhost/res1 out
<message to='alicE_negative_priority_presence_1905@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-03-07 16:07:27.103 ***
bOb_negative_priority_presence_1905@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:27.103 ***
bOb_negative_priority_presence_1905@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:07:27.104 ***
alicE_negative_priority_presence_1905@localhost/res2 out
</stream:stream>

*** User 2022-03-07 16:07:27.104 ***
alicE_negative_priority_presence_1905@localhost/res2 in
</stream:stream>

*** User 2022-03-07 16:07:27.104 ***
alicE_negative_priority_presence_1905@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:27.104 ***
alicE_negative_priority_presence_1905@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:07:27.106 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:07:27.107 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4563.html



=== Ended at 2022-03-07 16:07:27
=== successfully completed test case
=== === Returned value: ok