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

=== Config value:

    [{watchdog,<0.22802.2>},
     {merge_opts,#{async_writer => #{pool_size => 2},backend => rdbms_async}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/smart_markers_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.smart_markers_SUITE.logs/run.2022-05-18_10.12.15/smart_markers_suite.marker_for_thread_can_be_fetched.143619.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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.smart_markers_SUITE.logs/run.2022-05-18_10.12.15/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@3b05d744781a.2022-05-18_09.59.20"

=== Started at 2022-05-18 10:12:15


*** CT 2022-05-18 10:12:15.984 *** View log from node mongooseim@localhost when started mongooseim@localhost_5863.html
*** CT 2022-05-18 10:12:15.985 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2019.html

*** User 2022-05-18 10:12:16.000 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:12:16.001 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a765622868ee2066' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:12:16.001 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-18 10:12:16.001 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmtlcl9mb3JfdGhyZWFkX2Nhbl9iZV9mZXRjaGVkXzI1ODUAbWF0eWdyeXNh</auth>



*** User 2022-05-18 10:12:16.002 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:12:16.002 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:12:16.002 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5372ba612ed9688c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:12:16.003 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-18 10:12:16.003 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='set' id='3070c712fca3b358f48b688cce39da30'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:12:16.003 ***
alicE_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq id='3070c712fca3b358f48b688cce39da30' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_marker_for_thread_can_be_fetched_2585@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:12:16.003 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='set' id='b4579e75f39a01233c34e95790a60043'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:12:16.003 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq type='result' id='b4579e75f39a01233c34e95790a60043'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:12:16.003 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<presence/>



*** User 2022-05-18 10:12:16.005 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<presence from='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' to='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:12:16.006 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:12:16.007 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73c13ed40357c796' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:12:16.007 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-18 10:12:16.007 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrZXJfZm9yX3RocmVhZF9jYW5fYmVfZmV0Y2hlZF8yNTg1AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-18 10:12:16.007 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:12:16.007 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:12:16.008 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2f358fc276e5c68' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:12:16.008 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-18 10:12:16.008 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='set' id='f19962a812dffec7e4323325f8e99a71'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:12:16.008 ***
bOb_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq id='f19962a812dffec7e4323325f8e99a71' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_marker_for_thread_can_be_fetched_2585@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:12:16.008 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='set' id='39ea937e70b1021ef1d53cb3b4eb4181'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:12:16.009 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq type='result' id='39ea937e70b1021ef1d53cb3b4eb4181'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:12:16.009 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<presence/>



*** User 2022-05-18 10:12:16.010 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<presence from='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:12:16.010 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<message to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' type='chat' id='10c9cab06357e36a35fc35729380a700'>
	<body>Hello!</body>
</message>



*** User 2022-05-18 10:12:16.011 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en' type='chat' id='10c9cab06357e36a35fc35729380a700'>
	<body>Hello!</body>
</message>



*** User 2022-05-18 10:12:16.011 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_2585@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='10c9cab06357e36a35fc35729380a700'/>
</message>



*** User 2022-05-18 10:12:16.011 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' to='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='10c9cab06357e36a35fc35729380a700'/>
</message>



*** User 2022-05-18 10:12:16.011 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<message to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' type='chat' id='28585b5f6e2ee88045560e0371d5b048'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2022-05-18 10:12:16.012 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<message from='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en' type='chat' id='28585b5f6e2ee88045560e0371d5b048'>
	<thread>some-thread-id</thread>
	<body>Hello!</body>
</message>



*** User 2022-05-18 10:12:16.012 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<message to='alice_marker_for_thread_can_be_fetched_2585@localhost/res1'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='28585b5f6e2ee88045560e0371d5b048'/>
</message>



*** User 2022-05-18 10:12:16.013 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<message from='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' to='alice_marker_for_thread_can_be_fetched_2585@localhost/res1' xml:lang='en'>
	<thread>some-thread-id</thread>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='28585b5f6e2ee88045560e0371d5b048'/>
</message>



*** User 2022-05-18 10:12:16.013 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='get' id='a05b9a6b1cf0687853a3e75fa54ca667'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2585@localhost' thread='some-thread-id'/>
</iq>



*** User 2022-05-18 10:12:16.014 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_2585@localhost' to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' id='a05b9a6b1cf0687853a3e75fa54ca667' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2585@localhost'/>
</iq>



*** User 2022-05-18 10:12:16.115 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
<iq type='get' id='a05b9a6b1cf0687853a3e75fa54ca667'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2585@localhost' thread='some-thread-id'/>
</iq>



*** User 2022-05-18 10:12:16.116 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
<iq from='bob_marker_for_thread_can_be_fetched_2585@localhost' to='bob_marker_for_thread_can_be_fetched_2585@localhost/res1' id='a05b9a6b1cf0687853a3e75fa54ca667' type='result'>
	<query xmlns='esl:xmpp:smart-markers:0' peer='alice_marker_for_thread_can_be_fetched_2585@localhost'>
		<marker id='28585b5f6e2ee88045560e0371d5b048' from='bob_marker_for_thread_can_be_fetched_2585@localhost' type='displayed' timestamp='2022-05-18T10:12:16.012575Z' thread='some-thread-id'/>
	</query>
</iq>



*** User 2022-05-18 10:12:16.116 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:12:16.117 ***
bob_marker_for_thread_can_be_fetched_2585@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:12:16.117 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:12:16.117 ***
alice_marker_for_thread_can_be_fetched_2585@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:12:16.119 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2019.html
*** CT 2022-05-18 10:12:16.120 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5863.html



=== Ended at 2022-05-18 10:12:16
=== successfully completed test case
=== === Returned value: ok