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

=== Config value:

    [{watchdog,<0.7517.2>},
     {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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/presence_suite.negative_priority_presence.214018.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/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@893c79bb0538.2024-03-20_18.07.18"

=== Started at 2024-03-20 18:21:09


*** CT 2024-03-20 18:21:09.531 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3567.html

*** User 2024-03-20 18:21:09.539 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.539 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3487ab3295d58a1c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:21:09.539 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.539 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI5MDIAbWF0eWdyeXNh</auth>



*** User 2024-03-20 18:21:09.540 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:21:09.540 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.541 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91ed393391ba32af' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2902@domain.example.com'>

*** User 2024-03-20 18:21:09.541 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.541 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 out
<iq type='set' id='c5c7e2234c6ca5f68b93747972d1a53f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.541 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res1 in
<iq id='c5c7e2234c6ca5f68b93747972d1a53f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2902@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.541 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 out
<iq type='set' id='aed67f0a1cd7f870e849779cec982246'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.542 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2902@domain.example.com/res1' id='aed67f0a1cd7f870e849779cec982246' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.542 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:21:09.543 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res1' to='alice_negative_priority_presence_2902@domain.example.com/res1'/>



*** User 2024-03-20 18:21:09.544 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.544 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7aead2dbfd4824a8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:21:09.545 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.545 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI5MDIAbWF0eWdyeXNh</auth>



*** User 2024-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33e2613481f2414c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2902@domain.example.com'>

*** User 2024-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@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-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 out
<iq type='set' id='1e62ad01cd19f00596dbe744946c6966'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.546 ***🔗
alicE_negative_priority_presence_2902@domain.example.com/res2 in
<iq id='1e62ad01cd19f00596dbe744946c6966' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2902@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.546 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 out
<iq type='set' id='e6b33b438a024d6705f1b9290812c41f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.547 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2902@domain.example.com/res2' id='e6b33b438a024d6705f1b9290812c41f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.547 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 out
<presence/>



*** User 2024-03-20 18:21:09.548 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res2' to='alice_negative_priority_presence_2902@domain.example.com/res2'/>



*** User 2024-03-20 18:21:09.548 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res1' to='alice_negative_priority_presence_2902@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-20T18:21:09.543369Z' from='alice_negative_priority_presence_2902@domain.example.com/res1'/>
</presence>



*** User 2024-03-20 18:21:09.548 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res2' to='alice_negative_priority_presence_2902@domain.example.com/res1'/>



*** User 2024-03-20 18:21:09.549 ***🔗
bOb_negative_priority_presence_2902@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-03-20 18:21:09.549 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e5cbe684aaa5053' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:21:09.549 ***🔗
bOb_negative_priority_presence_2902@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-03-20 18:21:09.550 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yOTAyAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-20 18:21:09.550 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:21:09.550 ***🔗
bOb_negative_priority_presence_2902@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-03-20 18:21:09.551 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='795483648a5ed2bd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2902@domain.example.com'>

*** User 2024-03-20 18:21:09.551 ***🔗
bOb_negative_priority_presence_2902@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-03-20 18:21:09.551 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 out
<iq type='set' id='df9425e2b263df48b2ea58d65e29e998'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.551 ***🔗
bOb_negative_priority_presence_2902@domain.example.com/res1 in
<iq id='df9425e2b263df48b2ea58d65e29e998' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2902@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:21:09.551 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 out
<iq type='set' id='861807a33e4a1d80a6333cdb6799ade4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.552 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2902@domain.example.com/res1' id='861807a33e4a1d80a6333cdb6799ade4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:21:09.552 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:21:09.553 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2902@domain.example.com/res1' to='bob_negative_priority_presence_2902@domain.example.com/res1'/>



*** User 2024-03-20 18:21:09.553 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-03-20 18:21:09.554 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res1' to='alice_negative_priority_presence_2902@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-03-20 18:21:09.554 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2902@domain.example.com/res1' to='alice_negative_priority_presence_2902@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-03-20 18:21:09.554 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 out
<message to='alice_negative_priority_presence_2902@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2024-03-20 18:21:10.555 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:21:10.555 ***🔗
bob_negative_priority_presence_2902@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-20 18:21:10.556 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 out
</stream:stream>

*** User 2024-03-20 18:21:10.556 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res2 in
</stream:stream>

*** User 2024-03-20 18:21:10.556 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:21:10.556 ***🔗
alice_negative_priority_presence_2902@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-20 18:21:10.559 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3567.html



=== Ended at 2024-03-20 18:21:10
=== successfully completed test case
=== === Returned value: ok