=== Test case: mam_SUITE:querying_for_all_messages_with_jid/1 (click for source code)

=== Config value:

    [{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
     {watchdog,<0.21526.0>},
     {basic_group,mam_all},
     {configuration,rdbms},
     {mod_offline_loaded,false},
     {escalus_user_db,{module,escalus_ejabberd}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mam_SUITE.logs/run.2022-01-25_16.25.52/mam_suite.querying_for_all_messages_with_jid.27395.html"},
     {tc_group_properties,[{name,mam06},parallel]},
     {tc_group_path,[[{name,rdbms_mam_all},parallel]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mam_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mam_SUITE.logs/run.2022-01-25_16.25.52/log_private/"},
     {config_backup,#{[shaper,fast] => {ok,#{max_rate => 50000}},
                      [shaper,mam_shaper] => {ok,#{max_rate => 1}},
                      [shaper,normal] => {ok,#{max_rate => 1000}},
                      [{access,<<"localhost">>},max_user_sessions] =>
                          {ok,[#{acl => all,value => 10}]}}},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_mam => [{archive_groupchats,false}],
        mod_mam_rdbms_arch => [],
        mod_mam_rdbms_prefs => [{pm,true}],
        mod_mam_rdbms_user => [{pm,true}],
        mod_muc =>
            [{host,{prefix,<<"muc.">>}},
             {backend,rdbms},
             {hibernate_timeout,2000},
             {hibernated_room_check_interval,1000},
             {hibernated_room_timeout,2000},
             {access,muc},
             {access_create,muc_create}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_muc_log => [{outdir,"/tmp/muclogs"},{access_log,muc}],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:25:54


*** CT 2022-01-25 16:25:54.974 *** View log from node mongooseim@localhost when started mongooseim@localhost_953.html
*** CT 2022-01-25 16:25:54.975 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_541.html

*** User 2022-01-25 16:25:56.007 ***
alicE_unnamed_878@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-01-25 16:25:56.008 ***
alicE_unnamed_878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46cd14f8983a9ee0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:56.008 ***
alicE_unnamed_878@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-01-25 16:25:56.008 ***
alicE_unnamed_878@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfODc4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:25:56.010 ***
alicE_unnamed_878@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:25:56.010 ***
alicE_unnamed_878@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-01-25 16:25:56.010 ***
alicE_unnamed_878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='096802ddf4ffa529' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:56.010 ***
alicE_unnamed_878@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-01-25 16:25:56.011 ***
alicE_unnamed_878@localhost/res1 out
<iq type='set' id='b4a8c456306b351d630441734c66f5f0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:25:56.011 ***
alicE_unnamed_878@localhost/res1 in
<iq id='b4a8c456306b351d630441734c66f5f0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_878@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:25:56.011 ***
alicE_unnamed_878@localhost/res1 out
<iq type='set' id='2587a8f35caa2402600c4da638668564'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:56.011 ***
alicE_unnamed_878@localhost/res1 in
<iq type='result' id='2587a8f35caa2402600c4da638668564'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:56.011 ***
alicE_unnamed_878@localhost/res1 out
<presence/>



*** User 2022-01-25 16:25:56.014 ***
alicE_unnamed_878@localhost/res1 in
<presence from='alicE_unnamed_878@localhost/res1' to='alice_unnamed_878@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:25:56.014 ***
alicE_unnamed_878@localhost/res1 out
<iq type='set' id='61bd10a8ba0c885d3913f6a3a72354f9'>
	<query xmlns='urn:xmpp:mam:2'>
		<x xmlns='jabber:x:data'>
			<field var='with'>
				<value>bob_unnamed_878@localhost</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-01-25 16:25:56.031 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='adb2ca48-0392-4cbb-b58e-3a1e52b6da74'>
	<result xmlns='urn:xmpp:mam:2' id='BL902EJVUG0F'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-09T06:10:29Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>a0f4779c</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.031 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='d54a66ec-2e0f-4189-90a3-e9c912b3ff05'>
	<result xmlns='urn:xmpp:mam:2' id='BL9IH0525G0F'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-10T04:11:31Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>3323d769</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.031 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='92713cbf-556e-45e8-96de-07a6159483a7'>
	<result xmlns='urn:xmpp:mam:2' id='BLAIK0UUK00G'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T18:28:56Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>c7c46d21</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.031 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='5d41a1f8-41ce-403e-9651-ee07fc2cf918'>
	<result xmlns='urn:xmpp:mam:2' id='BLASGPI9E002'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T06:17:32Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>61296269</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.031 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='0459abf6-13b7-4bdb-b10e-3bf7b7c6be39'>
	<result xmlns='urn:xmpp:mam:2' id='BLBITIRQD004'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T09:00:58Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>1ea95e79</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='fb0d6911-21e8-476f-8661-83e42a81579b'>
	<result xmlns='urn:xmpp:mam:2' id='BLC2JVDSO00H'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T03:44:48Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>d3e8ca0b</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='6b7fe465-92b5-4e52-bce9-9a7a2ea5bbad'>
	<result xmlns='urn:xmpp:mam:2' id='BLD62K6CH001'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T22:02:58Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>a5bc622e</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='36d89214-9d69-495d-89ff-341b5402e51b'>
	<result xmlns='urn:xmpp:mam:2' id='BLDEH1407G08'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T08:07:51Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>9184238d</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='a9658bd0-7290-4f6f-89a6-282aa4e371df'>
	<result xmlns='urn:xmpp:mam:2' id='BLED93M2400E'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T20:49:12Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>5fdf4b57</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='a45ca152-bdac-4dad-81e3-9c57a4da108f'>
	<result xmlns='urn:xmpp:mam:2' id='BLESB78TM007'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T14:47:40Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>50da2fcf</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='8ebe0119-6843-42dc-9465-0ab86cdefb24'>
	<result xmlns='urn:xmpp:mam:2' id='BLFDM55FN00G'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T11:29:02Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>fb010182</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='7513c4c5-a432-41a8-9789-c1d7ccb85e72'>
	<result xmlns='urn:xmpp:mam:2' id='BLG4CTF4R005'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T14:34:46Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>c33c1c98</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='ca284f45-6ceb-4180-a2e6-ef7528764864'>
	<result xmlns='urn:xmpp:mam:2' id='BLGPTKKO2G06'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T16:15:25Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>fcea7989</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='039322c8-9641-4209-a203-41b1a41bd9dd'>
	<result xmlns='urn:xmpp:mam:2' id='BLHAS4JRD006'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T12:28:58Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>c5fef55c</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='331ae655-d61b-41da-a4b8-fe91608723ac'>
	<result xmlns='urn:xmpp:mam:2' id='BLHOIOPI9004'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T04:50:10Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>ce07ea19</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.032 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='d7b353ba-d4f9-477e-86fc-4b8de93504ac'>
	<result xmlns='urn:xmpp:mam:2' id='BLIBNBAOAG0A'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T03:40:29Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>2cd7e446</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.033 ***
alicE_unnamed_878@localhost/res1 in
<message from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='af56ab8e-e234-4e90-9b53-6e11b817d8f8'>
	<result xmlns='urn:xmpp:mam:2' id='BLJ0B827FG01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T04:16:39Z' from='alice_unnamed_878@localhost'/>
			<message from='alice_unnamed_878@localhost' xmlns='jabber:client' to='bOb_unnamed_878@localhost' type='chat'>
				<body>4adcea14</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:25:56.033 ***
alicE_unnamed_878@localhost/res1 in
<iq from='alicE_unnamed_878@localhost' to='alicE_unnamed_878@localhost/res1' id='61bd10a8ba0c885d3913f6a3a72354f9' type='result'>
	<fin xmlns='urn:xmpp:mam:2' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BL902EJVUG0F</first>
			<last>BLJ0B827FG01</last>
			<count>17</count>
		</set>
	</fin>
</iq>



*** User 2022-01-25 16:25:56.033 ***
alicE_unnamed_878@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:25:56.033 ***
alicE_unnamed_878@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:25:56.037 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_541.html
*** CT 2022-01-25 16:25:56.038 *** View log from node mongooseim@localhost when finished mongooseim@localhost_958.html



=== Ended at 2022-01-25 16:25:56
=== successfully completed test case
=== === Returned value: ok