=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.29453.1>},
{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@fe59561f732d.2024-02-26_12.46.22/big_tests.tests.presence_SUITE.logs/run.2024-02-26_12.59.19/presence_suite.negative_priority_presence.183042.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@fe59561f732d.2024-02-26_12.46.22/big_tests.tests.presence_SUITE.logs/run.2024-02-26_12.59.19/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@fe59561f732d.2024-02-26_12.46.22"
=== Started at 2024-02-26 12:59:20
*** User 2024-02-26 12:59:20.351 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.351 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9b01960e7713b71' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 12:59:20.351 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.351 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIzNTgAbWF0eWdyeXNh</auth>
*** User 2024-02-26 12:59:20.352 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 12:59:20.352 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.353 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0e1d84b08ee4d6d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2358@domain.example.com'>
*** User 2024-02-26 12:59:20.353 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.353 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 out
<iq type='set' id='d58c3d8486509e1c0a8f28e65a6e16c7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 12:59:20.353 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res1 in
<iq id='d58c3d8486509e1c0a8f28e65a6e16c7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2358@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 12:59:20.353 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 out
<iq type='set' id='88c3f5725b85c4038704ccca0d5a61c6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.354 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2358@domain.example.com/res1' id='88c3f5725b85c4038704ccca0d5a61c6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.354 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 12:59:20.355 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res1' to='alice_negative_priority_presence_2358@domain.example.com/res1'/>
*** User 2024-02-26 12:59:20.355 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.356 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55d590b0cbf600b2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 12:59:20.356 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.356 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIzNTgAbWF0eWdyeXNh</auth>
*** User 2024-02-26 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb442089b48ed5c9' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2358@domain.example.com'>
*** User 2024-02-26 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@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 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 out
<iq type='set' id='8e273121a7327c5507fd676d95410319'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2024-02-26 12:59:20.357 ***🔗
alicE_negative_priority_presence_2358@domain.example.com/res2 in
<iq id='8e273121a7327c5507fd676d95410319' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2358@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2024-02-26 12:59:20.357 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 out
<iq type='set' id='1990e1bcb04ffed33671e4050478a665'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.358 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2358@domain.example.com/res2' id='1990e1bcb04ffed33671e4050478a665' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.358 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 out
<presence/>
*** User 2024-02-26 12:59:20.359 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res2' to='alice_negative_priority_presence_2358@domain.example.com/res2'/>
*** User 2024-02-26 12:59:20.359 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res1' to='alice_negative_priority_presence_2358@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T12:59:20.354880Z' from='alice_negative_priority_presence_2358@domain.example.com/res1'/>
</presence>
*** User 2024-02-26 12:59:20.359 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res2' to='alice_negative_priority_presence_2358@domain.example.com/res1'/>
*** User 2024-02-26 12:59:20.359 ***🔗
bOb_negative_priority_presence_2358@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 12:59:20.360 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd1152300d50c6b9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 12:59:20.360 ***🔗
bOb_negative_priority_presence_2358@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 12:59:20.360 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yMzU4AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-26 12:59:20.360 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 12:59:20.361 ***🔗
bOb_negative_priority_presence_2358@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 12:59:20.361 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da06bd8c578b69ff' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2358@domain.example.com'>
*** User 2024-02-26 12:59:20.361 ***🔗
bOb_negative_priority_presence_2358@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 12:59:20.361 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 out
<iq type='set' id='090033042673a81a126a4f415e12bb48'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 12:59:20.361 ***🔗
bOb_negative_priority_presence_2358@domain.example.com/res1 in
<iq id='090033042673a81a126a4f415e12bb48' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2358@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 12:59:20.361 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 out
<iq type='set' id='9ec8be59736588f596d1e2ba4fc1a65b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.362 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2358@domain.example.com/res1' id='9ec8be59736588f596d1e2ba4fc1a65b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 12:59:20.362 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 12:59:20.363 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2358@domain.example.com/res1' to='bob_negative_priority_presence_2358@domain.example.com/res1'/>
*** User 2024-02-26 12:59:20.363 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2024-02-26 12:59:20.364 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res1' to='alice_negative_priority_presence_2358@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2024-02-26 12:59:20.364 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2358@domain.example.com/res1' to='alice_negative_priority_presence_2358@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2024-02-26 12:59:20.364 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 out
<message to='alice_negative_priority_presence_2358@domain.example.com' type='chat'>
<body>Hi.</body>
</message>
*** User 2024-02-26 12:59:21.365 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 12:59:21.365 ***🔗
bob_negative_priority_presence_2358@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-26 12:59:21.365 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 out
</stream:stream>
*** User 2024-02-26 12:59:21.365 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res2 in
</stream:stream>
*** User 2024-02-26 12:59:21.365 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 12:59:21.366 ***🔗
alice_negative_priority_presence_2358@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-26 12:59:21
=== successfully completed test case
=== === Returned value: ok