=== 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.25026.0>},
     {basic_group,mam_all},
     {configuration,rdbms_simple},
     {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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mam_SUITE.logs/run.2022-01-27_15.29.00/mam_suite.querying_for_all_messages_with_jid.46210.html"},
     {tc_group_properties,[{name,mam06},parallel]},
     {tc_group_path,[[{name,rdbms_simple_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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mam_SUITE.logs/run.2022-01-27_15.29.00/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 =>
            [[{db_jid_format,mam_jid_rfc},
              {db_message_format,mam_message_xml}]],
        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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:29:12


*** CT 2022-01-27 15:29:12.715 *** View log from node mongooseim@localhost when started mongooseim@localhost_975.html
*** CT 2022-01-27 15:29:12.715 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_549.html

*** User 2022-01-27 15:29:13.064 ***
alicE_unnamed_982@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-27 15:29:13.065 ***
alicE_unnamed_982@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87f2b62703faa343' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:29:13.065 ***
alicE_unnamed_982@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-27 15:29:13.065 ***
alicE_unnamed_982@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfOTgyAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:29:13.066 ***
alicE_unnamed_982@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:29:13.066 ***
alicE_unnamed_982@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-27 15:29:13.066 ***
alicE_unnamed_982@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='382134c86f3d20e2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:29:13.066 ***
alicE_unnamed_982@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-27 15:29:13.066 ***
alicE_unnamed_982@localhost/res1 out
<iq type='set' id='6a8e5466495df6e8d6f323e67fb15766'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:29:13.066 ***
alicE_unnamed_982@localhost/res1 in
<iq id='6a8e5466495df6e8d6f323e67fb15766' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_982@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:29:13.067 ***
alicE_unnamed_982@localhost/res1 out
<iq type='set' id='7a43576d4193d69b53a07696ed20b05f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:13.067 ***
alicE_unnamed_982@localhost/res1 in
<iq type='result' id='7a43576d4193d69b53a07696ed20b05f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:13.067 ***
alicE_unnamed_982@localhost/res1 out
<presence/>



*** User 2022-01-27 15:29:13.069 ***
alicE_unnamed_982@localhost/res1 in
<presence from='alicE_unnamed_982@localhost/res1' to='alice_unnamed_982@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:29:13.070 ***
alicE_unnamed_982@localhost/res1 out
<iq type='set' id='1c232dc7a4cfdf617f059925ef57a60d'>
	<query xmlns='urn:xmpp:mam:2'>
		<x xmlns='jabber:x:data'>
			<field var='with'>
				<value>bob_unnamed_982@localhost</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-01-27 15:29:13.081 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='0df9d15c-8922-4b5c-914e-372be31cd1a8'>
	<result xmlns='urn:xmpp:mam:2' id='BLA91CR76G01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T07:03:01Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>f4d60e5b</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.081 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='17888143-62a0-4e14-9309-dd642b42f48f'>
	<result xmlns='urn:xmpp:mam:2' id='BLBB5NKCC00A'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T23:46:32Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>2bf8452d</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.081 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='3f5f83ad-36d4-4b04-a8d2-e29393b1118b'>
	<result xmlns='urn:xmpp:mam:2' id='BLBH7L68I00B'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T07:00:20Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>b606825a</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.081 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='f5790386-b728-4a24-a6d8-3aa02788d36d'>
	<result xmlns='urn:xmpp:mam:2' id='BLCE0C7UIG0A'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T17:19:57Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>5171c4c2</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.081 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='b26be39b-7dba-401e-9250-2386ffa7a287'>
	<result xmlns='urn:xmpp:mam:2' id='BLD1RCL81G09'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T17:00:27Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>481406b5</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.082 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='4d55bd80-ddd0-44d2-8346-0d77dcb7e6e9'>
	<result xmlns='urn:xmpp:mam:2' id='BLDQRPFR3G09'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T22:50:55Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>3555c1f4</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.082 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='51dd90cf-c2b0-4707-8ce4-f8014f763c27'>
	<result xmlns='urn:xmpp:mam:2' id='BLDU0KNAJG0C'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T02:36:31Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>626470c9</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.082 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='122d486f-186a-4ac7-97fb-1d18cf838dce'>
	<result xmlns='urn:xmpp:mam:2' id='BLEGPRTAB00I'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T01:01:26Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>8bda4a96</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='6ed83c42-8b46-442d-8466-48837038e7f2'>
	<result xmlns='urn:xmpp:mam:2' id='BLF7DSFBN00B'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T04:01:02Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>08da8664</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='5ff788a6-4d4e-405c-a9d8-aa015ea6f33a'>
	<result xmlns='urn:xmpp:mam:2' id='BLG7R86RBG06'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T18:41:35Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>f6582a88</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='15fe26ee-02a7-4256-846a-c8d343ae6f5a'>
	<result xmlns='urn:xmpp:mam:2' id='BLGCUKV3D009'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T00:47:06Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>d8d679f0</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='90400bec-62e2-4d3f-88a7-72638ebc058d'>
	<result xmlns='urn:xmpp:mam:2' id='BLH3MR97LG01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T03:56:03Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>7a9d0373</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='7b134c99-b48c-4f18-8176-cff03d8feb60'>
	<result xmlns='urn:xmpp:mam:2' id='BLI70R8VMG06'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T22:03:49Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>302a65d3</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='2ae61fb1-0fd4-495c-94bc-a2420398fd94'>
	<result xmlns='urn:xmpp:mam:2' id='BLISDBNVFG07'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T23:35:03Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>8fc79219</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='5689ec1a-de73-4bc1-8490-9dfa5e0593e3'>
	<result xmlns='urn:xmpp:mam:2' id='BLJ5ENM1700K'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T10:22:22Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>ca25ccfa</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='cdb7ae15-e3bb-4cc5-90f8-61887ab5055e'>
	<result xmlns='urn:xmpp:mam:2' id='BLJONB6NB00K'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-26T09:21:42Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>84875133</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<message from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='7c1deaa5-2ecf-48fb-99f9-181e427f48d6'>
	<result xmlns='urn:xmpp:mam:2' id='BLKLGM1L1001'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T19:42:42Z' from='alice_unnamed_982@localhost'/>
			<message from='alice_unnamed_982@localhost' xmlns='jabber:client' to='bOb_unnamed_982@localhost' type='chat'>
				<body>8d60a668</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
<iq from='alicE_unnamed_982@localhost' to='alicE_unnamed_982@localhost/res1' id='1c232dc7a4cfdf617f059925ef57a60d' type='result'>
	<fin xmlns='urn:xmpp:mam:2' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLA91CR76G01</first>
			<last>BLKLGM1L1001</last>
			<count>17</count>
		</set>
	</fin>
</iq>



*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:29:13.083 ***
alicE_unnamed_982@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:29:13.093 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_549.html
*** CT 2022-01-27 15:29:13.094 *** View log from node mongooseim@localhost when finished mongooseim@localhost_980.html



=== Ended at 2022-01-27 15:29:13
=== successfully completed test case
=== === Returned value: ok