=== Test case: gdpr_SUITE:retrieve_offline/1 (click for source code) === Config value: [{watchdog,<0.14531.0>}, {protocol,http}, {schema_endpoint,admin}, {listener_opts,#{module => mongoose_graphql_handler, path => "/api/graphql",host => "localhost", username => <<"admin">>,password => <<"secret">>, schema_endpoint => admin}}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.gdpr_SUITE.logs/run.2023-11-13_18.58.24/gdpr_suite.retrieve_offline.html"}, {tc_group_properties,[{name,retrieve_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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.gdpr_SUITE.logs/run.2023-11-13_18.58.24/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,iqdisc => parallel,backend => rdbms}, mod_roster => #{iqdisc => one_queue,backend => rdbms,versioning => false, store_current_id => false}, mod_amp => #{}, mod_sic => #{iqdisc => one_queue}, mod_register => #{access => register,iqdisc => one_queue, registration_watchers => [],password_strength => 0, ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, mod_presence => #{}, mod_disco => #{iqdisc => one_queue,server_info => [],extra_domains => [], users_can_see_hidden_services => false}, mod_stream_management => #{buffer => true,ack => true,backend => cets, stale_h => #{enabled => false,repeat_after => 1800,geriatric => 3600}, buffer_max => 100,ack_freq => 1,resume_timeout => 600}, mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_bosh => #{backend => cets,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_carboncopy => #{iqdisc => no_queue}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12" === Started at 2023-11-13 18:58:25
*** User 2023-11-13 18:58:25.215 ***🔗 alicE_retrieve_offline_732@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 18:58:25.215 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55f6934c48d104c1' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 18:58:25.215 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <stream:features> <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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2023-11-13 18:58:25.215 ***🔗 alicE_retrieve_offline_732@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX29mZmxpbmVfNzMyAG1hdHlncnlzYQ==</auth>
*** User 2023-11-13 18:58:25.216 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 18:58:25.216 ***🔗 alicE_retrieve_offline_732@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 18:58:25.216 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='923023228271bb1d' from='localhost' version='1.0' xml:lang='en' to='alice_retrieve_offline_732@localhost'>
*** User 2023-11-13 18:58:25.217 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <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 18:58:25.217 ***🔗 alicE_retrieve_offline_732@localhost/res1 out <iq type='set' id='27fa8b6eb586c14035e2d16c9bbc8d26'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 18:58:25.217 ***🔗 alicE_retrieve_offline_732@localhost/res1 in <iq id='27fa8b6eb586c14035e2d16c9bbc8d26' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_retrieve_offline_732@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 18:58:25.217 ***🔗 alice_retrieve_offline_732@localhost/res1 out <iq type='set' id='5f582973a052a0e792a23efa433c5d85'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.218 ***🔗 alice_retrieve_offline_732@localhost/res1 in <iq from='localhost' to='alice_retrieve_offline_732@localhost/res1' id='5f582973a052a0e792a23efa433c5d85' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.218 ***🔗 alice_retrieve_offline_732@localhost/res1 out <presence/>
*** User 2023-11-13 18:58:25.222 ***🔗 alice_retrieve_offline_732@localhost/res1 in <presence from='alice_retrieve_offline_732@localhost/res1' to='alice_retrieve_offline_732@localhost/res1'/>
*** User 2023-11-13 18:58:25.223 ***🔗 bOb_retrieve_offline_732@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 18:58:25.223 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='540b4195462d749f' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 18:58:25.223 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <stream:features> <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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2023-11-13 18:58:25.223 ***🔗 bOb_retrieve_offline_732@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9vZmZsaW5lXzczMgBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 18:58:25.224 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 18:58:25.224 ***🔗 bOb_retrieve_offline_732@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 18:58:25.224 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5fd3943995fd8aa' from='localhost' version='1.0' xml:lang='en' to='bob_retrieve_offline_732@localhost'>
*** User 2023-11-13 18:58:25.225 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <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 18:58:25.225 ***🔗 bOb_retrieve_offline_732@localhost/res1 out <iq type='set' id='ad9a4b4bb90935ea848f88ea9f833419'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 18:58:25.225 ***🔗 bOb_retrieve_offline_732@localhost/res1 in <iq id='ad9a4b4bb90935ea848f88ea9f833419' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_retrieve_offline_732@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 18:58:25.226 ***🔗 bob_retrieve_offline_732@localhost/res1 out <iq type='set' id='b576caea29eb7ba004a1e7d793e2b4db'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.226 ***🔗 bob_retrieve_offline_732@localhost/res1 in <iq from='localhost' to='bob_retrieve_offline_732@localhost/res1' id='b576caea29eb7ba004a1e7d793e2b4db' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.226 ***🔗 bob_retrieve_offline_732@localhost/res1 out <presence/>
*** User 2023-11-13 18:58:25.229 ***🔗 bob_retrieve_offline_732@localhost/res1 in <presence from='bob_retrieve_offline_732@localhost/res1' to='bob_retrieve_offline_732@localhost/res1'/>
*** User 2023-11-13 18:58:25.229 ***🔗 kate_retrieve_offline_732@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 18:58:25.230 ***🔗 kate_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79f66b1ad9cce3e1' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 18:58:25.230 ***🔗 kate_retrieve_offline_732@localhost/res1 in <stream:features> <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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2023-11-13 18:58:25.230 ***🔗 kate_retrieve_offline_732@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmV0cmlldmVfb2ZmbGluZV83MzIAbWFrcm93ZTtw</auth>
*** User 2023-11-13 18:58:25.231 ***🔗 kate_retrieve_offline_732@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 18:58:25.231 ***🔗 kate_retrieve_offline_732@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 18:58:25.231 ***🔗 kate_retrieve_offline_732@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30d624b5119edaac' from='localhost' version='1.0' xml:lang='en' to='kate_retrieve_offline_732@localhost'>
*** User 2023-11-13 18:58:25.231 ***🔗 kate_retrieve_offline_732@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <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 18:58:25.232 ***🔗 kate_retrieve_offline_732@localhost/res1 out <iq type='set' id='9d840ffa83a27b0ccd32c487ee95ae15'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 18:58:25.232 ***🔗 kate_retrieve_offline_732@localhost/res1 in <iq id='9d840ffa83a27b0ccd32c487ee95ae15' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>kate_retrieve_offline_732@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 18:58:25.232 ***🔗 kate_retrieve_offline_732@localhost/res1 out <iq type='set' id='051fe99f2c4177b5b9f54c94affc1457'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.233 ***🔗 kate_retrieve_offline_732@localhost/res1 in <iq from='localhost' to='kate_retrieve_offline_732@localhost/res1' id='051fe99f2c4177b5b9f54c94affc1457' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 18:58:25.233 ***🔗 kate_retrieve_offline_732@localhost/res1 out <presence/>
*** User 2023-11-13 18:58:25.235 ***🔗 kate_retrieve_offline_732@localhost/res1 in <presence from='kate_retrieve_offline_732@localhost/res1' to='kate_retrieve_offline_732@localhost/res1'/>
*** User 2023-11-13 18:58:25.236 ***🔗 alice_retrieve_offline_732@localhost/res1 out </stream:stream>
*** User 2023-11-13 18:58:25.236 ***🔗 alice_retrieve_offline_732@localhost/res1 in </stream:stream>
*** User 2023-11-13 18:58:25.236 ***🔗 bob_retrieve_offline_732@localhost/res1 out <message type='chat' to='alice_retrieve_offline_732@localhost/res1'> <body>1Hey!</body> </message>
*** User 2023-11-13 18:58:25.236 ***🔗 bob_retrieve_offline_732@localhost/res1 out <message type='chat' to='alice_retrieve_offline_732@localhost/res1'> <body>2Here is Johnny!</body> </message>
*** User 2023-11-13 18:58:25.236 ***🔗 kate_retrieve_offline_732@localhost/res1 out <message type='chat' to='alice_retrieve_offline_732@localhost/res1'> <body>3Where is Johnny ?</body> </message>
*** User 2023-11-13 18:58:25.339 ***🔗 waiting for timeout is done in 100 miliseconds
*** User 2023-11-13 18:58:25.360 ***🔗 REST request: Code: 200 Req: {<0.14573.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f94a8c38ae3e7c25">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"username\":\"alice_retrieve_offline_732\",\"resultFilepath\":\"retrieve_offline.1699901905339753983.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 18:58:24 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"59">>}], <<"{\"data\":{\"gdpr\":{\"retrievePersonalData\":\"Data retrieved\"}}}">>, 197,19313} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"username\":\"alice_retrieve_offline_732\",\"resultFilepath\":\"retrieve_offline.1699901905339753983.zip\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\"}">>, role => {graphql,admin}, creds => {<<"admin">>,<<"secret">>}, return_maps => true,return_headers => true}
*** User 2023-11-13 18:58:25.360 ***🔗 extracting logs retrieve_offline.1699901905339753983.zip.alice_retrieve_offline_732.unzipped
*** User 2023-11-13 18:58:25.361 ***🔗 kate_retrieve_offline_732@localhost/res1 out </stream:stream>
*** User 2023-11-13 18:58:25.362 ***🔗 kate_retrieve_offline_732@localhost/res1 in </stream:stream>
*** User 2023-11-13 18:58:25.362 ***🔗 bob_retrieve_offline_732@localhost/res1 out </stream:stream>
*** User 2023-11-13 18:58:25.362 ***🔗 bob_retrieve_offline_732@localhost/res1 in </stream:stream>
=== Ended at 2023-11-13 18:58:25 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result