=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.72372.0>},
{preset,"pgsql_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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/presence_suite.negative_priority_presence.210946.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/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@82e417e9e7f3.2024-04-15_15.52.32"
=== Started at 2024-04-15 16:05:05
*** User 2024-04-15 16:05:05.270 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.271 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='351dd76f15384510' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:05.271 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.271 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI4NjEAbWF0eWdyeXNh</auth>
*** User 2024-04-15 16:05:05.272 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:05.272 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.272 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c77a7e3cd34e5695' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2861@domain.example.com'>
*** User 2024-04-15 16:05:05.273 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.273 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 out
<iq type='set' id='b5b06f5ca3bd8d91fa519740ca0fbb0c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:05.273 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res1 in
<iq id='b5b06f5ca3bd8d91fa519740ca0fbb0c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2861@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:05.273 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 out
<iq type='set' id='cc03a5b2704e709f7ffcd9355666ed80'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.274 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2861@domain.example.com/res1' id='cc03a5b2704e709f7ffcd9355666ed80' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.274 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:05.275 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res1' to='alice_negative_priority_presence_2861@domain.example.com/res1'/>
*** User 2024-04-15 16:05:05.275 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.276 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1285ba1d6c4123e3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:05.276 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.276 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI4NjEAbWF0eWdyeXNh</auth>
*** User 2024-04-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2049094b7647c39' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2861@domain.example.com'>
*** User 2024-04-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@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-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 out
<iq type='set' id='4e6658ca6010c8b8993534b6fa6809f2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:05.277 ***🔗
alicE_negative_priority_presence_2861@domain.example.com/res2 in
<iq id='4e6658ca6010c8b8993534b6fa6809f2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2861@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:05.278 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 out
<iq type='set' id='613c08ae625ceb1cbbbe768df8baf41d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.278 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2861@domain.example.com/res2' id='613c08ae625ceb1cbbbe768df8baf41d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.278 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 out
<presence/>
*** User 2024-04-15 16:05:05.280 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res2' to='alice_negative_priority_presence_2861@domain.example.com/res2'/>
*** User 2024-04-15 16:05:05.280 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res1' to='alice_negative_priority_presence_2861@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-15T16:05:05.274909Z' from='alice_negative_priority_presence_2861@domain.example.com/res1'/>
</presence>
*** User 2024-04-15 16:05:05.280 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res2' to='alice_negative_priority_presence_2861@domain.example.com/res1'/>
*** User 2024-04-15 16:05:05.280 ***🔗
bOb_negative_priority_presence_2861@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-15 16:05:05.281 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0dfc67ce4e783e99' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:05.281 ***🔗
bOb_negative_priority_presence_2861@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-15 16:05:05.281 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yODYxAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-15 16:05:05.282 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:05.282 ***🔗
bOb_negative_priority_presence_2861@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-15 16:05:05.283 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c88ee907614afd03' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2861@domain.example.com'>
*** User 2024-04-15 16:05:05.283 ***🔗
bOb_negative_priority_presence_2861@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-15 16:05:05.283 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 out
<iq type='set' id='0b144a5f10fa49acedf41d52ab98bc8d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:05.283 ***🔗
bOb_negative_priority_presence_2861@domain.example.com/res1 in
<iq id='0b144a5f10fa49acedf41d52ab98bc8d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2861@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:05.283 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 out
<iq type='set' id='1ec7b3e3b6509c8da629914e1e92f3f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.284 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2861@domain.example.com/res1' id='1ec7b3e3b6509c8da629914e1e92f3f9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:05.284 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:05.286 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2861@domain.example.com/res1' to='bob_negative_priority_presence_2861@domain.example.com/res1'/>
*** User 2024-04-15 16:05:05.286 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2024-04-15 16:05:05.287 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res1' to='alice_negative_priority_presence_2861@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2024-04-15 16:05:05.287 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2861@domain.example.com/res1' to='alice_negative_priority_presence_2861@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2024-04-15 16:05:05.287 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2861@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2024-04-15 16:05:06.288 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.289 ***🔗
bob_negative_priority_presence_2861@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-15 16:05:06.289 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 out
</stream:stream>
*** User 2024-04-15 16:05:06.289 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res2 in
</stream:stream>
*** User 2024-04-15 16:05:06.289 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.289 ***🔗
alice_negative_priority_presence_2861@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:05:06
=== successfully completed test case
=== === Returned value: ok