=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.68884.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/presence_suite.negative_priority_presence.151939.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/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@7465fd1d5a64.2023-11-23_14.13.58"
=== Started at 2023-11-23 14:27:01
*** User 2023-11-23 14:27:01.855 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.856 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b7ad966fe391e73' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:01.856 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.856 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2NDEAbWF0eWdyeXNh</auth>
*** User 2023-11-23 14:27:01.857 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:01.857 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.857 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d42f54da859c571e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2641@domain.example.com'>
*** User 2023-11-23 14:27:01.857 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.857 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 out
<iq type='set' id='042ee8e038601bfd3cc8d6c242fc0a04'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:01.858 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res1 in
<iq id='042ee8e038601bfd3cc8d6c242fc0a04' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2641@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:01.858 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 out
<iq type='set' id='34549d7c7851e138849fa6e873c0b763'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.858 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2641@domain.example.com/res1' id='34549d7c7851e138849fa6e873c0b763' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.858 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:01.859 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res1' to='alice_negative_priority_presence_2641@domain.example.com/res1'/>
*** User 2023-11-23 14:27:01.860 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.860 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa6bcad55148ba70' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:01.860 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.860 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2NDEAbWF0eWdyeXNh</auth>
*** User 2023-11-23 14:27:01.861 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:01.861 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.861 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec65eb2fcdc68e02' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2641@domain.example.com'>
*** User 2023-11-23 14:27:01.861 ***🔗
alicE_negative_priority_presence_2641@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-23 14:27:01.861 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 out
<iq type='set' id='44fb004f59e12111cbc487b5000894dc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:01.862 ***🔗
alicE_negative_priority_presence_2641@domain.example.com/res2 in
<iq id='44fb004f59e12111cbc487b5000894dc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2641@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:01.862 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 out
<iq type='set' id='4570ae4e6b78cc31e566cd540220cdc8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.862 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2641@domain.example.com/res2' id='4570ae4e6b78cc31e566cd540220cdc8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.862 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 out
<presence/>
*** User 2023-11-23 14:27:01.863 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res2' to='alice_negative_priority_presence_2641@domain.example.com/res2'/>
*** User 2023-11-23 14:27:01.863 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res1' to='alice_negative_priority_presence_2641@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:27:01.859392Z' from='alice_negative_priority_presence_2641@domain.example.com/res1'/>
</presence>
*** User 2023-11-23 14:27:01.864 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res2' to='alice_negative_priority_presence_2641@domain.example.com/res1'/>
*** User 2023-11-23 14:27:01.864 ***🔗
bOb_negative_priority_presence_2641@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-23 14:27:01.865 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c6073330a503e0e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:01.865 ***🔗
bOb_negative_priority_presence_2641@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-23 14:27:01.865 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNjQxAG1ha3JvbGlrYQ==</auth>
*** User 2023-11-23 14:27:01.866 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:01.866 ***🔗
bOb_negative_priority_presence_2641@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-23 14:27:01.866 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0811184b6ba94545' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2641@domain.example.com'>
*** User 2023-11-23 14:27:01.866 ***🔗
bOb_negative_priority_presence_2641@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-23 14:27:01.866 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 out
<iq type='set' id='5f20a25c2f9639811eff201c2c911adf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:01.867 ***🔗
bOb_negative_priority_presence_2641@domain.example.com/res1 in
<iq id='5f20a25c2f9639811eff201c2c911adf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2641@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:01.867 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 out
<iq type='set' id='fd097b1725eef055d5b08ebc3cf32206'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.867 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2641@domain.example.com/res1' id='fd097b1725eef055d5b08ebc3cf32206' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:01.867 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:01.868 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2641@domain.example.com/res1' to='bob_negative_priority_presence_2641@domain.example.com/res1'/>
*** User 2023-11-23 14:27:01.869 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2023-11-23 14:27:01.869 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res1' to='alice_negative_priority_presence_2641@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2023-11-23 14:27:01.869 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2641@domain.example.com/res1' to='alice_negative_priority_presence_2641@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2023-11-23 14:27:01.869 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2641@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2023-11-23 14:27:02.871 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:02.871 ***🔗
bob_negative_priority_presence_2641@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:27:02.871 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 out
</stream:stream>
*** User 2023-11-23 14:27:02.872 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res2 in
</stream:stream>
*** User 2023-11-23 14:27:02.872 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:02.872 ***🔗
alice_negative_priority_presence_2641@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-23 14:27:02
=== successfully completed test case
=== === Returned value: ok