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

=== Config value:

    [{mam_backend,elasticsearch},
     {watchdog,<0.7492.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"elasticsearch_and_cassandra_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@e19f1aaa3e96.2024-03-26_10.35.53/big_tests.tests.gdpr_SUITE.logs/run.2024-03-26_10.37.46/gdpr_suite.retrieve_mam_muc_private_msg.23170.html"},
     {tc_group_properties,[{name,retrieve_personal_data_mam_elasticsearch}]},
     {tc_group_path,[[{name,retrieve_personal_data_mam}],
                     [{name,retrieve_personal_data}]]},
     {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@e19f1aaa3e96.2024-03-26_10.35.53/big_tests.tests.gdpr_SUITE.logs/run.2024-03-26_10.37.46/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => mnesia},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,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_amp => #{},
        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,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,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_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e19f1aaa3e96.2024-03-26_10.35.53"

=== Started at 2024-03-26 10:38:01


*** CT 2024-03-26 10:38:01.466 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_56.html

*** User 2024-03-26 10:38:01.539 ***🔗
required modules: [{mod_mam,#{cache =>
                                  #{module => internal,strategy => fifo,
                                    number_of_segments => 3,
                                    time_to_live => 480},
                              max_result_limit => 50,
                              default_result_limit => 50,
                              archive_chat_markers => false,
                              enforce_simple_queries => false,
                              full_text_search => true,
                              is_archivable_message => mod_mam_utils,
                              send_message => mod_mam_utils,
                              no_stanzaid_element => false,
                              muc => #{host => {prefix,<<"muc.">>}},
                              backend => elasticsearch,
                              pm =>
                                  #{archive_groupchats => false,
                                    same_mam_id_for_peers => false},
                              message_retraction => true,
                              async_writer =>
                                  #{enabled => true,pool_size => 16,
                                    batch_size => 30,flush_interval => 2000},
                              cache_users => true}},
                   {mod_muc,#{access => all,
                              host => {prefix,<<"muc.">>},
                              max_users => 200,room_shaper => none,
                              http_auth_pool => none,
                              hibernate_timeout => 90000,backend => mnesia,
                              history_size => 20,
                              hibernated_room_check_interval => infinity,
                              hibernated_room_timeout => infinity,
                              access_create => all,access_admin => none,
                              access_persistent => all,
                              default_room =>
                                  #{public => true,description => <<>>,
                                    persistent => false,title => <<>>,
                                    password => <<>>,subject => <<>>,
                                    allow_change_subj => true,
                                    allow_query_users => true,
                                    allow_private_messages => true,
                                    allow_visitor_status => true,
                                    allow_visitor_nickchange => true,
                                    public_list => true,moderated => true,
                                    members_by_default => true,
                                    members_only => false,
                                    allow_user_invites => false,
                                    allow_multiple_sessions => false,
                                    password_protected => false,
                                    anonymous => true,max_users => 200,
                                    maygetmemberlist => [],logging => false,
                                    affiliations => [],subject_author => <<>>},
                              load_permanent_rooms_at_startup => false,
                              max_room_id => infinity,
                              online_backend => mnesia,
                              min_presence_interval => 0,
                              max_users_admin_threshold => 5,
                              user_message_shaper => none,
                              user_presence_shaper => none,
                              min_message_interval => 0,
                              max_user_conferences => 10,
                              max_room_name => infinity,
                              max_room_desc => infinity}}]


*** User 2024-03-26 10:38:01.542 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-26 10:38:01.543 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='551d656530a4d9b6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-26 10:38:01.543 ***🔗
alicE_retrieve_mam_muc_private_msg_257@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 2024-03-26 10:38:01.543 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX21hbV9tdWNfcHJpdmF0ZV9tc2dfMjU3AG1hdHlncnlzYQ==</auth>



*** User 2024-03-26 10:38:01.544 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-26 10:38:01.544 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-26 10:38:01.544 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb7e7fabbae159e2' from='localhost' version='1.0' xml:lang='en' to='alice_retrieve_mam_muc_private_msg_257@localhost'>

*** User 2024-03-26 10:38:01.545 ***🔗
alicE_retrieve_mam_muc_private_msg_257@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 2024-03-26 10:38:01.545 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 out
<iq type='set' id='39f64265512f94c35185fc9d3d38fecf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-26 10:38:01.545 ***🔗
alicE_retrieve_mam_muc_private_msg_257@localhost/res1 in
<iq id='39f64265512f94c35185fc9d3d38fecf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_retrieve_mam_muc_private_msg_257@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-26 10:38:01.545 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 out
<iq type='set' id='b545509bd7f9dd88afc60a265c650109'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-26 10:38:01.545 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
<iq from='localhost' to='alice_retrieve_mam_muc_private_msg_257@localhost/res1' id='b545509bd7f9dd88afc60a265c650109' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-26 10:38:01.546 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 out
<presence/>



