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

=== Config value:

    [{nodes_key,<<"localhost.bis#{nodes}">>},
     {escalus_user_db,xmpp},
     {watchdog,<0.23017.0>},
     {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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-27_15.29.02/mod_global_distrib_suite.test_location_disconnect.html"},
     {tc_group_properties,[{name,cluster_restart},{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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-27_15.29.02/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 => [{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_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 => [{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:29:28


*** CT 2022-01-27 15:29:28.184 *** View log from node mongooseim@localhost when started mongooseim@localhost_1691.html
*** CT 2022-01-27 15:29:28.185 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_850.html

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

*** User 2022-01-27 15:29:28.190 ***
alicE_test_location_disconnect_798@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:29:28.190 ***
alicE_test_location_disconnect_798@localhost out
<iq type='get' id='a52066252e73a28ec0518b7996d69e54'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:29:28.190 ***
alicE_test_location_disconnect_798@localhost in
<iq from='localhost' id='a52066252e73a28ec0518b7996d69e54' 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:29:28.190 ***
alicE_test_location_disconnect_798@localhost out
<iq type='set' id='3480260f69875538f65c097dcc2c7ff1'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_798</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:29:28.191 ***
alicE_test_location_disconnect_798@localhost in
<iq from='localhost' id='3480260f69875538f65c097dcc2c7ff1' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_798</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:29:28.191 ***
alicE_test_location_disconnect_798@localhost out
</stream:stream>

*** User 2022-01-27 15:29:28.191 ***
alicE_test_location_disconnect_798@localhost in
</stream:stream>

*** User 2022-01-27 15:29:28.192 ***
eve_test_location_disconnect_798@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:29:28.192 ***
eve_test_location_disconnect_798@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='84497e08bcf4f15e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:29:28.192 ***
eve_test_location_disconnect_798@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:29:28.192 ***
eve_test_location_disconnect_798@localhost out
<iq type='get' id='f11c37b736e17d270ee2bd2a11c0c16f'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:29:28.193 ***
eve_test_location_disconnect_798@localhost in
<iq from='localhost' id='f11c37b736e17d270ee2bd2a11c0c16f' 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:29:28.193 ***
eve_test_location_disconnect_798@localhost out
<iq type='set' id='8decadb8efd396d235807f26f81cca2f'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_798</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-27 15:29:28.212 ***
eve_test_location_disconnect_798@localhost in
<iq from='localhost' id='8decadb8efd396d235807f26f81cca2f' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_798</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-27 15:29:28.213 ***
eve_test_location_disconnect_798@localhost out
</stream:stream>

*** User 2022-01-27 15:29:28.213 ***
eve_test_location_disconnect_798@localhost in
</stream:stream>

*** User 2022-01-27 15:29:28.213 ***
alicE_test_location_disconnect_798@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:29:28.214 ***
alicE_test_location_disconnect_798@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61581d91cfcd800d' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 15:29:28.215 ***
alicE_test_location_disconnect_798@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:29:28.215 ***
alicE_test_location_disconnect_798@localhost/res1 out
<iq type='set' id='c0d7512dcf3cfcaccf01816e8047f3bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:29:28.215 ***
alicE_test_location_disconnect_798@localhost/res1 in
<iq id='c0d7512dcf3cfcaccf01816e8047f3bc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_test_location_disconnect_798@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:29:28.216 ***
alicE_test_location_disconnect_798@localhost/res1 out
<iq type='set' id='a5a3d05a271ce2267dc2a62bd47b0499'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:28.216 ***
alicE_test_location_disconnect_798@localhost/res1 in
<iq type='result' id='a5a3d05a271ce2267dc2a62bd47b0499'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:28.216 ***
alicE_test_location_disconnect_798@localhost/res1 out
<presence/>



*** User 2022-01-27 15:29:28.218 ***
alicE_test_location_disconnect_798@localhost/res1 in
<presence from='alicE_test_location_disconnect_798@localhost/res1' to='alice_test_location_disconnect_798@localhost/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-01-27 15:29:28.221 ***
eve_test_location_disconnect_798@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:29:28.222 ***
eve_test_location_disconnect_798@localhost/res1 out
<iq type='set' id='dcea41cd9865c7b33b6ac9b973c2cb9b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:29:28.222 ***
eve_test_location_disconnect_798@localhost/res1 in
<iq id='dcea41cd9865c7b33b6ac9b973c2cb9b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>eve_test_location_disconnect_798@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:29:28.222 ***
eve_test_location_disconnect_798@localhost/res1 out
<iq type='set' id='2452302efc1f7d4066a30e38b2003958'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:28.222 ***
eve_test_location_disconnect_798@localhost/res1 in
<iq type='result' id='2452302efc1f7d4066a30e38b2003958'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:29:28.222 ***
eve_test_location_disconnect_798@localhost/res1 out
<presence/>



*** User 2022-01-27 15:29:28.223 ***
eve_test_location_disconnect_798@localhost/res1 in
<presence from='eve_test_location_disconnect_798@localhost/res1' to='eve_test_location_disconnect_798@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:29:28.223 ***
alicE_test_location_disconnect_798@localhost/res1 out
<message to='eve_test_location_disconnect_798@localhost/res1' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-01-27 15:29:28.226 ***
eve_test_location_disconnect_798@localhost/res1 in
<message from='alicE_test_location_disconnect_798@localhost/res1' to='eve_test_location_disconnect_798@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-01-27 15:29:28.509 ***
alicE_test_location_disconnect_798@localhost/res1 out
<message to='eve_test_location_disconnect_798@localhost/res1' type='chat'>
	<body>Hi again!</body>
</message>



*** User 2022-01-27 15:29:28.515 ***
alicE_test_location_disconnect_798@localhost/res1 in
<message from='eve_test_location_disconnect_798@localhost/res1' to='alicE_test_location_disconnect_798@localhost/res1' type='error' xml:lang='en'>
	<body>Hi again!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>User not found</text>
	</error>
</message>



*** User 2022-01-27 15:29:28.515 ***
alicE_test_location_disconnect_798@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:29:28.515 ***
alicE_test_location_disconnect_798@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:29:28.784 ***
Sender supervisor not found in asia_node
*** CT 2022-01-27 15:29:28.785 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_860.html
*** CT 2022-01-27 15:29:28.787 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1726.html



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


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