=== Test case: mod_global_distrib_SUITE:test_pm_between_users_at_different_locations/1 (click for source code)

=== Config value:

    [{nodes_key,<<"localhost.bis#{nodes}">>},
     {escalus_user_db,xmpp},
     {add_advertised_endpoints,[{asia_node,[{"somefakedomain.com",7777}]}]},
     {watchdog,<0.20878.1>},
     {add_advertised_endpoints,[]},
     {extra_config,[]},
     {redis_extra_config,[no_opts]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-27_15.30.45/mod_global_distrib_suite.test_pm_between_users_at_different_locations.112130.html"},
     {tc_group_properties,[{name,advertised_endpoints},
                           {repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_global_distrib_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-27_15.30.45/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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{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_last => [],mod_muc_commands => [],mod_muc_light => [],
        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}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {{saved_modules,ejabberd2@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_bosh => [],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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {{saved_modules,ejabberd2@localhost,<<"localhost.bis">>},
      #{mod_adhoc => [],mod_bosh => [],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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {{saved_modules,reg1@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_bosh => [],mod_cache_users => [],
        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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:31:58


*** CT 2022-01-27 15:31:58.146 *** View log from node mongooseim@localhost when started mongooseim@localhost_4858.html
*** CT 2022-01-27 15:31:58.147 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2261.html

*** User 2022-01-27 15:31:58.150 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:31:58.150 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5eac8d6a718500b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.150 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost 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-01-27 15:31:58.150 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost out
<iq type='get' id='d7a269e6ab3892ac9b889c63a0546481'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:31:58.151 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost in
<iq from='localhost' id='d7a269e6ab3892ac9b889c63a0546481' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-01-27 15:31:58.151 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost out
<iq type='set' id='f25a824fc9650911ea6be15a26a4c981'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_pm_between_users_at_different_locations_1602</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:31:58.153 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost in
<iq from='localhost' id='f25a824fc9650911ea6be15a26a4c981' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_pm_between_users_at_different_locations_1602</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:31:58.153 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost out
</stream:stream>

*** User 2022-01-27 15:31:58.153 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost in
</stream:stream>

*** User 2022-01-27 15:31:58.154 ***
eve_test_pm_between_users_at_different_locations_1602@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:31:58.154 ***
eve_test_pm_between_users_at_different_locations_1602@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7da15e69d88cc25' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.154 ***
eve_test_pm_between_users_at_different_locations_1602@localhost in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:31:58.154 ***
eve_test_pm_between_users_at_different_locations_1602@localhost out
<iq type='get' id='1d1ee471aa065a4256cf4dfc2e787c9c'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:31:58.155 ***
eve_test_pm_between_users_at_different_locations_1602@localhost in
<iq from='localhost' id='1d1ee471aa065a4256cf4dfc2e787c9c' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-01-27 15:31:58.155 ***
eve_test_pm_between_users_at_different_locations_1602@localhost out
<iq type='set' id='0becc74dca12bdce71eecbe6f6a19655'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_pm_between_users_at_different_locations_1602</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-27 15:31:58.187 ***
eve_test_pm_between_users_at_different_locations_1602@localhost in
<iq from='localhost' id='0becc74dca12bdce71eecbe6f6a19655' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_pm_between_users_at_different_locations_1602</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-27 15:31:58.187 ***
eve_test_pm_between_users_at_different_locations_1602@localhost out
</stream:stream>

*** User 2022-01-27 15:31:58.187 ***
eve_test_pm_between_users_at_different_locations_1602@localhost in
</stream:stream>

*** User 2022-01-27 15:31:58.188 ***
alicE_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.188 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2863fe74a14f3824' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.189 ***
alicE_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.189 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rlc3RfcG1fYmV0d2Vlbl91c2Vyc19hdF9kaWZmZXJlbnRfbG9jYXRpb25zXzE2MDIAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:31:58.190 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:31:58.190 ***
alicE_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.190 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b24ab59de176616d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.190 ***
alicE_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.190 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<iq type='set' id='06ebab7c6a9ff6decb7e23a1ef8d2862'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:31:58.191 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<iq id='06ebab7c6a9ff6decb7e23a1ef8d2862' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_test_pm_between_users_at_different_locations_1602@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:58.191 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<iq type='set' id='fbd6e67abf4ac07665e7494e6c191552'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:58.191 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<iq type='result' id='fbd6e67abf4ac07665e7494e6c191552'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:58.191 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<presence/>



*** User 2022-01-27 15:31:58.193 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<presence from='alicE_test_pm_between_users_at_different_locations_1602@localhost/res1' to='alice_test_pm_between_users_at_different_locations_1602@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:58.193 ***
eve_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.194 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61584f189be41fdb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.194 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:31:58.194 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGV2ZV90ZXN0X3BtX2JldHdlZW5fdXNlcnNfYXRfZGlmZmVyZW50X2xvY2F0aW9uc18xNjAyAHBhc3N3b3Jk</auth>



*** User 2022-01-27 15:31:58.199 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:31:58.199 ***
eve_test_pm_between_users_at_different_locations_1602@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-01-27 15:31:58.199 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a59128431ef4301' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:58.199 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<stream:features>
	<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'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:31:58.199 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<iq type='set' id='f142989974f076a0428d5f814dcb4483'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:31:58.200 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<iq id='f142989974f076a0428d5f814dcb4483' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>eve_test_pm_between_users_at_different_locations_1602@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:58.200 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<iq type='set' id='d9ffe30e6a6c96c4ca3de5802268a772'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:58.200 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<iq type='result' id='d9ffe30e6a6c96c4ca3de5802268a772'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:58.200 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<presence/>



*** User 2022-01-27 15:31:58.202 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<presence from='eve_test_pm_between_users_at_different_locations_1602@localhost/res1' to='eve_test_pm_between_users_at_different_locations_1602@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:58.203 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<message to='eve_test_pm_between_users_at_different_locations_1602@localhost/res1' type='chat'>
	<body>Hi to Eve from Europe1!</body>
</message>



*** User 2022-01-27 15:31:58.203 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
<message to='alicE_test_pm_between_users_at_different_locations_1602@localhost/res1' type='chat'>
	<body>Hi to Alice from Asia!</body>
</message>



*** User 2022-01-27 15:31:58.211 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<message from='alicE_test_pm_between_users_at_different_locations_1602@localhost/res1' to='eve_test_pm_between_users_at_different_locations_1602@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi to Eve from Europe1!</body>
</message>



*** User 2022-01-27 15:31:58.213 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
<message from='eve_test_pm_between_users_at_different_locations_1602@localhost/res1' to='alicE_test_pm_between_users_at_different_locations_1602@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi to Alice from Asia!</body>
</message>



*** User 2022-01-27 15:31:58.213 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:31:58.213 ***
eve_test_pm_between_users_at_different_locations_1602@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:31:58.213 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:31:58.214 ***
alicE_test_pm_between_users_at_different_locations_1602@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:31:58.220 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2262.html
*** CT 2022-01-27 15:31:58.221 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4858.html



=== Ended at 2022-01-27 15:31:58
=== successfully completed test case
=== === Returned value: ok


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