=== 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.16176.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-25_16.28.03/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-01-25_16.28.03/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_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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:28:31


*** CT 2022-01-25 16:28:31.150 *** View log from node mongooseim@localhost when started mongooseim@localhost_2346.html
*** CT 2022-01-25 16:28:31.151 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_857.html

*** User 2022-01-25 16:28:31.155 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.158 ***
alicE_test_location_disconnect_1638@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e686b84cf8f60630' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.158 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.158 ***
alicE_test_location_disconnect_1638@localhost out
<iq type='get' id='be8438d2671f2f73092162acd8ae9706'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-25 16:28:31.159 ***
alicE_test_location_disconnect_1638@localhost in
<iq from='localhost' id='be8438d2671f2f73092162acd8ae9706' 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-25 16:28:31.159 ***
alicE_test_location_disconnect_1638@localhost out
<iq type='set' id='f11511ebcd6a57a8ef5462133349b98b'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_1638</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-25 16:28:31.162 ***
alicE_test_location_disconnect_1638@localhost in
<iq from='localhost' id='f11511ebcd6a57a8ef5462133349b98b' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_1638</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-25 16:28:31.162 ***
alicE_test_location_disconnect_1638@localhost out
</stream:stream>

*** User 2022-01-25 16:28:31.162 ***
alicE_test_location_disconnect_1638@localhost in
</stream:stream>

*** User 2022-01-25 16:28:31.163 ***
eve_test_location_disconnect_1638@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-25 16:28:31.164 ***
eve_test_location_disconnect_1638@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c103a2e46fe13e5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.164 ***
eve_test_location_disconnect_1638@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-25 16:28:31.164 ***
eve_test_location_disconnect_1638@localhost out
<iq type='get' id='dae9055642474d813d63046f5e835a52'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-25 16:28:31.164 ***
eve_test_location_disconnect_1638@localhost in
<iq from='localhost' id='dae9055642474d813d63046f5e835a52' 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-25 16:28:31.164 ***
eve_test_location_disconnect_1638@localhost out
<iq type='set' id='5edc7e5cba4cd9e64f961843b07f6a10'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_1638</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-25 16:28:31.190 ***
eve_test_location_disconnect_1638@localhost in
<iq from='localhost' id='5edc7e5cba4cd9e64f961843b07f6a10' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_1638</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-01-25 16:28:31.190 ***
eve_test_location_disconnect_1638@localhost out
</stream:stream>

*** User 2022-01-25 16:28:31.190 ***
eve_test_location_disconnect_1638@localhost in
</stream:stream>

*** User 2022-01-25 16:28:31.191 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.191 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fa752060ff83629' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.192 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.192 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rlc3RfbG9jYXRpb25fZGlzY29ubmVjdF8xNjM4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:28:31.193 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:28:31.193 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.193 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c58f16f007b9f85e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.193 ***
alicE_test_location_disconnect_1638@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-25 16:28:31.193 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<iq type='set' id='3173a66e7d97895f3de94e4b9dcce52c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:28:31.194 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<iq id='3173a66e7d97895f3de94e4b9dcce52c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_test_location_disconnect_1638@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:28:31.194 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<iq type='set' id='c72376cf440e39ff7c6b9c44e5059b67'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:28:31.194 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<iq type='result' id='c72376cf440e39ff7c6b9c44e5059b67'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:28:31.194 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<presence/>



*** User 2022-01-25 16:28:31.197 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<presence from='alicE_test_location_disconnect_1638@localhost/res1' to='alice_test_location_disconnect_1638@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:28:31.197 ***
eve_test_location_disconnect_1638@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-25 16:28:31.198 ***
eve_test_location_disconnect_1638@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b98d7f54ac043b0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.198 ***
eve_test_location_disconnect_1638@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-25 16:28:31.198 ***
eve_test_location_disconnect_1638@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGV2ZV90ZXN0X2xvY2F0aW9uX2Rpc2Nvbm5lY3RfMTYzOABwYXNzd29yZA==</auth>



*** User 2022-01-25 16:28:31.201 ***
eve_test_location_disconnect_1638@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:28:31.201 ***
eve_test_location_disconnect_1638@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-25 16:28:31.202 ***
eve_test_location_disconnect_1638@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c953f3ca93aa0167' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:28:31.202 ***
eve_test_location_disconnect_1638@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-25 16:28:31.202 ***
eve_test_location_disconnect_1638@localhost/res1 out
<iq type='set' id='ae30a7e2db0d4d302d42860e2a3219b4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:28:31.202 ***
eve_test_location_disconnect_1638@localhost/res1 in
<iq id='ae30a7e2db0d4d302d42860e2a3219b4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>eve_test_location_disconnect_1638@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:28:31.202 ***
eve_test_location_disconnect_1638@localhost/res1 out
<iq type='set' id='1c401548d41c9a85bd6dee4605d2456c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:28:31.203 ***
eve_test_location_disconnect_1638@localhost/res1 in
<iq type='result' id='1c401548d41c9a85bd6dee4605d2456c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:28:31.203 ***
eve_test_location_disconnect_1638@localhost/res1 out
<presence/>



*** User 2022-01-25 16:28:31.204 ***
eve_test_location_disconnect_1638@localhost/res1 in
<presence from='eve_test_location_disconnect_1638@localhost/res1' to='eve_test_location_disconnect_1638@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:28:31.204 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<message to='eve_test_location_disconnect_1638@localhost/res1' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-01-25 16:28:31.208 ***
eve_test_location_disconnect_1638@localhost/res1 in
<message from='alicE_test_location_disconnect_1638@localhost/res1' to='eve_test_location_disconnect_1638@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-01-25 16:28:31.566 ***
alicE_test_location_disconnect_1638@localhost/res1 out
<message to='eve_test_location_disconnect_1638@localhost/res1' type='chat'>
	<body>Hi again!</body>
</message>



*** User 2022-01-25 16:28:31.574 ***
alicE_test_location_disconnect_1638@localhost/res1 in
<message from='eve_test_location_disconnect_1638@localhost/res1' to='alicE_test_location_disconnect_1638@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'>Bounce offline message</text>
	</error>
</message>



*** User 2022-01-25 16:28:31.574 ***
alicE_test_location_disconnect_1638@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:28:31.574 ***
alicE_test_location_disconnect_1638@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:28:32.191 ***
Sender supervisor not found in asia_node
*** CT 2022-01-25 16:28:32.192 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_867.html
*** CT 2022-01-25 16:28:32.193 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2381.html



=== Ended at 2022-01-25 16:28:32
=== successfully completed test case
=== === Returned value: ok


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