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

=== Config value:

    [{watchdog,<0.14721.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.gdpr_SUITE.logs/run.2023-11-14_11.40.10/gdpr_suite.remove_roster.html"},
     {tc_group_properties,[{name,remove_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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.gdpr_SUITE.logs/run.2023-11-14_11.40.10/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_sic => #{iqdisc => one_queue},
        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_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@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:41:07


*** CT 2023-11-14 11:41:07.584 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1371.html

*** User 2023-11-14 11:41:07.593 ***🔗
alicE_remove_roster_1071@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-11-14 11:41:07.595 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7526895dcca54625' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:41:07.595 ***🔗
alicE_remove_roster_1071@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-11-14 11:41:07.595 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9yb3N0ZXJfMTA3MQBtYXR5Z3J5c2E=</auth>



*** User 2023-11-14 11:41:07.597 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:41:07.597 ***🔗
alicE_remove_roster_1071@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-11-14 11:41:07.598 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39e40ac6087a9aed' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_roster_1071@domain.example.com'>

*** User 2023-11-14 11:41:07.598 ***🔗
alicE_remove_roster_1071@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-11-14 11:41:07.598 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 out
<iq type='set' id='1e83fc385a995ad6aea29f9aea772936'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:41:07.599 ***🔗
alicE_remove_roster_1071@domain.example.com/res1 in
<iq id='1e83fc385a995ad6aea29f9aea772936' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_roster_1071@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:41:07.599 ***🔗
alice_remove_roster_1071@domain.example.com/res1 out
<iq type='set' id='daa8b1c51b22b152e95002cc5f5967ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:41:07.600 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' id='daa8b1c51b22b152e95002cc5f5967ee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:41:07.600 ***🔗
alice_remove_roster_1071@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:41:07.603 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<presence from='alice_remove_roster_1071@domain.example.com/res1' to='alice_remove_roster_1071@domain.example.com/res1'/>



*** User 2023-11-14 11:41:07.604 ***🔗
bOb_remove_roster_1071@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-11-14 11:41:07.605 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bcae4f0be157203' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:41:07.605 ***🔗
bOb_remove_roster_1071@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-11-14 11:41:07.605 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcm9zdGVyXzEwNzEAbWFrcm9saWth</auth>



*** User 2023-11-14 11:41:07.607 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:41:07.607 ***🔗
bOb_remove_roster_1071@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-11-14 11:41:07.609 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a4f7a352602b323' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_roster_1071@domain.example.com'>

*** User 2023-11-14 11:41:07.609 ***🔗
bOb_remove_roster_1071@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-11-14 11:41:07.609 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 out
<iq type='set' id='bd2b9375d84b07ad892de2f72f8df6e5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:41:07.611 ***🔗
bOb_remove_roster_1071@domain.example.com/res1 in
<iq id='bd2b9375d84b07ad892de2f72f8df6e5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_roster_1071@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:41:07.611 ***🔗
bob_remove_roster_1071@domain.example.com/res1 out
<iq type='set' id='452fe177e1728300ebb223a4ce755d40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:41:07.613 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' id='452fe177e1728300ebb223a4ce755d40' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:41:07.613 ***🔗
bob_remove_roster_1071@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:41:07.616 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<presence from='bob_remove_roster_1071@domain.example.com/res1' to='bob_remove_roster_1071@domain.example.com/res1'/>



*** User 2023-11-14 11:41:07.616 ***🔗
alice_remove_roster_1071@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_roster_1071@domain.example.com'/>



*** User 2023-11-14 11:41:07.624 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<iq from='alice_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' id='pusheb7768402b3c154b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.624 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<presence from='alice_remove_roster_1071@domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-14 11:41:07.624 ***🔗
bob_remove_roster_1071@domain.example.com/res1 out
<presence type='subscribe' to='alice_remove_roster_1071@domain.example.com'/>



*** User 2023-11-14 11:41:07.631 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<iq from='alice_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' id='push3c72d98dd4d2509d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.631 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<presence from='bob_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-14 11:41:07.632 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<iq from='bob_remove_roster_1071@domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' id='push9644df8ea51fe8eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.632 ***🔗
bob_remove_roster_1071@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_roster_1071@domain.example.com'/>



*** User 2023-11-14 11:41:07.640 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<iq from='alice_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' id='pusha5622afb9deb7f5c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.641 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<presence from='bob_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-14 11:41:07.641 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<presence from='bob_remove_roster_1071@domain.example.com/res1' to='alice_remove_roster_1071@domain.example.com/res1'/>



*** User 2023-11-14 11:41:07.641 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<iq from='bob_remove_roster_1071@domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' id='push74a465a4fe2de6d0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.641 ***🔗
alice_remove_roster_1071@domain.example.com/res1 out
<presence type='subscribed' to='bob_remove_roster_1071@domain.example.com'/>



*** User 2023-11-14 11:41:07.648 ***🔗
alice_remove_roster_1071@domain.example.com/res1 in
<iq from='alice_remove_roster_1071@domain.example.com' to='alice_remove_roster_1071@domain.example.com/res1' id='push612f0f7273e904fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.648 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<iq from='bob_remove_roster_1071@domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' id='push26ef070bc9847ffa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_remove_roster_1071@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:41:07.648 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<presence from='alice_remove_roster_1071@domain.example.com' to='bob_remove_roster_1071@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-14 11:41:07.648 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
<presence from='alice_remove_roster_1071@domain.example.com/res1' to='bob_remove_roster_1071@domain.example.com/res1'/>



*** User 2023-11-14 11:41:08.665 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  account removeUser --user alice_remove_roster_1071@domain.example.com/res1
Result "{\n  \"data\" : {\n    \"account\" : {\n      \"removeUser\" : {\n        \"message\" : \"User alice_remove_roster_1071@domain.example.com/res1 successfully unregistered\",\n        \"jid\" : \"alice_remove_roster_1071@domain.example.com/res1\"\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2023-11-14 11:41:08.665 ***🔗
ResultString:
{
  "data" : {
    "account" : {
      "removeUser" : {
        "message" : "User alice_remove_roster_1071@domain.example.com/res1 successfully unregistered",
        "jid" : "alice_remove_roster_1071@domain.example.com/res1"
      }
    }
  }
}


*** User 2023-11-14 11:41:08.670 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2023-11-14 11:41:09.584 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath remove_roster.1699962068671022953.zip --username bob_remove_roster_1071
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2023-11-14 11:41:09.584 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2023-11-14 11:41:09.585 ***🔗
extracting logs remove_roster.1699962068671022953.zip.bob_remove_roster_1071.unzipped

*** User 2023-11-14 11:41:09.586 ***🔗
bob_remove_roster_1071@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:41:09.586 ***🔗
bob_remove_roster_1071@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-14 11:41:09.599 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1371.html



=== Ended at 2023-11-14 11:41:09
=== successfully completed test case
=== === Returned value: ok


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