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

=== Config value:

    [{watchdog,<0.14413.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,riak},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.privacy_SUITE.logs/run.2022-05-25_10.49.20/privacy_suite.allow_subscription_both_message.24068.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.privacy_SUITE.logs/run.2022-05-25_10.49.20/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 => riak,iqdisc => one_queue,
              riak =>
                  #{bucket_type => <<"rosters">>,
                    version_bucket_type => <<"roster_versions">>},
              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 => riak,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,
              riak =>
                  #{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
              search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:49:22


*** CT 2022-05-25 10:49:22.322 *** View log from node mongooseim@localhost when started mongooseim@localhost_4890.html
*** CT 2022-05-25 10:49:22.322 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:49:22.329 ***
alicE_allow_subscription_both_message_1292@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-25 10:49:22.330 ***
alicE_allow_subscription_both_message_1292@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='287b4828b9a20b33' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:22.330 ***
alicE_allow_subscription_both_message_1292@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-25 10:49:22.330 ***
alicE_allow_subscription_both_message_1292@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTI5MgBtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@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-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59565846ac4364af' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@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-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='544ebe8be7962e4fc6c911efddbdb407'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:22.332 ***
alicE_allow_subscription_both_message_1292@localhost/res1 in
<iq id='544ebe8be7962e4fc6c911efddbdb407' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_allow_subscription_both_message_1292@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:22.332 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='5157b64ff0b7c5bdb6b13793b8c1d9aa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:22.333 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq type='result' id='5157b64ff0b7c5bdb6b13793b8c1d9aa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:22.333 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:22.335 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1292@localhost/res1' to='alice_allow_subscription_both_message_1292@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:22.335 ***
bOb_allow_subscription_both_message_1292@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-25 10:49:22.336 ***
bOb_allow_subscription_both_message_1292@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24eed9728cdaea26' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:22.336 ***
bOb_allow_subscription_both_message_1292@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-25 10:49:22.336 ***
bOb_allow_subscription_both_message_1292@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzEyOTIAbWFrcm9saWth</auth>



*** User 2022-05-25 10:49:22.337 ***
bOb_allow_subscription_both_message_1292@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:22.337 ***
bOb_allow_subscription_both_message_1292@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-25 10:49:22.337 ***
bOb_allow_subscription_both_message_1292@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1084ffde2c83940a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:22.337 ***
bOb_allow_subscription_both_message_1292@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-25 10:49:22.338 ***
bOb_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='b8de3f9196b8f0a418ad1e128ef77310'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:22.338 ***
bOb_allow_subscription_both_message_1292@localhost/res1 in
<iq id='b8de3f9196b8f0a418ad1e128ef77310' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_allow_subscription_both_message_1292@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:22.338 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='51bdb794871208e4942d086a41b66eae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:22.338 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq type='result' id='51bdb794871208e4942d086a41b66eae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:22.338 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:22.341 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1292@localhost/res1' to='bob_allow_subscription_both_message_1292@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:22.341 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<presence type='subscribe' to='bob_allow_subscription_both_message_1292@localhost'/>



*** User 2022-05-25 10:49:22.376 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='pushce40a5cdf8f47a67' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.376 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:49:22.376 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<presence type='subscribed' to='alice_allow_subscription_both_message_1292@localhost'/>



*** User 2022-05-25 10:49:22.383 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='push35ebe8228d28550b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.383 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='push5ddbe823727f0cfa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.383 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:49:22.383 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1292@localhost/res1' to='alice_allow_subscription_both_message_1292@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:22.383 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='9101ec379a64f0f51a2c6e6305e1117b'>
	<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-05-25 10:49:22.386 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='push5b75d73b0a1f74aa' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.386 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='9101ec379a64f0f51a2c6e6305e1117b' type='result'/>



*** User 2022-05-25 10:49:22.386 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<iq type='get' id='992c212345d49c73ad2f57f21c3c15ee'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.387 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='992c212345d49c73ad2f57f21c3c15ee' 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-05-25 10:49:22.387 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='58f3ba7a320f522d77506453e152b56c'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.390 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='58f3ba7a320f522d77506453e152b56c' type='result'/>



*** User 2022-05-25 10:49:22.390 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='f7ea2dcbeb5cc2aeb48795086d71bf75'>
	<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-05-25 10:49:22.392 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='push34d27192541aaeb2' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.392 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='f7ea2dcbeb5cc2aeb48795086d71bf75' type='result'/>



*** User 2022-05-25 10:49:22.392 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<iq type='get' id='f53b4da123acc5f1ce856f37ea31e1e6'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.393 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='f53b4da123acc5f1ce856f37ea31e1e6' 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-05-25 10:49:22.393 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<iq type='set' id='2c78a57fd6e8a9afa5ec58b4820725db'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.404 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='2c78a57fd6e8a9afa5ec58b4820725db' type='result'/>



*** User 2022-05-25 10:49:22.404 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<message to='alice_allow_subscription_both_message_1292@localhost/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 10:49:22.404 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<message to='bob_allow_subscription_both_message_1292@localhost/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-05-25 10:49:22.482 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<message from='bob_allow_subscription_both_message_1292@localhost/res1' to='alice_allow_subscription_both_message_1292@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-05-25 10:49:22.482 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<message from='alice_allow_subscription_both_message_1292@localhost/res1' to='bob_allow_subscription_both_message_1292@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-05-25 10:49:22.482 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<presence type='subscribe' to='alice_allow_subscription_both_message_1292@localhost'/>



*** User 2022-05-25 10:49:22.492 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='pushd3cad373c932fa51' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.492 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='pushf1897c85520ed0c6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.492 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<presence type='subscribed' to='bob_allow_subscription_both_message_1292@localhost'/>



*** User 2022-05-25 10:49:22.493 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:49:22.579 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1292@localhost' to='alice_allow_subscription_both_message_1292@localhost/res1' id='pusha31a15f5fec85063' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.580 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' id='pusha726baa3e11c77d3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_1292@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:49:22.580 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1292@localhost' to='bob_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:49:22.581 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1292@localhost/res1' to='bob_allow_subscription_both_message_1292@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:22.581 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
<message to='alice_allow_subscription_both_message_1292@localhost/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 10:49:22.585 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
<message from='bob_allow_subscription_both_message_1292@localhost/res1' to='alice_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 10:49:22.585 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
<message to='bob_allow_subscription_both_message_1292@localhost/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-05-25 10:49:22.589 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
<message from='alice_allow_subscription_both_message_1292@localhost/res1' to='bob_allow_subscription_both_message_1292@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-05-25 10:49:22.589 ***
bob_allow_subscription_both_message_1292@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:22.590 ***
bob_allow_subscription_both_message_1292@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:49:22.590 ***
alice_allow_subscription_both_message_1292@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:22.590 ***
alice_allow_subscription_both_message_1292@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:49:22.592 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:49:22.593 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4890.html



=== Ended at 2022-05-25 10:49:22
=== successfully completed test case
=== === Returned value: ok