=== Test case: gdpr_SUITE:remove_offline/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_offline.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:22
*** User 2022-03-18 10:52:22.903 *** alicE_remove_offline_660@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:22.903 *** alicE_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='014a64a108014bb3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.904 *** alicE_remove_offline_660@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:22.904 *** alicE_remove_offline_660@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9vZmZsaW5lXzY2MABtYXR5Z3J5c2E=</auth>
*** User 2022-03-18 10:52:22.905 *** alicE_remove_offline_660@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:52:22.905 *** alicE_remove_offline_660@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:22.906 *** alicE_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18e8e13b5929371d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.906 *** alicE_remove_offline_660@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:22.906 *** alicE_remove_offline_660@localhost/res1 out <iq type='set' id='bc4259b6900ab727b76ea296b9c704b2'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 10:52:22.906 *** alicE_remove_offline_660@localhost/res1 in <iq id='bc4259b6900ab727b76ea296b9c704b2' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_remove_offline_660@localhost/res1</jid> </bind> </iq>
*** User 2022-03-18 10:52:22.906 *** alicE_remove_offline_660@localhost/res1 out <iq type='set' id='001dd50232a0635bd842afd51884aa7e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.907 *** alicE_remove_offline_660@localhost/res1 in <iq type='result' id='001dd50232a0635bd842afd51884aa7e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.907 *** alicE_remove_offline_660@localhost/res1 out <presence/>
*** User 2022-03-18 10:52:22.910 *** alicE_remove_offline_660@localhost/res1 in <presence from='alicE_remove_offline_660@localhost/res1' to='alice_remove_offline_660@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:52:22.910 *** bOb_remove_offline_660@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:22.911 *** bOb_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45f9a5fa7ea46edf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.911 *** bOb_remove_offline_660@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:22.911 *** bOb_remove_offline_660@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfb2ZmbGluZV82NjAAbWFrcm9saWth</auth>
*** User 2022-03-18 10:52:22.913 *** bOb_remove_offline_660@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:52:22.913 *** bOb_remove_offline_660@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:22.913 *** bOb_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='679248323ab5a119' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.914 *** bOb_remove_offline_660@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:22.914 *** bOb_remove_offline_660@localhost/res1 out <iq type='set' id='8b03bc5c4aa47aa84ebb54a4e682981d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 10:52:22.914 *** bOb_remove_offline_660@localhost/res1 in <iq id='8b03bc5c4aa47aa84ebb54a4e682981d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_remove_offline_660@localhost/res1</jid> </bind> </iq>
*** User 2022-03-18 10:52:22.914 *** bOb_remove_offline_660@localhost/res1 out <iq type='set' id='0ac8b75208e90bbc51e58cd14aa59644'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.914 *** bOb_remove_offline_660@localhost/res1 in <iq type='result' id='0ac8b75208e90bbc51e58cd14aa59644'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.914 *** bOb_remove_offline_660@localhost/res1 out <presence/>
*** User 2022-03-18 10:52:22.915 *** bOb_remove_offline_660@localhost/res1 in <presence from='bOb_remove_offline_660@localhost/res1' to='bob_remove_offline_660@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:52:22.916 *** kate_remove_offline_660@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:22.916 *** kate_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce4f001f83584f3f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.917 *** kate_remove_offline_660@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:22.917 *** kate_remove_offline_660@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVtb3ZlX29mZmxpbmVfNjYwAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-18 10:52:22.918 *** kate_remove_offline_660@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:52:22.918 *** kate_remove_offline_660@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:22.919 *** kate_remove_offline_660@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='966625daf91df297' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:52:22.919 *** kate_remove_offline_660@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:22.919 *** kate_remove_offline_660@localhost/res1 out <iq type='set' id='bbfd698bef004b3c23d8d84a3561f29b'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 10:52:22.920 *** kate_remove_offline_660@localhost/res1 in <iq id='bbfd698bef004b3c23d8d84a3561f29b' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>kate_remove_offline_660@localhost/res1</jid> </bind> </iq>
*** User 2022-03-18 10:52:22.920 *** kate_remove_offline_660@localhost/res1 out <iq type='set' id='4a2f909157310edbb66f0a82b209fa4d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.920 *** kate_remove_offline_660@localhost/res1 in <iq type='result' id='4a2f909157310edbb66f0a82b209fa4d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 10:52:22.920 *** kate_remove_offline_660@localhost/res1 out <presence/>
*** User 2022-03-18 10:52:22.921 *** kate_remove_offline_660@localhost/res1 in <presence from='kate_remove_offline_660@localhost/res1' to='kate_remove_offline_660@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:52:22.922 *** alicE_remove_offline_660@localhost/res1 out </stream:stream>
*** User 2022-03-18 10:52:22.922 *** alicE_remove_offline_660@localhost/res1 in </stream:stream>
*** User 2022-03-18 10:52:22.923 *** bOb_remove_offline_660@localhost/res1 out <message to='alicE_remove_offline_660@localhost/res1' type='chat'> <body>Hey!</body> </message>
*** User 2022-03-18 10:52:22.923 *** bOb_remove_offline_660@localhost/res1 out <message to='alicE_remove_offline_660@localhost/res1' type='chat'> <body>Here is Johnny!</body> </message>
*** User 2022-03-18 10:52:22.923 *** kate_remove_offline_660@localhost/res1 out <message to='alicE_remove_offline_660@localhost/res1' type='chat'> <body>Where is Johnny ?</body> </message>
*** User 2022-03-18 10:52:23.338 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl unregister alicE_remove_offline_660 localhost Result "User alicE_remove_offline_660@localhost successfully unregistered\n" ExitStatus 0
*** System report during gdpr_SUITE:remove_offline/1 in remove_personal_data 2022-03-18 10:52:23.340 *** =ERROR REPORT==== 18-Mar-2022::10:52:23.339764 === 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_offline_660">>,<<"localhost">>,<<>>, <<"alice_remove_offline_660">>,<<"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
*** User 2022-03-18 10:52:23.341 *** kate_remove_offline_660@localhost/res1 out </stream:stream>
*** User 2022-03-18 10:52:23.341 *** kate_remove_offline_660@localhost/res1 in </stream:stream>
*** User 2022-03-18 10:52:23.341 *** bOb_remove_offline_660@localhost/res1 out </stream:stream>
*** User 2022-03-18 10:52:23.341 *** bOb_remove_offline_660@localhost/res1 in </stream:stream>
*** System report during gdpr_SUITE:remove_offline/1 in remove_personal_data 2022-03-18 10:52:23.343 *** =ERROR REPORT==== 18-Mar-2022::10:52:23.342903 === reason: {error,not_allowed} server: <<"localhost">> user: <<"alice_remove_offline_660">> 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