=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.68160.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/presence_suite.negative_priority_presence.64773.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/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@a2fc54846062.2023-11-14_11.38.11"
=== Started at 2023-11-14 11:54:07
*** User 2023-11-14 11:54:07.433 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.433 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6354d51e0c49a7c4' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:07.433 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.434 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMxNzQAbWF0eWdyeXNh</auth>
*** User 2023-11-14 11:54:07.434 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:07.434 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.435 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3fe5f71b70623f85' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3174@domain.example.com'>
*** User 2023-11-14 11:54:07.435 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.435 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 out
<iq type='set' id='c9b2d8acd91c61fed97be47c3dca1c31'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:07.435 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res1 in
<iq id='c9b2d8acd91c61fed97be47c3dca1c31' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_3174@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:07.435 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 out
<iq type='set' id='1e1b7de011889604905fc56ae881a7a7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.436 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3174@domain.example.com/res1' id='1e1b7de011889604905fc56ae881a7a7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.436 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:07.437 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res1' to='alice_negative_priority_presence_3174@domain.example.com/res1'/>
*** User 2023-11-14 11:54:07.438 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.439 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='855e6ff57cea4145' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:07.439 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.439 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMxNzQAbWF0eWdyeXNh</auth>
*** User 2023-11-14 11:54:07.440 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:07.440 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.440 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31895e5b82d009c7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3174@domain.example.com'>
*** User 2023-11-14 11:54:07.440 ***🔗
alicE_negative_priority_presence_3174@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 2023-11-14 11:54:07.441 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 out
<iq type='set' id='4846b9f9b40ce2efd13ca4f142313d5a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:07.441 ***🔗
alicE_negative_priority_presence_3174@domain.example.com/res2 in
<iq id='4846b9f9b40ce2efd13ca4f142313d5a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_3174@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:07.441 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 out
<iq type='set' id='37dbb278411fc4bd5369cf21d0e1c6ec'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.442 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3174@domain.example.com/res2' id='37dbb278411fc4bd5369cf21d0e1c6ec' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.442 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 out
<presence/>
*** User 2023-11-14 11:54:07.443 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res2' to='alice_negative_priority_presence_3174@domain.example.com/res2'/>
*** User 2023-11-14 11:54:07.443 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res1' to='alice_negative_priority_presence_3174@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-14T11:54:07.437241Z' from='alice_negative_priority_presence_3174@domain.example.com/res1'/>
</presence>
*** User 2023-11-14 11:54:07.443 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res2' to='alice_negative_priority_presence_3174@domain.example.com/res1'/>
*** User 2023-11-14 11:54:07.444 ***🔗
bOb_negative_priority_presence_3174@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 2023-11-14 11:54:07.444 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b51bf64779f60e9a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:07.444 ***🔗
bOb_negative_priority_presence_3174@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 2023-11-14 11:54:07.444 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8zMTc0AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@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 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6680828a2aa65129' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_3174@domain.example.com'>
*** User 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@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 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 out
<iq type='set' id='eaa92a6d1892002442bebcd2330c79c5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:07.446 ***🔗
bOb_negative_priority_presence_3174@domain.example.com/res1 in
<iq id='eaa92a6d1892002442bebcd2330c79c5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_3174@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:07.446 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 out
<iq type='set' id='5826611870f0a8e3751806694d8bb587'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.447 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_3174@domain.example.com/res1' id='5826611870f0a8e3751806694d8bb587' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:07.447 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:07.448 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_3174@domain.example.com/res1' to='bob_negative_priority_presence_3174@domain.example.com/res1'/>
*** User 2023-11-14 11:54:07.448 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2023-11-14 11:54:07.449 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res1' to='alice_negative_priority_presence_3174@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2023-11-14 11:54:07.449 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3174@domain.example.com/res1' to='alice_negative_priority_presence_3174@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2023-11-14 11:54:07.449 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_3174@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2023-11-14 11:54:08.450 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.451 ***🔗
bob_negative_priority_presence_3174@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-14 11:54:08.451 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 out
</stream:stream>
*** User 2023-11-14 11:54:08.451 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res2 in
</stream:stream>
*** User 2023-11-14 11:54:08.452 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.452 ***🔗
alice_negative_priority_presence_3174@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-14 11:54:08
=== successfully completed test case
=== === Returned value: ok