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

=== Config value:

    [{watchdog,<0.13426.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"internal_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@05435e935dcc.2024-04-23_11.32.33/big_tests.tests.gdpr_SUITE.logs/run.2024-04-23_11.34.11/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@05435e935dcc.2024-04-23_11.32.33/big_tests.tests.gdpr_SUITE.logs/run.2024-04-23_11.34.11/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_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_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,
              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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@05435e935dcc.2024-04-23_11.32.33"

=== Started at 2024-04-23 11:34:21


*** CT 2024-04-23 11:34:21.027 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1500.html

*** User 2024-04-23 11:34:21.030 ***🔗
alicE_remove_roster_623@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-04-23 11:34:21.030 ***🔗
alicE_remove_roster_623@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de90b80be9e35924' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:34:21.031 ***🔗
alicE_remove_roster_623@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='TS6VTftzo82s837ELut+cf+SgYA='/>
	<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 11:34:21.031 ***🔗
alicE_remove_roster_623@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9yb3N0ZXJfNjIzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:34:21.031 ***🔗
alicE_remove_roster_623@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:34:21.031 ***🔗
alicE_remove_roster_623@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-04-23 11:34:21.031 ***🔗
alicE_remove_roster_623@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b15da06697c3841c' from='localhost' version='1.0' xml:lang='en' to='alice_remove_roster_623@localhost'>

*** User 2024-04-23 11:34:21.032 ***🔗
alicE_remove_roster_623@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='TS6VTftzo82s837ELut+cf+SgYA='/>
	<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 11:34:21.032 ***🔗
alicE_remove_roster_623@localhost/res1 out
<iq type='set' id='cc0e8321fda1ac93f60fbba3fbf78a55'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:34:21.032 ***🔗
alicE_remove_roster_623@localhost/res1 in
<iq id='cc0e8321fda1ac93f60fbba3fbf78a55' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_roster_623@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:34:21.032 ***🔗
alice_remove_roster_623@localhost/res1 out
<iq type='set' id='43726fc0b479a34254a1d693f0a50795'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:34:21.032 ***🔗
alice_remove_roster_623@localhost/res1 in
<iq from='localhost' to='alice_remove_roster_623@localhost/res1' id='43726fc0b479a34254a1d693f0a50795' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:34:21.033 ***🔗
alice_remove_roster_623@localhost/res1 out
<presence/>



*** User 2024-04-23 11:34:21.033 ***🔗
alice_remove_roster_623@localhost/res1 in
<presence from='alice_remove_roster_623@localhost/res1' to='alice_remove_roster_623@localhost/res1'/>



*** User 2024-04-23 11:34:21.034 ***🔗
bOb_remove_roster_623@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-04-23 11:34:21.034 ***🔗
bOb_remove_roster_623@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b51828012dea0c50' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:34:21.034 ***🔗
bOb_remove_roster_623@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='TS6VTftzo82s837ELut+cf+SgYA='/>
	<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 11:34:21.035 ***🔗
bOb_remove_roster_623@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcm9zdGVyXzYyMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:34:21.035 ***🔗
bOb_remove_roster_623@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:34:21.035 ***🔗
bOb_remove_roster_623@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-04-23 11:34:21.035 ***🔗
bOb_remove_roster_623@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e74e31638c59cfe' from='localhost' version='1.0' xml:lang='en' to='bob_remove_roster_623@localhost'>

*** User 2024-04-23 11:34:21.035 ***🔗
bOb_remove_roster_623@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='TS6VTftzo82s837ELut+cf+SgYA='/>
	<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 11:34:21.036 ***🔗
bOb_remove_roster_623@localhost/res1 out
<iq type='set' id='847bc36fde79ac42306511ff61c58c24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:34:21.036 ***🔗
bOb_remove_roster_623@localhost/res1 in
<iq id='847bc36fde79ac42306511ff61c58c24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_roster_623@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:34:21.036 ***🔗
bob_remove_roster_623@localhost/res1 out
<iq type='set' id='31687e97c0deaaa01ae5becc02762f9d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:34:21.036 ***🔗
bob_remove_roster_623@localhost/res1 in
<iq from='localhost' to='bob_remove_roster_623@localhost/res1' id='31687e97c0deaaa01ae5becc02762f9d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:34:21.036 ***🔗
bob_remove_roster_623@localhost/res1 out
<presence/>



*** User 2024-04-23 11:34:21.037 ***🔗
bob_remove_roster_623@localhost/res1 in
<presence from='bob_remove_roster_623@localhost/res1' to='bob_remove_roster_623@localhost/res1'/>



*** User 2024-04-23 11:34:21.037 ***🔗
alice_remove_roster_623@localhost/res1 out
<presence type='subscribe' to='bob_remove_roster_623@localhost'/>



*** User 2024-04-23 11:34:21.038 ***🔗
alice_remove_roster_623@localhost/res1 in
<iq from='alice_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' id='push9b27929b3c45ea65' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_remove_roster_623@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.038 ***🔗
bob_remove_roster_623@localhost/res1 in
<presence from='alice_remove_roster_623@localhost' to='bob_remove_roster_623@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:34:21.038 ***🔗
bob_remove_roster_623@localhost/res1 out
<presence type='subscribe' to='alice_remove_roster_623@localhost'/>



*** User 2024-04-23 11:34:21.039 ***🔗
alice_remove_roster_623@localhost/res1 in
<iq from='alice_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' id='push10a70423af417321' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_remove_roster_623@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.039 ***🔗
alice_remove_roster_623@localhost/res1 in
<presence from='bob_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:34:21.039 ***🔗
bob_remove_roster_623@localhost/res1 in
<iq from='bob_remove_roster_623@localhost' to='bob_remove_roster_623@localhost/res1' id='pushd3fbec72d8bd9ccf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_remove_roster_623@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.039 ***🔗
bob_remove_roster_623@localhost/res1 out
<presence type='subscribed' to='alice_remove_roster_623@localhost'/>



*** User 2024-04-23 11:34:21.040 ***🔗
alice_remove_roster_623@localhost/res1 in
<iq from='alice_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' id='pushecfc35b78f91e918' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_roster_623@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.040 ***🔗
alice_remove_roster_623@localhost/res1 in
<presence from='bob_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:34:21.040 ***🔗
alice_remove_roster_623@localhost/res1 in
<presence from='bob_remove_roster_623@localhost/res1' to='alice_remove_roster_623@localhost/res1'/>



*** User 2024-04-23 11:34:21.040 ***🔗
bob_remove_roster_623@localhost/res1 in
<iq from='bob_remove_roster_623@localhost' to='bob_remove_roster_623@localhost/res1' id='pushebd1f12a80473202' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_remove_roster_623@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.040 ***🔗
alice_remove_roster_623@localhost/res1 out
<presence type='subscribed' to='bob_remove_roster_623@localhost'/>



*** User 2024-04-23 11:34:21.041 ***🔗
alice_remove_roster_623@localhost/res1 in
<iq from='alice_remove_roster_623@localhost' to='alice_remove_roster_623@localhost/res1' id='pushb6dff312751a6734' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_roster_623@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.041 ***🔗
bob_remove_roster_623@localhost/res1 in
<iq from='bob_remove_roster_623@localhost' to='bob_remove_roster_623@localhost/res1' id='pushe24cb050b7f0ada3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_roster_623@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:34:21.041 ***🔗
bob_remove_roster_623@localhost/res1 in
<presence from='alice_remove_roster_623@localhost' to='bob_remove_roster_623@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:34:21.041 ***🔗
bob_remove_roster_623@localhost/res1 in
<presence from='alice_remove_roster_623@localhost/res1' to='bob_remove_roster_623@localhost/res1'/>



*** User 2024-04-23 11:34:21.436 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  account removeUser --user alice_remove_roster_623@localhost/res1
Result "{\n  \"data\" : {\n    \"account\" : {\n      \"removeUser\" : {\n        \"message\" : \"User alice_remove_roster_623@localhost/res1 successfully unregistered\",\n        \"jid\" : \"alice_remove_roster_623@localhost/res1\"\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-23 11:34:21.436 ***🔗
ResultString:
{
  "data" : {
    "account" : {
      "removeUser" : {
        "message" : "User alice_remove_roster_623@localhost/res1 successfully unregistered",
        "jid" : "alice_remove_roster_623@localhost/res1"
      }
    }
  }
}


*** User 2024-04-23 11:34:21.438 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2024-04-23 11:34:21.846 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain localhost --resultFilepath remove_roster.1713872061438275978.zip --username bob_remove_roster_623
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-23 11:34:21.846 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-23 11:34:21.846 ***🔗
extracting logs remove_roster.1713872061438275978.zip.bob_remove_roster_623.unzipped

*** User 2024-04-23 11:34:21.847 ***🔗
bob_remove_roster_623@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:34:21.848 ***🔗
bob_remove_roster_623@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:34:21.851 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1500.html



=== Ended at 2024-04-23 11:34:21
=== successfully completed test case
=== === Returned value: ok


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