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

=== Config value:

    [{watchdog,<0.68174.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/presence_suite.negative_priority_presence.95492.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:57:30


*** CT 2023-12-07 07:57:30.621 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2337.html

*** User 2023-12-07 07:57:30.628 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.628 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe5900dd6c06ce5f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:30.628 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.628 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI0OTEAbWF0eWdyeXNh</auth>



*** User 2023-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='496bf506b19f3e96' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2491@domain.example.com'>

*** User 2023-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 out
<iq type='set' id='8e976f8bbea5ccac7a0dea9f2555e33c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.629 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res1 in
<iq id='8e976f8bbea5ccac7a0dea9f2555e33c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2491@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.630 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 out
<iq type='set' id='615e548b86f4ad985170da4931aa3203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.630 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2491@domain.example.com/res1' id='615e548b86f4ad985170da4931aa3203' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.630 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:30.632 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res1' to='alice_negative_priority_presence_2491@domain.example.com/res1'/>



*** User 2023-12-07 07:57:30.632 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.633 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdbf7528acef18e8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:30.633 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.633 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI0OTEAbWF0eWdyeXNh</auth>



*** User 2023-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86ec70fe0dc2a9e7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2491@domain.example.com'>

*** User 2023-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@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-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 out
<iq type='set' id='a34c6ecb08fbc32392c9007d693d39b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.634 ***🔗
alicE_negative_priority_presence_2491@domain.example.com/res2 in
<iq id='a34c6ecb08fbc32392c9007d693d39b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2491@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.635 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 out
<iq type='set' id='ef24660534086c517eb983a9e5acc42a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.635 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2491@domain.example.com/res2' id='ef24660534086c517eb983a9e5acc42a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.635 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 out
<presence/>



*** User 2023-12-07 07:57:30.637 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res2' to='alice_negative_priority_presence_2491@domain.example.com/res2'/>



*** User 2023-12-07 07:57:30.637 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res1' to='alice_negative_priority_presence_2491@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:57:30.631590Z' from='alice_negative_priority_presence_2491@domain.example.com/res1'/>
</presence>



*** User 2023-12-07 07:57:30.637 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res2' to='alice_negative_priority_presence_2491@domain.example.com/res1'/>



*** User 2023-12-07 07:57:30.637 ***🔗
bOb_negative_priority_presence_2491@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-12-07 07:57:30.637 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ca92109b66c1a28' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:30.638 ***🔗
bOb_negative_priority_presence_2491@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-12-07 07:57:30.638 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNDkxAG1ha3JvbGlrYQ==</auth>



*** User 2023-12-07 07:57:30.638 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:30.638 ***🔗
bOb_negative_priority_presence_2491@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-12-07 07:57:30.639 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='932237dbeb2857c5' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2491@domain.example.com'>

*** User 2023-12-07 07:57:30.639 ***🔗
bOb_negative_priority_presence_2491@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-12-07 07:57:30.639 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 out
<iq type='set' id='abfa9725ceea3b7ccead2cfe56c5d1e4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.639 ***🔗
bOb_negative_priority_presence_2491@domain.example.com/res1 in
<iq id='abfa9725ceea3b7ccead2cfe56c5d1e4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2491@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:30.639 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 out
<iq type='set' id='0484db4211d6854911d78bb8a563df18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.639 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2491@domain.example.com/res1' id='0484db4211d6854911d78bb8a563df18' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:30.640 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:30.641 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2491@domain.example.com/res1' to='bob_negative_priority_presence_2491@domain.example.com/res1'/>



*** User 2023-12-07 07:57:30.641 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2023-12-07 07:57:30.642 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res1' to='alice_negative_priority_presence_2491@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2023-12-07 07:57:30.642 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2491@domain.example.com/res1' to='alice_negative_priority_presence_2491@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2023-12-07 07:57:30.642 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2491@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2023-12-07 07:57:31.643 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:57:31.643 ***🔗
bob_negative_priority_presence_2491@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:57:31.643 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 out
</stream:stream>

*** User 2023-12-07 07:57:31.644 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res2 in
</stream:stream>

*** User 2023-12-07 07:57:31.644 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:57:31.644 ***🔗
alice_negative_priority_presence_2491@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:57:31.646 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2337.html



=== Ended at 2023-12-07 07:57:31
=== successfully completed test case
=== === Returned value: ok