=== Test case: domain_removal_SUITE:vcard_removal/1 (click for source code)

=== Config value:

    [{watchdog,<0.25024.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/domain_removal_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.domain_removal_SUITE.logs/run.2022-03-07_16.12.01/domain_removal_suite.vcard_removal.html"},
     {tc_group_properties,[{name,vcard_removal}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/domain_removal_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.domain_removal_SUITE.logs/run.2022-03-07_16.12.01/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},{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 => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_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">>}],
              ldap_search_operator => 'and',
              ldap_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">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_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}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{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},{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 => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_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">>}],
              ldap_search_operator => 'and',
              ldap_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">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_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@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:12:09


*** CT 2022-03-07 16:12:09.126 *** View log from node mongooseim@localhost when started mongooseim@localhost_5509.html
*** CT 2022-03-07 16:12:09.126 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1955.html

*** User 2022-03-07 16:12:09.133 ***
alicE_vcard_removal_2434@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-07 16:12:09.133 ***
alicE_vcard_removal_2434@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='471b5dc812adcd53' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:12:09.133 ***
alicE_vcard_removal_2434@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>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<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-07 16:12:09.133 ***
alicE_vcard_removal_2434@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3ZjYXJkX3JlbW92YWxfMjQzNABtYXR5Z3J5c2E=</auth>



*** User 2022-03-07 16:12:09.135 ***
alicE_vcard_removal_2434@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:12:09.135 ***
alicE_vcard_removal_2434@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-07 16:12:09.135 ***
alicE_vcard_removal_2434@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14675f94e29a07bd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:12:09.135 ***
alicE_vcard_removal_2434@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'/>
	<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-07 16:12:09.135 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq type='set' id='2669314d61fc7ef23862e57e48e64ce9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:12:09.136 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq id='2669314d61fc7ef23862e57e48e64ce9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_vcard_removal_2434@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:12:09.136 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq type='set' id='b9b74a69932b7b264de7116363288cfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:12:09.136 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq type='result' id='b9b74a69932b7b264de7116363288cfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:12:09.136 ***
alicE_vcard_removal_2434@localhost/res1 out
<presence/>



*** User 2022-03-07 16:12:09.140 ***
alicE_vcard_removal_2434@localhost/res1 in
<presence from='alicE_vcard_removal_2434@localhost/res1' to='alice_vcard_removal_2434@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:12:09.140 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq type='set' id='0a696e125ba954eb73a92b0366a3ada3'>
	<vCard xmlns='vcard-temp'>
		<FN>Old name</FN>
	</vCard>
</iq>



*** User 2022-03-07 16:12:09.143 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq from='alicE_vcard_removal_2434@localhost' to='alicE_vcard_removal_2434@localhost/res1' id='0a696e125ba954eb73a92b0366a3ada3' type='result'/>



*** User 2022-03-07 16:12:09.143 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq type='get' id='8e5c5896b1cb6e79783f2061f948cdc0'>
	<vCard xmlns='vcard-temp'/>
</iq>



*** User 2022-03-07 16:12:09.144 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq from='alicE_vcard_removal_2434@localhost' to='alicE_vcard_removal_2434@localhost/res1' id='8e5c5896b1cb6e79783f2061f948cdc0' type='result'>
	<vCard xmlns='vcard-temp'>
		<FN>Old name</FN>
	</vCard>
</iq>



*** User 2022-03-07 16:12:09.144 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq to='vjud.localhost' type='set' id='73a18998c43d55135020ddc60a0ec4e8'>
	<query xmlns='jabber:iq:search'>
		<x xmlns='jabber:x:data' type='submit'>
			<field var='fn'>
				<value>Old name</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-03-07 16:12:09.146 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq from='vjud.localhost' to='alicE_vcard_removal_2434@localhost/res1' id='73a18998c43d55135020ddc60a0ec4e8' type='result'>
	<query xmlns='jabber:iq:search'>
		<x xmlns='jabber:x:data' type='result'>
			<title>Search Results for vjud.localhost</title>
			<reported>
				<field type='jid-single' label='Jabber ID' var='jid'/>
				<field type='text-single' label='Full Name' var='fn'/>
				<field type='text-single' label='Name' var='first'/>
				<field type='text-single' label='Middle Name' var='middle'/>
				<field type='text-single' label='Family Name' var='last'/>
				<field type='text-single' label='Nickname' var='nick'/>
				<field type='text-single' label='Birthday' var='bday'/>
				<field type='text-single' label='Country' var='ctry'/>
				<field type='text-single' label='City' var='locality'/>
				<field type='text-single' label='Email' var='email'/>
				<field type='text-single' label='Organization Name' var='orgname'/>
				<field type='text-single' label='Organization Unit' var='orgunit'/>
			</reported>
			<item>
				<field var='jid'>
					<value>alicE_vcard_removal_2434@localhost</value>
				</field>
				<field var='fn'>
					<value>Old name</value>
				</field>
				<field var='last'>
					<value/>
				</field>
				<field var='first'>
					<value/>
				</field>
				<field var='middle'>
					<value/>
				</field>
				<field var='nick'>
					<value/>
				</field>
				<field var='bday'>
					<value/>
				</field>
				<field var='ctry'>
					<value/>
				</field>
				<field var='locality'>
					<value/>
				</field>
				<field var='email'>
					<value/>
				</field>
				<field var='orgname'>
					<value/>
				</field>
				<field var='orgunit'>
					<value/>
				</field>
			</item>
		</x>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>alicE_vcard_removal_2434@localhost</first>
			<last>alicE_vcard_removal_2434@localhost</last>
			<count>1</count>
		</set>
	</query>
</iq>



*** User 2022-03-07 16:12:09.152 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq type='get' id='cb3ce3324016d56a0e75400284bae999'>
	<vCard xmlns='vcard-temp'/>
</iq>



*** User 2022-03-07 16:12:09.153 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq from='alicE_vcard_removal_2434@localhost' to='alicE_vcard_removal_2434@localhost/res1' id='cb3ce3324016d56a0e75400284bae999' type='error'>
	<vCard xmlns='vcard-temp'/>
	<error code='404' type='cancel'>
		<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-03-07 16:12:09.154 ***
alicE_vcard_removal_2434@localhost/res1 out
<iq to='vjud.localhost' type='set' id='f9f4f0bb9b1c7cc64e567358139f96af'>
	<query xmlns='jabber:iq:search'>
		<x xmlns='jabber:x:data' type='submit'>
			<field var='fn'>
				<value>Old name</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-03-07 16:12:09.155 ***
alicE_vcard_removal_2434@localhost/res1 in
<iq from='vjud.localhost' to='alicE_vcard_removal_2434@localhost/res1' id='f9f4f0bb9b1c7cc64e567358139f96af' type='result'>
	<query xmlns='jabber:iq:search'>
		<x xmlns='jabber:x:data' type='result'>
			<title>Search Results for vjud.localhost</title>
			<reported>
				<field type='jid-single' label='Jabber ID' var='jid'/>
				<field type='text-single' label='Full Name' var='fn'/>
				<field type='text-single' label='Name' var='first'/>
				<field type='text-single' label='Middle Name' var='middle'/>
				<field type='text-single' label='Family Name' var='last'/>
				<field type='text-single' label='Nickname' var='nick'/>
				<field type='text-single' label='Birthday' var='bday'/>
				<field type='text-single' label='Country' var='ctry'/>
				<field type='text-single' label='City' var='locality'/>
				<field type='text-single' label='Email' var='email'/>
				<field type='text-single' label='Organization Name' var='orgname'/>
				<field type='text-single' label='Organization Unit' var='orgunit'/>
			</reported>
		</x>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<count>0</count>
		</set>
	</query>
</iq>



*** User 2022-03-07 16:12:09.157 ***
alicE_vcard_removal_2434@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:12:09.157 ***
alicE_vcard_removal_2434@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:12:09.160 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1955.html
*** CT 2022-03-07 16:12:09.161 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5509.html



=== Ended at 2022-03-07 16:12:09
=== successfully completed test case
=== === Returned value: ok


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