=== Test case: privacy_SUITE:allow_subscription_to_from_message/1 (click for source code)
=== Config value:
[{watchdog,<0.23580.1>},
{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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_12.36.18/privacy_suite.allow_subscription_to_from_message.107267.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_12.36.18/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_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}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:36:20
*** User 2022-01-27 12:36:20.547 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:20.547 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f743a182a7e54b24' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:20.548 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/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 12:36:20.548 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl90b19mcm9tX21lc3NhZ2VfMTcyNABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 12:36:20.550 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:20.550 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:20.550 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b520bd7ddd969788' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:20.550 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/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 12:36:20.550 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='78b9dcc660aa7f0715081c003032cb50'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:20.551 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq id='78b9dcc660aa7f0715081c003032cb50' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_allow_subscription_to_from_message_1724@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:20.551 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='c420341c0f7d81a199a547cc5f36be25'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:20.551 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq type='result' id='c420341c0f7d81a199a547cc5f36be25'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:20.552 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:20.554 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<presence from='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' to='alice_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:20.565 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:20.566 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='01049ce56bd5a172' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:20.566 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/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 12:36:20.566 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fdG9fZnJvbV9tZXNzYWdlXzE3MjQAbWFrcm9saWth</auth>
*** User 2022-01-27 12:36:20.570 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:20.570 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:20.570 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7d5faa320921a29' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:20.570 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/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 12:36:20.570 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='7811deed16b0e37d90095d170ac288f3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:20.571 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq id='7811deed16b0e37d90095d170ac288f3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_allow_subscription_to_from_message_1724@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:20.571 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='25dc10a0433279f5d12addf6a17497f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:20.571 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq type='result' id='25dc10a0433279f5d12addf6a17497f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:20.571 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:20.574 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' to='bob_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:20.575 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='1cd52d077bbb2f097af0dd8e706c4434'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_to'>
<item order='1' type='subscription' value='to' action='allow'>
<message/>
</item>
<item order='2' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 12:36:20.601 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='push6ec7da078efbf8d9' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_to'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.601 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='1cd52d077bbb2f097af0dd8e706c4434' type='result'/>
*** User 2022-01-27 12:36:20.601 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='get' id='6e3787b7f09052d75fd786d7aa88afbb'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_to'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.634 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='6e3787b7f09052d75fd786d7aa88afbb' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_to'>
<item type='subscription' value='to' action='allow' order='1'>
<message/>
</item>
<item action='deny' order='2'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 12:36:20.634 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='3ab4e24605bb79be44c520d34c2f0b9a'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_to'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.691 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='3ab4e24605bb79be44c520d34c2f0b9a' type='result'/>
*** User 2022-01-27 12:36:20.691 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='4b300f28ed92931e4fe78c1f31e08c31'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_from'>
<item order='1' type='subscription' value='from' action='allow'>
<message/>
</item>
<item order='2' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 12:36:20.709 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' id='pushf483b4d592c05ef9' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_from'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.710 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' id='4b300f28ed92931e4fe78c1f31e08c31' type='result'/>
*** User 2022-01-27 12:36:20.710 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='get' id='87ff8d76ab446a47f71657cf1bfec9be'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_from'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.732 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' id='87ff8d76ab446a47f71657cf1bfec9be' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_from'>
<item type='subscription' value='from' action='allow' order='1'>
<message/>
</item>
<item action='deny' order='2'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 12:36:20.732 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<iq type='set' id='25e72c367e85f14df4f157f6438cf513'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_from'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.737 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' id='25e72c367e85f14df4f157f6438cf513' type='result'/>
*** User 2022-01-27 12:36:20.737 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<message to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.737 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<message to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.788 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<message from='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' type='error' xml:lang='en'>
<body>Hi, Bob XYZ!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2022-01-27 12:36:20.788 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<message from='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/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-01-27 12:36:20.788 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_to_from_message_1724@domain.example.com'/>
*** User 2022-01-27 12:36:20.849 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='pushefd3d12c8fa309b5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_allow_subscription_to_from_message_1724@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.849 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<presence from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 12:36:20.849 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_to_from_message_1724@domain.example.com'/>
*** User 2022-01-27 12:36:20.877 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' id='push8c53285c2336a68a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' jid='alice_allow_subscription_to_from_message_1724@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.894 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' id='pushb78dc92bd5750678' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_to_from_message_1724@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:20.895 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1724@domain.example.com' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-01-27 12:36:20.899 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' to='alice_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:20.899 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<message to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.908 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<message from='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' to='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.908 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
<message to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.922 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
<message from='alicE_allow_subscription_to_from_message_1724@domain.example.com/res1' to='bOb_allow_subscription_to_from_message_1724@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Bob XYZ!</body>
</message>
*** User 2022-01-27 12:36:20.922 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:20.922 ***
bOb_allow_subscription_to_from_message_1724@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:36:20.923 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:20.923 ***
alicE_allow_subscription_to_from_message_1724@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:36:20
=== successfully completed test case
=== === Returned value: ok