=== Test case: gdpr_SUITE:dont_remove_other_user_private_xml/1 (click for source code)

=== Config value:

    [{watchdog,<0.14297.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.31.28/gdpr_suite.dont_remove_other_user_private_xml.html"},
     {tc_group_properties,[{name,remove_personal_data}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/gdpr_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.31.28/log_private/"},
     {{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_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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:31:36


*** CT 2022-03-03 10:31:36.020 *** View log from node mongooseim@localhost when started mongooseim@localhost_873.html
*** CT 2022-03-03 10:31:36.021 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_494.html

*** User 2022-03-03 10:31:36.026 ***
alicE_dont_remove_other_user_private_xml_516@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-03-03 10:31:36.026 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee68346f68a26bc2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:36.027 ***
alicE_dont_remove_other_user_private_xml_516@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>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<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-03-03 10:31:36.027 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbnRfcmVtb3ZlX290aGVyX3VzZXJfcHJpdmF0ZV94bWxfNTE2AG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:31:36.028 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:31:36.028 ***
alicE_dont_remove_other_user_private_xml_516@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-03-03 10:31:36.028 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b74bd57c400b9fb7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:36.029 ***
alicE_dont_remove_other_user_private_xml_516@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'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<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-03-03 10:31:36.029 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='252e2a63769b16ff0a4d2b271c39954d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:31:36.029 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq id='252e2a63769b16ff0a4d2b271c39954d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_dont_remove_other_user_private_xml_516@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:31:36.029 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='f9f80fa694276a4ed47e22875580c792'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:36.030 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq type='result' id='f9f80fa694276a4ed47e22875580c792'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:36.030 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 out
<presence/>



*** User 2022-03-03 10:31:36.031 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<presence from='alicE_dont_remove_other_user_private_xml_516@localhost/res1' to='alice_dont_remove_other_user_private_xml_516@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:31:36.032 ***
bOb_dont_remove_other_user_private_xml_516@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-03-03 10:31:36.032 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82be77d3e771b8b4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:36.032 ***
bOb_dont_remove_other_user_private_xml_516@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>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<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-03-03 10:31:36.033 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kb250X3JlbW92ZV9vdGhlcl91c2VyX3ByaXZhdGVfeG1sXzUxNgBtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:31:36.034 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:31:36.034 ***
bOb_dont_remove_other_user_private_xml_516@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-03-03 10:31:36.034 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7716bffd2ebcd12' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@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'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<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-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='384de329b4994ccb2516d9453c9fcde5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq id='384de329b4994ccb2516d9453c9fcde5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_dont_remove_other_user_private_xml_516@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='39a7a81513559bd4febfec4971d5d3e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq type='result' id='39a7a81513559bd4febfec4971d5d3e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:36.035 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
<presence/>



*** User 2022-03-03 10:31:36.037 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<presence from='bOb_dont_remove_other_user_private_xml_516@localhost/res1' to='bob_dont_remove_other_user_private_xml_516@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:31:36.037 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='a4abc67d5236ccd40949c981a335aa64'>
	<query xmlns='jabber:iq:private'>
		<fingerprint xmlns='alice:private:ns'>To be or not to be</fingerprint>
	</query>
</iq>



*** User 2022-03-03 10:31:36.038 ***
alicE_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq from='alicE_dont_remove_other_user_private_xml_516@localhost' to='alicE_dont_remove_other_user_private_xml_516@localhost/res1' id='a4abc67d5236ccd40949c981a335aa64' type='result'>
	<query xmlns='jabber:iq:private'>
		<fingerprint xmlns='alice:private:ns'>To be or not to be</fingerprint>
	</query>
</iq>



*** User 2022-03-03 10:31:36.038 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
<iq type='set' id='334ea020e04cb771f3daa380e7399150'>
	<query xmlns='jabber:iq:private'>
		<fingerprint xmlns='bob:private:ns'>This is the winter of our discontent</fingerprint>
	</query>
</iq>



*** User 2022-03-03 10:31:36.038 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
<iq from='bOb_dont_remove_other_user_private_xml_516@localhost' to='bOb_dont_remove_other_user_private_xml_516@localhost/res1' id='334ea020e04cb771f3daa380e7399150' type='result'>
	<query xmlns='jabber:iq:private'>
		<fingerprint xmlns='bob:private:ns'>This is the winter of our discontent</fingerprint>
	</query>
</iq>



*** User 2022-03-03 10:31:36.190 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  unregister alicE_dont_remove_other_user_private_xml_516 localhost
Result "User alicE_dont_remove_other_user_private_xml_516@localhost successfully unregistered\n"
ExitStatus 0

*** System report during gdpr_SUITE:dont_remove_other_user_private_xml/1 in remove_personal_data 2022-03-03 10:31:36.192 ***
=ERROR REPORT==== 3-Mar-2022::10:31:36.191590 ===
    acc: []
    class: error
    handler: {hook_handler,50,fun ejabberd_hooks:gen_hook_fn_wrapper/3,
                           #{function => get_personal_data,
                             hook_name => get_personal_data,
                             hook_tag => <<"localhost">>,
                             host_type => <<"localhost">>,
                             module => mod_vcard}}
    key: {get_personal_data,<<"localhost">>}
    params: #{args =>
                  [<<"localhost">>,
                   {jid,<<"alice_dont_remove_other_user_private_xml_516">>,
                        <<"localhost">>,<<>>,
                        <<"alice_dont_remove_other_user_private_xml_516">>,
                        <<"localhost">>,<<>>}]}
    reason: {function_clause,
                [{exml,to_iolist,
                     [[],not_pretty],
                     [{file,
                          "/home/circleci/project/_build/default/lib/exml/src/exml.erl"},
                      {line,102}]},
                 {exml,to_binary,1,
                     [{file,
                          "/home/circleci/project/_build/default/lib/exml/src/exml.erl"},
                      {line,87}]},
                 {mod_vcard,get_personal_data,3,
                     [{file,"/home/circleci/project/src/vcard/mod_vcard.erl"},
                      {line,108}]},
                 {ejabberd_hooks,gen_hook_fn_wrapper,3,
                     [{file,"/home/circleci/project/src/ejabberd_hooks.erl"},
                      {line,109}]},
                 {safely,apply,2,
                     [{file,"/home/circleci/project/src/safely.erl"},
                      {line,42}]},
                 {gen_hook,run_hook,4,
                     [{file,"/home/circleci/project/src/gen_hook.erl"},
                      {line,203}]},
                 {mongoose_hooks,run_fold,4,
                     [{file,"/home/circleci/project/src/mongoose_hooks.erl"},
                      {line,1531}]},
                 {erpc,execute_call,4,[{file,"erpc.erl"},{line,416}]}]}
    text: <<"Error running hook">>
    what: hook_failed


*** User 2022-03-03 10:31:36.364 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  retrieve_personal_data bOb_dont_remove_other_user_private_xml_516 localhost dont_remove_other_user_private_xml.1646303496193711800.zip
Result []
ExitStatus 0

*** User 2022-03-03 10:31:36.364 ***
extracting logs dont_remove_other_user_private_xml.1646303496193711800.zip.bOb_dont_remove_other_user_private_xml_516.unzipped

*** User 2022-03-03 10:31:36.365 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:31:36.366 ***
bOb_dont_remove_other_user_private_xml_516@localhost/res1 in
</stream:stream>

*** System report during gdpr_SUITE:dont_remove_other_user_private_xml/1 in remove_personal_data 2022-03-03 10:31:36.368 ***
=ERROR REPORT==== 3-Mar-2022::10:31:36.367986 ===
    reason: {error,not_allowed}
    server: <<"localhost">>
    user: <<"alice_dont_remove_other_user_private_xml_516">>
    what: backend_disallows_user_removal

*** CT 2022-03-03 10:31:36.372 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_494.html
*** CT 2022-03-03 10:31:36.373 *** View log from node mongooseim@localhost when finished mongooseim@localhost_876.html



=== Ended at 2022-03-03 10:31:36
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result