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

=== Config value:

    [{watchdog,<0.24776.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/presence_suite.negative_priority_presence.144642.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:48


*** CT 2022-03-04 11:24:48.633 *** View log from node mongooseim@localhost when started mongooseim@localhost_2400.html
*** CT 2022-03-04 11:24:48.634 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:24:48.639 ***
alicE_negative_priority_presence_1738@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 2022-03-04 11:24:48.639 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='288057c05b13d6cd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.639 ***
alicE_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.639 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE3MzgAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:24:48.640 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:48.640 ***
alicE_negative_priority_presence_1738@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 2022-03-04 11:24:48.640 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c319dcf6a12425d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
<iq type='set' id='528fe74f4e50c3e5de2d4dfaadf3cfe6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<iq id='528fe74f4e50c3e5de2d4dfaadf3cfe6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1738@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
<iq type='set' id='6489a875574fa3a67b17635a60fd0d8f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<iq type='result' id='6489a875574fa3a67b17635a60fd0d8f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.641 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:48.642 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1738@domain.example.com/res1' to='alice_negative_priority_presence_1738@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:48.643 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:24:48.643 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d44f6278ff578ff3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.643 ***
alicE_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.643 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE3MzgAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:24:48.644 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:48.644 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:24:48.644 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2f16f86582686fc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<iq type='set' id='a6206f6c0b4ee7ffeee0f50957756c35'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<iq id='a6206f6c0b4ee7ffeee0f50957756c35' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1738@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<iq type='set' id='ac9a1b143cab74696ba49f73c1eae3b9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<iq type='result' id='ac9a1b143cab74696ba49f73c1eae3b9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.645 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
<presence/>



*** User 2022-03-04 11:24:48.646 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1738@domain.example.com/res2' to='alice_negative_priority_presence_1738@domain.example.com/res2' xml:lang='en'/>



*** User 2022-03-04 11:24:48.646 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1738@domain.example.com/res1' to='alicE_negative_priority_presence_1738@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:24:48Z' from='alice_negative_priority_presence_1738@domain.example.com/res1'/>
</presence>



*** User 2022-03-04 11:24:48.646 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1738@domain.example.com/res2' to='alice_negative_priority_presence_1738@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:48.647 ***
bOb_negative_priority_presence_1738@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 2022-03-04 11:24:48.647 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2da0ee8876044bc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.647 ***
bOb_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.647 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xNzM4AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@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 2022-03-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='783ef81d1e4e00db' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@domain.example.com/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-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
<iq type='set' id='3429a601e4f8c824c45d6139d52876e2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.648 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<iq id='3429a601e4f8c824c45d6139d52876e2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1738@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:48.649 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
<iq type='set' id='c0d58fce6750ac977d8421199d7b0796'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.649 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<iq type='result' id='c0d58fce6750ac977d8421199d7b0796'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:48.649 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:48.650 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
<presence from='bOb_negative_priority_presence_1738@domain.example.com/res1' to='bob_negative_priority_presence_1738@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:48.650 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-03-04 11:24:48.650 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1738@domain.example.com/res1' to='alice_negative_priority_presence_1738@domain.example.com/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-04 11:24:48.650 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1738@domain.example.com/res1' to='alice_negative_priority_presence_1738@domain.example.com/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-04 11:24:48.650 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
<message to='alicE_negative_priority_presence_1738@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-03-04 11:24:49.651 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:49.652 ***
bOb_negative_priority_presence_1738@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:49.652 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-04 11:24:49.652 ***
alicE_negative_priority_presence_1738@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-04 11:24:49.652 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:49.652 ***
alicE_negative_priority_presence_1738@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:49.654 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:49.655 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2400.html



=== Ended at 2022-03-04 11:24:49
=== successfully completed test case
=== === Returned value: ok