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

=== Config value:

    [{nodes_key,<<"localhost.bis#{nodes}">>},
     {escalus_user_db,xmpp},
     {redis_extra_config,[{refresh_after,3600}]},
     {watchdog,<0.22275.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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-03-03_10.31.59/mod_global_distrib_suite.test_pm_with_disconnection_on_other_server.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-03-03_10.31.59/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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {{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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {{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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {{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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {{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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:32:05


*** CT 2022-03-03 10:32:05.694 *** View log from node mongooseim@localhost when started mongooseim@localhost_1112.html
*** CT 2022-03-03 10:32:05.694 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_712.html

*** User 2022-03-03 10:32:05.696 ***
alicE_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.697 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad54bbfca6fcc935' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.697 ***
alicE_test_pm_with_disconnection_on_other_server_720@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>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-03 10:32:05.697 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost out
<iq type='get' id='60c9b9f16a82c66e9adc0b0f1a8cccc8'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-03 10:32:05.697 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost in
<iq from='localhost' id='60c9b9f16a82c66e9adc0b0f1a8cccc8' 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-03 10:32:05.697 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost out
<iq type='set' id='e5137539180aea1db7ae8582ddd00c41'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_pm_with_disconnection_on_other_server_720</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-03 10:32:05.699 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost in
<iq from='localhost' id='e5137539180aea1db7ae8582ddd00c41' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_test_pm_with_disconnection_on_other_server_720</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-03 10:32:05.699 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost out
</stream:stream>

*** User 2022-03-03 10:32:05.699 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost in
</stream:stream>

*** User 2022-03-03 10:32:05.700 ***
eve_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.701 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c050160b4baf5cc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.701 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:32:05.701 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost out
<iq type='get' id='13684822164c4dcae62f262027d9b4c7'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-03 10:32:05.701 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost in
<iq from='localhost' id='13684822164c4dcae62f262027d9b4c7' 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-03 10:32:05.701 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost out
<iq type='set' id='141a1127f0060c253bf9991e92a618e3'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_pm_with_disconnection_on_other_server_720</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-03-03 10:32:05.704 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost in
<iq from='localhost' id='141a1127f0060c253bf9991e92a618e3' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>eve_test_pm_with_disconnection_on_other_server_720</username>
		<password>password</password>
	</query>
</iq>



*** User 2022-03-03 10:32:05.704 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost out
</stream:stream>

*** User 2022-03-03 10:32:05.705 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost in
</stream:stream>

*** User 2022-03-03 10:32:05.705 ***
alicE_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.706 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3954d4a3b145899a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.706 ***
alicE_test_pm_with_disconnection_on_other_server_720@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>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-03 10:32:05.706 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rlc3RfcG1fd2l0aF9kaXNjb25uZWN0aW9uX29uX290aGVyX3NlcnZlcl83MjAAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:32:05.708 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:32:05.708 ***
alicE_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.708 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e8b85cba2b2cce7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.708 ***
alicE_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.709 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<iq type='set' id='cb9f02b2f23ce0113b86fa0c7ee45100'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:32:05.709 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<iq id='cb9f02b2f23ce0113b86fa0c7ee45100' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:32:05.709 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<iq type='set' id='64add31f669d6f892ce75e4b3f5b6009'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:05.709 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<iq type='result' id='64add31f669d6f892ce75e4b3f5b6009'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:05.709 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<presence/>



*** User 2022-03-03 10:32:05.711 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<presence from='alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1' to='alice_test_pm_with_disconnection_on_other_server_720@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:32:05.712 ***
eve_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.713 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d68f8d939ab969ce' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.713 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:32:05.713 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGV2ZV90ZXN0X3BtX3dpdGhfZGlzY29ubmVjdGlvbl9vbl9vdGhlcl9zZXJ2ZXJfNzIwAHBhc3N3b3Jk</auth>



*** User 2022-03-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dda15831441a5b8f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@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-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<iq type='set' id='d79ae9bbf0cc257efcc2135d424d2d8a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:32:05.715 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<iq id='d79ae9bbf0cc257efcc2135d424d2d8a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>eve_test_pm_with_disconnection_on_other_server_720@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:32:05.716 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<iq type='set' id='3af5b07c316eec54cce6cfec6d1c2ae9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:05.716 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<iq type='result' id='3af5b07c316eec54cce6cfec6d1c2ae9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:05.716 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<presence/>



*** User 2022-03-03 10:32:05.718 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<presence from='eve_test_pm_with_disconnection_on_other_server_720@localhost/res1' to='eve_test_pm_with_disconnection_on_other_server_720@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:32:05.718 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:32:05.718 ***
eve_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:32:05.718 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
<message to='eve_test_pm_with_disconnection_on_other_server_720@localhost/res1' type='chat'>
	<body>Hi from Europe1!</body>
</message>



*** User 2022-03-03 10:32:07.836 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
<message from='eve_test_pm_with_disconnection_on_other_server_720@localhost/res1' to='alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1' type='error' xml:lang='en'>
	<body>Hi from Europe1!</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-03 10:32:07.837 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:32:07.837 ***
alicE_test_pm_with_disconnection_on_other_server_720@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:32:07.845 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_723.html
*** CT 2022-03-03 10:32:07.847 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1145.html



=== Ended at 2022-03-03 10:32:07
=== successfully completed test case
=== === Returned value: ok


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