=== Test case: gdpr_SUITE:retrieve_roster/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_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@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.298 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1354.html

*** User 2023-12-07 07:48:03.304 ***🔗
alicE_retrieve_roster_713@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.305 ***🔗
alicE_retrieve_roster_713@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='304e27df1e44667f' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2023-12-07 07:48:03.306 ***🔗
alicE_retrieve_roster_713@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.306 ***🔗
alicE_retrieve_roster_713@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='56d6927da9c86599' from='domain.example.com' version='1.0' xml:lang='en' to='alice_retrieve_roster_713@domain.example.com'>

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



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



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



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



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



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



*** User 2023-12-07 07:48:03.310 ***🔗
bOb_retrieve_roster_713@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.311 ***🔗
bOb_retrieve_roster_713@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='893be07a85ccfcd5' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2023-12-07 07:48:03.312 ***🔗
bOb_retrieve_roster_713@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.313 ***🔗
bOb_retrieve_roster_713@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8acebb24549a48bb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_retrieve_roster_713@domain.example.com'>

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



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



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



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



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



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



*** User 2023-12-07 07:48:03.316 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 out
<presence type='subscribe' to='bob_retrieve_roster_713@domain.example.com'/>



*** User 2023-12-07 07:48:03.321 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<iq from='alice_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' id='pushcb407f9a26430a5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.321 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 in
<presence from='alice_retrieve_roster_713@domain.example.com' to='bob_retrieve_roster_713@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-07 07:48:03.321 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 out
<presence type='subscribe' to='alice_retrieve_roster_713@domain.example.com'/>



*** User 2023-12-07 07:48:03.326 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<iq from='alice_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' id='push67605a00384cc368' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.327 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<presence from='bob_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-07 07:48:03.327 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 in
<iq from='bob_retrieve_roster_713@domain.example.com' to='bob_retrieve_roster_713@domain.example.com/res1' id='pushb9d3997e155eeefc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.327 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 out
<presence type='subscribed' to='alice_retrieve_roster_713@domain.example.com'/>



*** User 2023-12-07 07:48:03.332 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<iq from='alice_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' id='push784021471ab9955a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.333 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<presence from='bob_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' type='subscribed'/>



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



*** User 2023-12-07 07:48:03.333 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 in
<iq from='bob_retrieve_roster_713@domain.example.com' to='bob_retrieve_roster_713@domain.example.com/res1' id='push9e86ff6f510345e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.333 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 out
<presence type='subscribed' to='bob_retrieve_roster_713@domain.example.com'/>



*** User 2023-12-07 07:48:03.343 ***🔗
alice_retrieve_roster_713@domain.example.com/res1 in
<iq from='alice_retrieve_roster_713@domain.example.com' to='alice_retrieve_roster_713@domain.example.com/res1' id='pushffa3a36c58008f19' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.343 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 in
<iq from='bob_retrieve_roster_713@domain.example.com' to='bob_retrieve_roster_713@domain.example.com/res1' id='push21be15d587538095' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_retrieve_roster_713@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:48:03.343 ***🔗
bob_retrieve_roster_713@domain.example.com/res1 in
<presence from='alice_retrieve_roster_713@domain.example.com' to='bob_retrieve_roster_713@domain.example.com/res1' type='subscribed'/>



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



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

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


*** User 2023-12-07 07:48:03.706 ***🔗
extracting logs retrieve_roster.1701935283343902280.zip.alice_retrieve_roster_713.unzipped

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

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

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

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



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


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