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

=== Config value:

    [{watchdog,<0.71629.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/presence_suite.negative_priority_presence.131587.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/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@204f21db9bdd.2024-04-10_16.27.55"

=== Started at 2024-04-10 16:39:13


*** CT 2024-04-10 16:39:13.786 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2291.html

*** User 2024-04-10 16:39:13.792 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.793 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7aa55a00e612412' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:13.793 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.793 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI3MTQAbWF0eWdyeXNh</auth>



*** User 2024-04-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2cf3f67c9c45e59f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2714@domain.example.com'>

*** User 2024-04-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 out
<iq type='set' id='a0873931cac34670fd4144bb729321fd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.794 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res1 in
<iq id='a0873931cac34670fd4144bb729321fd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.795 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 out
<iq type='set' id='bbbb0636905b0d16ca2608567dea1373'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.795 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2714@domain.example.com/res1' id='bbbb0636905b0d16ca2608567dea1373' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.795 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:13.796 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res1' to='alice_negative_priority_presence_2714@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.797 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.797 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be84d9a928abeb2d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:13.797 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.798 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI3MTQAbWF0eWdyeXNh</auth>



*** User 2024-04-10 16:39:13.798 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:13.798 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.799 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b49363766557c496' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2714@domain.example.com'>

*** User 2024-04-10 16:39:13.799 ***🔗
alicE_negative_priority_presence_2714@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-10 16:39:13.799 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 out
<iq type='set' id='7988f169063f1cba9cf642c63fbd1270'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.799 ***🔗
alicE_negative_priority_presence_2714@domain.example.com/res2 in
<iq id='7988f169063f1cba9cf642c63fbd1270' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2714@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.799 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 out
<iq type='set' id='2079696fdd8dc05200b6db675c2f167c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.800 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2714@domain.example.com/res2' id='2079696fdd8dc05200b6db675c2f167c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.800 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 out
<presence/>



*** User 2024-04-10 16:39:13.801 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res2' to='alice_negative_priority_presence_2714@domain.example.com/res2'/>



*** User 2024-04-10 16:39:13.802 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res1' to='alice_negative_priority_presence_2714@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-10T16:39:13.796558Z' from='alice_negative_priority_presence_2714@domain.example.com/res1'/>
</presence>



*** User 2024-04-10 16:39:13.802 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res2' to='alice_negative_priority_presence_2714@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.802 ***🔗
bOb_negative_priority_presence_2714@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-10 16:39:13.802 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d35e523d243df4f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:13.802 ***🔗
bOb_negative_priority_presence_2714@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-10 16:39:13.803 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNzE0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-10 16:39:13.803 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:13.803 ***🔗
bOb_negative_priority_presence_2714@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-10 16:39:13.804 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2463735e1d48d17a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2714@domain.example.com'>

*** User 2024-04-10 16:39:13.804 ***🔗
bOb_negative_priority_presence_2714@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-10 16:39:13.804 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 out
<iq type='set' id='167828e1a050b89403bcb12c52f3ac24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.804 ***🔗
bOb_negative_priority_presence_2714@domain.example.com/res1 in
<iq id='167828e1a050b89403bcb12c52f3ac24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:13.804 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 out
<iq type='set' id='f6b800c2069c239683cff96bc75f3b6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.805 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2714@domain.example.com/res1' id='f6b800c2069c239683cff96bc75f3b6e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:13.805 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:13.806 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2714@domain.example.com/res1' to='bob_negative_priority_presence_2714@domain.example.com/res1'/>



*** User 2024-04-10 16:39:13.806 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 16:39:13.807 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res1' to='alice_negative_priority_presence_2714@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 16:39:13.807 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2714@domain.example.com/res1' to='alice_negative_priority_presence_2714@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 16:39:13.807 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2714@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2024-04-10 16:39:14.808 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:14.808 ***🔗
bob_negative_priority_presence_2714@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 16:39:14.808 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 out
</stream:stream>

*** User 2024-04-10 16:39:14.809 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res2 in
</stream:stream>

*** User 2024-04-10 16:39:14.809 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:14.809 ***🔗
alice_negative_priority_presence_2714@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 16:39:14.811 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2291.html



=== Ended at 2024-04-10 16:39:14
=== successfully completed test case
=== === Returned value: ok