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

=== Config value:

    [{watchdog,<0.93949.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@942618c338e9.2024-02-26_14.30.01/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-26_14.46.22/smart_markers_suite.marker_for_thread_can_be_fetched.123396.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@942618c338e9.2024-02-26_14.30.01/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-26_14.46.22/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_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 => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@942618c338e9.2024-02-26_14.30.01"

=== Started at 2024-02-26 14:46:23


*** CT 2024-02-26 14:46:23.199 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5113.html

*** User 2024-02-26 14:46:23.238 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.238 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3878dad28b6b6d4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 14:46:23.239 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.239 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzMyMzUAbWF0eWdyeXNh</auth>



*** User 2024-02-26 14:46:23.240 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 14:46:23.240 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.241 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80dd8837266a4906' from='localhost' version='1.0' xml:lang='en' to='alice_marker_for_thread_can_be_fetched_3235@localhost'>

*** User 2024-02-26 14:46:23.241 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.241 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='set' id='5ee6d933dc60f00c82e28da2a6005ed9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 14:46:23.241 ***🔗
alicE_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq id='5ee6d933dc60f00c82e28da2a6005ed9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_3235@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 14:46:23.241 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='set' id='24727a82f18051c9ce205eb80374cefe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:46:23.242 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq from='localhost' to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1' id='24727a82f18051c9ce205eb80374cefe' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:46:23.243 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<presence/>



*** User 2024-02-26 14:46:23.246 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_3235@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1'/>



*** User 2024-02-26 14:46:23.247 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.247 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1796fe1d154d3df' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 14:46:23.248 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.248 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8zMjM1AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-26 14:46:23.249 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 14:46:23.249 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.250 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c73804ada99f9bbe' from='localhost' version='1.0' xml:lang='en' to='bob_marker_for_thread_can_be_fetched_3235@localhost'>

*** User 2024-02-26 14:46:23.250 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@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-26 14:46:23.250 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='set' id='5180706605127674b45850044eafa1ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 14:46:23.250 ***🔗
bOb_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq id='5180706605127674b45850044eafa1ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_3235@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 14:46:23.250 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='set' id='11c918696eb777c0b7474460e401e26c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:46:23.251 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq from='localhost' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' id='11c918696eb777c0b7474460e401e26c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:46:23.252 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<presence/>



*** User 2024-02-26 14:46:23.254 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1'/>



*** User 2024-02-26 14:46:23.254 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' id='9b19f40ba868e57faa3dbc126d5e0bba'>
	<body>Hello!</body>
</message>



*** User 2024-02-26 14:46:23.255 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3235@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' type='chat' id='9b19f40ba868e57faa3dbc126d5e0bba'>
	<body>Hello!</body>
</message>



*** User 2024-02-26 14:46:23.255 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9b19f40ba868e57faa3dbc126d5e0bba'/>
</message>



*** User 2024-02-26 14:46:23.284 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='9b19f40ba868e57faa3dbc126d5e0bba'/>
</message>



*** User 2024-02-26 14:46:23.284 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' id='e5a17363d37a2bf3b97fc57142e603c9'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-26 14:46:23.285 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_3235@localhost/res1' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' type='chat' id='e5a17363d37a2bf3b97fc57142e603c9'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-26 14:46:23.285 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='e5a17363d37a2bf3b97fc57142e603c9'/>
</message>



*** User 2024-02-26 14:46:23.286 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' to='alice_marker_for_thread_can_be_fetched_3235@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='e5a17363d37a2bf3b97fc57142e603c9'/>
</message>



*** User 2024-02-26 14:46:23.286 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='get' id='f1ce8bd8d2e1be89770b133ea80cc58c'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3235@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-02-26 14:46:23.293 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3235@localhost' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' id='f1ce8bd8d2e1be89770b133ea80cc58c' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3235@localhost'/>
</iq>



*** User 2024-02-26 14:46:23.393 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
<iq type='get' id='f1ce8bd8d2e1be89770b133ea80cc58c'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3235@localhost' thread='some-thread-id'/>
</iq>



*** User 2024-02-26 14:46:23.403 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_3235@localhost' to='bob_marker_for_thread_can_be_fetched_3235@localhost/res1' id='f1ce8bd8d2e1be89770b133ea80cc58c' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_3235@localhost'>
		<marker id='e5a17363d37a2bf3b97fc57142e603c9' from='bob_marker_for_thread_can_be_fetched_3235@localhost' type='displayed' timestamp='2024-02-26T14:46:23.285765Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2024-02-26 14:46:23.403 ***🔗
waiting for fetch_marker is done in 100 miliseconds

*** User 2024-02-26 14:46:23.403 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 out
</stream:stream>

*** User 2024-02-26 14:46:23.403 ***🔗
bob_marker_for_thread_can_be_fetched_3235@localhost/res1 in
</stream:stream>

*** User 2024-02-26 14:46:23.403 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 out
</stream:stream>

*** User 2024-02-26 14:46:23.404 ***🔗
alice_marker_for_thread_can_be_fetched_3235@localhost/res1 in
</stream:stream>
*** CT 2024-02-26 14:46:23.406 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5113.html



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