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

=== Config value:

    [{watchdog,<0.13452.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.gdpr_SUITE.logs/run.2024-04-16_10.15.08/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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.gdpr_SUITE.logs/run.2024-04-16_10.15.08/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => mnesia,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@6b87bb397ec6.2024-04-16_10.12.53"

=== Started at 2024-04-16 10:15:19


*** CT 2024-04-16 10:15:19.902 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1498.html

*** User 2024-04-16 10:15:19.906 ***🔗
alicE_remove_roster_617@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-16 10:15:19.906 ***🔗
alicE_remove_roster_617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa50cd6b7ec7ae1f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:15:19.907 ***🔗
alicE_remove_roster_617@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-16 10:15:19.907 ***🔗
alicE_remove_roster_617@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9yb3N0ZXJfNjE3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:15:19.908 ***🔗
alicE_remove_roster_617@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:15:19.908 ***🔗
alicE_remove_roster_617@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-16 10:15:19.908 ***🔗
alicE_remove_roster_617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f34590b13065e34' from='localhost' version='1.0' xml:lang='en' to='alice_remove_roster_617@localhost'>

*** User 2024-04-16 10:15:19.908 ***🔗
alicE_remove_roster_617@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-16 10:15:19.909 ***🔗
alicE_remove_roster_617@localhost/res1 out
<iq type='set' id='998f37ddf7fe06b5200b2f1a39a05448'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:15:19.909 ***🔗
alicE_remove_roster_617@localhost/res1 in
<iq id='998f37ddf7fe06b5200b2f1a39a05448' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_roster_617@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:15:19.909 ***🔗
alice_remove_roster_617@localhost/res1 out
<iq type='set' id='0b95801f9b742ec56394c092055705e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:15:19.909 ***🔗
alice_remove_roster_617@localhost/res1 in
<iq from='localhost' to='alice_remove_roster_617@localhost/res1' id='0b95801f9b742ec56394c092055705e6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:15:19.910 ***🔗
alice_remove_roster_617@localhost/res1 out
<presence/>



*** User 2024-04-16 10:15:19.911 ***🔗
alice_remove_roster_617@localhost/res1 in
<presence from='alice_remove_roster_617@localhost/res1' to='alice_remove_roster_617@localhost/res1'/>



*** User 2024-04-16 10:15:19.911 ***🔗
bOb_remove_roster_617@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-16 10:15:19.911 ***🔗
bOb_remove_roster_617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a02ec6359c4af90a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:15:19.912 ***🔗
bOb_remove_roster_617@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-16 10:15:19.912 ***🔗
bOb_remove_roster_617@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcm9zdGVyXzYxNwBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:15:19.913 ***🔗
bOb_remove_roster_617@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:15:19.913 ***🔗
bOb_remove_roster_617@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-16 10:15:19.913 ***🔗
bOb_remove_roster_617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f027e02d164dcab3' from='localhost' version='1.0' xml:lang='en' to='bob_remove_roster_617@localhost'>

*** User 2024-04-16 10:15:19.913 ***🔗
bOb_remove_roster_617@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-16 10:15:19.913 ***🔗
bOb_remove_roster_617@localhost/res1 out
<iq type='set' id='5b5ec4c6635b16424b54e24d7c231487'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:15:19.914 ***🔗
bOb_remove_roster_617@localhost/res1 in
<iq id='5b5ec4c6635b16424b54e24d7c231487' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_roster_617@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:15:19.914 ***🔗
bob_remove_roster_617@localhost/res1 out
<iq type='set' id='1b1e756afa6835852da6be31dbef942a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:15:19.914 ***🔗
bob_remove_roster_617@localhost/res1 in
<iq from='localhost' to='bob_remove_roster_617@localhost/res1' id='1b1e756afa6835852da6be31dbef942a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:15:19.915 ***🔗
bob_remove_roster_617@localhost/res1 out
<presence/>



*** User 2024-04-16 10:15:19.916 ***🔗
bob_remove_roster_617@localhost/res1 in
<presence from='bob_remove_roster_617@localhost/res1' to='bob_remove_roster_617@localhost/res1'/>



*** User 2024-04-16 10:15:19.916 ***🔗
alice_remove_roster_617@localhost/res1 out
<presence type='subscribe' to='bob_remove_roster_617@localhost'/>



*** User 2024-04-16 10:15:19.917 ***🔗
alice_remove_roster_617@localhost/res1 in
<iq from='alice_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' id='push051b4526a1a25764' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_remove_roster_617@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.917 ***🔗
bob_remove_roster_617@localhost/res1 in
<presence from='alice_remove_roster_617@localhost' to='bob_remove_roster_617@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:15:19.917 ***🔗
bob_remove_roster_617@localhost/res1 out
<presence type='subscribe' to='alice_remove_roster_617@localhost'/>



*** User 2024-04-16 10:15:19.918 ***🔗
alice_remove_roster_617@localhost/res1 in
<iq from='alice_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' id='push18dabc659a5e097a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_remove_roster_617@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.919 ***🔗
alice_remove_roster_617@localhost/res1 in
<presence from='bob_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:15:19.919 ***🔗
bob_remove_roster_617@localhost/res1 in
<iq from='bob_remove_roster_617@localhost' to='bob_remove_roster_617@localhost/res1' id='push8909d9786cb0ec53' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_remove_roster_617@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.919 ***🔗
bob_remove_roster_617@localhost/res1 out
<presence type='subscribed' to='alice_remove_roster_617@localhost'/>



*** User 2024-04-16 10:15:19.920 ***🔗
alice_remove_roster_617@localhost/res1 in
<iq from='alice_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' id='pushbc553b8d2538b2c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_roster_617@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.920 ***🔗
alice_remove_roster_617@localhost/res1 in
<presence from='bob_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:15:19.920 ***🔗
alice_remove_roster_617@localhost/res1 in
<presence from='bob_remove_roster_617@localhost/res1' to='alice_remove_roster_617@localhost/res1'/>



*** User 2024-04-16 10:15:19.920 ***🔗
bob_remove_roster_617@localhost/res1 in
<iq from='bob_remove_roster_617@localhost' to='bob_remove_roster_617@localhost/res1' id='pushd3dacd6aefb27466' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_remove_roster_617@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.920 ***🔗
alice_remove_roster_617@localhost/res1 out
<presence type='subscribed' to='bob_remove_roster_617@localhost'/>



*** User 2024-04-16 10:15:19.922 ***🔗
alice_remove_roster_617@localhost/res1 in
<iq from='alice_remove_roster_617@localhost' to='alice_remove_roster_617@localhost/res1' id='pusha5681a6459f6d61a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_roster_617@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.922 ***🔗
bob_remove_roster_617@localhost/res1 in
<iq from='bob_remove_roster_617@localhost' to='bob_remove_roster_617@localhost/res1' id='push9f5b570638858d5c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_roster_617@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 10:15:19.922 ***🔗
bob_remove_roster_617@localhost/res1 in
<presence from='alice_remove_roster_617@localhost' to='bob_remove_roster_617@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:15:19.922 ***🔗
bob_remove_roster_617@localhost/res1 in
<presence from='alice_remove_roster_617@localhost/res1' to='bob_remove_roster_617@localhost/res1'/>



*** User 2024-04-16 10:15:20.428 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  account removeUser --user alice_remove_roster_617@localhost/res1
Result "{\n  \"data\" : {\n    \"account\" : {\n      \"removeUser\" : {\n        \"message\" : \"User alice_remove_roster_617@localhost/res1 successfully unregistered\",\n        \"jid\" : \"alice_remove_roster_617@localhost/res1\"\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-16 10:15:20.428 ***🔗
ResultString:
{
  "data" : {
    "account" : {
      "removeUser" : {
        "message" : "User alice_remove_roster_617@localhost/res1 successfully unregistered",
        "jid" : "alice_remove_roster_617@localhost/res1"
      }
    }
  }
}


*** User 2024-04-16 10:15:20.430 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2024-04-16 10:15:20.938 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain localhost --resultFilepath remove_roster.1713262520430472365.zip --username bob_remove_roster_617
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-16 10:15:20.938 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-16 10:15:20.938 ***🔗
extracting logs remove_roster.1713262520430472365.zip.bob_remove_roster_617.unzipped

*** User 2024-04-16 10:15:20.939 ***🔗
bob_remove_roster_617@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:15:20.940 ***🔗
bob_remove_roster_617@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:15:20.944 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1498.html



=== Ended at 2024-04-16 10:15:20
=== successfully completed test case
=== === Returned value: ok


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