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

=== Config value:

    [{mam_backend,rdbms},
     {watchdog,<0.14686.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_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@0305a9e9395e.2024-04-16_11.58.27/big_tests.tests.gdpr_SUITE.logs/run.2024-04-16_12.00.09/gdpr_suite.retrieve_mam_muc_private_msg.html"},
     {tc_group_properties,[{name,retrieve_personal_data_mam_rdbms}]},
     {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@0305a9e9395e.2024-04-16_11.58.27/big_tests.tests.gdpr_SUITE.logs/run.2024-04-16_12.00.09/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0305a9e9395e.2024-04-16_11.58.27"

=== Started at 2024-04-16 12:00:15


*** CT 2024-04-16 12:00:15.872 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1469.html

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


*** User 2024-04-16 12:00:15.962 ***🔗
alicE_retrieve_mam_muc_private_msg_726@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-16 12:00:15.963 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d63dd29cbe89607' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:00:15.963 ***🔗
alicE_retrieve_mam_muc_private_msg_726@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-16 12:00:15.963 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX21hbV9tdWNfcHJpdmF0ZV9tc2dfNzI2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 12:00:15.964 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:00:15.964 ***🔗
alicE_retrieve_mam_muc_private_msg_726@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-16 12:00:15.964 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b73231e64b25583a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com'>

*** User 2024-04-16 12:00:15.965 ***🔗
alicE_retrieve_mam_muc_private_msg_726@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-16 12:00:15.965 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<iq type='set' id='d328195abdb19b5b3c5a4985a6e5b34d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:00:15.965 ***🔗
alicE_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<iq id='d328195abdb19b5b3c5a4985a6e5b34d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:00:15.965 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<iq type='set' id='3de2cd9c88b3bd4b3e94a30e8436a46f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:00:15.966 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1' id='3de2cd9c88b3bd4b3e94a30e8436a46f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:00:15.966 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:00:15.967 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1'/>



*** User 2024-04-16 12:00:15.968 ***🔗
bOb_retrieve_mam_muc_private_msg_726@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-16 12:00:15.968 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f582f13fcb39a1ac' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:00:15.968 ***🔗
bOb_retrieve_mam_muc_private_msg_726@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-16 12:00:15.968 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9tYW1fbXVjX3ByaXZhdGVfbXNnXzcyNgBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 12:00:15.969 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:00:15.969 ***🔗
bOb_retrieve_mam_muc_private_msg_726@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-16 12:00:15.970 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc6c55d67c6e2abb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com'>

*** User 2024-04-16 12:00:15.970 ***🔗
bOb_retrieve_mam_muc_private_msg_726@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-16 12:00:15.970 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<iq type='set' id='d5918de013a6974ad957424bc5381d2b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:00:15.970 ***🔗
bOb_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<iq id='d5918de013a6974ad957424bc5381d2b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:00:15.970 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<iq type='set' id='b25b2d4d53fdf1c127374ece264494cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:00:15.971 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1' id='b25b2d4d53fdf1c127374ece264494cc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:00:15.971 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:00:15.972 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1'/>



*** User 2024-04-16 12:00:15.974 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<presence to='room-ac8766caf5@groupchats.domain.example.com/Nancy'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:00:15.976 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='room-ac8766caf5@groupchats.domain.example.com/Nancy' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-16 12:00:15.976 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<message from='room-ac8766caf5@groupchats.domain.example.com' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:00:15.976 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<presence to='room-ac8766caf5@groupchats.domain.example.com/Sid'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:00:15.979 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='room-ac8766caf5@groupchats.domain.example.com/Nancy' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:00:15.979 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='room-ac8766caf5@groupchats.domain.example.com/Sid' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:00:15.979 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<presence from='room-ac8766caf5@groupchats.domain.example.com/Sid' to='alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:00:15.979 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<message from='room-ac8766caf5@groupchats.domain.example.com' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:00:15.979 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
<message to='room-ac8766caf5@groupchats.domain.example.com/Sid' type='chat'>
	<body>Hi, Bob!</body>
</message>



*** User 2024-04-16 12:00:15.986 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
<message from='room-ac8766caf5@groupchats.domain.example.com/Nancy' to='bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1' type='chat'>
	<body>Hi, Bob!</body>
	<x xmlns='http://jabber.org/protocol/muc#user'/>
	<stanza-id by='bob_retrieve_mam_muc_private_msg_726@domain.example.com' id='C5HLFCN7DSG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-16 12:00:18.029 ***🔗
waiting for archive_size is done in 2000 miliseconds

*** User 2024-04-16 12:00:18.030 ***🔗
waiting for archive_size is done in 0 miliseconds

*** User 2024-04-16 12:00:18.270 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath retrieve_mam_muc_private_msg.1713268818030200308.zip --username alice_retrieve_mam_muc_private_msg_726
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-16 12:00:18.270 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-16 12:00:18.271 ***🔗
extracting logs retrieve_mam_muc_private_msg.1713268818030200308.zip.alice_retrieve_mam_muc_private_msg_726.unzipped

*** User 2024-04-16 12:00:18.518 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath retrieve_mam_muc_private_msg.1713268818272293462.zip --username bob_retrieve_mam_muc_private_msg_726
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-16 12:00:18.518 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-16 12:00:18.519 ***🔗
extracting logs retrieve_mam_muc_private_msg.1713268818272293462.zip.bob_retrieve_mam_muc_private_msg_726.unzipped

*** User 2024-04-16 12:00:18.521 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:00:18.521 ***🔗
bob_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:00:18.521 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:00:18.521 ***🔗
alice_retrieve_mam_muc_private_msg_726@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 12:00:18.529 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1469.html



=== Ended at 2024-04-16 12:00:18
=== successfully completed test case
=== === Returned value: ok


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