=== Test case: smart_markers_SUITE:marker_for_thread_can_be_fetched/1 (click for source code)

=== Config value:

    [{watchdog,<0.91466.0>},
     {merge_opts,#{backend => rdbms_async,async_writer => #{pool_size => 2}}},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/smart_markers_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.smart_markers_SUITE.logs/run.2023-11-17_15.25.58/smart_markers_suite.marker_for_thread_can_be_fetched.172291.html"},
     {tc_group_properties,[{name,one2one},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/smart_markers_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.smart_markers_SUITE.logs/run.2023-11-17_15.25.58/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:25:59


*** CT 2023-11-17 15:25:59.721 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5138.html

*** User 2023-11-17 15:25:59.744 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:59.744 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35aad709b4254d8a' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:25:59.744 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/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-11-17 15:25:59.744 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzMwNzYAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:25:59.745 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:25:59.745 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:59.746 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23628f15ff58116a' from='localhost' version='1.0' xml:lang='en' to='alice_marker_for_thread_can_be_fetched_3076@localhost'>

*** User 2023-11-17 15:25:59.746 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/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-11-17 15:25:59.747 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<iq type='set' id='0a28476bcb19ecc229dcc5c2e62ee8c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:25:59.748 ***🔗
alicE_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<iq id='0a28476bcb19ecc229dcc5c2e62ee8c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_3076@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:25:59.748 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<iq type='set' id='8d1b1d24cc5de6229608c6820551b457'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:59.749 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<iq from='localhost' to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1' id='8d1b1d24cc5de6229608c6820551b457' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:59.750 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<presence/>



*** User 2023-11-17 15:25:59.752 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_3076@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1'/>



*** User 2023-11-17 15:25:59.753 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:59.754 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b30fc0a60fcde168' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:25:59.754 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/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-11-17 15:25:59.754 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8zMDc2AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:25:59.756 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:25:59.756 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:59.756 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='476a8ee63f230a8e' from='localhost' version='1.0' xml:lang='en' to='bob_marker_for_thread_can_be_fetched_3076@localhost'>

*** User 2023-11-17 15:25:59.756 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/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-11-17 15:25:59.757 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<iq type='set' id='6dae76a6baf8bf8653bb40e9fe4df931'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:25:59.757 ***🔗
bOb_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<iq id='6dae76a6baf8bf8653bb40e9fe4df931' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_3076@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:25:59.757 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<iq type='set' id='9cff0eb418e93a02d16bfc3eff79ae9c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:59.758 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<iq from='localhost' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' id='9cff0eb418e93a02d16bfc3eff79ae9c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:59.759 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<presence/>



*** User 2023-11-17 15:25:59.760 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1'/>



*** User 2023-11-17 15:25:59.760 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' id='2d1eaa5a43d8d42366ece11827125650'>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.761 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3076@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' type='chat' id='2d1eaa5a43d8d42366ece11827125650'>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.761 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='2d1eaa5a43d8d42366ece11827125650'/>
</message>



*** User 2023-11-17 15:25:59.762 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='2d1eaa5a43d8d42366ece11827125650'/>
</message>



*** User 2023-11-17 15:25:59.762 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' id='eb8264f661c749cfc96fddd84935f177'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.763 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3076@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' type='chat' id='eb8264f661c749cfc96fddd84935f177'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.763 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='eb8264f661c749cfc96fddd84935f177'/>
</message>



*** User 2023-11-17 15:25:59.763 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3076@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='eb8264f661c749cfc96fddd84935f177'/>
</message>



*** User 2023-11-17 15:25:59.763 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
<iq type='get' id='4cedb5510f5b9592818fbf8418bd9762'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3076@localhost' thread='some-thread-id'/>
</iq>



*** User 2023-11-17 15:25:59.765 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3076@localhost' to='bob_marker_for_thread_can_be_fetched_3076@localhost/res1' id='4cedb5510f5b9592818fbf8418bd9762' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3076@localhost'>
		<marker id='eb8264f661c749cfc96fddd84935f177' from='bob_marker_for_thread_can_be_fetched_3076@localhost' type='displayed' timestamp='2023-11-17T15:25:59.763308Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2023-11-17 15:25:59.765 ***🔗
waiting for fetch_marker is done in 0 miliseconds

*** User 2023-11-17 15:25:59.765 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:25:59.765 ***🔗
bob_marker_for_thread_can_be_fetched_3076@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:25:59.765 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:25:59.766 ***🔗
alice_marker_for_thread_can_be_fetched_3076@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:25:59.770 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5138.html



=== Ended at 2023-11-17 15:25:59
=== successfully completed test case
=== === Returned value: ok