=== Test case: gdpr_SUITE:dont_remove_other_user_private_xml/1 (click for source code) === Config value: [{watchdog,<0.13146.0>}, {protocol,http}, {schema_endpoint,admin}, {listener_opts,#{host => "localhost",module => mongoose_graphql_handler, password => <<"secret">>,path => "/api/graphql", schema_endpoint => admin,username => <<"admin">>}}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"ldap_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.gdpr_SUITE.logs/run.2023-11-13_20.04.40/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@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.gdpr_SUITE.logs/run.2023-11-13_20.04.40/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@94ef96fe7e6f.2023-11-13_20.03.17" === Started at 2023-11-13 20:04:42
*** User 2023-11-13 20:04:42.871 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:04:42.872 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8bac92d800f9c521' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:04:42.872 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:features> <c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='hrrptIuoH3BHt7UccOPi+EUROLc='/> <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 2023-11-13 20:04:42.872 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbnRfcmVtb3ZlX290aGVyX3VzZXJfcHJpdmF0ZV94bWxfNjIyAG1hdHlncnlzYQ==</auth>
*** User 2023-11-13 20:04:42.873 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:04:42.873 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:04:42.874 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5dfe9a8b9a20cfa' from='localhost' version='1.0' xml:lang='en' to='alice_dont_remove_other_user_private_xml_622@localhost'>
*** User 2023-11-13 20:04:42.874 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='hrrptIuoH3BHt7UccOPi+EUROLc='/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2023-11-13 20:04:42.874 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='562736bef3add2596805ee0e56b48ba7'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 20:04:42.874 ***🔗 alicE_dont_remove_other_user_private_xml_622@localhost/res1 in <iq id='562736bef3add2596805ee0e56b48ba7' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_dont_remove_other_user_private_xml_622@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 20:04:42.875 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='923473bb5d664d245971e017aea76af8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:04:42.875 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 in <iq from='localhost' to='alice_dont_remove_other_user_private_xml_622@localhost/res1' id='923473bb5d664d245971e017aea76af8' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:04:42.875 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 out <presence/>
*** User 2023-11-13 20:04:42.876 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 in <presence from='alice_dont_remove_other_user_private_xml_622@localhost/res1' to='alice_dont_remove_other_user_private_xml_622@localhost/res1'/>
*** User 2023-11-13 20:04:42.877 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:04:42.877 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c818087f66efacf' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:04:42.877 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:features> <c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='hrrptIuoH3BHt7UccOPi+EUROLc='/> <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 2023-11-13 20:04:42.877 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kb250X3JlbW92ZV9vdGhlcl91c2VyX3ByaXZhdGVfeG1sXzYyMgBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 20:04:42.878 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:04:42.878 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:04:42.879 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af0a0e86081aa2d0' from='localhost' version='1.0' xml:lang='en' to='bob_dont_remove_other_user_private_xml_622@localhost'>
*** User 2023-11-13 20:04:42.879 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='hrrptIuoH3BHt7UccOPi+EUROLc='/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2023-11-13 20:04:42.879 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='e065a8a021d08194a6e300377fe88c89'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 20:04:42.879 ***🔗 bOb_dont_remove_other_user_private_xml_622@localhost/res1 in <iq id='e065a8a021d08194a6e300377fe88c89' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_dont_remove_other_user_private_xml_622@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 20:04:42.879 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='550d5a905a10482792dbc1324cb35717'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:04:42.880 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 in <iq from='localhost' to='bob_dont_remove_other_user_private_xml_622@localhost/res1' id='550d5a905a10482792dbc1324cb35717' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:04:42.880 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 out <presence/>
*** User 2023-11-13 20:04:42.880 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 in <presence from='bob_dont_remove_other_user_private_xml_622@localhost/res1' to='bob_dont_remove_other_user_private_xml_622@localhost/res1'/>
*** User 2023-11-13 20:04:42.881 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='a59bbe73b94a197cb46ba0bf8dd29376'> <query xmlns='jabber:iq:private'> <fingerprint xmlns='alice:private:ns'>To be or not to be</fingerprint> </query> </iq>
*** User 2023-11-13 20:04:42.881 ***🔗 alice_dont_remove_other_user_private_xml_622@localhost/res1 in <iq from='alice_dont_remove_other_user_private_xml_622@localhost' to='alice_dont_remove_other_user_private_xml_622@localhost/res1' id='a59bbe73b94a197cb46ba0bf8dd29376' type='result'> <query xmlns='jabber:iq:private'> <fingerprint xmlns='alice:private:ns'>To be or not to be</fingerprint> </query> </iq>
*** User 2023-11-13 20:04:42.881 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 out <iq type='set' id='a8c2934b15332dce07e8a19219fb8b1c'> <query xmlns='jabber:iq:private'> <fingerprint xmlns='bob:private:ns'>This is the winter of our discontent</fingerprint> </query> </iq>
*** User 2023-11-13 20:04:42.882 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 in <iq from='bob_dont_remove_other_user_private_xml_622@localhost' to='bob_dont_remove_other_user_private_xml_622@localhost/res1' id='a8c2934b15332dce07e8a19219fb8b1c' type='result'> <query xmlns='jabber:iq:private'> <fingerprint xmlns='bob:private:ns'>This is the winter of our discontent</fingerprint> </query> </iq>
*** User 2023-11-13 20:04:42.885 ***🔗 REST request: Code: 200 Req: {<0.13226.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1f3155cef2f9578c">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"user\":\"alice_dont_remove_other_user_private_xml_622@localhost/res1\"},\"query\":\"mutation ($user: JID!) { account { removeUser(user: $user) { jid message } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 13 Nov 2023 20:04:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"208">>}], <<"{\"data\":{\"account\":{\"removeUser\":{\"message\":\"User alice_dont_remove_other_user_private_xml_622@localhost/res1 successfully unregistered\",\"jid\":\"alice_dont_remove_other_user_private_xml_622@localhost/res1\"}}}}">>, 347,2619} Params: #{body => <<"{\"variables\":{\"user\":\"alice_dont_remove_other_user_private_xml_622@localhost/res1\"},\"query\":\"mutation ($user: JID!) { account { removeUser(user: $user) { jid message } } }\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5551, return_headers => true,return_maps => true, role => {graphql,admin}, server => #{node => mongooseim@localhost}}
*** System report during gdpr_SUITE:dont_remove_other_user_private_xml/1 in remove_personal_data 2023-11-13 20:04:42.887 ***🔗 =ERROR REPORT==== 13-Nov-2023::20:04:42.887101 === acc: [{roster,["jid","name","subscription","ask","groups","askmessage", "xs"], []}] class: error handler: {hook_handler,50,fun mod_vcard:get_personal_data/3, #{hook_name => get_personal_data, hook_tag => <<"localhost">>, host_type => <<"localhost">>}} key: {get_personal_data,<<"localhost">>} params: #{jid => {jid,<<"alice_dont_remove_other_user_private_xml_622">>, <<"localhost">>,<<>>}} reason: function_clause stacktrace: [{exml,to_iolist, [[],not_pretty], [{file, "/home/circleci/project/_build/default/lib/exml/src/exml.erl"}, {line,112}]}, {exml,to_binary,1, [{file, "/home/circleci/project/_build/default/lib/exml/src/exml.erl"}, {line,90}]}, {mod_vcard,get_personal_data,3, [{file,"/home/circleci/project/src/vcard/mod_vcard.erl"}, {line,110}]}, {gen_hook,apply_hook_function,3, [{file,"/home/circleci/project/src/gen_hook.erl"}, {line,251}]}, {gen_hook,run_hook,4, [{file,"/home/circleci/project/src/gen_hook.erl"}, {line,237}]}, {mongoose_hooks,run_fold,4, [{file, "/home/circleci/project/src/hooks/mongoose_hooks.erl"}, {line,1440}]}, {erpc,execute_call,4,[{file,"erpc.erl"},{line,589}]}] text: <<"Error running hook">> what: hook_failed
*** User 2023-11-13 20:04:42.888 ***🔗 waiting for timeout is done in 0 miliseconds
*** User 2023-11-13 20:04:42.904 ***🔗 REST request: Code: 200 Req: {<0.13229.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b190d5b706df99db">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"username\":\"bob_dont_remove_other_user_private_xml_622\",\"resultFilepath\":\"dont_remove_other_user_private_xml.1699905882888473118.zip\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 13 Nov 2023 20:04:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"59">>}], <<"{\"data\":{\"gdpr\":{\"retrievePersonalData\":\"Data retrieved\"}}}">>, 197,14681} Params: #{body => <<"{\"variables\":{\"username\":\"bob_dont_remove_other_user_private_xml_622\",\"resultFilepath\":\"dont_remove_other_user_private_xml.1699905882888473118.zip\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5551, return_headers => true,return_maps => true, role => {graphql,admin}, server => #{node => mongooseim@localhost}}
*** User 2023-11-13 20:04:42.904 ***🔗 extracting logs dont_remove_other_user_private_xml.1699905882888473118.zip.bob_dont_remove_other_user_private_xml_622.unzipped
*** User 2023-11-13 20:04:42.905 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 out </stream:stream>
*** User 2023-11-13 20:04:42.906 ***🔗 bob_dont_remove_other_user_private_xml_622@localhost/res1 in </stream:stream>
=== Ended at 2023-11-13 20:04:42 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result