=== Test case: vcard_SUITE:update_other_card/1 (click for source code)

=== Config value:

    [{watchdog,<0.31321.2>},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {aliceb,[{username,<<"aliceb">>},
                              {server,<<"localhost.bis">>},
                              {host,<<"localhost">>},
                              {password,<<"makota">>}]},
                     {bobb,[{username,<<"bobb">>},
                            {server,<<"localhost.bis">>},
                            {host,<<"localhost">>},
                            {password,<<"makrolika">>}]}]},
     {mod_vcard_opts,#{backend => rdbms,
                       host => {prefix,<<"vjud.">>},
                       iqdisc => parallel,matches => 30,search => true}},
     {all_vcards,[{<<"alice@localhost">>,
                   [{<<"NICKNAME">>,<<"alice">>},
                    {<<"FN">>,<<"Wonderland, Alice">>},
                    {<<"TITLE">>,<<"Executive Director">>},
                    {<<"ROLE">>,<<"Patron Saint">>},
                    {<<"DESC">>,<<"active">>},
                    {<<"URL">>,<<"http://john.doe/">>},
                    {<<"EMAIL">>,
                     [{<<"USERID">>,<<"alice@mail.example.com">>}]},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Wonderland">>},
                      {<<"GIVEN">>,<<"Alice">>},
                      {<<"MIDDLE">>,<<"I.N.">>}]},
                    {<<"ADR">>,
                     [{<<"STREET">>,<<"1899 Wynkoop Street">>},
                      {<<"LOCALITY">>,
                       <<208,156,208,190,209,129,208,186,208,178,208,176>>},
                      {<<"REGION">>,<<"CO">>},
                      {<<"PCODE">>,<<"91210">>},
                      {<<"CTRY">>,<<"PL">>}]},
                    {<<"TEL">>,[{<<"NUMBER">>,<<"+1 512 305 0280">>}]},
                    {<<"ORG">>,
                     [{<<"ORGNAME">>,<<"The world">>},
                      {<<"ORGUNIT">>,<<"People">>}]},
                    {<<"BDAY">>,<<"2011-08-06">>},
                    {<<"JABBERID">>,<<"alice@localhost">>}]},
                  {<<"bob@localhost">>,
                   [{<<"NICKNAME">>,<<"bob">>},
                    {<<"FN">>,<<"Doe, Bob">>},
                    {<<"ADR">>,
                     [{<<"STREET">>,
                       <<208,146,32,208,161,208,190,208,178,208,181,209,130,
                         209,129,208,186,208,190,208,185,32,208,160,208,190,
                         209,129,209,129,208,184,208,184,44,32,208,180,208,
                         190,209,128,208,190,208,179,208,176,32,209,128,208,
                         176,208,183,208,178,208,181,209,130,208,178,208,
                         187,209,143,208,181,209,130,209,129,209,143,32,208,
                         178,209,139>>}]},
                    {<<"JABBERID">>,<<"bob@localhost">>}]},
                  {<<"bobb@localhost.bis">>,
                   [{<<"NICKNAME">>,<<"bobb">>},
                    {<<"FN">>,<<"Doe, Bob">>},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Doe">>},{<<"GIVEN">>,<<"Bob">>}]},
                    {<<"JABBERID">>,<<"bobb@localhost.bis">>}]},
                  {<<"aliceb@localhost.bis">>,
                   [{<<"NICKNAME">>,<<"aliceb">>},
                    {<<"FN">>,<<"Doe, Alice">>},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Doe">>},{<<"GIVEN">>,<<"Alice">>}]},
                    {<<"JABBERID">>,<<"aliceb@localhost.bis">>}]}]},
     {server_vcards,[{<<"localhost">>,
                      [{<<"FN">>,<<"MongooseIM">>},
                       {<<"DESC">>,
                        <<"MongooseIM XMPP Server\nCopyright (c) Erlang Solutions Ltd.">>}]},
                     {<<"vjud.localhost">>,
                      [{<<"FN">>,<<"MongooseIM/mod_vcard">>},
                       {<<"DESC">>,
                        <<"MongooseIM vCard module\nCopyright (c) Erlang Solutions Ltd.">>}]}]},
     {directory_jid,<<"vjud.localhost">>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/vcard_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.vcard_SUITE.logs/run.2024-04-26_12.56.06/vcard_suite.update_other_card.html"},
     {tc_group_properties,[{name,ro_full}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/vcard_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.vcard_SUITE.logs/run.2024-04-26_12.56.06/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 => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,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 => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,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,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,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 => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35"

=== Started at 2024-04-26 12:56:07


*** CT 2024-04-26 12:56:07.623 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5020.html

*** User 2024-04-26 12:56:07.626 ***🔗
alicE@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-26 12:56:07.626 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de20c5a67fe312a5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:56:07.626 ***🔗
alicE@localhost/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-26 12:56:07.627 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:56:07.627 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:56:07.628 ***🔗
alicE@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-26 12:56:07.628 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='787643a5fee3a29e' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-04-26 12:56:07.628 ***🔗
alicE@localhost/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-26 12:56:07.628 ***🔗
alicE@localhost/res1 out
<iq type='set' id='1a918ad7107d397fa7cfd8533335dba8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:56:07.628 ***🔗
alicE@localhost/res1 in
<iq id='1a918ad7107d397fa7cfd8533335dba8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:56:07.628 ***🔗
alice@localhost/res1 out
<iq type='set' id='59a4ebcc80c06acd3074a5974e66e7a6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:56:07.629 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='59a4ebcc80c06acd3074a5974e66e7a6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:56:07.629 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2024-04-26 12:56:07.630 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>



*** User 2024-04-26 12:56:07.630 ***🔗
bOb@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-26 12:56:07.631 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db93ee6390cfb528' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:56:07.631 ***🔗
bOb@localhost/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-26 12:56:07.631 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:56:07.632 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:56:07.632 ***🔗
bOb@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-26 12:56:07.632 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a221a0ce4c0b8832' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>

*** User 2024-04-26 12:56:07.632 ***🔗
bOb@localhost/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-26 12:56:07.632 ***🔗
bOb@localhost/res1 out
<iq type='set' id='68e40f86c7730c9a4f8bf42bdf9b0d03'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:56:07.632 ***🔗
bOb@localhost/res1 in
<iq id='68e40f86c7730c9a4f8bf42bdf9b0d03' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:56:07.633 ***🔗
bob@localhost/res1 out
<iq type='set' id='c4a08e20bdf3c3e64e9e65ef51f903ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:56:07.633 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='c4a08e20bdf3c3e64e9e65ef51f903ac' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:56:07.633 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2024-04-26 12:56:07.634 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>



*** User 2024-04-26 12:56:07.634 ***🔗
bob@localhost/res1 out
<iq to='alice@localhost' type='set' id='68c37b5aa0a14f3297f9f1eae18cbb46'>
	<vCard xmlns='vcard-temp'>
		<FN>New name</FN>
	</vCard>
</iq>



*** User 2024-04-26 12:56:07.635 ***🔗
bob@localhost/res1 in
<iq from='alice@localhost' to='bob@localhost/res1' id='68c37b5aa0a14f3297f9f1eae18cbb46' type='error'>
	<vCard xmlns='vcard-temp'>
		<FN>New name</FN>
	</vCard>
	<error code='405' type='cancel'>
		<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2024-04-26 12:56:07.635 ***🔗
alice@localhost/res1 out
<iq type='get' id='5c77c1f331a44212b941c3d9fe7de8ea'>
	<vCard xmlns='vcard-temp'/>
</iq>



*** User 2024-04-26 12:56:07.636 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost' to='alice@localhost/res1' id='5c77c1f331a44212b941c3d9fe7de8ea' type='result'>
	<vCard xmlns='vcard-temp'>
		<NICKNAME>alice</NICKNAME>
		<FN>Wonderland, Alice</FN>
		<TITLE>Executive Director</TITLE>
		<ROLE>Patron Saint</ROLE>
		<DESC>active</DESC>
		<URL>http://john.doe/</URL>
		<EMAIL>
			<USERID>alice@mail.example.com</USERID>
		</EMAIL>
		<N>
			<FAMILY>Wonderland</FAMILY>
			<GIVEN>Alice</GIVEN>
			<MIDDLE>I.N.</MIDDLE>
		</N>
		<ADR>
			<STREET>1899 Wynkoop Street</STREET>
			<LOCALITY>Москва</LOCALITY>
			<REGION>CO</REGION>
			<PCODE>91210</PCODE>
			<CTRY>PL</CTRY>
		</ADR>
		<TEL>
			<NUMBER>+1 512 305 0280</NUMBER>
		</TEL>
		<ORG>
			<ORGNAME>The world</ORGNAME>
			<ORGUNIT>People</ORGUNIT>
		</ORG>
		<BDAY>2011-08-06</BDAY>
		<JABBERID>alice@localhost</JABBERID>
	</vCard>
</iq>



*** User 2024-04-26 12:56:07.636 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:56:07.636 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:56:07.636 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:56:07.636 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:56:07.639 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5020.html



=== Ended at 2024-04-26 12:56:07
=== successfully completed test case
=== === Returned value: ok


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