=== Test case: gdpr_SUITE:retrieve_offline/1 (click for source code)

=== Config value:

    [{watchdog,<0.14318.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.gdpr_SUITE.logs/run.2023-12-07_07.48.02/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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.gdpr_SUITE.logs/run.2023-12-07_07.48.02/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        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_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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 => mnesia,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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:48:03


*** CT 2023-12-07 07:48:03.752 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1354.html

*** User 2023-12-07 07:48:03.775 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.776 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ff90397d729296f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:48:03.776 ***🔗
alicE_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.776 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX29mZmxpbmVfNzE0AG1hdHlncnlzYQ==</auth>



*** User 2023-12-07 07:48:03.778 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:48:03.778 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.778 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='229933f025785470' from='domain.example.com' version='1.0' xml:lang='en' to='alice_retrieve_offline_714@domain.example.com'>

*** User 2023-12-07 07:48:03.778 ***🔗
alicE_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.778 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='1db091a0cbfb36a7e309c5f70e015573'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.779 ***🔗
alicE_retrieve_offline_714@domain.example.com/res1 in
<iq id='1db091a0cbfb36a7e309c5f70e015573' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_retrieve_offline_714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.779 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='955a3e6266738136dc7cdf3d5cb7cc90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.780 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_retrieve_offline_714@domain.example.com/res1' id='955a3e6266738136dc7cdf3d5cb7cc90' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.780 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:48:03.786 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 in
<presence from='alice_retrieve_offline_714@domain.example.com/res1' to='alice_retrieve_offline_714@domain.example.com/res1'/>



*** User 2023-12-07 07:48:03.787 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.788 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5bf4f5a6429fb92' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:48:03.788 ***🔗
bOb_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.788 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9vZmZsaW5lXzcxNABtYWtyb2xpa2E=</auth>



*** User 2023-12-07 07:48:03.790 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:48:03.790 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.790 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a7e19e9b5995b20' from='domain.example.com' version='1.0' xml:lang='en' to='bob_retrieve_offline_714@domain.example.com'>

*** User 2023-12-07 07:48:03.790 ***🔗
bOb_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.790 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='c443ab7c0e310aa355adf8111c8e916c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.791 ***🔗
bOb_retrieve_offline_714@domain.example.com/res1 in
<iq id='c443ab7c0e310aa355adf8111c8e916c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_retrieve_offline_714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.791 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='bd2faac45199defa8801d71c197e9431'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.792 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_retrieve_offline_714@domain.example.com/res1' id='bd2faac45199defa8801d71c197e9431' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.792 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:48:03.796 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 in
<presence from='bob_retrieve_offline_714@domain.example.com/res1' to='bob_retrieve_offline_714@domain.example.com/res1'/>



*** User 2023-12-07 07:48:03.797 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.797 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='baf13d141d7a99ad' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:48:03.798 ***🔗
kate_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.798 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmV0cmlldmVfb2ZmbGluZV83MTQAbWFrcm93ZTtw</auth>



*** User 2023-12-07 07:48:03.798 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='826dd44e3aa6009c' from='domain.example.com' version='1.0' xml:lang='en' to='kate_retrieve_offline_714@domain.example.com'>

*** User 2023-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/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-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='c485bcf7875b75ab479d82428d6c46a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<iq id='c485bcf7875b75ab479d82428d6c46a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_retrieve_offline_714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:48:03.799 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<iq type='set' id='9008640e59c6d0066d4171e39454b48c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.800 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_retrieve_offline_714@domain.example.com/res1' id='9008640e59c6d0066d4171e39454b48c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:48:03.800 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:48:03.803 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
<presence from='kate_retrieve_offline_714@domain.example.com/res1' to='kate_retrieve_offline_714@domain.example.com/res1'/>



*** User 2023-12-07 07:48:03.803 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:48:03.804 ***🔗
alice_retrieve_offline_714@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:48:03.804 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_714@domain.example.com/res1'>
	<body>1Hey!</body>
</message>



*** User 2023-12-07 07:48:03.804 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_714@domain.example.com/res1'>
	<body>2Here is Johnny!</body>
</message>



*** User 2023-12-07 07:48:03.804 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_714@domain.example.com/res1'>
	<body>3Where is Johnny ?</body>
</message>



*** User 2023-12-07 07:48:03.908 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2023-12-07 07:48:04.207 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath retrieve_offline.1701935283908741355.zip --username alice_retrieve_offline_714
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2023-12-07 07:48:04.207 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2023-12-07 07:48:04.208 ***🔗
extracting logs retrieve_offline.1701935283908741355.zip.alice_retrieve_offline_714.unzipped

*** User 2023-12-07 07:48:04.209 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:48:04.210 ***🔗
kate_retrieve_offline_714@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:48:04.210 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:48:04.210 ***🔗
bob_retrieve_offline_714@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:48:04.228 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1354.html



=== Ended at 2023-12-07 07:48:04
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result