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

=== Config value:

    [{group,remove_personal_data_pubsub},
     {watchdog,<0.14555.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.30.41/gdpr_suite.remove_pubsub_push_node.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.gdpr_SUITE.logs/run.2022-03-03_10.30.41/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:30:51


*** CT 2022-03-03 10:30:51.297 *** View log from node mongooseim@localhost when started mongooseim@localhost_888.html
*** CT 2022-03-03 10:30:51.298 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_507.html

*** User 2022-03-03 10:30:51.303 ***
alicE_remove_pubsub_push_node_590@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-03 10:30:51.304 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcfcadbe836f28a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:51.304 ***
alicE_remove_pubsub_push_node_590@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-03 10:30:51.304 ***
alicE_remove_pubsub_push_node_590@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV9wdWJzdWJfcHVzaF9ub2RlXzU5MABtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:30:51.306 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:30:51.306 ***
alicE_remove_pubsub_push_node_590@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-03 10:30:51.306 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a3b0e41ed055b38' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:51.307 ***
alicE_remove_pubsub_push_node_590@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-03 10:30:51.307 ***
alicE_remove_pubsub_push_node_590@localhost/res1 out
<iq type='set' id='ded65f6d03086808fc6616959a4b9316'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:30:51.307 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<iq id='ded65f6d03086808fc6616959a4b9316' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_pubsub_push_node_590@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:30:51.307 ***
alicE_remove_pubsub_push_node_590@localhost/res1 out
<iq type='set' id='0234afa6d4e67cf935fa51eb37aabec3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:51.307 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<iq type='result' id='0234afa6d4e67cf935fa51eb37aabec3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:51.308 ***
alicE_remove_pubsub_push_node_590@localhost/res1 out
<presence/>



*** User 2022-03-03 10:30:51.309 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<presence from='alicE_remove_pubsub_push_node_590@localhost/res1' to='alice_remove_pubsub_push_node_590@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:51.309 ***
bOb_remove_pubsub_push_node_590@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-03 10:30:51.309 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='359f5e74e88a27c8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:51.310 ***
bOb_remove_pubsub_push_node_590@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-03 10:30:51.310 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfcHVic3ViX3B1c2hfbm9kZV81OTAAbWFrcm9saWth</auth>



*** User 2022-03-03 10:30:51.311 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:30:51.311 ***
bOb_remove_pubsub_push_node_590@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-03 10:30:51.312 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5806209931bd2c3c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:51.312 ***
bOb_remove_pubsub_push_node_590@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-03 10:30:51.312 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
<iq type='set' id='40d6ab61668a4f66463b9a47aa6b1fd1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:30:51.312 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<iq id='40d6ab61668a4f66463b9a47aa6b1fd1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_pubsub_push_node_590@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:30:51.312 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
<iq type='set' id='9b4db16a7fc3107ae3d5e7321845cdb0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:51.313 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<iq type='result' id='9b4db16a7fc3107ae3d5e7321845cdb0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:51.313 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
<presence/>



*** User 2022-03-03 10:30:51.314 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<presence from='bOb_remove_pubsub_push_node_590@localhost/res1' to='bob_remove_pubsub_push_node_590@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:51.314 ***
alicE_remove_pubsub_push_node_590@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_remove_pubsub_push_node_590-pubsub.localhost-node_1_8dDxFZZY-create_node' from='alicE_remove_pubsub_push_node_590@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='node_1_8dDxFZZY'/>
	</pubsub>
</iq>



*** User 2022-03-03 10:30:51.316 ***
alicE_remove_pubsub_push_node_590@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_remove_pubsub_push_node_590@localhost/res1' id='alicE_remove_pubsub_push_node_590-pubsub.localhost-node_1_8dDxFZZY-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='node_1_8dDxFZZY'/>
	</pubsub>
</iq>



*** User 2022-03-03 10:30:51.320 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='id' from='bOb_remove_pubsub_push_node_590@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='node_1_8dDxFZZY'>
			<item id='itemid'>
				<notification xmlns='urn:xmpp:push:0'>
					<x xmlns='jabber:x:data' type='submit'>
						<field var='FORM_TYPE'>
							<value>urn:xmpp:push:summary</value>
						</field>
						<field var='message-count'>
							<value>1</value>
						</field>
						<field var='last-message-sender'>
							<value>senderId</value>
						</field>
						<field var='last-message-body'>
							<value>message body</value>
						</field>
					</x>
				</notification>
			</item>
		</publish>
		<publish-options>
			<x xmlns='jabber:x:data' type='submit'>
				<field var='FORM_TYPE'>
					<value>http://jabber.org/protocol/pubsub#publish-options</value>
				</field>
				<field var='device_id'>
					<value>sometoken</value>
				</field>
				<field var='service'>
					<value>apns</value>
				</field>
			</x>
		</publish-options>
	</pubsub>
</iq>



*** User 2022-03-03 10:30:51.321 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_remove_pubsub_push_node_590@localhost/res1' id='id' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='node_1_8dDxFZZY'>
			<item id='itemid'/>
		</publish>
	</pubsub>
</iq>



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

*** System report during gdpr_SUITE:remove_pubsub_push_node/1 in remove_personal_data_pubsub 2022-03-03 10:30:51.538 ***
=ERROR REPORT==== 3-Mar-2022::10:30:51.538499 ===
    acc: []
    class: error
    handler: {hook_handler,50,fun ejabberd_hooks:gen_hook_fn_wrapper/3,
                           #{function => get_personal_data,
                             hook_name => get_personal_data,
                             hook_tag => <<"localhost">>,
                             host_type => <<"localhost">>,
                             module => mod_vcard}}
    key: {get_personal_data,<<"localhost">>}
    params: #{args =>
                  [<<"localhost">>,
                   {jid,<<"alice_remove_pubsub_push_node_590">>,
                        <<"localhost">>,<<>>,
                        <<"alice_remove_pubsub_push_node_590">>,
                        <<"localhost">>,<<>>}]}
    reason: {function_clause,
                [{exml,to_iolist,
                     [[],not_pretty],
                     [{file,
                          "/home/circleci/project/_build/default/lib/exml/src/exml.erl"},
                      {line,102}]},
                 {exml,to_binary,1,
                     [{file,
                          "/home/circleci/project/_build/default/lib/exml/src/exml.erl"},
                      {line,87}]},
                 {mod_vcard,get_personal_data,3,
                     [{file,"/home/circleci/project/src/vcard/mod_vcard.erl"},
                      {line,108}]},
                 {ejabberd_hooks,gen_hook_fn_wrapper,3,
                     [{file,"/home/circleci/project/src/ejabberd_hooks.erl"},
                      {line,109}]},
                 {safely,apply,2,
                     [{file,"/home/circleci/project/src/safely.erl"},
                      {line,42}]},
                 {gen_hook,run_hook,4,
                     [{file,"/home/circleci/project/src/gen_hook.erl"},
                      {line,203}]},
                 {mongoose_hooks,run_fold,4,
                     [{file,"/home/circleci/project/src/mongoose_hooks.erl"},
                      {line,1531}]},
                 {erpc,execute_call,4,[{file,"erpc.erl"},{line,392}]}]}
    text: <<"Error running hook">>
    what: hook_failed


*** User 2022-03-03 10:30:51.540 ***
bOb_remove_pubsub_push_node_590@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:30:51.540 ***
bOb_remove_pubsub_push_node_590@localhost/res1 in
</stream:stream>

*** System report during gdpr_SUITE:remove_pubsub_push_node/1 in remove_personal_data_pubsub 2022-03-03 10:30:51.542 ***
=ERROR REPORT==== 3-Mar-2022::10:30:51.542339 ===
    reason: {error,not_allowed}
    server: <<"localhost">>
    user: <<"alice_remove_pubsub_push_node_590">>
    what: backend_disallows_user_removal

*** CT 2022-03-03 10:30:51.548 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_507.html
*** CT 2022-03-03 10:30:51.549 *** View log from node mongooseim@localhost when finished mongooseim@localhost_891.html



=== Ended at 2022-03-03 10:30:51
=== successfully completed test case
=== === Returned value: ok


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