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

=== Config value:

    [{watchdog,<0.96538.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@87ec64db993b.2024-04-17_15.42.10/big_tests.tests.smart_markers_SUITE.logs/run.2024-04-17_16.00.08/smart_markers_suite.marker_for_thread_can_be_fetched.113796.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@87ec64db993b.2024-04-17_15.42.10/big_tests.tests.smart_markers_SUITE.logs/run.2024-04-17_16.00.08/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => 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_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@87ec64db993b.2024-04-17_15.42.10"

=== Started at 2024-04-17 16:00:10


*** CT 2024-04-17 16:00:10.814 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5626.html

*** User 2024-04-17 16:00:10.872 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.872 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='466f60459c64800b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 16:00:10.872 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.872 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzMzNjcAbWF0eWdyeXNh</auth>



*** User 2024-04-17 16:00:10.874 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 16:00:10.874 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.875 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d180bdcd1e7b260d' from='localhost' version='1.0' xml:lang='en' to='alice_marker_for_thread_can_be_fetched_3367@localhost'>

*** User 2024-04-17 16:00:10.875 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.875 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='set' id='2fad950a51fc6c53e0640aa2c217267f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 16:00:10.882 ***🔗
alicE_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq id='2fad950a51fc6c53e0640aa2c217267f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_3367@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 16:00:10.882 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='set' id='659fb1cd75d3eedbd1b674ed02ec1343'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 16:00:10.884 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq from='localhost' to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1' id='659fb1cd75d3eedbd1b674ed02ec1343' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 16:00:10.884 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<presence/>



*** User 2024-04-17 16:00:10.886 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_3367@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1'/>



*** User 2024-04-17 16:00:10.887 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.887 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ac647f3e872ef46' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 16:00:10.887 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.887 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8zMzY3AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-17 16:00:10.889 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 16:00:10.889 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.890 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='808d8215d4625e04' from='localhost' version='1.0' xml:lang='en' to='bob_marker_for_thread_can_be_fetched_3367@localhost'>

*** User 2024-04-17 16:00:10.890 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@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-04-17 16:00:10.891 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='set' id='45dea40411d5a86d8fd8de164e4642d2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 16:00:10.892 ***🔗
bOb_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq id='45dea40411d5a86d8fd8de164e4642d2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_3367@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 16:00:10.892 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='set' id='b7e83ed892ae6dae07803e119b96164e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 16:00:10.894 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq from='localhost' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' id='b7e83ed892ae6dae07803e119b96164e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 16:00:10.895 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<presence/>



*** User 2024-04-17 16:00:10.896 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1'/>



*** User 2024-04-17 16:00:10.897 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' id='b71e988eac65bb3b617e58bafd7424af'>
	<body>Hello!</body>
</message>



*** User 2024-04-17 16:00:10.898 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3367@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' type='chat' id='b71e988eac65bb3b617e58bafd7424af'>
	<body>Hello!</body>
</message>



*** User 2024-04-17 16:00:10.898 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='b71e988eac65bb3b617e58bafd7424af'/>
</message>



*** User 2024-04-17 16:00:10.899 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='b71e988eac65bb3b617e58bafd7424af'/>
</message>



*** User 2024-04-17 16:00:10.899 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' id='f8f24718cf2e05fdf8dcd88d88c75007'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-04-17 16:00:10.900 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3367@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' type='chat' id='f8f24718cf2e05fdf8dcd88d88c75007'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-04-17 16:00:10.900 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='f8f24718cf2e05fdf8dcd88d88c75007'/>
</message>



*** User 2024-04-17 16:00:10.901 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3367@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='f8f24718cf2e05fdf8dcd88d88c75007'/>
</message>



*** User 2024-04-17 16:00:10.901 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='get' id='2380261ec4a3958a6cde4a65905305cf'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3367@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-04-17 16:00:10.904 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3367@localhost' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' id='2380261ec4a3958a6cde4a65905305cf' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3367@localhost'/>
</iq>



*** User 2024-04-17 16:00:11.005 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
<iq type='get' id='2380261ec4a3958a6cde4a65905305cf'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3367@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-04-17 16:00:11.007 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3367@localhost' to='bob_marker_for_thread_can_be_fetched_3367@localhost/res1' id='2380261ec4a3958a6cde4a65905305cf' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3367@localhost'>
		<marker id='f8f24718cf2e05fdf8dcd88d88c75007' from='bob_marker_for_thread_can_be_fetched_3367@localhost' type='displayed' timestamp='2024-04-17T16:00:10.900710Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2024-04-17 16:00:11.007 ***🔗
waiting for fetch_marker is done in 100 miliseconds

*** User 2024-04-17 16:00:11.008 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 out
</stream:stream>

*** User 2024-04-17 16:00:11.008 ***🔗
bob_marker_for_thread_can_be_fetched_3367@localhost/res1 in
</stream:stream>

*** User 2024-04-17 16:00:11.008 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 out
</stream:stream>

*** User 2024-04-17 16:00:11.008 ***🔗
alice_marker_for_thread_can_be_fetched_3367@localhost/res1 in
</stream:stream>
*** CT 2024-04-17 16:00:11.015 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5626.html



=== Ended at 2024-04-17 16:00:11
=== successfully completed test case
=== === Returned value: ok