=== Test case: s2s_SUITE:timeout_waiting_for_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.55173.0>},
     {{s2s,mim},
      #{opts =>
            #{address => #{<<"fed1">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5299,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",use_starttls => optional,
              default_policy => allow,max_retry_delay => 300},
        listener =>
            #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{ciphers => "TLSv1.2:TLSv1.3",
                    dhfile => "priv/ssl/fake_dh_server.pem",
                    verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              proto => tcp,ip_address => "0",ip_version => 4,
              ip_tuple => {0,0,0,0},
              connection_type => s2s,max_stanza_size => 131072,
              shaper => s2s_shaper,proxy_protocol => false}}},
     {{s2s,fed},
      #{opts =>
            #{address =>
                  #{<<"domain.example.com">> => #{ip_address => "127.0.0.1"},
                    <<"localhost">> => #{ip_address => "127.0.0.1"},
                    <<"localhost.bis">> => #{ip_address => "127.0.0.1"},
                    <<"muc.localhost">> => #{ip_address => "127.0.0.1"},
                    <<"pubsub.localhost">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5269,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",use_starttls => optional,
              default_policy => allow,max_retry_delay => 300},
        listener =>
            #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{ciphers => "TLSv1.2:TLSv1.3",
                    dhfile => "priv/ssl/fake_dh_server.pem",
                    verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              proto => tcp,ip_address => "0",ip_version => 4,
              ip_tuple => {0,0,0,0},
              connection_type => s2s,max_stanza_size => 131072,
              shaper => s2s_shaper,proxy_protocol => false}}},
     {escalus_user_db,xmpp},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16/big_tests.tests.s2s_SUITE.logs/run.2024-04-26_12.51.43/s2s_suite.timeout_waiting_for_message.117122.html"},
     {tc_group_properties,[{name,node1_tls_false_node2_tls_required}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/s2s_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16/big_tests.tests.s2s_SUITE.logs/run.2024-04-26_12.51.43/log_private/"},
     {escalus_users,[{alice2,[{username,<<"alice">>},
                              {server,<<"fed1">>},
                              {host,<<"localhost">>},
                              {port,5242},
                              {password,<<"makota2">>}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16"

=== Started at 2024-04-26 12:52:00


*** CT 2024-04-26 12:52:00.957 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4567.html

*** User 2024-04-26 12:52:00.960 ***🔗
alice_timeout_waiting_for_message_1789@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.961 ***🔗
alice_timeout_waiting_for_message_1789@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0db2f7916736966b' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:00.961 ***🔗
alice_timeout_waiting_for_message_1789@fed1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.961 ***🔗
alice_timeout_waiting_for_message_1789@fed1 out
<iq type='get' id='81d2bf1c6091bb48f4f05d18fcbf2d70'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-26 12:52:00.961 ***🔗
alice_timeout_waiting_for_message_1789@fed1 in
<iq from='fed1' to='fed1' id='81d2bf1c6091bb48f4f05d18fcbf2d70' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-26 12:52:00.962 ***🔗
alice_timeout_waiting_for_message_1789@fed1 out
<iq type='set' id='cba2f18386146d4485bd96b676010712'>
	<query xmlns='jabber:iq:register'>
		<username>alice_timeout_waiting_for_message_1789</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-04-26 12:52:00.982 ***🔗
alice_timeout_waiting_for_message_1789@fed1 in
<iq from='fed1' to='fed1' id='cba2f18386146d4485bd96b676010712' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alice_timeout_waiting_for_message_1789</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-04-26 12:52:00.982 ***🔗
alice_timeout_waiting_for_message_1789@fed1 out
</stream:stream>

*** User 2024-04-26 12:52:00.982 ***🔗
alice_timeout_waiting_for_message_1789@fed1 in
</stream:stream>

*** User 2024-04-26 12:52:00.983 ***🔗
alicE_timeout_waiting_for_message_1789@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.983 ***🔗
alicE_timeout_waiting_for_message_1789@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a9dfe2fd3fd4501' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:00.984 ***🔗
alicE_timeout_waiting_for_message_1789@localhost in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.984 ***🔗
alicE_timeout_waiting_for_message_1789@localhost out
<iq type='get' id='7d9693637b22180bb1555ebe8e89d54b'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-26 12:52:00.984 ***🔗
alicE_timeout_waiting_for_message_1789@localhost in
<iq from='localhost' to='localhost' id='7d9693637b22180bb1555ebe8e89d54b' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-26 12:52:00.984 ***🔗
alicE_timeout_waiting_for_message_1789@localhost out
<iq type='set' id='e4701d85f172499ac62de1faa64df412'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_timeout_waiting_for_message_1789</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-26 12:52:00.987 ***🔗
alicE_timeout_waiting_for_message_1789@localhost in
<iq from='localhost' to='localhost' id='e4701d85f172499ac62de1faa64df412' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_timeout_waiting_for_message_1789</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-26 12:52:00.988 ***🔗
alicE_timeout_waiting_for_message_1789@localhost out
</stream:stream>

*** User 2024-04-26 12:52:00.988 ***🔗
alicE_timeout_waiting_for_message_1789@localhost in
</stream:stream>

*** User 2024-04-26 12:52:00.989 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.990 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='790bfe4bd61068ba' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:00.990 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.990 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3RpbWVvdXRfd2FpdGluZ19mb3JfbWVzc2FnZV8xNzg5AG1ha290YTI=</auth>



*** User 2024-04-26 12:52:00.993 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:00.993 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.993 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='040fc4c684410e5b' from='fed1' version='1.0' xml:lang='en' to='alice_timeout_waiting_for_message_1789@fed1'>

*** User 2024-04-26 12:52:00.993 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.993 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<iq type='set' id='c4a54e2deeabc0af0f6f175e188fed90'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:00.994 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<iq id='c4a54e2deeabc0af0f6f175e188fed90' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_timeout_waiting_for_message_1789@fed1/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:00.994 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<iq type='set' id='a5095e4846da8cbf48aab2111c26445f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:00.994 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<iq from='fed1' to='alice_timeout_waiting_for_message_1789@fed1/res1' id='a5095e4846da8cbf48aab2111c26445f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:00.994 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 out
<presence/>



*** User 2024-04-26 12:52:00.995 ***🔗
alice_timeout_waiting_for_message_1789@fed1/res1 in
<presence from='alice_timeout_waiting_for_message_1789@fed1/res1' to='alice_timeout_waiting_for_message_1789@fed1/res1'/>



*** User 2024-04-26 12:52:00.996 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.997 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='663e842a65b97da7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:00.997 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.997 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3RpbWVvdXRfd2FpdGluZ19mb3JfbWVzc2FnZV8xNzg5AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:52:00.999 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:00.999 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:52:00.999 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89d63ff3c27155ba' from='localhost' version='1.0' xml:lang='en' to='alice_timeout_waiting_for_message_1789@localhost'>

*** User 2024-04-26 12:52:00.999 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:52:00.999 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 out
<iq type='set' id='f75e286b39df6a13206540d27ec92057'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:01.000 ***🔗
alicE_timeout_waiting_for_message_1789@localhost/res1 in
<iq id='f75e286b39df6a13206540d27ec92057' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_timeout_waiting_for_message_1789@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:01.000 ***🔗
alice_timeout_waiting_for_message_1789@localhost/res1 out
<iq type='set' id='c0c48249d1e89a9377dfb65730c0b6fb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:01.000 ***🔗
alice_timeout_waiting_for_message_1789@localhost/res1 in
<iq from='localhost' to='alice_timeout_waiting_for_message_1789@localhost/res1' id='c0c48249d1e89a9377dfb65730c0b6fb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:01.001 ***🔗
alice_timeout_waiting_for_message_1789@localhost/res1 out
<presence/>



*** User 2024-04-26 12:52:01.001 ***🔗
alice_timeout_waiting_for_message_1789@localhost/res1 in
<presence from='alice_timeout_waiting_for_message_1789@localhost/res1' to='alice_timeout_waiting_for_message_1789@localhost/res1'/>



*** User 2024-04-26 12:52:01.001 ***🔗
alice_timeout_waiting_for_message_1789@localhost/res1 out
<message type='chat' to='alice_timeout_waiting_for_message_1789@fed1/res1'>
	<body>Hi, foreign Alice!</body>
</message>


*** CT 2024-04-26 12:52:11.003 *** Stanza Log:🔗 timeout_waiting_for_message.xml
*** CT 2024-04-26 12:52:11.006 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4568.html



=== Ended at 2024-04-26 12:52:11
=== successfully completed test case
=== === Returned value: ok


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