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

=== Config value:

    [{watchdog,<0.84710.0>},
     {merge_opts,#{backend => rdbms_async,async_writer => #{pool_size => 2}}},
     {preset,"pgsql_mnesia"},
     {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@8ac7ebc93e6b.2024-03-20_18.07.02/big_tests.tests.smart_markers_SUITE.logs/run.2024-03-20_18.21.59/smart_markers_suite.marker_after_timestamp_for_threadid_can_be_fetched.236162.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@8ac7ebc93e6b.2024-03-20_18.07.02/big_tests.tests.smart_markers_SUITE.logs/run.2024-03-20_18.21.59/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@8ac7ebc93e6b.2024-03-20_18.07.02"

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


*** CT 2024-03-20 18:22:00.007 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4162.html

*** User 2024-03-20 18:22:00.026 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3083@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:22:00.027 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='718e15904a8cb753' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2024-03-20 18:22:00.029 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3083@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:22:00.030 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5fa5876692c067ff' from='domain.example.com' version='1.0' xml:lang='en' to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com'>

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



*** User 2024-03-20 18:22:00.030 ***🔗
alicE_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<iq id='a2482ecfd413b64f43d984d7d743ecf3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2024-03-20 18:22:00.032 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<presence/>



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



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

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



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



*** User 2024-03-20 18:22:00.035 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3083@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:22:00.036 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8edfb60f065c5d03' from='domain.example.com' version='1.0' xml:lang='en' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com'>

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



*** User 2024-03-20 18:22:00.037 ***🔗
bOb_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<iq id='81c1b9489ab6482b3df10bc9d02c3484' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:22:00.037 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<iq type='set' id='0147d3f298d56a210394a878010985da'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:00.037 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' id='0147d3f298d56a210394a878010985da' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:00.037 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<presence/>



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



*** User 2024-03-20 18:22:00.039 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<message type='chat' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' id='6791ddbe40a426d92d09253a4a4dbf15'>
	<body>Hello!</body>
</message>



*** User 2024-03-20 18:22:00.039 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<message from='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' type='chat' id='6791ddbe40a426d92d09253a4a4dbf15'>
	<body>Hello!</body>
</message>



*** User 2024-03-20 18:22:00.039 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<message to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='6791ddbe40a426d92d09253a4a4dbf15'/>
</message>



*** User 2024-03-20 18:22:00.048 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<message from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='6791ddbe40a426d92d09253a4a4dbf15'/>
</message>



*** User 2024-03-20 18:22:00.048 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<message type='chat' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' id='3b6365bd2221b51aa00e24f718240b30'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-03-20 18:22:00.079 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<message from='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' type='chat' id='3b6365bd2221b51aa00e24f718240b30'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-03-20 18:22:00.080 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<message to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='3b6365bd2221b51aa00e24f718240b30'/>
</message>



*** User 2024-03-20 18:22:00.080 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<message from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' to='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='3b6365bd2221b51aa00e24f718240b30'/>
</message>



*** User 2024-03-20 18:22:00.080 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
<iq type='get' id='0ab5a1ac927255e62af0d680cdc4c625'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com' thread='some-thread-id' after='2024-03-20T18:22:00.039126Z'/>
</iq>



*** User 2024-03-20 18:22:00.082 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
<iq from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com' to='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1' id='0ab5a1ac927255e62af0d680cdc4c625' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com'>
		<marker id='3b6365bd2221b51aa00e24f718240b30' from='bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com' type='displayed' timestamp='2024-03-20T18:22:00.080174Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2024-03-20 18:22:00.083 ***🔗
waiting for fetch_marker is done in 0 miliseconds

*** User 2024-03-20 18:22:00.083 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:22:00.083 ***🔗
bob_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-20 18:22:00.083 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:22:00.084 ***🔗
alice_marker_after_timestamp_for_threadid_can_be_fetched_3083@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-20 18:22:00.090 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4162.html



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