=== Test case: privacy_SUITE:block_group_message/1 (click for source code)
=== Config value:
[{watchdog,<0.12186.1>},
{escalus_no_stanzas_after_story,true},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6874e1758bc5.2024-04-26_13.09.10/big_tests.tests.privacy_SUITE.logs/run.2024-04-26_13.19.20/privacy_suite.block_group_message.21637.html"},
{tc_group_properties,[{name,blocking},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@6874e1758bc5.2024-04-26_13.09.10/big_tests.tests.privacy_SUITE.logs/run.2024-04-26_13.19.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_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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 => mnesia,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6874e1758bc5.2024-04-26_13.09.10"
=== Started at 2024-04-26 13:19:20
*** User 2024-04-26 13:19:20.624 ***🔗
alicE_block_group_message_1447@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-26 13:19:20.625 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2998440fe3f97d13' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:19:20.625 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-26 13:19:20.625 ***🔗
alicE_block_group_message_1447@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2dyb3VwX21lc3NhZ2VfMTQ0NwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-26 13:19:20.628 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:19:20.628 ***🔗
alicE_block_group_message_1447@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-26 13:19:20.629 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51a4d549c9b36ef9' from='localhost' version='1.0' xml:lang='en' to='alice_block_group_message_1447@localhost'>
*** User 2024-04-26 13:19:20.629 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-26 13:19:20.629 ***🔗
alicE_block_group_message_1447@localhost/res1 out
<iq type='set' id='6050b1847912d854e6fc2dff472c171a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:19:20.630 ***🔗
alicE_block_group_message_1447@localhost/res1 in
<iq id='6050b1847912d854e6fc2dff472c171a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_group_message_1447@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:19:20.630 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq type='set' id='ab866fe39f1f1800df0cb8faa2f012f0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:19:20.630 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='localhost' to='alice_block_group_message_1447@localhost/res1' id='ab866fe39f1f1800df0cb8faa2f012f0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:19:20.631 ***🔗
alice_block_group_message_1447@localhost/res1 out
<presence/>
*** User 2024-04-26 13:19:20.632 ***🔗
alice_block_group_message_1447@localhost/res1 in
<presence from='alice_block_group_message_1447@localhost/res1' to='alice_block_group_message_1447@localhost/res1'/>
*** User 2024-04-26 13:19:20.633 ***🔗
bOb_block_group_message_1447@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-26 13:19:20.633 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87b969aa64a99f3f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:19:20.633 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-26 13:19:20.634 ***🔗
bOb_block_group_message_1447@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19ncm91cF9tZXNzYWdlXzE0NDcAbWFrcm9saWth</auth>
*** User 2024-04-26 13:19:20.638 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:19:20.638 ***🔗
bOb_block_group_message_1447@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-26 13:19:20.638 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0553b2fe0cd316bf' from='localhost' version='1.0' xml:lang='en' to='bob_block_group_message_1447@localhost'>
*** User 2024-04-26 13:19:20.638 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-26 13:19:20.639 ***🔗
bOb_block_group_message_1447@localhost/res1 out
<iq type='set' id='3fd713bd340f1812b9cb09b2caf3427c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:19:20.639 ***🔗
bOb_block_group_message_1447@localhost/res1 in
<iq id='3fd713bd340f1812b9cb09b2caf3427c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_group_message_1447@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:19:20.639 ***🔗
bob_block_group_message_1447@localhost/res1 out
<iq type='set' id='202c803952e530b2791666e6c4c86a12'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:19:20.640 ***🔗
bob_block_group_message_1447@localhost/res1 in
<iq from='localhost' to='bob_block_group_message_1447@localhost/res1' id='202c803952e530b2791666e6c4c86a12' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:19:20.640 ***🔗
bob_block_group_message_1447@localhost/res1 out
<presence/>
*** User 2024-04-26 13:19:20.641 ***🔗
bob_block_group_message_1447@localhost/res1 in
<presence from='bob_block_group_message_1447@localhost/res1' to='bob_block_group_message_1447@localhost/res1'/>
*** User 2024-04-26 13:19:20.641 ***🔗
bob_block_group_message_1447@localhost/res1 out
<message to='alice_block_group_message_1447@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-26 13:19:20.674 ***🔗
alice_block_group_message_1447@localhost/res1 in
<message from='bob_block_group_message_1447@localhost/res1' to='alice_block_group_message_1447@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-26 13:19:20.674 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq type='set' id='2d93484b15656e8973ba952fa004aece'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_block_group_message_1447@localhost' name='Ugly Bastard'>
<group>ignored</group>
</item>
</query>
</iq>
*** User 2024-04-26 13:19:20.675 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='push577685773ab9a1c6' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Ugly Bastard' jid='bob_block_group_message_1447@localhost' subscription='none'>
<group>ignored</group>
</item>
</query>
</iq>
*** User 2024-04-26 13:19:20.675 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq to='alice_block_group_message_1447@localhost' id='push577685773ab9a1c6' type='result'/>
*** User 2024-04-26 13:19:20.675 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='2d93484b15656e8973ba952fa004aece' type='result'/>
*** User 2024-04-26 13:19:20.675 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq type='set' id='2051db5bfaab201898692e29e1fc23ec'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_group_message'>
<item order='1' type='group' value='ignored' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-26 13:19:20.677 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='pushc77b081e998186c3' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_group_message'/>
</query>
</iq>
*** User 2024-04-26 13:19:20.677 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='2051db5bfaab201898692e29e1fc23ec' type='result'/>
*** User 2024-04-26 13:19:20.677 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq type='get' id='b5b6db86351c7624a1071402d713771f'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_group_message'/>
</query>
</iq>
*** User 2024-04-26 13:19:20.678 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='b5b6db86351c7624a1071402d713771f' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_group_message'>
<item type='group' value='ignored' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-26 13:19:20.678 ***🔗
alice_block_group_message_1447@localhost/res1 out
<iq type='set' id='ed4a1886e9c080a2ade757f511463e25'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_group_message'/>
</query>
</iq>
*** User 2024-04-26 13:19:20.679 ***🔗
alice_block_group_message_1447@localhost/res1 in
<iq from='alice_block_group_message_1447@localhost' to='alice_block_group_message_1447@localhost/res1' id='ed4a1886e9c080a2ade757f511463e25' type='result'/>
*** User 2024-04-26 13:19:20.679 ***🔗
bob_block_group_message_1447@localhost/res1 out
<message to='alice_block_group_message_1447@localhost/res1' type='chat'>
<body>Hi, blocked group!</body>
</message>
*** User 2024-04-26 13:19:20.730 ***🔗
bob_block_group_message_1447@localhost/res1 in
<message from='alice_block_group_message_1447@localhost/res1' to='bob_block_group_message_1447@localhost/res1' type='error'>
<body>Hi, blocked group!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2024-04-26 13:19:20.730 ***🔗
bob_block_group_message_1447@localhost/res1 out
</stream:stream>
*** User 2024-04-26 13:19:20.731 ***🔗
bob_block_group_message_1447@localhost/res1 in
</stream:stream>
*** User 2024-04-26 13:19:20.731 ***🔗
alice_block_group_message_1447@localhost/res1 out
</stream:stream>
*** User 2024-04-26 13:19:20.733 ***🔗
alice_block_group_message_1447@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-26 13:19:20
=== successfully completed test case
=== === Returned value: ok