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

=== Config value:

    [{watchdog,<0.82049.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@1580836cc7d8.2024-02-22_12.37.18/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-22_12.50.59/smart_markers_suite.marker_for_thread_can_be_fetched.216578.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@1580836cc7d8.2024-02-22_12.37.18/big_tests.tests.smart_markers_SUITE.logs/run.2024-02-22_12.50.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_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,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@1580836cc7d8.2024-02-22_12.37.18"

=== Started at 2024-02-22 12:50:59


*** CT 2024-02-22 12:50:59.972 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2845.html

*** User 2024-02-22 12:50:59.992 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.992 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c409cd4b430b7b7c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:50:59.992 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.993 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzI4NzQAbWF0eWdyeXNh</auth>



*** User 2024-02-22 12:50:59.994 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:50:59.994 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.994 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75a20bcba31c1211' from='domain.example.com' version='1.0' xml:lang='en' to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com'>

*** User 2024-02-22 12:50:59.995 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.995 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<iq type='set' id='dfb6043fcea4059eaa1db243bcd5cad8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:50:59.996 ***🔗
alicE_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<iq id='dfb6043fcea4059eaa1db243bcd5cad8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:50:59.996 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<iq type='set' id='1e838f8f1b52be7bc55601c8f2bdb818'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:50:59.997 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' id='1e838f8f1b52be7bc55601c8f2bdb818' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:50:59.997 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<presence/>



*** User 2024-02-22 12:50:59.998 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'/>



*** User 2024-02-22 12:50:59.999 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.999 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='615ce6e4ff39342f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:50:59.999 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@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-02-22 12:50:59.999 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8yODc0AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-22 12:51:00.000 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:51:00.000 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@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-02-22 12:51:00.001 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d43ee52f55d0ddb6' from='domain.example.com' version='1.0' xml:lang='en' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com'>

*** User 2024-02-22 12:51:00.001 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@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-02-22 12:51:00.001 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<iq type='set' id='d96baa3da5c2c2cd62135071e9efd055'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:51:00.001 ***🔗
bOb_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<iq id='d96baa3da5c2c2cd62135071e9efd055' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:51:00.001 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<iq type='set' id='ef4e3dbffb0ac1e6806e2885dc8debc5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:51:00.002 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' id='ef4e3dbffb0ac1e6806e2885dc8debc5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:51:00.002 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<presence/>



*** User 2024-02-22 12:51:00.004 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'/>



*** User 2024-02-22 12:51:00.005 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' id='91c19e0da25b241cd285d7332ace6367'>
	<body>Hello!</body>
</message>



*** User 2024-02-22 12:51:00.006 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<message from='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' type='chat' id='91c19e0da25b241cd285d7332ace6367'>
	<body>Hello!</body>
</message>



*** User 2024-02-22 12:51:00.006 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<message to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='91c19e0da25b241cd285d7332ace6367'/>
</message>



*** User 2024-02-22 12:51:00.007 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<message from='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='91c19e0da25b241cd285d7332ace6367'/>
</message>



*** User 2024-02-22 12:51:00.007 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<message type='chat' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' id='a67423e87d579687d19d612ce3c105ed'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-22 12:51:00.008 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<message from='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' type='chat' id='a67423e87d579687d19d612ce3c105ed'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2024-02-22 12:51:00.008 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<message to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='a67423e87d579687d19d612ce3c105ed'/>
</message>



*** User 2024-02-22 12:51:00.009 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<message from='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' to='alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='a67423e87d579687d19d612ce3c105ed'/>
</message>



*** User 2024-02-22 12:51:00.009 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
<iq type='get' id='d5c29828997ee80ca18a09b58d058da2'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2874@domain.example.com' thread='some-thread-id'/>
</iq>



*** User 2024-02-22 12:51:00.064 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_2874@domain.example.com' to='bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1' id='d5c29828997ee80ca18a09b58d058da2' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2874@domain.example.com'>
		<marker id='a67423e87d579687d19d612ce3c105ed' from='bob_marker_for_thread_can_be_fetched_2874@domain.example.com' type='displayed' timestamp='2024-02-22T12:51:00.008592Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2024-02-22 12:51:00.064 ***🔗
waiting for fetch_marker is done in 0 miliseconds

*** User 2024-02-22 12:51:00.065 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-22 12:51:00.065 ***🔗
bob_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-22 12:51:00.066 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-22 12:51:00.066 ***🔗
alice_marker_for_thread_can_be_fetched_2874@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-22 12:51:00.073 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2845.html



=== Ended at 2024-02-22 12:51:00
=== successfully completed test case
=== === Returned value: ok