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

=== Config value:

    [{watchdog,<0.94021.0>},
     {merge_opts,#{backend => rdbms_async,async_writer => #{pool_size => 2}}},
     {preset,"mysql_redis"},
     {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@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-15_10.14.45/smart_markers_suite.marker_for_thread_can_be_fetched.240130.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@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-15_10.14.45/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_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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_bosh =>
            #{backend => mnesia,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@1fbe638fdeaa.2024-02-15_09.57.53"

=== Started at 2024-02-15 10:14:46


*** CT 2024-02-15 10:14:46.574 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5124.html

*** User 2024-02-15 10:14:46.592 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-15 10:14:46.593 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97cb563ff5431f30' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-15 10:14:46.593 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@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 2024-02-15 10:14:46.593 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzMyNDcAbWF0eWdyeXNh</auth>



*** User 2024-02-15 10:14:46.595 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-15 10:14:46.595 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-15 10:14:46.595 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d20dd2cdbf9220f' from='localhost' version='1.0' xml:lang='en' to='alice_marker_for_thread_can_be_fetched_3247@localhost'>

*** User 2024-02-15 10:14:46.595 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@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 2024-02-15 10:14:46.595 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='set' id='65bb04098c0183fa35b3f8d103adfdf6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-15 10:14:46.596 ***🔗
alicE_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq id='65bb04098c0183fa35b3f8d103adfdf6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_3247@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-15 10:14:46.596 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='set' id='f45087fe7fc5fd776e582d041cb04cda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-15 10:14:46.597 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq from='localhost' to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1' id='f45087fe7fc5fd776e582d041cb04cda' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-15 10:14:46.597 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<presence/>



*** User 2024-02-15 10:14:46.599 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_3247@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1'/>



*** User 2024-02-15 10:14:46.600 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-15 10:14:46.600 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e7df063af9deea1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-15 10:14:46.600 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@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 2024-02-15 10:14:46.600 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8zMjQ3AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-15 10:14:46.601 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-15 10:14:46.602 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-15 10:14:46.602 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8329344df015694' from='localhost' version='1.0' xml:lang='en' to='bob_marker_for_thread_can_be_fetched_3247@localhost'>

*** User 2024-02-15 10:14:46.602 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@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 2024-02-15 10:14:46.602 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='set' id='1750416928f142bfe6daa37774cef05c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-15 10:14:46.602 ***🔗
bOb_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq id='1750416928f142bfe6daa37774cef05c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_3247@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-15 10:14:46.602 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='set' id='8a942f85ccf565c237df6e576288eb87'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-15 10:14:46.603 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq from='localhost' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' id='8a942f85ccf565c237df6e576288eb87' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-15 10:14:46.604 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<presence/>



*** User 2024-02-15 10:14:46.605 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1'/>



*** User 2024-02-15 10:14:46.606 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' id='c553c732b7252ba9da457a8a7376da25'>
	<body>Hello!</body>
</message>



*** User 2024-02-15 10:14:46.606 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3247@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' type='chat' id='c553c732b7252ba9da457a8a7376da25'>
	<body>Hello!</body>
</message>



*** User 2024-02-15 10:14:46.606 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='c553c732b7252ba9da457a8a7376da25'/>
</message>



*** User 2024-02-15 10:14:46.607 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='c553c732b7252ba9da457a8a7376da25'/>
</message>



*** User 2024-02-15 10:14:46.608 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' id='b3b5a82065f9ec48516198cec2e2b566'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-15 10:14:46.608 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3247@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' type='chat' id='b3b5a82065f9ec48516198cec2e2b566'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-15 10:14:46.608 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='b3b5a82065f9ec48516198cec2e2b566'/>
</message>



*** User 2024-02-15 10:14:46.609 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3247@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='b3b5a82065f9ec48516198cec2e2b566'/>
</message>



*** User 2024-02-15 10:14:46.609 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='get' id='211b0eec2c7b70afae606b2ea726b9e6'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3247@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-02-15 10:14:46.612 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3247@localhost' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' id='211b0eec2c7b70afae606b2ea726b9e6' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3247@localhost'/>
</iq>



*** User 2024-02-15 10:14:46.713 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
<iq type='get' id='211b0eec2c7b70afae606b2ea726b9e6'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3247@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-02-15 10:14:46.715 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3247@localhost' to='bob_marker_for_thread_can_be_fetched_3247@localhost/res1' id='211b0eec2c7b70afae606b2ea726b9e6' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3247@localhost'>
		<marker id='b3b5a82065f9ec48516198cec2e2b566' from='bob_marker_for_thread_can_be_fetched_3247@localhost' type='displayed' timestamp='2024-02-15T10:14:46.608903Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2024-02-15 10:14:46.715 ***🔗
waiting for fetch_marker is done in 100 miliseconds

*** User 2024-02-15 10:14:46.715 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 out
</stream:stream>

*** User 2024-02-15 10:14:46.715 ***🔗
bob_marker_for_thread_can_be_fetched_3247@localhost/res1 in
</stream:stream>

*** User 2024-02-15 10:14:46.715 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 out
</stream:stream>

*** User 2024-02-15 10:14:46.715 ***🔗
alice_marker_for_thread_can_be_fetched_3247@localhost/res1 in
</stream:stream>
*** CT 2024-02-15 10:14:46.718 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5124.html



=== Ended at 2024-02-15 10:14:46
=== successfully completed test case
=== === Returned value: ok