=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.68231.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/presence_suite.negative_priority_presence.135811.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/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@9f12fc69b406.2023-11-17_15.10.18"
=== Started at 2023-11-17 15:22:45
*** User 2023-11-17 15:22:45.871 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.871 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='938a1d58e737770a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:45.871 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.871 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI1OTkAbWF0eWdyeXNh</auth>
*** User 2023-11-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='898a9ad766efe51a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2599@domain.example.com'>
*** User 2023-11-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 out
<iq type='set' id='b0c493d337847cf9c2a7a3c231e5e8fc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:45.872 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res1 in
<iq id='b0c493d337847cf9c2a7a3c231e5e8fc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2599@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:45.872 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 out
<iq type='set' id='1bfbdbacdc01e0e431e58688ae671a51'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.873 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2599@domain.example.com/res1' id='1bfbdbacdc01e0e431e58688ae671a51' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.873 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:22:45.874 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res1' to='alice_negative_priority_presence_2599@domain.example.com/res1'/>
*** User 2023-11-17 15:22:45.874 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.875 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e267019b84d466f3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:45.875 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.875 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI1OTkAbWF0eWdyeXNh</auth>
*** User 2023-11-17 15:22:45.875 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:45.876 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.876 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6246810aac23eaf' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2599@domain.example.com'>
*** User 2023-11-17 15:22:45.876 ***🔗
alicE_negative_priority_presence_2599@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-17 15:22:45.876 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 out
<iq type='set' id='e41e1884df2e0b9e3aa99e88df5237e2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:45.876 ***🔗
alicE_negative_priority_presence_2599@domain.example.com/res2 in
<iq id='e41e1884df2e0b9e3aa99e88df5237e2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2599@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:45.876 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 out
<iq type='set' id='9a4f18a337b6806b6994492f52682cb7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.876 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2599@domain.example.com/res2' id='9a4f18a337b6806b6994492f52682cb7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.876 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 out
<presence/>
*** User 2023-11-17 15:22:45.877 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res2' to='alice_negative_priority_presence_2599@domain.example.com/res2'/>
*** User 2023-11-17 15:22:45.878 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res1' to='alice_negative_priority_presence_2599@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:22:45.873871Z' from='alice_negative_priority_presence_2599@domain.example.com/res1'/>
</presence>
*** User 2023-11-17 15:22:45.878 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res2' to='alice_negative_priority_presence_2599@domain.example.com/res1'/>
*** User 2023-11-17 15:22:45.878 ***🔗
bOb_negative_priority_presence_2599@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-17 15:22:45.878 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b1af43f4b381dee' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:45.879 ***🔗
bOb_negative_priority_presence_2599@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-17 15:22:45.879 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNTk5AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-17 15:22:45.879 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:45.879 ***🔗
bOb_negative_priority_presence_2599@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-17 15:22:45.880 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a303c779fb5948d4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2599@domain.example.com'>
*** User 2023-11-17 15:22:45.880 ***🔗
bOb_negative_priority_presence_2599@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-17 15:22:45.880 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 out
<iq type='set' id='76f506488596509b64ed3f7f4630279a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:45.880 ***🔗
bOb_negative_priority_presence_2599@domain.example.com/res1 in
<iq id='76f506488596509b64ed3f7f4630279a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2599@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:45.880 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 out
<iq type='set' id='e1a3f00ef5e865b71278f973b8ea1613'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.880 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2599@domain.example.com/res1' id='e1a3f00ef5e865b71278f973b8ea1613' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:45.881 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:22:45.881 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2599@domain.example.com/res1' to='bob_negative_priority_presence_2599@domain.example.com/res1'/>
*** User 2023-11-17 15:22:45.881 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2023-11-17 15:22:45.882 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res1' to='alice_negative_priority_presence_2599@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2023-11-17 15:22:45.882 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2599@domain.example.com/res1' to='alice_negative_priority_presence_2599@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2023-11-17 15:22:45.883 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2599@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2023-11-17 15:22:46.884 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:22:46.884 ***🔗
bob_negative_priority_presence_2599@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:22:46.885 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 out
</stream:stream>
*** User 2023-11-17 15:22:46.885 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res2 in
</stream:stream>
*** User 2023-11-17 15:22:46.885 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:22:46.885 ***🔗
alice_negative_priority_presence_2599@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:22:46
=== successfully completed test case
=== === Returned value: ok