=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.1194.2>},
{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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/presence_suite.negative_priority_presence.89860.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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55"
=== Started at 2022-03-07 09:39:49
*** User 2022-03-07 09:39:49.138 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.139 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb334fd432aa5b3e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.139 ***
alicE_negative_priority_presence_1770@localhost/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-03-07 09:39:49.139 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE3NzAAbWF0eWdyeXNh</auth>
*** User 2022-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a05e41e94f92c08d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/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-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<iq type='set' id='aff61d4d724b7800470aefb7ba5d2a97'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:49.140 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<iq id='aff61d4d724b7800470aefb7ba5d2a97' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_negative_priority_presence_1770@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:49.141 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<iq type='set' id='b5bd7548c17c18dbc9925653cfb557d8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.141 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<iq type='result' id='b5bd7548c17c18dbc9925653cfb557d8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.141 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:49.142 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<presence from='alicE_negative_priority_presence_1770@localhost/res1' to='alice_negative_priority_presence_1770@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:49.142 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.143 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='043c80037e68242f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.143 ***
alicE_negative_priority_presence_1770@localhost/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-03-07 09:39:49.143 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE3NzAAbWF0eWdyeXNh</auth>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e3ac1000242c38b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/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-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<iq type='set' id='95ea76c7131ebb30f3a61b1f3ff41bd2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<iq id='95ea76c7131ebb30f3a61b1f3ff41bd2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_negative_priority_presence_1770@localhost/res2</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:49.144 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<iq type='set' id='b49470837ccd74c7e3e70fc89d088c18'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.145 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<iq type='result' id='b49470837ccd74c7e3e70fc89d088c18'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.145 ***
alicE_negative_priority_presence_1770@localhost/res2 out
<presence/>
*** User 2022-03-07 09:39:49.146 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<presence from='alicE_negative_priority_presence_1770@localhost/res2' to='alice_negative_priority_presence_1770@localhost/res2' xml:lang='en'/>
*** User 2022-03-07 09:39:49.146 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<presence from='alice_negative_priority_presence_1770@localhost/res1' to='alicE_negative_priority_presence_1770@localhost/res2' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T09:39:49Z' from='alice_negative_priority_presence_1770@localhost/res1'/>
</presence>
*** User 2022-03-07 09:39:49.146 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<presence from='alicE_negative_priority_presence_1770@localhost/res2' to='alice_negative_priority_presence_1770@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:49.147 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.147 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6fea4c9b22fc00a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.147 ***
bOb_negative_priority_presence_1770@localhost/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-03-07 09:39:49.147 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xNzcwAG1ha3JvbGlrYQ==</auth>
*** User 2022-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f0c41177a597d39' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/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-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<iq type='set' id='8969197a248a1ecb0a7eb6dc8a35f443'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:49.148 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<iq id='8969197a248a1ecb0a7eb6dc8a35f443' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_negative_priority_presence_1770@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:49.149 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<iq type='set' id='c85496532eb5bb0a0888ab01db2a97a5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.149 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<iq type='result' id='c85496532eb5bb0a0888ab01db2a97a5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:49.149 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:49.150 ***
bOb_negative_priority_presence_1770@localhost/res1 in
<presence from='bOb_negative_priority_presence_1770@localhost/res1' to='bob_negative_priority_presence_1770@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:49.150 ***
alicE_negative_priority_presence_1770@localhost/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2022-03-07 09:39:49.150 ***
alicE_negative_priority_presence_1770@localhost/res1 in
<presence from='alicE_negative_priority_presence_1770@localhost/res1' to='alice_negative_priority_presence_1770@localhost/res1' xml:lang='en'>
<priority>-10</priority>
</presence>
*** User 2022-03-07 09:39:49.150 ***
alicE_negative_priority_presence_1770@localhost/res2 in
<presence from='alicE_negative_priority_presence_1770@localhost/res1' to='alice_negative_priority_presence_1770@localhost/res2' xml:lang='en'>
<priority>-10</priority>
</presence>
*** User 2022-03-07 09:39:49.150 ***
bOb_negative_priority_presence_1770@localhost/res1 out
<message to='alicE_negative_priority_presence_1770@localhost' type='chat'>
<body>Hi.</body>
</message>
*** User 2022-03-07 09:39:50.151 ***
bOb_negative_priority_presence_1770@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.152 ***
bOb_negative_priority_presence_1770@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:39:50.152 ***
alicE_negative_priority_presence_1770@localhost/res2 out
</stream:stream>
*** User 2022-03-07 09:39:50.152 ***
alicE_negative_priority_presence_1770@localhost/res2 in
</stream:stream>
*** User 2022-03-07 09:39:50.152 ***
alicE_negative_priority_presence_1770@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.152 ***
alicE_negative_priority_presence_1770@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 09:39:50
=== successfully completed test case
=== === Returned value: ok