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

=== Config value:

    [{watchdog,<0.71588.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/presence_suite.negative_priority_presence.65285.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/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@9442f737ceb0.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:52:10


*** CT 2024-04-26 12:52:10.572 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2289.html

*** User 2024-04-26 12:52:10.579 ***🔗
alicE_negative_priority_presence_2772@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 2024-04-26 12:52:10.579 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3840aad3168bde7a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:10.579 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.579 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI3NzIAbWF0eWdyeXNh</auth>



*** User 2024-04-26 12:52:10.580 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:10.580 ***🔗
alicE_negative_priority_presence_2772@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 2024-04-26 12:52:10.580 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df8edb8cde225659' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2772@domain.example.com'>

*** User 2024-04-26 12:52:10.580 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.581 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 out
<iq type='set' id='efd16c6f85e804cfce3f4b64a568be56'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.581 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res1 in
<iq id='efd16c6f85e804cfce3f4b64a568be56' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2772@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.581 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 out
<iq type='set' id='59bd3d5f3404d8ab2141915d2eb033f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.582 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2772@domain.example.com/res1' id='59bd3d5f3404d8ab2141915d2eb033f8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.582 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:10.583 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res1' to='alice_negative_priority_presence_2772@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.584 ***🔗
alicE_negative_priority_presence_2772@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 2024-04-26 12:52:10.584 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27aa52c9a1b7c95e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:10.585 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.585 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI3NzIAbWF0eWdyeXNh</auth>



*** User 2024-04-26 12:52:10.586 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:10.586 ***🔗
alicE_negative_priority_presence_2772@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 2024-04-26 12:52:10.586 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f79ab3a65e12cacf' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2772@domain.example.com'>

*** User 2024-04-26 12:52:10.586 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.586 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 out
<iq type='set' id='4a419bf9d4c64ea7513a570a5e5a41b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.587 ***🔗
alicE_negative_priority_presence_2772@domain.example.com/res2 in
<iq id='4a419bf9d4c64ea7513a570a5e5a41b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2772@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.587 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 out
<iq type='set' id='15fda35fcb5079fbfe23b8878bb02115'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.588 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2772@domain.example.com/res2' id='15fda35fcb5079fbfe23b8878bb02115' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.588 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 out
<presence/>



*** User 2024-04-26 12:52:10.590 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res2' to='alice_negative_priority_presence_2772@domain.example.com/res2'/>



*** User 2024-04-26 12:52:10.590 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res1' to='alice_negative_priority_presence_2772@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T12:52:10.583294Z' from='alice_negative_priority_presence_2772@domain.example.com/res1'/>
</presence>



*** User 2024-04-26 12:52:10.590 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res2' to='alice_negative_priority_presence_2772@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.590 ***🔗
bOb_negative_priority_presence_2772@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 2024-04-26 12:52:10.591 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2bb6521ca6f28fd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:10.591 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.591 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNzcyAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-26 12:52:10.592 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:10.592 ***🔗
bOb_negative_priority_presence_2772@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 2024-04-26 12:52:10.592 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b414020ceba47e0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2772@domain.example.com'>

*** User 2024-04-26 12:52:10.592 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/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-04-26 12:52:10.592 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 out
<iq type='set' id='469db15099bf3fe82dcab5e945015cb2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.593 ***🔗
bOb_negative_priority_presence_2772@domain.example.com/res1 in
<iq id='469db15099bf3fe82dcab5e945015cb2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2772@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.593 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 out
<iq type='set' id='1a28f9948d41547de4499e95654887c7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.593 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2772@domain.example.com/res1' id='1a28f9948d41547de4499e95654887c7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.593 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:10.595 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2772@domain.example.com/res1' to='bob_negative_priority_presence_2772@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.595 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-26 12:52:10.596 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res1' to='alice_negative_priority_presence_2772@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-26 12:52:10.596 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2772@domain.example.com/res1' to='alice_negative_priority_presence_2772@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-26 12:52:10.597 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2772@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2024-04-26 12:52:11.597 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:11.598 ***🔗
bob_negative_priority_presence_2772@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 12:52:11.598 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 out
</stream:stream>

*** User 2024-04-26 12:52:11.598 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res2 in
</stream:stream>

*** User 2024-04-26 12:52:11.598 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:11.599 ***🔗
alice_negative_priority_presence_2772@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 12:52:11.601 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



=== Ended at 2024-04-26 12:52:11
=== successfully completed test case
=== === Returned value: ok