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

=== Config value:

    [{escalus_event_mgr,<0.14931.0>},
     {tc_name,remove_personal_data_inbox},
     {escalus_cleaner,<0.14930.0>},
     {watchdog,<0.14929.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@7eef3621b930.2024-04-10_14.24.02/big_tests.tests.gdpr_SUITE.logs/run.2024-04-10_14.25.47/gdpr_suite.remove_inbox_muc.html"},
     {tc_group_properties,[{name,remove_personal_data_inbox}]},
     {tc_group_path,[[{name,remove_personal_data}]]},
     {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@7eef3621b930.2024-04-10_14.24.02/big_tests.tests.gdpr_SUITE.logs/run.2024-04-10_14.25.47/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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_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@7eef3621b930.2024-04-10_14.24.02"

=== Started at 2024-04-10 14:26:26


*** CT 2024-04-10 14:26:26.065 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1474.html

*** User 2024-04-10 14:26:26.066 ***🔗
Starting MUC for <<"test type">>

*** User 2024-04-10 14:26:26.088 ***🔗
alicE_remove_inbox_muc_741@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-10 14:26:26.088 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6ab60308193f5f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 14:26:26.089 ***🔗
alicE_remove_inbox_muc_741@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-10 14:26:26.089 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9pbmJveF9tdWNfNzQxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 14:26:26.090 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 14:26:26.090 ***🔗
alicE_remove_inbox_muc_741@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-10 14:26:26.090 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c962636af06aafab' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_inbox_muc_741@domain.example.com'>

*** User 2024-04-10 14:26:26.090 ***🔗
alicE_remove_inbox_muc_741@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-10 14:26:26.090 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 out
<iq type='set' id='8b15faeefbaf853cd48e1fb60ade8b47'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 14:26:26.091 ***🔗
alicE_remove_inbox_muc_741@domain.example.com/res1 in
<iq id='8b15faeefbaf853cd48e1fb60ade8b47' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_inbox_muc_741@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 14:26:26.091 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 out
<iq type='set' id='468452816303cf5116f3c1bf6a036936'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:26:26.091 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_inbox_muc_741@domain.example.com/res1' id='468452816303cf5116f3c1bf6a036936' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:26:26.091 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 14:26:26.094 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='alice_remove_inbox_muc_741@domain.example.com/res1' to='alice_remove_inbox_muc_741@domain.example.com/res1'/>



*** User 2024-04-10 14:26:26.094 ***🔗
bOb_remove_inbox_muc_741@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-10 14:26:26.094 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e4221c63378fef1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 14:26:26.095 ***🔗
bOb_remove_inbox_muc_741@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-10 14:26:26.095 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfaW5ib3hfbXVjXzc0MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 14:26:26.096 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 14:26:26.096 ***🔗
bOb_remove_inbox_muc_741@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-10 14:26:26.096 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2903de4cd13d8ae8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_inbox_muc_741@domain.example.com'>

*** User 2024-04-10 14:26:26.096 ***🔗
bOb_remove_inbox_muc_741@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-10 14:26:26.096 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 out
<iq type='set' id='f9a27c6a4a972ecbf66b5e0057252ff4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 14:26:26.097 ***🔗
bOb_remove_inbox_muc_741@domain.example.com/res1 in
<iq id='f9a27c6a4a972ecbf66b5e0057252ff4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_inbox_muc_741@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 14:26:26.097 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 out
<iq type='set' id='e8c0365c5d2695c39c886d53e9340f82'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:26:26.097 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_inbox_muc_741@domain.example.com/res1' id='e8c0365c5d2695c39c886d53e9340f82' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:26:26.097 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 14:26:26.100 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='bob_remove_inbox_muc_741@domain.example.com/res1' to='bob_remove_inbox_muc_741@domain.example.com/res1'/>



*** User 2024-04-10 14:26:26.101 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 out
<presence to='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/alice_remove_inbox_muc_741'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-10 14:26:26.101 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 out
<presence to='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-10 14:26:26.103 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/alice_remove_inbox_muc_741' to='alice_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_remove_inbox_muc_741@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.103 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<message from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com' to='alice_remove_inbox_muc_741@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-10 14:26:26.103 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='alice_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_remove_inbox_muc_741@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.103 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/alice_remove_inbox_muc_741' to='bob_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.103 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='bob_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.104 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<message from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com' to='bob_remove_inbox_muc_741@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-10 14:26:26.104 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 out
<iq type='set' id='f1d9a242007c8a2d66e40c8ddecae9b5' to='room-alice_remove_inbox_muc_741@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_remove_inbox_muc_741@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2024-04-10 14:26:26.105 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='alice_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_remove_inbox_muc_741@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.105 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<iq from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com' to='alice_remove_inbox_muc_741@domain.example.com/res1' id='f1d9a242007c8a2d66e40c8ddecae9b5' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-04-10 14:26:26.105 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='bob_remove_inbox_muc_741@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.105 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 out
<message type='groupchat' to='room-alice_remove_inbox_muc_741@groupchats.domain.example.com' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-10 14:26:26.108 ***🔗
alice_remove_inbox_muc_741@domain.example.com/res1 in
<message from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='alice_remove_inbox_muc_741@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-10 14:26:26.108 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<message from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/bob_remove_inbox_muc_741' to='bob_remove_inbox_muc_741@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-10 14:26:26.337 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  account removeUser --user alice_remove_inbox_muc_741@domain.example.com/res1
Result "{\n  \"data\" : {\n    \"account\" : {\n      \"removeUser\" : {\n        \"message\" : \"User alice_remove_inbox_muc_741@domain.example.com/res1 successfully unregistered\",\n        \"jid\" : \"alice_remove_inbox_muc_741@domain.example.com/res1\"\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-10 14:26:26.337 ***🔗
ResultString:
{
  "data" : {
    "account" : {
      "removeUser" : {
        "message" : "User alice_remove_inbox_muc_741@domain.example.com/res1 successfully unregistered",
        "jid" : "alice_remove_inbox_muc_741@domain.example.com/res1"
      }
    }
  }
}


*** User 2024-04-10 14:26:26.337 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
<presence from='room-alice_remove_inbox_muc_741@groupchats.domain.example.com/alice_remove_inbox_muc_741' to='bob_remove_inbox_muc_741@domain.example.com/res1' type='unavailable'>
	<status>Shutdown by reason: User removed</status>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='owner' role='none'/>
	</x>
</presence>



*** User 2024-04-10 14:26:26.340 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2024-04-10 14:26:26.574 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  gdpr retrievePersonalData --domain domain.example.com --resultFilepath remove_inbox_muc.1712759186340226259.zip --username bob_remove_inbox_muc_741
Result "{\n  \"data\" : {\n    \"gdpr\" : {\n      \"retrievePersonalData\" : \"Data retrieved\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-10 14:26:26.574 ***🔗
ResultString:
{
  "data" : {
    "gdpr" : {
      "retrievePersonalData" : "Data retrieved"
    }
  }
}


*** User 2024-04-10 14:26:26.574 ***🔗
extracting logs remove_inbox_muc.1712759186340226259.zip.bob_remove_inbox_muc_741.unzipped

*** User 2024-04-10 14:26:26.575 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 14:26:26.576 ***🔗
bob_remove_inbox_muc_741@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 14:26:26.581 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1474.html



=== Ended at 2024-04-10 14:26:26
=== successfully completed test case
=== === Returned value: ok


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