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

=== Config value:

    [{watchdog,<0.32008.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.negative_priority_presence.101507.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:34:54


*** CT 2022-01-27 15:34:54.752 *** View log from node mongooseim@localhost when started mongooseim@localhost_5449.html
*** CT 2022-01-27 15:34:54.752 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:34:54.762 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.762 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e70e7a1e0e38cb99' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.762 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.762 ***
alicE_negative_priority_presence_1833@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE4MzMAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8c969a6a1a1f1a3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@localhost/res1 out
<iq type='set' id='3c20f9d9a92575dff4fc7b73486ac239'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<iq id='3c20f9d9a92575dff4fc7b73486ac239' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1833@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.764 ***
alicE_negative_priority_presence_1833@localhost/res1 out
<iq type='set' id='d455f751a6764ce28d4ae1408a1d89f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.765 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<iq type='result' id='d455f751a6764ce28d4ae1408a1d89f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.765 ***
alicE_negative_priority_presence_1833@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.766 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<presence from='alicE_negative_priority_presence_1833@localhost/res1' to='alice_negative_priority_presence_1833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.767 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.767 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b04017a84cb967d7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.767 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.768 ***
alicE_negative_priority_presence_1833@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE4MzMAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e4c5b8b6482d3a1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@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-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@localhost/res2 out
<iq type='set' id='36bb8479aa93da3d26a2fac369536d13'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<iq id='36bb8479aa93da3d26a2fac369536d13' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1833@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.769 ***
alicE_negative_priority_presence_1833@localhost/res2 out
<iq type='set' id='15a2bf9d19f8773fd5acf92bd2010063'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.770 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<iq type='result' id='15a2bf9d19f8773fd5acf92bd2010063'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.770 ***
alicE_negative_priority_presence_1833@localhost/res2 out
<presence/>



*** User 2022-01-27 15:34:54.771 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<presence from='alicE_negative_priority_presence_1833@localhost/res2' to='alice_negative_priority_presence_1833@localhost/res2' xml:lang='en'/>



*** User 2022-01-27 15:34:54.771 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<presence from='alice_negative_priority_presence_1833@localhost/res1' to='alicE_negative_priority_presence_1833@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:34:54Z' from='alice_negative_priority_presence_1833@localhost/res1'/>
</presence>



*** User 2022-01-27 15:34:54.771 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<presence from='alicE_negative_priority_presence_1833@localhost/res2' to='alice_negative_priority_presence_1833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.772 ***
bOb_negative_priority_presence_1833@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-01-27 15:34:54.772 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61a1de8d39502489' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.772 ***
bOb_negative_priority_presence_1833@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-01-27 15:34:54.772 ***
bOb_negative_priority_presence_1833@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xODMzAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:34:54.773 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:54.773 ***
bOb_negative_priority_presence_1833@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-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70d495c714c28138' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@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-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@localhost/res1 out
<iq type='set' id='a5b869160006d31b2a4543962cf3eeba'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<iq id='a5b869160006d31b2a4543962cf3eeba' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1833@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@localhost/res1 out
<iq type='set' id='355ac8f7332051a20cfda7215d472ba7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.774 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<iq type='result' id='355ac8f7332051a20cfda7215d472ba7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.775 ***
bOb_negative_priority_presence_1833@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.776 ***
bOb_negative_priority_presence_1833@localhost/res1 in
<presence from='bOb_negative_priority_presence_1833@localhost/res1' to='bob_negative_priority_presence_1833@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.777 ***
alicE_negative_priority_presence_1833@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:34:54.777 ***
alicE_negative_priority_presence_1833@localhost/res1 in
<presence from='alicE_negative_priority_presence_1833@localhost/res1' to='alice_negative_priority_presence_1833@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:34:54.777 ***
alicE_negative_priority_presence_1833@localhost/res2 in
<presence from='alicE_negative_priority_presence_1833@localhost/res1' to='alice_negative_priority_presence_1833@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:34:54.777 ***
bOb_negative_priority_presence_1833@localhost/res1 out
<message to='alicE_negative_priority_presence_1833@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-01-27 15:34:55.778 ***
bOb_negative_priority_presence_1833@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:55.779 ***
bOb_negative_priority_presence_1833@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:55.779 ***
alicE_negative_priority_presence_1833@localhost/res2 out
</stream:stream>

*** User 2022-01-27 15:34:55.779 ***
alicE_negative_priority_presence_1833@localhost/res2 in
</stream:stream>

*** User 2022-01-27 15:34:55.779 ***
alicE_negative_priority_presence_1833@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:55.780 ***
alicE_negative_priority_presence_1833@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:55.793 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:34:55.815 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5449.html



=== Ended at 2022-01-27 15:34:55
=== successfully completed test case
=== === Returned value: ok