=== 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.18628.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-03-04_11.21.39/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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-03-04_11.21.39/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:22:05


*** CT 2022-03-04 11:22:05.993 *** View log from node mongooseim@localhost when started mongooseim@localhost_2434.html
*** CT 2022-03-04 11:22:05.995 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_825.html

*** User 2022-03-04 11:22:05.998 ***
alicE_test_location_disconnect_1481@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:22:05.999 ***
alicE_test_location_disconnect_1481@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da7a8fbe55bad740' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:05.999 ***
alicE_test_location_disconnect_1481@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-03-04 11:22:05.999 ***
alicE_test_location_disconnect_1481@localhost out
<iq type='get' id='513a748e3451f8b9a813203f84a25181'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:22:05.999 ***
alicE_test_location_disconnect_1481@localhost in
<iq from='localhost' id='513a748e3451f8b9a813203f84a25181' 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-03-04 11:22:05.999 ***
alicE_test_location_disconnect_1481@localhost out
<iq type='set' id='6e6b8c340910acb312a047f0083ca71d'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_1481</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:22:06.000 ***
alicE_test_location_disconnect_1481@localhost in
<iq from='localhost' id='6e6b8c340910acb312a047f0083ca71d' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_location_disconnect_1481</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:22:06.000 ***
alicE_test_location_disconnect_1481@localhost out
</stream:stream>

*** User 2022-03-04 11:22:06.001 ***
alicE_test_location_disconnect_1481@localhost in
</stream:stream>

*** User 2022-03-04 11:22:06.001 ***
eve_test_location_disconnect_1481@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:22:06.002 ***
eve_test_location_disconnect_1481@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb826fe53522f948' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:06.002 ***
eve_test_location_disconnect_1481@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-03-04 11:22:06.002 ***
eve_test_location_disconnect_1481@localhost out
<iq type='get' id='bc93241d4138739be344b61150d73657'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:22:06.002 ***
eve_test_location_disconnect_1481@localhost in
<iq from='localhost' id='bc93241d4138739be344b61150d73657' 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-03-04 11:22:06.003 ***
eve_test_location_disconnect_1481@localhost out
<iq type='set' id='26c84e4754026eb2051ded937dd76b9c'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_1481</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-03-04 11:22:06.024 ***
eve_test_location_disconnect_1481@localhost in
<iq from='localhost' id='26c84e4754026eb2051ded937dd76b9c' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_location_disconnect_1481</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-03-04 11:22:06.024 ***
eve_test_location_disconnect_1481@localhost out
</stream:stream>

*** User 2022-03-04 11:22:06.025 ***
eve_test_location_disconnect_1481@localhost in
</stream:stream>

*** User 2022-03-04 11:22:06.025 ***
alicE_test_location_disconnect_1481@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-04 11:22:06.026 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='421d98c391b7334a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:06.026 ***
alicE_test_location_disconnect_1481@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-04 11:22:06.026 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rlc3RfbG9jYXRpb25fZGlzY29ubmVjdF8xNDgxAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:22:06.027 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:22:06.027 ***
alicE_test_location_disconnect_1481@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-04 11:22:06.027 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edbaf74f94c0eaa1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:06.027 ***
alicE_test_location_disconnect_1481@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-04 11:22:06.028 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<iq type='set' id='938fd19a4a1ce12078ace788ce3e778d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:06.028 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<iq id='938fd19a4a1ce12078ace788ce3e778d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_test_location_disconnect_1481@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:06.028 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<iq type='set' id='f07f95081b1ead669516a0674280ae8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:06.028 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<iq type='result' id='f07f95081b1ead669516a0674280ae8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:06.029 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<presence/>



*** User 2022-03-04 11:22:06.030 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<presence from='alicE_test_location_disconnect_1481@localhost/res1' to='alice_test_location_disconnect_1481@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:22:06.031 ***
eve_test_location_disconnect_1481@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-04 11:22:06.031 ***
eve_test_location_disconnect_1481@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ab2b8f72983fcaf' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:06.032 ***
eve_test_location_disconnect_1481@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-03-04 11:22:06.032 ***
eve_test_location_disconnect_1481@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGV2ZV90ZXN0X2xvY2F0aW9uX2Rpc2Nvbm5lY3RfMTQ4MQBwYXNzd29yZA==</auth>



*** User 2022-03-04 11:22:06.035 ***
eve_test_location_disconnect_1481@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:22:06.035 ***
eve_test_location_disconnect_1481@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-04 11:22:06.036 ***
eve_test_location_disconnect_1481@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c8d902d0e96b3c50' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:06.036 ***
eve_test_location_disconnect_1481@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-03-04 11:22:06.036 ***
eve_test_location_disconnect_1481@localhost/res1 out
<iq type='set' id='ad35366a06d3f1dace4f182837802008'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:06.036 ***
eve_test_location_disconnect_1481@localhost/res1 in
<iq id='ad35366a06d3f1dace4f182837802008' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>eve_test_location_disconnect_1481@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:06.036 ***
eve_test_location_disconnect_1481@localhost/res1 out
<iq type='set' id='c1b06bd1204b4f38e5aeae1a4cd23959'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:06.037 ***
eve_test_location_disconnect_1481@localhost/res1 in
<iq type='result' id='c1b06bd1204b4f38e5aeae1a4cd23959'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:06.037 ***
eve_test_location_disconnect_1481@localhost/res1 out
<presence/>



*** User 2022-03-04 11:22:06.039 ***
eve_test_location_disconnect_1481@localhost/res1 in
<presence from='eve_test_location_disconnect_1481@localhost/res1' to='eve_test_location_disconnect_1481@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:22:06.039 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<message to='eve_test_location_disconnect_1481@localhost/res1' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-03-04 11:22:06.043 ***
eve_test_location_disconnect_1481@localhost/res1 in
<message from='alicE_test_location_disconnect_1481@localhost/res1' to='eve_test_location_disconnect_1481@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-03-04 11:22:06.323 ***
alicE_test_location_disconnect_1481@localhost/res1 out
<message to='eve_test_location_disconnect_1481@localhost/res1' type='chat'>
	<body>Hi again!</body>
</message>



*** User 2022-03-04 11:22:06.332 ***
alicE_test_location_disconnect_1481@localhost/res1 in
<message from='eve_test_location_disconnect_1481@localhost/res1' to='alicE_test_location_disconnect_1481@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-03-04 11:22:06.332 ***
alicE_test_location_disconnect_1481@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:22:06.332 ***
alicE_test_location_disconnect_1481@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:22:06.766 ***
Sender supervisor not found in asia_node
*** CT 2022-03-04 11:22:06.767 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_835.html
*** CT 2022-03-04 11:22:06.768 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2469.html



=== Ended at 2022-03-04 11:22:06
=== successfully completed test case
=== === Returned value: ok


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