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

=== Config value:

    [{watchdog,<0.14506.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@78fcac8d0ecc.2024-04-23_08.33.56/big_tests.tests.gdpr_SUITE.logs/run.2024-04-23_08.35.22/gdpr_suite.retrieve_roster.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@78fcac8d0ecc.2024-04-23_08.33.56/big_tests.tests.gdpr_SUITE.logs/run.2024-04-23_08.35.22/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_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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_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@78fcac8d0ecc.2024-04-23_08.33.56"

=== Started at 2024-04-23 08:35:22


*** CT 2024-04-23 08:35:22.897 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1357.html

*** User 2024-04-23 08:35:22.910 ***🔗
alicE_retrieve_roster_720@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-23 08:35:22.910 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c3e4e4babd89f29' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 08:35:22.911 ***🔗
alicE_retrieve_roster_720@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-23 08:35:22.911 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX3Jvc3Rlcl83MjAAbWF0eWdyeXNh</auth>



*** User 2024-04-23 08:35:22.912 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 08:35:22.912 ***🔗
alicE_retrieve_roster_720@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-23 08:35:22.913 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51ab1bf58cca733a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_retrieve_roster_720@domain.example.com'>

*** User 2024-04-23 08:35:22.913 ***🔗
alicE_retrieve_roster_720@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-23 08:35:22.913 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 out
<iq type='set' id='46037b3799df0f654da925717b3be99f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 08:35:22.913 ***🔗
alicE_retrieve_roster_720@domain.example.com/res1 in
<iq id='46037b3799df0f654da925717b3be99f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_retrieve_roster_720@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 08:35:22.913 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 out
<iq type='set' id='43c63c7c3ef86b905d1f63fd70b79a3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:35:22.914 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' id='43c63c7c3ef86b905d1f63fd70b79a3e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:35:22.914 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 08:35:22.916 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<presence from='alice_retrieve_roster_720@domain.example.com/res1' to='alice_retrieve_roster_720@domain.example.com/res1'/>



*** User 2024-04-23 08:35:22.917 ***🔗
bOb_retrieve_roster_720@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-23 08:35:22.917 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33a104722746fef0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 08:35:22.917 ***🔗
bOb_retrieve_roster_720@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-23 08:35:22.917 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV9yb3N0ZXJfNzIwAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 08:35:22.919 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 08:35:22.919 ***🔗
bOb_retrieve_roster_720@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-23 08:35:22.919 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee11fc4ab08d09cd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_retrieve_roster_720@domain.example.com'>

*** User 2024-04-23 08:35:22.919 ***🔗
bOb_retrieve_roster_720@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-23 08:35:22.919 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 out
<iq type='set' id='a5c6808954ec3c0ac930bec219adfb25'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 08:35:22.920 ***🔗
bOb_retrieve_roster_720@domain.example.com/res1 in
<iq id='a5c6808954ec3c0ac930bec219adfb25' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_retrieve_roster_720@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 08:35:22.920 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 out
<iq type='set' id='eb01c63cb06bbd2126613bd9040bfa0c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:35:22.921 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' id='eb01c63cb06bbd2126613bd9040bfa0c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:35:22.921 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 08:35:22.923 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<presence from='bob_retrieve_roster_720@domain.example.com/res1' to='bob_retrieve_roster_720@domain.example.com/res1'/>



*** User 2024-04-23 08:35:22.923 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 out
<presence type='subscribe' to='bob_retrieve_roster_720@domain.example.com'/>



*** User 2024-04-23 08:35:22.928 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<iq from='alice_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' id='push5fb6253d82a05838' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_retrieve_roster_720@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.928 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<presence from='alice_retrieve_roster_720@domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 08:35:22.928 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 out
<presence type='subscribe' to='alice_retrieve_roster_720@domain.example.com'/>



*** User 2024-04-23 08:35:22.935 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<iq from='alice_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' id='pusha77d40d39d93108d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_retrieve_roster_720@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.935 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<presence from='bob_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 08:35:22.935 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<iq from='bob_retrieve_roster_720@domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' id='push67433b73e9f46cb3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_retrieve_roster_720@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.935 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 out
<presence type='subscribed' to='alice_retrieve_roster_720@domain.example.com'/>



*** User 2024-04-23 08:35:22.941 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<iq from='alice_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' id='pushb2c63b952d9a6856' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_retrieve_roster_720@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.942 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<presence from='bob_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 08:35:22.942 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<presence from='bob_retrieve_roster_720@domain.example.com/res1' to='alice_retrieve_roster_720@domain.example.com/res1'/>



*** User 2024-04-23 08:35:22.942 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<iq from='bob_retrieve_roster_720@domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' id='push8b32c3b3b2f58947' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_retrieve_roster_720@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.942 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 out
<presence type='subscribed' to='bob_retrieve_roster_720@domain.example.com'/>



*** User 2024-04-23 08:35:22.948 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
<iq from='alice_retrieve_roster_720@domain.example.com' to='alice_retrieve_roster_720@domain.example.com/res1' id='push580f744c8088ad15' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_retrieve_roster_720@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.949 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<iq from='bob_retrieve_roster_720@domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' id='push4bc368c6a2960b5c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_retrieve_roster_720@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 08:35:22.949 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<presence from='alice_retrieve_roster_720@domain.example.com' to='bob_retrieve_roster_720@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 08:35:22.949 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
<presence from='alice_retrieve_roster_720@domain.example.com/res1' to='bob_retrieve_roster_720@domain.example.com/res1'/>



*** User 2024-04-23 08:35:23.279 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath retrieve_roster.1713861322949402279.zip --username alice_retrieve_roster_720
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-23 08:35:23.279 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-23 08:35:23.280 ***🔗
extracting logs retrieve_roster.1713861322949402279.zip.alice_retrieve_roster_720.unzipped

*** User 2024-04-23 08:35:23.281 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 08:35:23.281 ***🔗
bob_retrieve_roster_720@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 08:35:23.282 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 08:35:23.282 ***🔗
alice_retrieve_roster_720@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 08:35:23.301 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1357.html



=== Ended at 2024-04-23 08:35:23
=== successfully completed test case
=== === Returned value: ok


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