=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)

=== Config value:

    [{watchdog,<0.69516.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/presence_suite.negative_priority_presence.137603.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/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@d081adacb998.2024-01-14_19.39.56"

=== Started at 2024-01-14 19:53:15


*** CT 2024-01-14 19:53:15.681 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2631.html

*** User 2024-01-14 19:53:15.691 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.692 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0bfe38cdc6b798ac' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:15.692 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.692 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2ODgAbWF0eWdyeXNh</auth>



*** User 2024-01-14 19:53:15.693 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:15.694 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.694 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf778a9dfcacc7b3' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2688@domain.example.com'>

*** User 2024-01-14 19:53:15.694 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.694 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 out
<iq type='set' id='01129632cd4d6511f3e8729cef5d5dc5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.694 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res1 in
<iq id='01129632cd4d6511f3e8729cef5d5dc5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2688@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.695 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 out
<iq type='set' id='20b85f0bf71c68261efc5cae21fe407d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.695 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2688@domain.example.com/res1' id='20b85f0bf71c68261efc5cae21fe407d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.695 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:53:15.697 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res1' to='alice_negative_priority_presence_2688@domain.example.com/res1'/>



*** User 2024-01-14 19:53:15.698 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.698 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8131a0fdc4c47840' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:15.698 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.698 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2ODgAbWF0eWdyeXNh</auth>



*** User 2024-01-14 19:53:15.699 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:15.699 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.700 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10648a967e6472e2' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2688@domain.example.com'>

*** User 2024-01-14 19:53:15.700 ***🔗
alicE_negative_priority_presence_2688@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-01-14 19:53:15.700 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 out
<iq type='set' id='df80df34f45a33398d047ca291dbaab4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.700 ***🔗
alicE_negative_priority_presence_2688@domain.example.com/res2 in
<iq id='df80df34f45a33398d047ca291dbaab4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2688@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.700 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 out
<iq type='set' id='42fe5f93080e51b109fdcb7334fefee7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.701 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2688@domain.example.com/res2' id='42fe5f93080e51b109fdcb7334fefee7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.701 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 out
<presence/>



*** User 2024-01-14 19:53:15.703 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res2' to='alice_negative_priority_presence_2688@domain.example.com/res2'/>



*** User 2024-01-14 19:53:15.703 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res1' to='alice_negative_priority_presence_2688@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:53:15.696914Z' from='alice_negative_priority_presence_2688@domain.example.com/res1'/>
</presence>



*** User 2024-01-14 19:53:15.703 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res2' to='alice_negative_priority_presence_2688@domain.example.com/res1'/>



*** User 2024-01-14 19:53:15.704 ***🔗
bOb_negative_priority_presence_2688@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-01-14 19:53:15.704 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5ab7a8ffa341b50' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:15.705 ***🔗
bOb_negative_priority_presence_2688@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-01-14 19:53:15.705 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNjg4AG1ha3JvbGlrYQ==</auth>



*** User 2024-01-14 19:53:15.706 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:15.706 ***🔗
bOb_negative_priority_presence_2688@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-01-14 19:53:15.706 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44eac3068579377e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2688@domain.example.com'>

*** User 2024-01-14 19:53:15.706 ***🔗
bOb_negative_priority_presence_2688@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-01-14 19:53:15.706 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 out
<iq type='set' id='dd7a7795a339a2ddae21e55b43f937e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.707 ***🔗
bOb_negative_priority_presence_2688@domain.example.com/res1 in
<iq id='dd7a7795a339a2ddae21e55b43f937e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2688@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:15.707 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 out
<iq type='set' id='42a941d21889742bd0de60a7f056172a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.707 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2688@domain.example.com/res1' id='42a941d21889742bd0de60a7f056172a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:15.707 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:53:15.709 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2688@domain.example.com/res1' to='bob_negative_priority_presence_2688@domain.example.com/res1'/>



*** User 2024-01-14 19:53:15.709 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-01-14 19:53:15.710 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res1' to='alice_negative_priority_presence_2688@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-01-14 19:53:15.710 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2688@domain.example.com/res1' to='alice_negative_priority_presence_2688@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-01-14 19:53:15.710 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2688@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2024-01-14 19:53:16.711 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:53:16.712 ***🔗
bob_negative_priority_presence_2688@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:53:16.712 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 out
</stream:stream>

*** User 2024-01-14 19:53:16.712 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res2 in
</stream:stream>

*** User 2024-01-14 19:53:16.712 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:53:16.713 ***🔗
alice_negative_priority_presence_2688@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:53:16.715 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2631.html



=== Ended at 2024-01-14 19:53:16
=== successfully completed test case
=== === Returned value: ok