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

=== Config value:

    [{watchdog,<0.71467.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/presence_suite.available_direct_then_unavailable.138883.html"},
     {tc_group_properties,[{name,presence},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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/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@9442f737ceb0.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:52:10


*** CT 2024-04-26 12:52:10.439 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2288.html

*** User 2024-04-26 12:52:10.454 ***🔗
alicE_available_direct_then_unavailable_2771@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-04-26 12:52:10.454 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e54eaea525b88dfc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:10.455 ***🔗
alicE_available_direct_then_unavailable_2771@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-04-26 12:52:10.455 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl91bmF2YWlsYWJsZV8yNzcxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:52:10.456 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:10.456 ***🔗
alicE_available_direct_then_unavailable_2771@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-04-26 12:52:10.457 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1cee6ca248f50bb5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_available_direct_then_unavailable_2771@domain.example.com'>

*** User 2024-04-26 12:52:10.457 ***🔗
alicE_available_direct_then_unavailable_2771@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-04-26 12:52:10.457 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 out
<iq type='set' id='533dee7f74bb816b1af49f13aeeec5a5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.457 ***🔗
alicE_available_direct_then_unavailable_2771@domain.example.com/res1 in
<iq id='533dee7f74bb816b1af49f13aeeec5a5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_available_direct_then_unavailable_2771@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.457 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 out
<iq type='set' id='95e53c0ac8d019242ebcb620d623ef69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.458 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_available_direct_then_unavailable_2771@domain.example.com/res1' id='95e53c0ac8d019242ebcb620d623ef69' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.459 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:10.460 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2771@domain.example.com/res1' to='alice_available_direct_then_unavailable_2771@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.462 ***🔗
bOb_available_direct_then_unavailable_2771@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-04-26 12:52:10.463 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23ef8afab8e3bc64' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:10.463 ***🔗
bOb_available_direct_then_unavailable_2771@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-04-26 12:52:10.463 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fdW5hdmFpbGFibGVfMjc3MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:10.464 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:10.465 ***🔗
bOb_available_direct_then_unavailable_2771@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-04-26 12:52:10.465 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ff8896cd26f964a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_available_direct_then_unavailable_2771@domain.example.com'>

*** User 2024-04-26 12:52:10.465 ***🔗
bOb_available_direct_then_unavailable_2771@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-04-26 12:52:10.465 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 out
<iq type='set' id='49879357fd039810f62a7c780bd62be5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.466 ***🔗
bOb_available_direct_then_unavailable_2771@domain.example.com/res1 in
<iq id='49879357fd039810f62a7c780bd62be5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_available_direct_then_unavailable_2771@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:10.466 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 out
<iq type='set' id='25cf672cee363a009cf21da6da61b28a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.467 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_available_direct_then_unavailable_2771@domain.example.com/res1' id='25cf672cee363a009cf21da6da61b28a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:10.467 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:10.468 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 in
<presence from='bob_available_direct_then_unavailable_2771@domain.example.com/res1' to='bob_available_direct_then_unavailable_2771@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.468 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 out
<presence to='bob_available_direct_then_unavailable_2771@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.469 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2771@domain.example.com/res1' to='bob_available_direct_then_unavailable_2771@domain.example.com/res1'/>



*** User 2024-04-26 12:52:10.469 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 out
<presence type='unavailable'/>



*** User 2024-04-26 12:52:10.470 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 in
<presence from='alice_available_direct_then_unavailable_2771@domain.example.com/res1' to='bob_available_direct_then_unavailable_2771@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-26 12:52:10.470 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:10.471 ***🔗
bob_available_direct_then_unavailable_2771@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 12:52:10.471 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:10.471 ***🔗
alice_available_direct_then_unavailable_2771@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 12:52:10.479 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



=== Ended at 2024-04-26 12:52:10
=== successfully completed test case
=== === Returned value: ok