=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.70770.0>},
{preset,"odbc_mssql_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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/presence_suite.negative_priority_presence.150531.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/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@c558b6ad2bd8.2024-02-26_15.40.27"
=== Started at 2024-02-26 15:54:59
*** User 2024-02-26 15:54:59.755 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.755 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f81b61b8bae2302' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:54:59.755 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.755 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI4MTYAbWF0eWdyeXNh</auth>
*** User 2024-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad1dfd7b157afba8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2816@domain.example.com'>
*** User 2024-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 out
<iq type='set' id='e81be17e0dfd90fe8f27c79f95aa43e9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:54:59.757 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res1 in
<iq id='e81be17e0dfd90fe8f27c79f95aa43e9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2816@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:54:59.758 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 out
<iq type='set' id='0f2f2f9e6fa5f5febb97ebec72a6156a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.758 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2816@domain.example.com/res1' id='0f2f2f9e6fa5f5febb97ebec72a6156a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.758 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:54:59.759 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res1' to='alice_negative_priority_presence_2816@domain.example.com/res1'/>
*** User 2024-02-26 15:54:59.760 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.760 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a325fc300b247a5c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:54:59.760 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.761 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI4MTYAbWF0eWdyeXNh</auth>
*** User 2024-02-26 15:54:59.762 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:54:59.762 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.762 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b691cc56a931c821' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2816@domain.example.com'>
*** User 2024-02-26 15:54:59.762 ***🔗
alicE_negative_priority_presence_2816@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-02-26 15:54:59.762 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 out
<iq type='set' id='5eb71c8375eca2e88fe8209fe9783dd9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2024-02-26 15:54:59.763 ***🔗
alicE_negative_priority_presence_2816@domain.example.com/res2 in
<iq id='5eb71c8375eca2e88fe8209fe9783dd9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2816@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2024-02-26 15:54:59.763 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 out
<iq type='set' id='c327c893a793cd5a5b509ce51660cb12'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.763 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2816@domain.example.com/res2' id='c327c893a793cd5a5b509ce51660cb12' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.763 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 out
<presence/>
*** User 2024-02-26 15:54:59.764 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res2' to='alice_negative_priority_presence_2816@domain.example.com/res2'/>
*** User 2024-02-26 15:54:59.765 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res1' to='alice_negative_priority_presence_2816@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T15:54:59.759416Z' from='alice_negative_priority_presence_2816@domain.example.com/res1'/>
</presence>
*** User 2024-02-26 15:54:59.765 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res2' to='alice_negative_priority_presence_2816@domain.example.com/res1'/>
*** User 2024-02-26 15:54:59.765 ***🔗
bOb_negative_priority_presence_2816@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-02-26 15:54:59.765 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c5af615b4d08f22' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:54:59.766 ***🔗
bOb_negative_priority_presence_2816@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-02-26 15:54:59.766 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yODE2AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-26 15:54:59.767 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:54:59.767 ***🔗
bOb_negative_priority_presence_2816@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-02-26 15:54:59.767 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7d4fd7c1c0daba8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2816@domain.example.com'>
*** User 2024-02-26 15:54:59.767 ***🔗
bOb_negative_priority_presence_2816@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-02-26 15:54:59.767 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 out
<iq type='set' id='0f4a7df216de04af6b4fb2f355d8f89c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:54:59.768 ***🔗
bOb_negative_priority_presence_2816@domain.example.com/res1 in
<iq id='0f4a7df216de04af6b4fb2f355d8f89c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2816@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:54:59.768 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 out
<iq type='set' id='1fcb3a839997f5e2046331924bf15ee5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.768 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2816@domain.example.com/res1' id='1fcb3a839997f5e2046331924bf15ee5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:54:59.768 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:54:59.769 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2816@domain.example.com/res1' to='bob_negative_priority_presence_2816@domain.example.com/res1'/>
*** User 2024-02-26 15:54:59.770 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2024-02-26 15:54:59.770 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res1' to='alice_negative_priority_presence_2816@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2024-02-26 15:54:59.770 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2816@domain.example.com/res1' to='alice_negative_priority_presence_2816@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2024-02-26 15:54:59.771 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2816@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2024-02-26 15:55:00.771 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:00.771 ***🔗
bob_negative_priority_presence_2816@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-26 15:55:00.772 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 out
</stream:stream>
*** User 2024-02-26 15:55:00.772 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res2 in
</stream:stream>
*** User 2024-02-26 15:55:00.772 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:00.772 ***🔗
alice_negative_priority_presence_2816@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-26 15:55:00
=== successfully completed test case
=== === Returned value: ok