=== Test case: s2s_SUITE:simple_message/1 (click for source code) === Config value: [{watchdog,<0.81025.0>}, {{s2s,mim}, #{opts => #{address => #{<<"fed1">> => #{ip_address => "127.0.0.1"}}, outgoing => #{port => 5299, ip_versions => [4,6], connection_timeout => 10000}, dns => #{timeout => 10,retries => 2}, use_starttls => optional,max_retry_delay => 300, ciphers => "TLSv1.2:TLSv1.3", certfile => "priv/ssl/fake_server.pem",default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100, hibernate_after => 0,backlog => 1024,ip_address => "0", proxy_protocol => false, tls => #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3", dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, shaper => s2s_shaper, ip_tuple => {0,0,0,0}, ip_version => 4,proto => tcp,max_stanza_size => 131072, connection_type => s2s}}}, {{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, ip_versions => [4,6], connection_timeout => 10000}, dns => #{timeout => 10,retries => 2}, use_starttls => optional,max_retry_delay => 300, ciphers => "TLSv1.2:TLSv1.3", certfile => "priv/ssl/fake_server.pem",default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100, hibernate_after => 0,backlog => 1024,ip_address => "0", proxy_protocol => false, tls => #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3", dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, shaper => s2s_shaper, ip_tuple => {0,0,0,0}, ip_version => 4,proto => tcp,max_stanza_size => 131072, connection_type => s2s}}}, {escalus_user_db,xmpp}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.s2s_SUITE.logs/run.2024-03-11_09.20.16/s2s_suite.simple_message.115844.html"}, {tc_group_properties,[{name,both_tls_optional}]}, {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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.s2s_SUITE.logs/run.2024-03-11_09.20.16/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@fe524ba9ae35.2024-03-11_09.05.30" === Started at 2024-03-11 09:20:17
*** User 2024-03-11 09:20:17.257 ***🔗 alice_simple_message_2931@fed1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:20:17.258 ***🔗 alice_simple_message_2931@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aeb633fce24febdc' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:17.259 ***🔗 alice_simple_message_2931@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-03-11 09:20:17.259 ***🔗 alice_simple_message_2931@fed1 out <iq type='get' id='b539a67ae97fd490f4acb5346ee3c2ae'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-03-11 09:20:17.260 ***🔗 alice_simple_message_2931@fed1 in <iq from='fed1' to='fed1' id='b539a67ae97fd490f4acb5346ee3c2ae' 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-03-11 09:20:17.260 ***🔗 alice_simple_message_2931@fed1 out <iq type='set' id='20eb3231eed3c01da3e5ddec3c79001f'> <query xmlns='jabber:iq:register'> <username>alice_simple_message_2931</username> <password>makota2</password> </query> </iq>
*** User 2024-03-11 09:20:17.283 ***🔗 alice_simple_message_2931@fed1 in <iq from='fed1' to='fed1' id='20eb3231eed3c01da3e5ddec3c79001f' type='result'> <query xmlns='jabber:iq:register'> <username>alice_simple_message_2931</username> <password>makota2</password> </query> </iq>
*** User 2024-03-11 09:20:17.283 ***🔗 alice_simple_message_2931@fed1 out </stream:stream>
*** User 2024-03-11 09:20:17.286 ***🔗 alice_simple_message_2931@fed1 in </stream:stream>
*** User 2024-03-11 09:20:17.288 ***🔗 alicE_simple_message_2931@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:20:17.289 ***🔗 alicE_simple_message_2931@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa012542f1cd5a7a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:17.289 ***🔗 alicE_simple_message_2931@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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-03-11 09:20:17.289 ***🔗 alicE_simple_message_2931@localhost out <iq type='get' id='a2f4bbdfae350558d7b70719adc4d17f'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-03-11 09:20:17.289 ***🔗 alicE_simple_message_2931@localhost in <iq from='localhost' to='localhost' id='a2f4bbdfae350558d7b70719adc4d17f' 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-03-11 09:20:17.289 ***🔗 alicE_simple_message_2931@localhost out <iq type='set' id='5ad95c480e30cc1f7379c0cac8814c98'> <query xmlns='jabber:iq:register'> <username>alicE_simple_message_2931</username> <password>matygrysa</password> </query> </iq>
*** User 2024-03-11 09:20:17.293 ***🔗 alicE_simple_message_2931@localhost in <iq from='localhost' to='localhost' id='5ad95c480e30cc1f7379c0cac8814c98' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_simple_message_2931</username> <password>matygrysa</password> </query> </iq>
*** User 2024-03-11 09:20:17.293 ***🔗 alicE_simple_message_2931@localhost out </stream:stream>
*** User 2024-03-11 09:20:17.294 ***🔗 alicE_simple_message_2931@localhost in </stream:stream>
*** User 2024-03-11 09:20:17.295 ***🔗 alice_simple_message_2931@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-03-11 09:20:17.298 ***🔗 alice_simple_message_2931@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5fbf1b3f9064c8ae' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:17.298 ***🔗 alice_simple_message_2931@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-03-11 09:20:17.298 ***🔗 alice_simple_message_2931@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3NpbXBsZV9tZXNzYWdlXzI5MzEAbWFrb3RhMg==</auth>
*** User 2024-03-11 09:20:17.302 ***🔗 alice_simple_message_2931@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:17.304 ***🔗 alice_simple_message_2931@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-03-11 09:20:17.307 ***🔗 alice_simple_message_2931@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3306fcb7c51a1137' from='fed1' version='1.0' xml:lang='en' to='alice_simple_message_2931@fed1'>
*** User 2024-03-11 09:20:17.308 ***🔗 alice_simple_message_2931@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-03-11 09:20:17.308 ***🔗 alice_simple_message_2931@fed1/res1 out <iq type='set' id='6eb902e9065e8cd9a2c8946cb027c254'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 09:20:17.310 ***🔗 alice_simple_message_2931@fed1/res1 in <iq id='6eb902e9065e8cd9a2c8946cb027c254' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_simple_message_2931@fed1/res1</jid> </bind> </iq>
*** User 2024-03-11 09:20:17.310 ***🔗 alice_simple_message_2931@fed1/res1 out <iq type='set' id='a0f83b9d30fb8e089af3c32243fa9a38'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 09:20:17.316 ***🔗 alice_simple_message_2931@fed1/res1 in <iq from='fed1' to='alice_simple_message_2931@fed1/res1' id='a0f83b9d30fb8e089af3c32243fa9a38' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 09:20:17.317 ***🔗 alice_simple_message_2931@fed1/res1 out <presence/>
*** User 2024-03-11 09:20:17.318 ***🔗 alice_simple_message_2931@fed1/res1 in <presence from='alice_simple_message_2931@fed1/res1' to='alice_simple_message_2931@fed1/res1'/>
*** User 2024-03-11 09:20:17.321 ***🔗 alicE_simple_message_2931@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-03-11 09:20:17.327 ***🔗 alicE_simple_message_2931@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5686c8d66372437b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:17.328 ***🔗 alicE_simple_message_2931@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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-03-11 09:20:17.329 ***🔗 alicE_simple_message_2931@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NpbXBsZV9tZXNzYWdlXzI5MzEAbWF0eWdyeXNh</auth>
*** User 2024-03-11 09:20:17.332 ***🔗 alicE_simple_message_2931@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:17.332 ***🔗 alicE_simple_message_2931@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-03-11 09:20:17.333 ***🔗 alicE_simple_message_2931@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bcf09c9aa9b34ea' from='localhost' version='1.0' xml:lang='en' to='alice_simple_message_2931@localhost'>
*** User 2024-03-11 09:20:17.333 ***🔗 alicE_simple_message_2931@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-03-11 09:20:17.333 ***🔗 alicE_simple_message_2931@localhost/res1 out <iq type='set' id='dce5d9881b61d369f7cde474d9d04dea'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 09:20:17.333 ***🔗 alicE_simple_message_2931@localhost/res1 in <iq id='dce5d9881b61d369f7cde474d9d04dea' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_simple_message_2931@localhost/res1</jid> </bind> </iq>
*** User 2024-03-11 09:20:17.333 ***🔗 alice_simple_message_2931@localhost/res1 out <iq type='set' id='df443b6dbc70f419451c93e985030669'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 09:20:17.335 ***🔗 alice_simple_message_2931@localhost/res1 in <iq from='localhost' to='alice_simple_message_2931@localhost/res1' id='df443b6dbc70f419451c93e985030669' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 09:20:17.336 ***🔗 alice_simple_message_2931@localhost/res1 out <presence/>
*** User 2024-03-11 09:20:17.339 ***🔗 alice_simple_message_2931@localhost/res1 in <presence from='alice_simple_message_2931@localhost/res1' to='alice_simple_message_2931@localhost/res1'/>
*** User 2024-03-11 09:20:17.339 ***🔗 alice_simple_message_2931@localhost/res1 out <message type='chat' to='alice_simple_message_2931@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-03-11 09:20:17.450 ***🔗 alice_simple_message_2931@fed1/res1 in <message from='alice_simple_message_2931@localhost/res1' to='alice_simple_message_2931@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-03-11 09:20:17.454 ***🔗 alice_simple_message_2931@fed1/res1 out <message type='chat' to='alice_simple_message_2931@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2024-03-11 09:20:17.459 ***🔗 alice_simple_message_2931@localhost/res1 in <message from='alice_simple_message_2931@fed1/res1' to='alice_simple_message_2931@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2024-03-11 09:20:17.465 ***🔗 alice_simple_message_2931@localhost/res1 out </stream:stream>
*** User 2024-03-11 09:20:17.466 ***🔗 alice_simple_message_2931@localhost/res1 in </stream:stream>
*** User 2024-03-11 09:20:17.467 ***🔗 alice_simple_message_2931@fed1/res1 out </stream:stream>
*** User 2024-03-11 09:20:17.470 ***🔗 alice_simple_message_2931@fed1/res1 in </stream:stream>
=== Ended at 2024-03-11 09:20:17 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result