=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.72293.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/presence_suite.negative_priority_presence.204930.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/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@528a5a4ce401.2024-04-09_11.36.09"
=== Started at 2024-04-09 11:49:20
*** User 2024-04-09 11:49:20.898 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.898 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='561beaf150dcf269' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:20.899 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.899 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwMjgAbWF0eWdyeXNh</auth>
*** User 2024-04-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77defed11c0c9713' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3028@domain.example.com'>
*** User 2024-04-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 out
<iq type='set' id='2829101211ab2842c62c262adcacd724'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:20.900 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res1 in
<iq id='2829101211ab2842c62c262adcacd724' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_3028@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:20.900 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 out
<iq type='set' id='140c97a3a0c53fccdd4714470c417cab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.901 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3028@domain.example.com/res1' id='140c97a3a0c53fccdd4714470c417cab' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.901 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 out
<presence/>
*** User 2024-04-09 11:49:20.902 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res1' to='alice_negative_priority_presence_3028@domain.example.com/res1'/>
*** User 2024-04-09 11:49:20.903 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.903 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='decfacdd83f45631' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:20.903 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.903 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwMjgAbWF0eWdyeXNh</auth>
*** User 2024-04-09 11:49:20.904 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:20.904 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.904 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d7d249a78cc6dd8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3028@domain.example.com'>
*** User 2024-04-09 11:49:20.904 ***🔗
alicE_negative_priority_presence_3028@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-09 11:49:20.904 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 out
<iq type='set' id='2bc228a54579df0ea6965aa59d228d17'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:20.905 ***🔗
alicE_negative_priority_presence_3028@domain.example.com/res2 in
<iq id='2bc228a54579df0ea6965aa59d228d17' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_3028@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:20.905 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 out
<iq type='set' id='cdbb3e74528e3d72457efca58df9bb31'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.905 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3028@domain.example.com/res2' id='cdbb3e74528e3d72457efca58df9bb31' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.905 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 out
<presence/>
*** User 2024-04-09 11:49:20.906 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res2' to='alice_negative_priority_presence_3028@domain.example.com/res2'/>
*** User 2024-04-09 11:49:20.906 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res1' to='alice_negative_priority_presence_3028@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-09T11:49:20.902114Z' from='alice_negative_priority_presence_3028@domain.example.com/res1'/>
</presence>
*** User 2024-04-09 11:49:20.907 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res2' to='alice_negative_priority_presence_3028@domain.example.com/res1'/>
*** User 2024-04-09 11:49:20.907 ***🔗
bOb_negative_priority_presence_3028@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-09 11:49:20.907 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e78ba48268e1a42' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:20.907 ***🔗
bOb_negative_priority_presence_3028@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-09 11:49:20.908 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8zMDI4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-09 11:49:20.908 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:20.908 ***🔗
bOb_negative_priority_presence_3028@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-09 11:49:20.909 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='175e9049091ed6d2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_3028@domain.example.com'>
*** User 2024-04-09 11:49:20.909 ***🔗
bOb_negative_priority_presence_3028@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-09 11:49:20.909 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 out
<iq type='set' id='8ad4ae8861b51567c7ab52d962c0d60c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:20.909 ***🔗
bOb_negative_priority_presence_3028@domain.example.com/res1 in
<iq id='8ad4ae8861b51567c7ab52d962c0d60c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_3028@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:20.909 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 out
<iq type='set' id='740d2fcc9f592f5b667ecc8ac5a49902'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.910 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_3028@domain.example.com/res1' id='740d2fcc9f592f5b667ecc8ac5a49902' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:20.910 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 out
<presence/>
*** User 2024-04-09 11:49:20.911 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_3028@domain.example.com/res1' to='bob_negative_priority_presence_3028@domain.example.com/res1'/>
*** User 2024-04-09 11:49:20.911 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2024-04-09 11:49:20.912 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res1' to='alice_negative_priority_presence_3028@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2024-04-09 11:49:20.912 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3028@domain.example.com/res1' to='alice_negative_priority_presence_3028@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2024-04-09 11:49:20.912 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_3028@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2024-04-09 11:49:21.913 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-09 11:49:21.913 ***🔗
bob_negative_priority_presence_3028@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-09 11:49:21.913 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 out
</stream:stream>
*** User 2024-04-09 11:49:21.914 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res2 in
</stream:stream>
*** User 2024-04-09 11:49:21.914 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-09 11:49:21.914 ***🔗
alice_negative_priority_presence_3028@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-09 11:49:21
=== successfully completed test case
=== === Returned value: ok