*** User 2024-03-26 10:38:01.547 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='alice_retrieve_mam_muc_private_msg_257@localhost/res1' to='alice_retrieve_mam_muc_private_msg_257@localhost/res1'/>



*** User 2024-03-26 10:38:01.547 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-26 10:38:01.548 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf0592a0c9490187' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-26 10:38:01.548 ***🔗
bOb_retrieve_mam_muc_private_msg_257@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 2024-03-26 10:38:01.548 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9tYW1fbXVjX3ByaXZhdGVfbXNnXzI1NwBtYWtyb2xpa2E=</auth>



*** User 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60846d50723bf194' from='localhost' version='1.0' xml:lang='en' to='bob_retrieve_mam_muc_private_msg_257@localhost'>

*** User 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@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 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 out
<iq type='set' id='2d4a0f225e983fa93b70de6be7f5cc0b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-26 10:38:01.549 ***🔗
bOb_retrieve_mam_muc_private_msg_257@localhost/res1 in
<iq id='2d4a0f225e983fa93b70de6be7f5cc0b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_retrieve_mam_muc_private_msg_257@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-26 10:38:01.549 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 out
<iq type='set' id='01282972a608b1e2cbf281520143f773'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-26 10:38:01.550 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<iq from='localhost' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1' id='01282972a608b1e2cbf281520143f773' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-26 10:38:01.550 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 out
<presence/>



*** User 2024-03-26 10:38:01.551 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='bob_retrieve_mam_muc_private_msg_257@localhost/res1' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1'/>



*** User 2024-03-26 10:38:01.552 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 out
<presence to='room-d3f0cedfaf@muc.localhost/Nancy'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-26 10:38:01.553 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='room-d3f0cedfaf@muc.localhost/Nancy' to='alice_retrieve_mam_muc_private_msg_257@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-26 10:38:01.553 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
<message from='room-d3f0cedfaf@muc.localhost' to='alice_retrieve_mam_muc_private_msg_257@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-26 10:38:01.553 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 out
<presence to='room-d3f0cedfaf@muc.localhost/Sid'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-26 10:38:01.554 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='room-d3f0cedfaf@muc.localhost/Nancy' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-26 10:38:01.554 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='room-d3f0cedfaf@muc.localhost/Sid' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-26 10:38:01.554 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
<presence from='room-d3f0cedfaf@muc.localhost/Sid' to='alice_retrieve_mam_muc_private_msg_257@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-26 10:38:01.555 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<message from='room-d3f0cedfaf@muc.localhost' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-26 10:38:01.555 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 out
<message type='chat' to='room-d3f0cedfaf@muc.localhost/Sid'>
	<body>Hi, Bob!</body>
</message>



*** User 2024-03-26 10:38:01.564 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
<message from='room-d3f0cedfaf@muc.localhost/Nancy' to='bob_retrieve_mam_muc_private_msg_257@localhost/res1' type='chat'>
	<body>Hi, Bob!</body>
	<x xmlns='http://jabber.org/protocol/muc#user'/>
	<stanza-id by='bob_retrieve_mam_muc_private_msg_257@localhost' id='C54DS9J42O81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-26 10:38:01.979 ***🔗
waiting for archive_size is done in 400 miliseconds

*** User 2024-03-26 10:38:01.980 ***🔗
waiting for archive_size is done in 0 miliseconds

*** User 2024-03-26 10:38:02.251 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain localhost --resultFilepath retrieve_mam_muc_private_msg.1711449481980958756.zip --username alice_retrieve_mam_muc_private_msg_257
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-03-26 10:38:02.251 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-03-26 10:38:02.251 ***🔗
extracting logs retrieve_mam_muc_private_msg.1711449481980958756.zip.alice_retrieve_mam_muc_private_msg_257.unzipped

*** User 2024-03-26 10:38:02.515 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain localhost --resultFilepath retrieve_mam_muc_private_msg.1711449482252566614.zip --username bob_retrieve_mam_muc_private_msg_257
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-03-26 10:38:02.515 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-03-26 10:38:02.515 ***🔗
extracting logs retrieve_mam_muc_private_msg.1711449482252566614.zip.bob_retrieve_mam_muc_private_msg_257.unzipped

*** User 2024-03-26 10:38:02.517 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 out
</stream:stream>

*** User 2024-03-26 10:38:02.518 ***🔗
bob_retrieve_mam_muc_private_msg_257@localhost/res1 in
</stream:stream>

*** User 2024-03-26 10:38:02.518 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 out
</stream:stream>

*** User 2024-03-26 10:38:02.518 ***🔗
alice_retrieve_mam_muc_private_msg_257@localhost/res1 in
</stream:stream>
*** CT 2024-03-26 10:38:02.529 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_56.html



=== Ended at 2024-03-26 10:38:02
=== successfully completed test case
=== === Returned value: ok


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