=== Test case: gdpr_SUITE:remove_roster/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_roster.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.040 *** alicE_remove_roster_582@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.042 *** alicE_remove_roster_582@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbb0cf69963dd08a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.043 *** alicE_remove_roster_582@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.043 *** alicE_remove_roster_582@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9yb3N0ZXJfNTgyAG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:30:48.044 *** alicE_remove_roster_582@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:30:48.044 *** alicE_remove_roster_582@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.044 *** alicE_remove_roster_582@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54abb3e391af1bc0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.045 *** alicE_remove_roster_582@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.045 *** alicE_remove_roster_582@localhost/res1 out <iq type='set' id='f186ef0cfc248751e4d21c1a3b5c63a6'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:30:48.045 *** alicE_remove_roster_582@localhost/res1 in <iq id='f186ef0cfc248751e4d21c1a3b5c63a6' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_remove_roster_582@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:30:48.045 *** alicE_remove_roster_582@localhost/res1 out <iq type='set' id='0a0f12146c63557d48f84b58572b16b9'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.045 *** alicE_remove_roster_582@localhost/res1 in <iq type='result' id='0a0f12146c63557d48f84b58572b16b9'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.045 *** alicE_remove_roster_582@localhost/res1 out <presence/>
*** User 2022-03-03 10:30:48.046 *** alicE_remove_roster_582@localhost/res1 in <presence from='alicE_remove_roster_582@localhost/res1' to='alice_remove_roster_582@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.047 *** bOb_remove_roster_582@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.047 *** bOb_remove_roster_582@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48a7695d77ca4746' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.048 *** bOb_remove_roster_582@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.048 *** bOb_remove_roster_582@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcm9zdGVyXzU4MgBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:30:48.049 *** bOb_remove_roster_582@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:30:48.049 *** bOb_remove_roster_582@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.050 *** bOb_remove_roster_582@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b474b7ce25fd943b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:30:48.050 *** bOb_remove_roster_582@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.050 *** bOb_remove_roster_582@localhost/res1 out <iq type='set' id='9be13171b19659b4564b6264504b1e4b'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:30:48.051 *** bOb_remove_roster_582@localhost/res1 in <iq id='9be13171b19659b4564b6264504b1e4b' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_remove_roster_582@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:30:48.051 *** bOb_remove_roster_582@localhost/res1 out <iq type='set' id='df192d1dd75178661965a3eb477c2ec2'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.051 *** bOb_remove_roster_582@localhost/res1 in <iq type='result' id='df192d1dd75178661965a3eb477c2ec2'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:30:48.051 *** bOb_remove_roster_582@localhost/res1 out <presence/>
*** User 2022-03-03 10:30:48.052 *** bOb_remove_roster_582@localhost/res1 in <presence from='bOb_remove_roster_582@localhost/res1' to='bob_remove_roster_582@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.052 *** alicE_remove_roster_582@localhost/res1 out <presence type='subscribe' to='bOb_remove_roster_582@localhost'/>
*** User 2022-03-03 10:30:48.054 *** alicE_remove_roster_582@localhost/res1 in <iq from='alicE_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' id='push771da3987968b6c4' type='set'> <query xmlns='jabber:iq:roster'> <item ask='subscribe' subscription='none' jid='bob_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.054 *** bOb_remove_roster_582@localhost/res1 in <presence from='alicE_remove_roster_582@localhost' to='bOb_remove_roster_582@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-03 10:30:48.054 *** bOb_remove_roster_582@localhost/res1 out <presence type='subscribe' to='alicE_remove_roster_582@localhost'/>
*** User 2022-03-03 10:30:48.056 *** alicE_remove_roster_582@localhost/res1 in <iq from='alicE_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' id='pushbf449bc28936ed1a' type='set'> <query xmlns='jabber:iq:roster'> <item ask='subscribe' subscription='none' jid='bob_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.056 *** alicE_remove_roster_582@localhost/res1 in <presence from='bOb_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-03 10:30:48.056 *** bOb_remove_roster_582@localhost/res1 in <iq from='bOb_remove_roster_582@localhost' to='bOb_remove_roster_582@localhost/res1' id='pushe2496e40274fdc6b' type='set'> <query xmlns='jabber:iq:roster'> <item ask='subscribe' subscription='none' jid='alice_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.057 *** bOb_remove_roster_582@localhost/res1 out <presence type='subscribed' to='alicE_remove_roster_582@localhost'/>
*** User 2022-03-03 10:30:48.059 *** alicE_remove_roster_582@localhost/res1 in <iq from='alicE_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' id='pushb581560bdf192d0f' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='to' jid='bob_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.059 *** alicE_remove_roster_582@localhost/res1 in <presence from='bOb_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-03-03 10:30:48.059 *** alicE_remove_roster_582@localhost/res1 in <presence from='bOb_remove_roster_582@localhost/res1' to='alice_remove_roster_582@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.059 *** bOb_remove_roster_582@localhost/res1 in <iq from='bOb_remove_roster_582@localhost' to='bOb_remove_roster_582@localhost/res1' id='push083ae35797defa7b' type='set'> <query xmlns='jabber:iq:roster'> <item ask='subscribe' subscription='from' jid='alice_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.059 *** alicE_remove_roster_582@localhost/res1 out <presence type='subscribed' to='bOb_remove_roster_582@localhost'/>
*** User 2022-03-03 10:30:48.062 *** alicE_remove_roster_582@localhost/res1 in <iq from='alicE_remove_roster_582@localhost' to='alicE_remove_roster_582@localhost/res1' id='push8a3c3d9d97f149c0' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='both' jid='bob_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.062 *** bOb_remove_roster_582@localhost/res1 in <iq from='bOb_remove_roster_582@localhost' to='bOb_remove_roster_582@localhost/res1' id='push9e4a9a7fe1594eef' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='both' jid='alice_remove_roster_582@localhost'/> </query> </iq>
*** User 2022-03-03 10:30:48.062 *** bOb_remove_roster_582@localhost/res1 in <presence from='alicE_remove_roster_582@localhost' to='bOb_remove_roster_582@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-03-03 10:30:48.062 *** bOb_remove_roster_582@localhost/res1 in <presence from='alicE_remove_roster_582@localhost/res1' to='bob_remove_roster_582@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:30:48.315 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl unregister alicE_remove_roster_582 localhost Result "User alicE_remove_roster_582@localhost successfully unregistered\n" ExitStatus 0
*** System report during gdpr_SUITE:remove_roster/1 in remove_personal_data 2022-03-03 10:30:48.317 *** =ERROR REPORT==== 3-Mar-2022::10:30:48.317042 === 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_roster_582">>,<<"localhost">>,<<>>, <<"alice_remove_roster_582">>,<<"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.594 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl retrieve_personal_data bOb_remove_roster_582 localhost remove_roster.1646303448318489712.zip Result [] ExitStatus 0
*** User 2022-03-03 10:30:48.595 *** extracting logs remove_roster.1646303448318489712.zip.bOb_remove_roster_582.unzipped
*** User 2022-03-03 10:30:48.596 *** bOb_remove_roster_582@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:30:48.597 *** bOb_remove_roster_582@localhost/res1 in </stream:stream>
*** System report during gdpr_SUITE:remove_roster/1 in remove_personal_data 2022-03-03 10:30:48.599 *** =ERROR REPORT==== 3-Mar-2022::10:30:48.599310 === reason: {error,not_allowed} server: <<"localhost">> user: <<"alice_remove_roster_582">> what: backend_disallows_user_removal
=== Ended at 2022-03-03 10:30:48 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result