=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.89455.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,proto => tcp, ip_address => "0",ip_version => 4, ip_tuple => {0,0,0,0}, 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"]}, 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,proto => tcp, ip_address => "0",ip_version => 4, ip_tuple => {0,0,0,0}, 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"]}, connection_type => s2s,max_stanza_size => 131072, shaper => s2s_shaper,proxy_protocol => false}}}, {escalus_user_db,xmpp}, {preset,"odbc_mssql_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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.s2s_SUITE.logs/run.2024-04-26_12.57.09/s2s_suite.connections_info.html"}, {tc_group_properties,[{name,both_plain},sequence]}, {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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.s2s_SUITE.logs/run.2024-04-26_12.57.09/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@08e20f3a1f6a.2024-04-26_12.39.28" === Started at 2024-04-26 12:57:09
*** User 2024-04-26 12:57:09.612 ***🔗 alice_connections_info_3375@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:57:09.612 ***🔗 alice_connections_info_3375@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd173392d406e88c' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:57:09.612 ***🔗 alice_connections_info_3375@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:57:09.612 ***🔗 alice_connections_info_3375@fed1 out <iq type='get' id='5e1fc10545bd1d59ebba60136d2447d1'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-26 12:57:09.613 ***🔗 alice_connections_info_3375@fed1 in <iq from='fed1' to='fed1' id='5e1fc10545bd1d59ebba60136d2447d1' 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:57:09.613 ***🔗 alice_connections_info_3375@fed1 out <iq type='set' id='737e93a6193fb36957771d82205343cb'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3375</username> <password>makota2</password> </query> </iq>
*** User 2024-04-26 12:57:09.632 ***🔗 alice_connections_info_3375@fed1 in <iq from='fed1' to='fed1' id='737e93a6193fb36957771d82205343cb' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3375</username> <password>makota2</password> </query> </iq>
*** User 2024-04-26 12:57:09.632 ***🔗 alice_connections_info_3375@fed1 out </stream:stream>
*** User 2024-04-26 12:57:09.632 ***🔗 alice_connections_info_3375@fed1 in </stream:stream>
*** User 2024-04-26 12:57:09.633 ***🔗 alicE_connections_info_3375@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:57:09.633 ***🔗 alicE_connections_info_3375@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccc6985e649b0a2b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:57:09.633 ***🔗 alicE_connections_info_3375@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-04-26 12:57:09.633 ***🔗 alicE_connections_info_3375@localhost out <iq type='get' id='29f8df9be0a4c1181f387d4d8c7ab525'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-26 12:57:09.634 ***🔗 alicE_connections_info_3375@localhost in <iq from='localhost' to='localhost' id='29f8df9be0a4c1181f387d4d8c7ab525' 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:57:09.634 ***🔗 alicE_connections_info_3375@localhost out <iq type='set' id='95e04d6f599575b9b310e2163c722c4f'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3375</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-26 12:57:09.637 ***🔗 alicE_connections_info_3375@localhost in <iq from='localhost' to='localhost' id='95e04d6f599575b9b310e2163c722c4f' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3375</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-26 12:57:09.637 ***🔗 alicE_connections_info_3375@localhost out </stream:stream>
*** User 2024-04-26 12:57:09.637 ***🔗 alicE_connections_info_3375@localhost in </stream:stream>
*** User 2024-04-26 12:57:09.638 ***🔗 alice_connections_info_3375@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:57:09.638 ***🔗 alice_connections_info_3375@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='171e29497b42625e' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:57:09.638 ***🔗 alice_connections_info_3375@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:57:09.639 ***🔗 alice_connections_info_3375@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMzM3NQBtYWtvdGEy</auth>
*** User 2024-04-26 12:57:09.641 ***🔗 alice_connections_info_3375@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:57:09.641 ***🔗 alice_connections_info_3375@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:57:09.641 ***🔗 alice_connections_info_3375@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b76124c5e7ea86d' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_3375@fed1'>
*** User 2024-04-26 12:57:09.641 ***🔗 alice_connections_info_3375@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:57:09.641 ***🔗 alice_connections_info_3375@fed1/res1 out <iq type='set' id='cac10bfc811c6e3ec5435fe2980dcc8c'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-26 12:57:09.642 ***🔗 alice_connections_info_3375@fed1/res1 in <iq id='cac10bfc811c6e3ec5435fe2980dcc8c' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3375@fed1/res1</jid> </bind> </iq>
*** User 2024-04-26 12:57:09.642 ***🔗 alice_connections_info_3375@fed1/res1 out <iq type='set' id='3925fdb5da043573d2e6b9ee3ce05274'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-26 12:57:09.642 ***🔗 alice_connections_info_3375@fed1/res1 in <iq from='fed1' to='alice_connections_info_3375@fed1/res1' id='3925fdb5da043573d2e6b9ee3ce05274' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-26 12:57:09.642 ***🔗 alice_connections_info_3375@fed1/res1 out <presence/>
*** User 2024-04-26 12:57:09.643 ***🔗 alice_connections_info_3375@fed1/res1 in <presence from='alice_connections_info_3375@fed1/res1' to='alice_connections_info_3375@fed1/res1'/>
*** User 2024-04-26 12:57:09.643 ***🔗 alicE_connections_info_3375@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:57:09.643 ***🔗 alicE_connections_info_3375@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a583c3e5422ce43d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:57:09.644 ***🔗 alicE_connections_info_3375@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-04-26 12:57:09.644 ***🔗 alicE_connections_info_3375@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMzM3NQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-26 12:57:09.645 ***🔗 alicE_connections_info_3375@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:57:09.645 ***🔗 alicE_connections_info_3375@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:57:09.645 ***🔗 alicE_connections_info_3375@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcc1723d515e6c5a' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_3375@localhost'>
*** User 2024-04-26 12:57:09.645 ***🔗 alicE_connections_info_3375@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:57:09.645 ***🔗 alicE_connections_info_3375@localhost/res1 out <iq type='set' id='cdd39f5e8b087bed0f113ee8ae2a2f73'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-26 12:57:09.645 ***🔗 alicE_connections_info_3375@localhost/res1 in <iq id='cdd39f5e8b087bed0f113ee8ae2a2f73' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3375@localhost/res1</jid> </bind> </iq>
*** User 2024-04-26 12:57:09.645 ***🔗 alice_connections_info_3375@localhost/res1 out <iq type='set' id='b958b08bba6227988e4d6c215e15b6e3'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-26 12:57:09.646 ***🔗 alice_connections_info_3375@localhost/res1 in <iq from='localhost' to='alice_connections_info_3375@localhost/res1' id='b958b08bba6227988e4d6c215e15b6e3' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-26 12:57:09.646 ***🔗 alice_connections_info_3375@localhost/res1 out <presence/>
*** User 2024-04-26 12:57:09.647 ***🔗 alice_connections_info_3375@localhost/res1 in <presence from='alice_connections_info_3375@localhost/res1' to='alice_connections_info_3375@localhost/res1'/>
*** User 2024-04-26 12:57:09.647 ***🔗 alice_connections_info_3375@localhost/res1 out <message type='chat' to='alice_connections_info_3375@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-26 12:57:09.650 ***🔗 alice_connections_info_3375@fed1/res1 in <message from='alice_connections_info_3375@localhost/res1' to='alice_connections_info_3375@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-26 12:57:09.650 ***🔗 alice_connections_info_3375@fed1/res1 out <message type='chat' to='alice_connections_info_3375@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2024-04-26 12:57:09.651 ***🔗 alice_connections_info_3375@localhost/res1 in <message from='alice_connections_info_3375@fed1/res1' to='alice_connections_info_3375@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2024-04-26 12:57:09.651 ***🔗 alice_connections_info_3375@localhost/res1 out </stream:stream>
*** User 2024-04-26 12:57:09.651 ***🔗 alice_connections_info_3375@localhost/res1 in </stream:stream>
*** User 2024-04-26 12:57:09.651 ***🔗 alice_connections_info_3375@fed1/res1 out </stream:stream>
*** User 2024-04-26 12:57:09.651 ***🔗 alice_connections_info_3375@fed1/res1 in </stream:stream>
*** User 2024-04-26 12:57:09.652 ***🔗 Node = mongooseim@localhost, ConnectionType = in, Domain = fed1 DomainS2SConnections(1): [#{pid => <10243.142246.0>,port => 52740, addr => {127,0,0,1}, direction => in,tls => false, domains => [<<"fed1">>], tls_options => #{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"]}, shaper => s2s_shaper, streamid => <<"c61e3f09fbf1589a">>, tls_enabled => false,authenticated => false, statename => stream_established}]
*** User 2024-04-26 12:57:09.652 ***🔗 Node = mongooseim@localhost, ConnectionType = out, Domain = fed1 DomainS2SConnections(2): [#{pid => <10243.142243.0>,port => 59180, addr => {127,0,0,1}, verify => false,server => <<"fed1">>, direction => out,tls => false, tls_options => #{ciphers => "TLSv1.2:TLSv1.3", verify_mode => peer}, streamid => <<"d5a3e43aca02037b">>, tls_enabled => false,tls_required => false, authenticated => false, statename => stream_established,use_v10 => false, dialback_enabled => true,try_auth => true, myname => <<"localhost">>, delay_to_retry => undefined}, #{pid => <10243.142247.0>,port => 59182, addr => {127,0,0,1}, verify => {<10243.142246.0>, <<"10a852c6bc3879a1ab1abb61874f886cb1c7c6f37403c0f4b59c88a75bff9471">>, <<"c61e3f09fbf1589a">>}, server => <<"fed1">>,direction => out, tls => false, tls_options => #{ciphers => "TLSv1.2:TLSv1.3", verify_mode => peer}, streamid => <<"50d49a3fa81c4f3c">>, tls_enabled => false,tls_required => false, authenticated => false, statename => wait_for_validation,use_v10 => false, dialback_enabled => true,try_auth => true, myname => <<"localhost">>, delay_to_retry => undefined}]
=== Ended at 2024-04-26 12:57:09 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result