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

=== Config value:

    [{watchdog,<0.68858.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/presence_suite.negative_priority_presence.192514.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/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@eebaa68b7995.2024-01-14_19.39.51"

=== Started at 2024-01-14 19:50:22


*** CT 2024-01-14 19:50:22.596 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2342.html

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

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



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



*** User 2024-01-14 19:50:22.602 ***🔗
alicE_negative_priority_presence_2532@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:50:22.602 ***🔗
alicE_negative_priority_presence_2532@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='861465b7cd05a99d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2532@domain.example.com'>

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



*** User 2024-01-14 19:50:22.603 ***🔗
alicE_negative_priority_presence_2532@domain.example.com/res1 in
<iq id='90f8414d70ca827e4fe6739fb8adeea7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2532@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:22.603 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 out
<iq type='set' id='bfb95a619c780c696fb02fbb771eafb1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.603 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2532@domain.example.com/res1' id='bfb95a619c780c696fb02fbb771eafb1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.603 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 out
<presence/>



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



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

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



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



*** User 2024-01-14 19:50:22.606 ***🔗
alicE_negative_priority_presence_2532@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:50:22.606 ***🔗
alicE_negative_priority_presence_2532@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5bd647063a2107c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2532@domain.example.com'>

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



*** User 2024-01-14 19:50:22.606 ***🔗
alicE_negative_priority_presence_2532@domain.example.com/res2 in
<iq id='1ece782a67e3f5cb43ab4c5a396d8686' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2532@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:22.606 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res2 out
<iq type='set' id='e2accb6711e4f412152e4496e94c4e4b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.607 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2532@domain.example.com/res2' id='e2accb6711e4f412152e4496e94c4e4b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.607 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res2 out
<presence/>



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



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



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



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

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



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



*** User 2024-01-14 19:50:22.610 ***🔗
bOb_negative_priority_presence_2532@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:50:22.610 ***🔗
bOb_negative_priority_presence_2532@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='055a7a4e342b41d4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2532@domain.example.com'>

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



*** User 2024-01-14 19:50:22.610 ***🔗
bOb_negative_priority_presence_2532@domain.example.com/res1 in
<iq id='977a0d4f1264ffb2e37d9043495e065d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2532@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:22.610 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 out
<iq type='set' id='1665ef449c891e6a4efdd106b5a35f0b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.611 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2532@domain.example.com/res1' id='1665ef449c891e6a4efdd106b5a35f0b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:22.611 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 out
<presence/>



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



*** User 2024-01-14 19:50:22.612 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



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



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



*** User 2024-01-14 19:50:22.613 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2532@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2024-01-14 19:50:23.615 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:23.615 ***🔗
bob_negative_priority_presence_2532@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:50:23.615 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res2 out
</stream:stream>

*** User 2024-01-14 19:50:23.616 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res2 in
</stream:stream>

*** User 2024-01-14 19:50:23.616 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:23.616 ***🔗
alice_negative_priority_presence_2532@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:50:23.617 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2342.html



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