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

=== Config value:

    [{watchdog,<0.30543.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/presence_suite.negative_priority_presence.44165.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:13:01


*** CT 2022-05-25 09:13:01.891 *** View log from node mongooseim@localhost when started mongooseim@localhost_2328.html
*** CT 2022-05-25 09:13:01.891 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_520.html

*** User 2022-05-25 09:13:01.898 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.898 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4bda3135c3f948b4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.898 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.899 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5NjkAbWF0eWdyeXNh</auth>



*** User 2022-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6617334597d34d34' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 out
<iq type='set' id='6744ba509d9886b637608a8a95e328ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.900 ***
alicE_negative_priority_presence_1969@domain.example.com/res1 in
<iq id='6744ba509d9886b637608a8a95e328ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1969@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.901 ***
alice_negative_priority_presence_1969@domain.example.com/res1 out
<iq type='set' id='02fa641575ee6641e937946b1da34395'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.901 ***
alice_negative_priority_presence_1969@domain.example.com/res1 in
<iq type='result' id='02fa641575ee6641e937946b1da34395'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.901 ***
alice_negative_priority_presence_1969@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:01.903 ***
alice_negative_priority_presence_1969@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res1' to='alice_negative_priority_presence_1969@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.903 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.904 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af24ab968cb1e03e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.904 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.904 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5NjkAbWF0eWdyeXNh</auth>



*** User 2022-05-25 09:13:01.905 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:01.905 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.905 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77f622483d637bab' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.905 ***
alicE_negative_priority_presence_1969@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-05-25 09:13:01.906 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 out
<iq type='set' id='1783ffa0d8c271512d5a858b5f15c98a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.906 ***
alicE_negative_priority_presence_1969@domain.example.com/res2 in
<iq id='1783ffa0d8c271512d5a858b5f15c98a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1969@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.906 ***
alice_negative_priority_presence_1969@domain.example.com/res2 out
<iq type='set' id='0ca7f29f6cdc0b0b9b20d6ce5112fd3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.906 ***
alice_negative_priority_presence_1969@domain.example.com/res2 in
<iq type='result' id='0ca7f29f6cdc0b0b9b20d6ce5112fd3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.906 ***
alice_negative_priority_presence_1969@domain.example.com/res2 out
<presence/>



*** User 2022-05-25 09:13:01.908 ***
alice_negative_priority_presence_1969@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res2' to='alice_negative_priority_presence_1969@domain.example.com/res2' xml:lang='en'/>



*** User 2022-05-25 09:13:01.908 ***
alice_negative_priority_presence_1969@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res1' to='alice_negative_priority_presence_1969@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:13:01Z' from='alice_negative_priority_presence_1969@domain.example.com/res1'/>
</presence>



*** User 2022-05-25 09:13:01.908 ***
alice_negative_priority_presence_1969@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res2' to='alice_negative_priority_presence_1969@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.909 ***
bOb_negative_priority_presence_1969@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-05-25 09:13:01.909 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='331cf4bfedc9bd82' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.909 ***
bOb_negative_priority_presence_1969@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-05-25 09:13:01.909 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xOTY5AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 09:13:01.910 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:01.910 ***
bOb_negative_priority_presence_1969@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-05-25 09:13:01.911 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='566411999b34c919' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:01.911 ***
bOb_negative_priority_presence_1969@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-05-25 09:13:01.911 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 out
<iq type='set' id='b6ded45ec8e81dd6bc8314ce6e90e73d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.911 ***
bOb_negative_priority_presence_1969@domain.example.com/res1 in
<iq id='b6ded45ec8e81dd6bc8314ce6e90e73d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_1969@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:01.911 ***
bob_negative_priority_presence_1969@domain.example.com/res1 out
<iq type='set' id='475a2eb54f020ae7fc8a7791292c34d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.911 ***
bob_negative_priority_presence_1969@domain.example.com/res1 in
<iq type='result' id='475a2eb54f020ae7fc8a7791292c34d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:01.911 ***
bob_negative_priority_presence_1969@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:01.913 ***
bob_negative_priority_presence_1969@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_1969@domain.example.com/res1' to='bob_negative_priority_presence_1969@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:01.913 ***
alice_negative_priority_presence_1969@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 09:13:01.914 ***
alice_negative_priority_presence_1969@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res1' to='alice_negative_priority_presence_1969@domain.example.com/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 09:13:01.914 ***
alice_negative_priority_presence_1969@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1969@domain.example.com/res1' to='alice_negative_priority_presence_1969@domain.example.com/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 09:13:01.914 ***
bob_negative_priority_presence_1969@domain.example.com/res1 out
<message to='alice_negative_priority_presence_1969@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-05-25 09:13:02.915 ***
bob_negative_priority_presence_1969@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:02.915 ***
bob_negative_priority_presence_1969@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:02.915 ***
alice_negative_priority_presence_1969@domain.example.com/res2 out
</stream:stream>

*** User 2022-05-25 09:13:02.915 ***
alice_negative_priority_presence_1969@domain.example.com/res2 in
</stream:stream>

*** User 2022-05-25 09:13:02.916 ***
alice_negative_priority_presence_1969@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:02.916 ***
alice_negative_priority_presence_1969@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:13:02.918 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_520.html
*** CT 2022-05-25 09:13:02.919 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2328.html



=== Ended at 2022-05-25 09:13:02
=== successfully completed test case
=== === Returned value: ok