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

=== Config value:

    [{nodes_key,<<"localhost.bis#{nodes}">>},
     {escalus_user_db,xmpp},
     {redis_extra_config,[{refresh_after,3600}]},
     {watchdog,<0.22031.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_component_disconnect.html"},
     {tc_group_properties,[{name,mod_global_distrib},{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:03


*** CT 2022-01-27 15:29:03.280 *** View log from node mongooseim@localhost when started mongooseim@localhost_1256.html
*** CT 2022-01-27 15:29:03.280 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_685.html

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

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



*** User 2022-01-27 15:29:03.387 ***
alicE_test_component_disconnect_762@localhost in
<iq from='localhost' id='f4a8f4786f51de4cae750a6a9a5f95a2' 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:03.387 ***
alicE_test_component_disconnect_762@localhost out
<iq type='set' id='088c96694cb81b0e86c2cf43dc1fca1a'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_component_disconnect_762</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:29:03.388 ***
alicE_test_component_disconnect_762@localhost in
<iq from='localhost' id='088c96694cb81b0e86c2cf43dc1fca1a' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_component_disconnect_762</username>
		<password>matygrysa</password>
	</query>
</iq>



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

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

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

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



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



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

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



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



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



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



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



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



*** User 2022-01-27 15:29:03.394 ***
alicE_test_component_disconnect_762@localhost/res1 out
<message to='test_service.localhost' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-01-27 15:29:05.431 ***
alicE_test_component_disconnect_762@localhost/res1 in
<message from='test_service.localhost' to='alicE_test_component_disconnect_762@localhost/res1' type='error' xml:lang='en'>
	<body>Hi!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



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

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

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

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



*** User 2022-01-27 15:29:05.434 ***
eve_test_component_disconnect_763@localhost in
<iq from='localhost' id='24c1aca7ea510183f6df1cb7d08a371b' 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:05.435 ***
eve_test_component_disconnect_763@localhost out
<iq type='set' id='fda6fd51f039805faf6a23302e0e6a0b'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_component_disconnect_763</username>
		<password>password</password>
	</query>
</iq>



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



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

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

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

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



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



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

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



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



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



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



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



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



*** User 2022-01-27 15:29:05.461 ***
eve_test_component_disconnect_763@localhost/res1 out
<message to='test_service.localhost' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-01-27 15:29:07.576 ***
eve_test_component_disconnect_763@localhost/res1 in
<message from='test_service.localhost' to='eve_test_component_disconnect_763@localhost/res1' type='error' xml:lang='en'>
	<body>Hi!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



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

*** User 2022-01-27 15:29:07.576 ***
eve_test_component_disconnect_763@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:29:07.585 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_701.html
*** CT 2022-01-27 15:29:07.586 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1313.html



=== Ended at 2022-01-27 15:29:07
=== successfully completed test case
=== === Returned value: [ok,ok]


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