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

=== Config value:

    [{watchdog,<0.46554.0>},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/presence_suite.negative_priority_presence.56067.html"},
     {tc_group_properties,[{name,presence_priority},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@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/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@878f9f8c6d16.2024-03-11_11.25.16"

=== Started at 2024-03-11 11:38:20


*** CT 2024-03-11 11:38:20.553 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4391.html

*** User 2024-03-11 11:38:20.556 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.556 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf247f36890bbed1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:38:20.557 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.557 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE1NzMAbWF0eWdyeXNh</auth>



*** User 2024-03-11 11:38:20.557 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:38:20.558 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.558 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ce20b162be45b94' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_1573@localhost'>

*** User 2024-03-11 11:38:20.558 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.558 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 out
<iq type='set' id='381b57b00dadc116db0a922ad60aa92f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.558 ***🔗
alicE_negative_priority_presence_1573@localhost/res1 in
<iq id='381b57b00dadc116db0a922ad60aa92f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1573@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.559 ***🔗
alice_negative_priority_presence_1573@localhost/res1 out
<iq type='set' id='0a89531bbe7a4b03da6e262eaa4ca16d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.559 ***🔗
alice_negative_priority_presence_1573@localhost/res1 in
<iq from='localhost' to='alice_negative_priority_presence_1573@localhost/res1' id='0a89531bbe7a4b03da6e262eaa4ca16d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.559 ***🔗
alice_negative_priority_presence_1573@localhost/res1 out
<presence/>



*** User 2024-03-11 11:38:20.560 ***🔗
alice_negative_priority_presence_1573@localhost/res1 in
<presence from='alice_negative_priority_presence_1573@localhost/res1' to='alice_negative_priority_presence_1573@localhost/res1'/>



*** User 2024-03-11 11:38:20.561 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.561 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c87b1e43a0c7ac51' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:38:20.561 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.562 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE1NzMAbWF0eWdyeXNh</auth>



*** User 2024-03-11 11:38:20.562 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:38:20.562 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.563 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2342b55d046f4fd4' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_1573@localhost'>

*** User 2024-03-11 11:38:20.563 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.563 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 out
<iq type='set' id='776eb4e2c946b7a741598ea78dba00ad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.563 ***🔗
alicE_negative_priority_presence_1573@localhost/res2 in
<iq id='776eb4e2c946b7a741598ea78dba00ad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1573@localhost/res2</jid>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.563 ***🔗
alice_negative_priority_presence_1573@localhost/res2 out
<iq type='set' id='fa821f0b634f046ebf68ae066e11a4fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.564 ***🔗
alice_negative_priority_presence_1573@localhost/res2 in
<iq from='localhost' to='alice_negative_priority_presence_1573@localhost/res2' id='fa821f0b634f046ebf68ae066e11a4fe' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.564 ***🔗
alice_negative_priority_presence_1573@localhost/res2 out
<presence/>



*** User 2024-03-11 11:38:20.564 ***🔗
alice_negative_priority_presence_1573@localhost/res2 in
<presence from='alice_negative_priority_presence_1573@localhost/res2' to='alice_negative_priority_presence_1573@localhost/res2'/>



*** User 2024-03-11 11:38:20.565 ***🔗
alice_negative_priority_presence_1573@localhost/res2 in
<presence from='alice_negative_priority_presence_1573@localhost/res1' to='alice_negative_priority_presence_1573@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T11:38:20.560005Z' from='alice_negative_priority_presence_1573@localhost/res1'/>
</presence>



*** User 2024-03-11 11:38:20.565 ***🔗
alice_negative_priority_presence_1573@localhost/res1 in
<presence from='alice_negative_priority_presence_1573@localhost/res2' to='alice_negative_priority_presence_1573@localhost/res1'/>



*** User 2024-03-11 11:38:20.565 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1ada72dcd14023e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xNTczAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:38:20.566 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec7af44fb419e4a8' from='localhost' version='1.0' xml:lang='en' to='bob_negative_priority_presence_1573@localhost'>

*** User 2024-03-11 11:38:20.567 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:38:20.567 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 out
<iq type='set' id='a8c1c81ebbd27f435f680fb928c51131'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.567 ***🔗
bOb_negative_priority_presence_1573@localhost/res1 in
<iq id='a8c1c81ebbd27f435f680fb928c51131' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_1573@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:38:20.567 ***🔗
bob_negative_priority_presence_1573@localhost/res1 out
<iq type='set' id='5fb97dc9eaf8e14282fc85f7706b3279'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.567 ***🔗
bob_negative_priority_presence_1573@localhost/res1 in
<iq from='localhost' to='bob_negative_priority_presence_1573@localhost/res1' id='5fb97dc9eaf8e14282fc85f7706b3279' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:20.568 ***🔗
bob_negative_priority_presence_1573@localhost/res1 out
<presence/>



*** User 2024-03-11 11:38:20.568 ***🔗
bob_negative_priority_presence_1573@localhost/res1 in
<presence from='bob_negative_priority_presence_1573@localhost/res1' to='bob_negative_priority_presence_1573@localhost/res1'/>



*** User 2024-03-11 11:38:20.568 ***🔗
alice_negative_priority_presence_1573@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-03-11 11:38:20.569 ***🔗
alice_negative_priority_presence_1573@localhost/res1 in
<presence from='alice_negative_priority_presence_1573@localhost/res1' to='alice_negative_priority_presence_1573@localhost/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-03-11 11:38:20.569 ***🔗
alice_negative_priority_presence_1573@localhost/res2 in
<presence from='alice_negative_priority_presence_1573@localhost/res1' to='alice_negative_priority_presence_1573@localhost/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-03-11 11:38:20.569 ***🔗
bob_negative_priority_presence_1573@localhost/res1 out
<message type='chat' to='alice_negative_priority_presence_1573@localhost'>
	<body>Hi.</body>
</message>



*** User 2024-03-11 11:38:21.570 ***🔗
bob_negative_priority_presence_1573@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:38:21.571 ***🔗
bob_negative_priority_presence_1573@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:38:21.572 ***🔗
alice_negative_priority_presence_1573@localhost/res2 out
</stream:stream>

*** User 2024-03-11 11:38:21.572 ***🔗
alice_negative_priority_presence_1573@localhost/res2 in
</stream:stream>

*** User 2024-03-11 11:38:21.572 ***🔗
alice_negative_priority_presence_1573@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:38:21.572 ***🔗
alice_negative_priority_presence_1573@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:38:21.574 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4391.html



=== Ended at 2024-03-11 11:38:21
=== successfully completed test case
=== === Returned value: ok