=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.30479.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/presence_suite.negative_priority_presence.144386.html"},
{tc_group_properties,[{name,presence_priority},
{repeat_until_all_ok,3},
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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/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@a4fd8d8e9aae.2022-05-18_09.59.33"
=== Started at 2022-05-18 10:07:55
*** User 2022-05-18 10:07:55.694 ***
alicE_negative_priority_presence_1821@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 2022-05-18 10:07:55.695 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4164a754519b32b2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.695 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.695 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE4MjEAbWF0eWdyeXNh</auth>
*** User 2022-05-18 10:07:55.697 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:55.697 ***
alicE_negative_priority_presence_1821@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 2022-05-18 10:07:55.697 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67bd897b5a3fe4ce' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.697 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.697 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 out
<iq type='set' id='7dd20625ee4cd29f3ff436828fc698a1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:55.698 ***
alicE_negative_priority_presence_1821@domain.example.com/res1 in
<iq id='7dd20625ee4cd29f3ff436828fc698a1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_1821@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:55.698 ***
alice_negative_priority_presence_1821@domain.example.com/res1 out
<iq type='set' id='943e15a5c0960e006c9ee6ad5920e60d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.698 ***
alice_negative_priority_presence_1821@domain.example.com/res1 in
<iq type='result' id='943e15a5c0960e006c9ee6ad5920e60d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.698 ***
alice_negative_priority_presence_1821@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:55.700 ***
alice_negative_priority_presence_1821@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res1' to='alice_negative_priority_presence_1821@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:55.701 ***
alicE_negative_priority_presence_1821@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 2022-05-18 10:07:55.701 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce8601a08be84b6b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.702 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.702 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE4MjEAbWF0eWdyeXNh</auth>
*** User 2022-05-18 10:07:55.704 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:55.704 ***
alicE_negative_priority_presence_1821@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 2022-05-18 10:07:55.704 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c75491f36e08924a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.704 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.704 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 out
<iq type='set' id='0bfb43be873c122e9b7ed5e7286d34a6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:55.705 ***
alicE_negative_priority_presence_1821@domain.example.com/res2 in
<iq id='0bfb43be873c122e9b7ed5e7286d34a6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_1821@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:55.705 ***
alice_negative_priority_presence_1821@domain.example.com/res2 out
<iq type='set' id='b189360181d7b8e1e79f8744a63fff39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.705 ***
alice_negative_priority_presence_1821@domain.example.com/res2 in
<iq type='result' id='b189360181d7b8e1e79f8744a63fff39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.705 ***
alice_negative_priority_presence_1821@domain.example.com/res2 out
<presence/>
*** User 2022-05-18 10:07:55.708 ***
alice_negative_priority_presence_1821@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res2' to='alice_negative_priority_presence_1821@domain.example.com/res2' xml:lang='en'/>
*** User 2022-05-18 10:07:55.709 ***
alice_negative_priority_presence_1821@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res1' to='alice_negative_priority_presence_1821@domain.example.com/res2' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:07:55Z' from='alice_negative_priority_presence_1821@domain.example.com/res1'/>
</presence>
*** User 2022-05-18 10:07:55.709 ***
alice_negative_priority_presence_1821@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res2' to='alice_negative_priority_presence_1821@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:55.710 ***
bOb_negative_priority_presence_1821@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 2022-05-18 10:07:55.710 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4888d3ea3e5c267b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.714 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.714 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xODIxAG1ha3JvbGlrYQ==</auth>
*** User 2022-05-18 10:07:55.716 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:55.716 ***
bOb_negative_priority_presence_1821@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 2022-05-18 10:07:55.716 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7910d859f1df81e6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:55.716 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-18 10:07:55.717 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 out
<iq type='set' id='311ff37d1512604ea8994266c98bc50a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:55.717 ***
bOb_negative_priority_presence_1821@domain.example.com/res1 in
<iq id='311ff37d1512604ea8994266c98bc50a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_1821@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:55.717 ***
bob_negative_priority_presence_1821@domain.example.com/res1 out
<iq type='set' id='7422adc3fde3d1be6138ee5579eb6ece'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.718 ***
bob_negative_priority_presence_1821@domain.example.com/res1 in
<iq type='result' id='7422adc3fde3d1be6138ee5579eb6ece'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:55.718 ***
bob_negative_priority_presence_1821@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:55.721 ***
bob_negative_priority_presence_1821@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_1821@domain.example.com/res1' to='bob_negative_priority_presence_1821@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:55.722 ***
alice_negative_priority_presence_1821@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2022-05-18 10:07:55.723 ***
alice_negative_priority_presence_1821@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res1' to='alice_negative_priority_presence_1821@domain.example.com/res1' xml:lang='en'>
<priority>-10</priority>
</presence>
*** User 2022-05-18 10:07:55.723 ***
alice_negative_priority_presence_1821@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1821@domain.example.com/res1' to='alice_negative_priority_presence_1821@domain.example.com/res2' xml:lang='en'>
<priority>-10</priority>
</presence>
*** User 2022-05-18 10:07:55.723 ***
bob_negative_priority_presence_1821@domain.example.com/res1 out
<message to='alice_negative_priority_presence_1821@domain.example.com' type='chat'>
<body>Hi.</body>
</message>
*** User 2022-05-18 10:07:56.723 ***
bob_negative_priority_presence_1821@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:07:56.724 ***
bob_negative_priority_presence_1821@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-18 10:07:56.724 ***
alice_negative_priority_presence_1821@domain.example.com/res2 out
</stream:stream>
*** User 2022-05-18 10:07:56.724 ***
alice_negative_priority_presence_1821@domain.example.com/res2 in
</stream:stream>
*** User 2022-05-18 10:07:56.724 ***
alice_negative_priority_presence_1821@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:07:56.725 ***
alice_negative_priority_presence_1821@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-18 10:07:56
=== successfully completed test case
=== === Returned value: ok