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

=== Config value:

    [{group,remove_personal_data_pubsub},
     {watchdog,<0.14470.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/gdpr_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.gdpr_SUITE.logs/run.2022-03-18_10.52.13/gdpr_suite.remove_pubsub_dont_remove_node_when_only_publisher.html"},
     {tc_group_properties,[{name,remove_personal_data_pubsub}]},
     {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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.gdpr_SUITE.logs/run.2022-03-18_10.52.13/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => [],
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => ldap,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,
              ldap =>
                  #{base => <<"ou=Users,dc=esl,dc=com">>,
                    binary_search_fields => [],deref => never,
                    filter => <<"(objectClass=inetOrgPerson)">>,
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    search_operator => 'and',
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    uids => [{<<"uid">>,<<"%u">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
              matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:52:25


*** CT 2022-03-18 10:52:25.627 *** View log from node mongooseim@localhost when started mongooseim@localhost_830.html
*** CT 2022-03-18 10:52:25.627 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_397.html

*** User 2022-03-18 10:52:25.632 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:52:25.632 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3810d7ca9ce5b620' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:52:25.633 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:52:25.633 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9wdWJzdWJfZG9udF9yZW1vdmVfbm9kZV93aGVuX29ubHlfcHVibGlzaGVyXzY2NQBtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:52:25.634 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:52:25.634 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:52:25.634 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28703c688565aa8d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:52:25.634 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:52:25.634 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq type='set' id='def423abf526b3ecff78a26643f2a1db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:52:25.635 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq id='def423abf526b3ecff78a26643f2a1db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:52:25.635 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq type='set' id='9075388362c7c183c59a816e631d13f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:52:25.635 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq type='result' id='9075388362c7c183c59a816e631d13f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:52:25.635 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<presence/>



*** User 2022-03-18 10:52:25.636 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<presence from='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' to='alice_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:52:25.636 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:52:25.637 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52717a5d72199361' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:52:25.637 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:52:25.637 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcHVic3ViX2RvbnRfcmVtb3ZlX25vZGVfd2hlbl9vbmx5X3B1Ymxpc2hlcl82NjUAbWFrcm9saWth</auth>



*** User 2022-03-18 10:52:25.638 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:52:25.638 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:52:25.638 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c916b0c1c41c3e2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:52:25.638 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='OxC0Qy2rftEUw46eLE6AXxrVGRA='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:52:25.639 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq type='set' id='183e67f52f064e17ae55be1c0f0b405a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:52:25.639 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq id='183e67f52f064e17ae55be1c0f0b405a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:52:25.639 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq type='set' id='e111855b765b93aef324ed5c62d008c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:52:25.639 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq type='result' id='e111855b765b93aef324ed5c62d008c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:52:25.639 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<presence/>



*** User 2022-03-18 10:52:25.640 ***
bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<presence from='bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' to='bob_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:52:25.640 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665-pubsub.localhost-node_1_iNynDi.B-create_node' from='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='node_1_iNynDi.B'/>
	</pubsub>
</iq>



*** User 2022-03-18 10:52:25.641 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' id='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665-pubsub.localhost-node_1_iNynDi.B-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='node_1_iNynDi.B'/>
	</pubsub>
</iq>



*** User 2022-03-18 10:52:25.642 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665-pubsub.localhost-node_1_iNynDi.B-set_affs' from='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='node_1_iNynDi.B'>
			<affiliation jid='bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-03-18 10:52:25.642 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1' id='alicE_remove_pubsub_dont_remove_node_when_only_publisher_665-pubsub.localhost-node_1_iNynDi.B-set_affs' type='result'/>



*** User 2022-03-18 10:52:25.939 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  unregister bOb_remove_pubsub_dont_remove_node_when_only_publisher_665 localhost
Result "User bOb_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost successfully unregistered\n"
ExitStatus 0

*** User 2022-03-18 10:52:25.943 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:52:25.943 ***
alicE_remove_pubsub_dont_remove_node_when_only_publisher_665@localhost/res1 in
</stream:stream>

*** System report during gdpr_SUITE:remove_pubsub_dont_remove_node_when_only_publisher/1 in remove_personal_data_pubsub 2022-03-18 10:52:25.946 ***
=ERROR REPORT==== 18-Mar-2022::10:52:25.946138 ===
    reason: {error,not_allowed}
    server: <<"localhost">>
    user: <<"bob_remove_pubsub_dont_remove_node_when_only_publisher_665">>
    what: backend_disallows_user_removal

*** CT 2022-03-18 10:52:25.947 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_397.html
*** CT 2022-03-18 10:52:25.947 *** View log from node mongooseim@localhost when finished mongooseim@localhost_833.html



=== Ended at 2022-03-18 10:52:25
=== successfully completed test case
=== === Returned value: ok


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