=== Test case: gdpr_SUITE:remove_offline/1 (click for source code) === Config value: [{watchdog,<0.14437.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.30.41/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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.30.41/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@12130b74fc81.2022-03-03_10.28.39" === Started at 2022-03-03 10:30:48
*** User 2022-03-03 10:30:48.637 *** alicE_remove_offline_583@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:30:48.638 *** alicE_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c382bd12b0d5e59' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.638 *** alicE_remove_offline_583@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:30:48.638 *** alicE_remove_offline_583@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9vZmZsaW5lXzU4MwBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:30:48.639 *** alicE_remove_offline_583@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:30:48.639 *** alicE_remove_offline_583@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:30:48.640 *** alicE_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e64e40dba18dc425' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.640 *** alicE_remove_offline_583@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:30:48.640 *** alicE_remove_offline_583@localhost/res1 out <iq type='set' id='6d01304d99eee1d0b8145016210fd170'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:30:48.640 *** alicE_remove_offline_583@localhost/res1 in <iq id='6d01304d99eee1d0b8145016210fd170' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_remove_offline_583@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:30:48.640 *** alicE_remove_offline_583@localhost/res1 out <iq type='set' id='b69735370b2ed199fd3ba0257a84c9d2'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.641 *** alicE_remove_offline_583@localhost/res1 in <iq type='result' id='b69735370b2ed199fd3ba0257a84c9d2'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.641 *** alicE_remove_offline_583@localhost/res1 out <presence/>
*** User 2022-03-03 10:30:48.642 *** alicE_remove_offline_583@localhost/res1 in <presence from='alicE_remove_offline_583@localhost/res1' to='alice_remove_offline_583@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.643 *** bOb_remove_offline_583@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:30:48.643 *** bOb_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dae7cd6916c2e3c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.643 *** bOb_remove_offline_583@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:30:48.643 *** bOb_remove_offline_583@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfb2ZmbGluZV81ODMAbWFrcm9saWth</auth>
*** User 2022-03-03 10:30:48.645 *** bOb_remove_offline_583@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:30:48.645 *** bOb_remove_offline_583@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:30:48.645 *** bOb_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95b42cb0ae96c334' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.645 *** bOb_remove_offline_583@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:30:48.645 *** bOb_remove_offline_583@localhost/res1 out <iq type='set' id='924eb6ccc7ecba050852ccb53071e5cc'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:30:48.646 *** bOb_remove_offline_583@localhost/res1 in <iq id='924eb6ccc7ecba050852ccb53071e5cc' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_remove_offline_583@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:30:48.646 *** bOb_remove_offline_583@localhost/res1 out <iq type='set' id='06ec98500f9c49b68688e93621647c5c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.646 *** bOb_remove_offline_583@localhost/res1 in <iq type='result' id='06ec98500f9c49b68688e93621647c5c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.646 *** bOb_remove_offline_583@localhost/res1 out <presence/>
*** User 2022-03-03 10:30:48.648 *** bOb_remove_offline_583@localhost/res1 in <presence from='bOb_remove_offline_583@localhost/res1' to='bob_remove_offline_583@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.649 *** kate_remove_offline_583@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:30:48.649 *** kate_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67f026c6b09f3e99' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.650 *** kate_remove_offline_583@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:30:48.650 *** kate_remove_offline_583@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVtb3ZlX29mZmxpbmVfNTgzAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-03 10:30:48.651 *** kate_remove_offline_583@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:30:48.651 *** kate_remove_offline_583@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:30:48.652 *** kate_remove_offline_583@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='552a446e87922186' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.652 *** kate_remove_offline_583@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:30:48.652 *** kate_remove_offline_583@localhost/res1 out <iq type='set' id='a4e17d3e781811c055e4ee455842f6e0'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:30:48.652 *** kate_remove_offline_583@localhost/res1 in <iq id='a4e17d3e781811c055e4ee455842f6e0' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>kate_remove_offline_583@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:30:48.652 *** kate_remove_offline_583@localhost/res1 out <iq type='set' id='099896f7016c36666ae8995b86ca0d56'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.653 *** kate_remove_offline_583@localhost/res1 in <iq type='result' id='099896f7016c36666ae8995b86ca0d56'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.653 *** kate_remove_offline_583@localhost/res1 out <presence/>
*** User 2022-03-03 10:30:48.654 *** kate_remove_offline_583@localhost/res1 in <presence from='kate_remove_offline_583@localhost/res1' to='kate_remove_offline_583@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.654 *** alicE_remove_offline_583@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:30:48.655 *** alicE_remove_offline_583@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:30:48.655 *** bOb_remove_offline_583@localhost/res1 out <message to='alicE_remove_offline_583@localhost/res1' type='chat'> <body>Hey!</body> </message>
*** User 2022-03-03 10:30:48.655 *** bOb_remove_offline_583@localhost/res1 out <message to='alicE_remove_offline_583@localhost/res1' type='chat'> <body>Here is Johnny!</body> </message>
*** User 2022-03-03 10:30:48.655 *** kate_remove_offline_583@localhost/res1 out <message to='alicE_remove_offline_583@localhost/res1' type='chat'> <body>Where is Johnny ?</body> </message>
*** User 2022-03-03 10:30:48.988 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl unregister alicE_remove_offline_583 localhost Result "User alicE_remove_offline_583@localhost successfully unregistered\n" ExitStatus 0
*** System report during gdpr_SUITE:remove_offline/1 in remove_personal_data 2022-03-03 10:30:48.990 *** =ERROR REPORT==== 3-Mar-2022::10:30:48.989647 === 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_583">>,<<"localhost">>,<<>>, <<"alice_remove_offline_583">>,<<"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,392}]}]} text: <<"Error running hook">> what: hook_failed
*** User 2022-03-03 10:30:48.991 *** kate_remove_offline_583@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:30:48.992 *** kate_remove_offline_583@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:30:48.992 *** bOb_remove_offline_583@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:30:48.992 *** bOb_remove_offline_583@localhost/res1 in </stream:stream>
*** System report during gdpr_SUITE:remove_offline/1 in remove_personal_data 2022-03-03 10:30:48.995 *** =ERROR REPORT==== 3-Mar-2022::10:30:48.994920 === reason: {error,not_allowed} server: <<"localhost">> user: <<"alice_remove_offline_583">> what: backend_disallows_user_removal
=== Ended at 2022-03-03 10:30:49 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result