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

=== Config value:

    [{watchdog,<0.22590.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/presence_suite.negative_priority_presence.102403.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:36:15


*** CT 2022-01-27 12:36:15.561 *** View log from node mongooseim@localhost when started mongooseim@localhost_2352.html
*** CT 2022-01-27 12:36:15.562 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_655.html

*** User 2022-01-27 12:36:15.572 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.573 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1116d03a5d661ec6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.573 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.573 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE2NzgAbWF0eWdyeXNh</auth>



*** User 2022-01-27 12:36:15.576 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:15.576 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.577 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40a0820eeb6c4ea9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.577 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.577 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
<iq type='set' id='eb07c78497d26dbabd6db2acd536316a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.577 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<iq id='eb07c78497d26dbabd6db2acd536316a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1678@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.578 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
<iq type='set' id='bff3665ae3fbb3df169147e7267267df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.578 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<iq type='result' id='bff3665ae3fbb3df169147e7267267df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.578 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:15.581 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1678@domain.example.com/res1' to='alice_negative_priority_presence_1678@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.582 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.590 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16283303610e8ef3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.591 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.591 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE2NzgAbWF0eWdyeXNh</auth>



*** User 2022-01-27 12:36:15.593 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:15.593 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.594 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3198ca4a24257c95' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.594 ***
alicE_negative_priority_presence_1678@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-01-27 12:36:15.594 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 out
<iq type='set' id='6864874d3b0e756690ef795241b6151d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.595 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<iq id='6864874d3b0e756690ef795241b6151d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1678@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.595 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 out
<iq type='set' id='9d0a556ea89bd2046813991091e48299'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.596 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<iq type='result' id='9d0a556ea89bd2046813991091e48299'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.596 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 out
<presence/>



*** User 2022-01-27 12:36:15.599 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1678@domain.example.com/res2' to='alice_negative_priority_presence_1678@domain.example.com/res2' xml:lang='en'/>



*** User 2022-01-27 12:36:15.599 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1678@domain.example.com/res1' to='alicE_negative_priority_presence_1678@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:36:15Z' from='alice_negative_priority_presence_1678@domain.example.com/res1'/>
</presence>



*** User 2022-01-27 12:36:15.599 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1678@domain.example.com/res2' to='alice_negative_priority_presence_1678@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.600 ***
bOb_negative_priority_presence_1678@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-01-27 12:36:15.600 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa9d0879c972fcfa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.601 ***
bOb_negative_priority_presence_1678@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-01-27 12:36:15.601 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xNjc4AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 12:36:15.605 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:15.605 ***
bOb_negative_priority_presence_1678@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-01-27 12:36:15.606 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d45ce3e13a50a374' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.606 ***
bOb_negative_priority_presence_1678@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-01-27 12:36:15.606 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
<iq type='set' id='cd17c0cb1c0671e035792992940ac424'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.606 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<iq id='cd17c0cb1c0671e035792992940ac424' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1678@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.607 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
<iq type='set' id='98817bbc0bc5135391b07c8d8fe21f5d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.608 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<iq type='result' id='98817bbc0bc5135391b07c8d8fe21f5d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.608 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:15.610 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
<presence from='bOb_negative_priority_presence_1678@domain.example.com/res1' to='bob_negative_priority_presence_1678@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.610 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 12:36:15.611 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1678@domain.example.com/res1' to='alice_negative_priority_presence_1678@domain.example.com/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 12:36:15.611 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1678@domain.example.com/res1' to='alice_negative_priority_presence_1678@domain.example.com/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 12:36:15.611 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
<message to='alicE_negative_priority_presence_1678@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-01-27 12:36:16.612 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:16.612 ***
bOb_negative_priority_presence_1678@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:36:16.612 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 out
</stream:stream>

*** User 2022-01-27 12:36:16.613 ***
alicE_negative_priority_presence_1678@domain.example.com/res2 in
</stream:stream>

*** User 2022-01-27 12:36:16.613 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:16.613 ***
alicE_negative_priority_presence_1678@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:36:16.616 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_655.html
*** CT 2022-01-27 12:36:16.617 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2352.html



=== Ended at 2022-01-27 12:36:16
=== successfully completed test case
=== === Returned value: ok