=== Test case: smart_markers_SUITE:marker_after_timestamp_for_threadid_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_after_timestamp_for_threadid_can_be_fetched.234114.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.723 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5138.html

*** User 2023-11-17 15:25:59.744 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3077@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.745 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fde58728b4580c7c' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2023-11-17 15:25:59.746 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3077@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.747 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1eb3ecb2c283656' from='localhost' version='1.0' xml:lang='en' to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost'>

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



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



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



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



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



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



*** User 2023-11-17 15:25:59.753 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3077@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.753 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2726fa4c7631902' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2023-11-17 15:25:59.756 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3077@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_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc70b555b8292e04' from='localhost' version='1.0' xml:lang='en' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost'>

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



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



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



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



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



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



*** User 2023-11-17 15:25:59.761 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 out
<message type='chat' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' id='352b86b529105a743b9adb52ce48b48f'>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.762 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<message from='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' type='chat' id='352b86b529105a743b9adb52ce48b48f'>
	<body>Hello!</body>
</message>



*** User 2023-11-17 15:25:59.762 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 out
<message to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='352b86b529105a743b9adb52ce48b48f'/>
</message>



*** User 2023-11-17 15:25:59.762 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<message from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='352b86b529105a743b9adb52ce48b48f'/>
</message>



*** User 2023-11-17 15:25:59.763 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 out
<message type='chat' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' id='ae5e46bccdd4626894620f8dd8ca187d'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



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



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



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



*** User 2023-11-17 15:25:59.764 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 out
<iq type='get' id='d7f60f6dae29c97e2c2e7d7757bedec4'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost' thread='some-thread-id' after='2023-11-17T15:25:59.760857Z'/>
</iq>



*** User 2023-11-17 15:25:59.765 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
<iq from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1' id='d7f60f6dae29c97e2c2e7d7757bedec4' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost'>
		<marker id='ae5e46bccdd4626894620f8dd8ca187d' from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost' type='displayed' timestamp='2023-11-17T15:25:59.763568Z' thread='some-thread-id'/>
	</query>
</iq>



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

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

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

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

*** User 2023-11-17 15:25:59.767 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3077@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:25:59.799 *** 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