=== Test case: gdpr_SUITE:remove_private/1 (click for source code) === Config value: [{watchdog,<0.14352.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.gdpr_SUITE.logs/run.2022-03-18_10.52.13/gdpr_suite.remove_private.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.gdpr_SUITE.logs/run.2022-03-18_10.52.13/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 => 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@fbe05ecb9552.2022-03-18_10.50.03" === Started at 2022-03-18 10:52:23
*** User 2022-03-18 10:52:23.390 *** alicE_remove_private_661@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-18 10:52:23.390 *** alicE_remove_private_661@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d31acc3251c2b8a2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:23.390 *** alicE_remove_private_661@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-18 10:52:23.390 *** alicE_remove_private_661@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9wcml2YXRlXzY2MQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-18 10:52:23.392 *** alicE_remove_private_661@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:52:23.392 *** alicE_remove_private_661@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-18 10:52:23.392 *** alicE_remove_private_661@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38cdd8a7ca37c45f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:23.393 *** alicE_remove_private_661@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-18 10:52:23.393 *** alicE_remove_private_661@localhost/res1 out <iq type='set' id='7338331458190348f82e68745a72dc91'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 10:52:23.393 *** alicE_remove_private_661@localhost/res1 in <iq id='7338331458190348f82e68745a72dc91' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_remove_private_661@localhost/res1</jid> </bind> </iq>
*** User 2022-03-18 10:52:23.393 *** alicE_remove_private_661@localhost/res1 out <iq type='set' id='703051c8e917505a9a566045274c1fd6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:23.393 *** alicE_remove_private_661@localhost/res1 in <iq type='result' id='703051c8e917505a9a566045274c1fd6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:23.393 *** alicE_remove_private_661@localhost/res1 out <presence/>
*** User 2022-03-18 10:52:23.394 *** alicE_remove_private_661@localhost/res1 in <presence from='alicE_remove_private_661@localhost/res1' to='alice_remove_private_661@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:52:23.395 *** alicE_remove_private_661@localhost/res1 out <iq type='set' id='afb606f01501159838ace87b39ec9bc2'> <query xmlns='jabber:iq:private'> <item xmlns='alice:private_remove:ns'>Something to declare</item> </query> </iq>
*** User 2022-03-18 10:52:23.396 *** alicE_remove_private_661@localhost/res1 in <iq from='alicE_remove_private_661@localhost' to='alicE_remove_private_661@localhost/res1' id='afb606f01501159838ace87b39ec9bc2' type='result'> <query xmlns='jabber:iq:private'> <item xmlns='alice:private_remove:ns'>Something to declare</item> </query> </iq>
*** User 2022-03-18 10:52:23.746 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl unregister alicE_remove_private_661 localhost Result "User alicE_remove_private_661@localhost successfully unregistered\n" ExitStatus 0
*** System report during gdpr_SUITE:remove_private/1 in remove_personal_data 2022-03-18 10:52:23.748 *** =ERROR REPORT==== 18-Mar-2022::10:52:23.747572 === 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_remove_private_661">>,<<"localhost">>,<<>>, <<"alice_remove_private_661">>,<<"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,107}]}, {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,392}]}]} text: <<"Error running hook">> what: hook_failed
*** System report during gdpr_SUITE:remove_private/1 in remove_personal_data 2022-03-18 10:52:23.750 *** =ERROR REPORT==== 18-Mar-2022::10:52:23.750085 === reason: {error,not_allowed} server: <<"localhost">> user: <<"alice_remove_private_661">> what: backend_disallows_user_removal
=== Ended at 2022-03-18 10:52:23 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result