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

=== Config value:

    [{watchdog,<0.14671.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@0d9462abd854.2024-04-10_12.44.09/big_tests.tests.gdpr_SUITE.logs/run.2024-04-10_12.45.51/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@0d9462abd854.2024-04-10_12.44.09/big_tests.tests.gdpr_SUITE.logs/run.2024-04-10_12.45.51/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,ack_freq => 1,
              resume_timeout => 600},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0d9462abd854.2024-04-10_12.44.09"

=== Started at 2024-04-10 12:45:52


*** CT 2024-04-10 12:45:52.743 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1473.html

*** User 2024-04-10 12:45:52.765 ***🔗
alicE_retrieve_offline_727@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 2024-04-10 12:45:52.766 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92e5f0e33757bb74' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:45:52.766 ***🔗
alicE_retrieve_offline_727@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 2024-04-10 12:45:52.766 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX29mZmxpbmVfNzI3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:45:52.767 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:45:52.767 ***🔗
alicE_retrieve_offline_727@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 2024-04-10 12:45:52.767 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c1f402623f20618' from='domain.example.com' version='1.0' xml:lang='en' to='alice_retrieve_offline_727@domain.example.com'>

*** User 2024-04-10 12:45:52.768 ***🔗
alicE_retrieve_offline_727@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 2024-04-10 12:45:52.768 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='c8fb95b33c54595154afe75623d68f22'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.768 ***🔗
alicE_retrieve_offline_727@domain.example.com/res1 in
<iq id='c8fb95b33c54595154afe75623d68f22' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_retrieve_offline_727@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.768 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='499864a657cd22cba28eb6594ed39e69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.769 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_retrieve_offline_727@domain.example.com/res1' id='499864a657cd22cba28eb6594ed39e69' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.769 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:45:52.772 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 in
<presence from='alice_retrieve_offline_727@domain.example.com/res1' to='alice_retrieve_offline_727@domain.example.com/res1'/>



*** User 2024-04-10 12:45:52.772 ***🔗
bOb_retrieve_offline_727@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 2024-04-10 12:45:52.773 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf1089b3947f4223' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:45:52.773 ***🔗
bOb_retrieve_offline_727@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 2024-04-10 12:45:52.773 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9vZmZsaW5lXzcyNwBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@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 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc726ce4ca1a70a6' from='domain.example.com' version='1.0' xml:lang='en' to='bob_retrieve_offline_727@domain.example.com'>

*** User 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@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 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='3b1bf0ebe6e09dbed7126cfe925d1993'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.774 ***🔗
bOb_retrieve_offline_727@domain.example.com/res1 in
<iq id='3b1bf0ebe6e09dbed7126cfe925d1993' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_retrieve_offline_727@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.775 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='f866d40b0e705bf962302e69df323e9e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.775 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_retrieve_offline_727@domain.example.com/res1' id='f866d40b0e705bf962302e69df323e9e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.775 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:45:52.778 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 in
<presence from='bob_retrieve_offline_727@domain.example.com/res1' to='bob_retrieve_offline_727@domain.example.com/res1'/>



*** User 2024-04-10 12:45:52.779 ***🔗
kate_retrieve_offline_727@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 2024-04-10 12:45:52.779 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8697b0c4efff1b27' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:45:52.779 ***🔗
kate_retrieve_offline_727@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 2024-04-10 12:45:52.779 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmV0cmlldmVfb2ZmbGluZV83MjcAbWFrcm93ZTtw</auth>



*** User 2024-04-10 12:45:52.780 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:45:52.780 ***🔗
kate_retrieve_offline_727@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 2024-04-10 12:45:52.780 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d4e118611bd48f1' from='domain.example.com' version='1.0' xml:lang='en' to='kate_retrieve_offline_727@domain.example.com'>

*** User 2024-04-10 12:45:52.781 ***🔗
kate_retrieve_offline_727@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 2024-04-10 12:45:52.781 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='24fb1171c2040c7d5a94f0bae83f0b45'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.781 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<iq id='24fb1171c2040c7d5a94f0bae83f0b45' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_retrieve_offline_727@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:45:52.781 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
<iq type='set' id='c5fc8a2b8a4600887d9def4315a1c324'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.782 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_retrieve_offline_727@domain.example.com/res1' id='c5fc8a2b8a4600887d9def4315a1c324' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:52.782 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:45:52.785 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
<presence from='kate_retrieve_offline_727@domain.example.com/res1' to='kate_retrieve_offline_727@domain.example.com/res1'/>



*** User 2024-04-10 12:45:52.785 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:45:52.785 ***🔗
alice_retrieve_offline_727@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 12:45:52.785 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_727@domain.example.com/res1'>
	<body>1Hey!</body>
</message>



*** User 2024-04-10 12:45:52.786 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_727@domain.example.com/res1'>
	<body>2Here is Johnny!</body>
</message>



*** User 2024-04-10 12:45:52.786 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
<message type='chat' to='alice_retrieve_offline_727@domain.example.com/res1'>
	<body>3Where is Johnny ?</body>
</message>



*** User 2024-04-10 12:45:52.888 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-04-10 12:45:53.155 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath retrieve_offline.1712753152888494321.zip --username alice_retrieve_offline_727
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-10 12:45:53.155 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-10 12:45:53.156 ***🔗
extracting logs retrieve_offline.1712753152888494321.zip.alice_retrieve_offline_727.unzipped

*** User 2024-04-10 12:45:53.157 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:45:53.158 ***🔗
kate_retrieve_offline_727@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 12:45:53.158 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:45:53.158 ***🔗
bob_retrieve_offline_727@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 12:45:53.175 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1473.html



=== Ended at 2024-04-10 12:45:53
=== successfully completed test case
=== === Returned value: ok


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