=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.4115.2>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.privacy_SUITE.logs/run.2022-04-04_15.13.11/privacy_suite.allow_subscription_both_message.158722.html"},
     {tc_group_properties,[{name,allowing},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/privacy_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.privacy_SUITE.logs/run.2022-04-04_15.13.11/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 => [],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"}]},
             {welcome_message,{[],[]}}],
        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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:13:13


*** CT 2022-04-04 15:13:13.174 *** View log from node mongooseim@localhost when started mongooseim@localhost_4743.html
*** CT 2022-04-04 15:13:13.175 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:13:13.190 ***
alicE_allow_subscription_both_message_2057@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-04-04 15:13:13.190 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='207996a25752034d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:13.191 ***
alicE_allow_subscription_both_message_2057@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-04-04 15:13:13.191 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMjA1NwBtYXR5Z3J5c2E=</auth>



*** User 2022-04-04 15:13:13.191 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:13.191 ***
alicE_allow_subscription_both_message_2057@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-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='201566af73bbc622' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@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-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='d47881ee278195e80a021d7a18754d4d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq id='d47881ee278195e80a021d7a18754d4d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_allow_subscription_both_message_2057@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='c2d4ea21ff4831dfba0c9959187693ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq type='result' id='c2d4ea21ff4831dfba0c9959187693ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:13.192 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:13.194 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_2057@localhost/res1' to='alice_allow_subscription_both_message_2057@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:13.195 ***
bOb_allow_subscription_both_message_2057@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-04-04 15:13:13.195 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a341a33715bed22' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:13.195 ***
bOb_allow_subscription_both_message_2057@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-04-04 15:13:13.195 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzIwNTcAbWFrcm9saWth</auth>



*** User 2022-04-04 15:13:13.196 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:13.196 ***
bOb_allow_subscription_both_message_2057@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-04-04 15:13:13.196 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='436d9e8ed0560b3e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@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-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='d0eb5b71784a00c06ff5c4210e90c8dd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq id='d0eb5b71784a00c06ff5c4210e90c8dd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_allow_subscription_both_message_2057@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='610b49a00c25611f202bc80806372793'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq type='result' id='610b49a00c25611f202bc80806372793'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:13.197 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:13.199 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_2057@localhost/res1' to='bob_allow_subscription_both_message_2057@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:13.199 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_2057@localhost'/>



*** User 2022-04-04 15:13:13.209 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='push4940319cb9eac833' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.209 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:13:13.209 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_2057@localhost'/>



*** User 2022-04-04 15:13:13.216 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='pushc229e5d6a7c9229a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.216 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='push1a219f7f5474cd14' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.216 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:13:13.216 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_2057@localhost/res1' to='alice_allow_subscription_both_message_2057@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:13.216 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='cbc575f4077eba760ac3726553a713e5'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item order='1' type='subscription' value='both' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-04-04 15:13:13.221 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='push10b86b9b83e2c2f5' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.221 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='cbc575f4077eba760ac3726553a713e5' type='result'/>



*** User 2022-04-04 15:13:13.221 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<iq type='get' id='fcd278562b3b29e3dfd4273e9ff2037d'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.222 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='fcd278562b3b29e3dfd4273e9ff2037d' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item type='subscription' value='both' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-04-04 15:13:13.222 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='9942a3cd716d642cee2bef473a5068fa'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.226 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='9942a3cd716d642cee2bef473a5068fa' type='result'/>



*** User 2022-04-04 15:13:13.226 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='a24e283d3e4f99423a4ff9bbd159a9ea'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item order='1' type='subscription' value='both' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-04-04 15:13:13.231 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='push54acd05f8feac8b7' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.231 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='a24e283d3e4f99423a4ff9bbd159a9ea' type='result'/>



*** User 2022-04-04 15:13:13.231 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<iq type='get' id='ed2b8ffa922487da9db105dbb707ed04'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.232 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='ed2b8ffa922487da9db105dbb707ed04' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item type='subscription' value='both' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-04-04 15:13:13.232 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<iq type='set' id='5816ed29e20a1ac0e04458176eeab5e7'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.235 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='5816ed29e20a1ac0e04458176eeab5e7' type='result'/>



*** User 2022-04-04 15:13:13.236 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<message to='alicE_allow_subscription_both_message_2057@localhost/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-04-04 15:13:13.236 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<message to='bOb_allow_subscription_both_message_2057@localhost/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-04-04 15:13:13.242 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<message from='bOb_allow_subscription_both_message_2057@localhost/res1' to='alicE_allow_subscription_both_message_2057@localhost/res1' type='error' xml:lang='en'>
	<body>Hi, Bob XYZ 1!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-04-04 15:13:13.242 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<message from='alicE_allow_subscription_both_message_2057@localhost/res1' to='bOb_allow_subscription_both_message_2057@localhost/res1' type='error' xml:lang='en'>
	<body>Hi, Alice XYZ!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-04-04 15:13:13.242 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_2057@localhost'/>



*** User 2022-04-04 15:13:13.249 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='pushd4c474f3259c36bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.249 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='push0adc40894300e5bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.249 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_2057@localhost'/>



*** User 2022-04-04 15:13:13.250 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:13:13.261 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_2057@localhost' to='alicE_allow_subscription_both_message_2057@localhost/res1' id='push6df48d77a9c90cd7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.261 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' id='pushe8e276c74e7e84dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_2057@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:13.261 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_2057@localhost' to='bOb_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:13:13.262 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_2057@localhost/res1' to='bob_allow_subscription_both_message_2057@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:13.262 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
<message to='alicE_allow_subscription_both_message_2057@localhost/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-04-04 15:13:13.264 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
<message from='bOb_allow_subscription_both_message_2057@localhost/res1' to='alicE_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-04-04 15:13:13.265 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
<message to='bOb_allow_subscription_both_message_2057@localhost/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-04-04 15:13:13.268 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
<message from='alicE_allow_subscription_both_message_2057@localhost/res1' to='bOb_allow_subscription_both_message_2057@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-04-04 15:13:13.268 ***
bOb_allow_subscription_both_message_2057@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:13.268 ***
bOb_allow_subscription_both_message_2057@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:13:13.269 ***
alicE_allow_subscription_both_message_2057@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:13.269 ***
alicE_allow_subscription_both_message_2057@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:13:13.271 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:13:13.272 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4743.html



=== Ended at 2022-04-04 15:13:13
=== successfully completed test case
=== === Returned value: ok