=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.84657.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}, use_starttls => optional,certfile => "priv/ssl/fake_server.pem", max_retry_delay => 300,ciphers => "TLSv1.2:TLSv1.3", default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100, hibernate_after => 0,backlog => 1024,shaper => s2s_shaper, proto => tcp,ip_address => "0", tls => #{ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer, dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, ip_tuple => {0,0,0,0}, ip_version => 4,connection_type => s2s, max_stanza_size => 131072,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}, use_starttls => optional,certfile => "priv/ssl/fake_server.pem", max_retry_delay => 300,ciphers => "TLSv1.2:TLSv1.3", default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100, hibernate_after => 0,backlog => 1024,shaper => s2s_shaper, proto => tcp,ip_address => "0", tls => #{ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer, dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, ip_tuple => {0,0,0,0}, ip_version => 4,connection_type => s2s, max_stanza_size => 131072,proxy_protocol => false}}}, {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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.s2s_SUITE.logs/run.2024-04-18_11.10.13/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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.s2s_SUITE.logs/run.2024-04-18_11.10.13/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@2ed2b07c4324.2024-04-18_10.56.18" === Started at 2024-04-18 11:10:13
*** User 2024-04-18 11:10:13.428 ***🔗 alice_connections_info_3029@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-18 11:10:13.428 ***🔗 alice_connections_info_3029@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f96a4fe53dbb8f77' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:13.428 ***🔗 alice_connections_info_3029@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-18 11:10:13.428 ***🔗 alice_connections_info_3029@fed1 out <iq type='get' id='89d32edc1207e1f3c7492e66b0f701c0'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-18 11:10:13.429 ***🔗 alice_connections_info_3029@fed1 in <iq from='fed1' to='fed1' id='89d32edc1207e1f3c7492e66b0f701c0' 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-18 11:10:13.429 ***🔗 alice_connections_info_3029@fed1 out <iq type='set' id='8033f46adc02e47026c20c55871f6da5'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3029</username> <password>makota2</password> </query> </iq>
*** User 2024-04-18 11:10:13.448 ***🔗 alice_connections_info_3029@fed1 in <iq from='fed1' to='fed1' id='8033f46adc02e47026c20c55871f6da5' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3029</username> <password>makota2</password> </query> </iq>
*** User 2024-04-18 11:10:13.448 ***🔗 alice_connections_info_3029@fed1 out </stream:stream>
*** User 2024-04-18 11:10:13.448 ***🔗 alice_connections_info_3029@fed1 in </stream:stream>
*** User 2024-04-18 11:10:13.449 ***🔗 alicE_connections_info_3029@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-18 11:10:13.449 ***🔗 alicE_connections_info_3029@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27d3c1f7b5161066' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:13.449 ***🔗 alicE_connections_info_3029@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-18 11:10:13.449 ***🔗 alicE_connections_info_3029@localhost out <iq type='get' id='ea13e886b80d2283d00c6e893b9f4853'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-18 11:10:13.449 ***🔗 alicE_connections_info_3029@localhost in <iq from='localhost' to='localhost' id='ea13e886b80d2283d00c6e893b9f4853' 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-18 11:10:13.449 ***🔗 alicE_connections_info_3029@localhost out <iq type='set' id='378c8884a88d7e989c5a7b94c0180d77'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3029</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-18 11:10:13.451 ***🔗 alicE_connections_info_3029@localhost in <iq from='localhost' to='localhost' id='378c8884a88d7e989c5a7b94c0180d77' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3029</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-18 11:10:13.451 ***🔗 alicE_connections_info_3029@localhost out </stream:stream>
*** User 2024-04-18 11:10:13.451 ***🔗 alicE_connections_info_3029@localhost in </stream:stream>
*** User 2024-04-18 11:10:13.452 ***🔗 alice_connections_info_3029@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-18 11:10:13.453 ***🔗 alice_connections_info_3029@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbdf29c7c193ea87' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:13.453 ***🔗 alice_connections_info_3029@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-18 11:10:13.453 ***🔗 alice_connections_info_3029@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMzAyOQBtYWtvdGEy</auth>
*** User 2024-04-18 11:10:13.455 ***🔗 alice_connections_info_3029@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:13.455 ***🔗 alice_connections_info_3029@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-18 11:10:13.455 ***🔗 alice_connections_info_3029@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bea1459e5ba2557a' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_3029@fed1'>
*** User 2024-04-18 11:10:13.455 ***🔗 alice_connections_info_3029@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-18 11:10:13.456 ***🔗 alice_connections_info_3029@fed1/res1 out <iq type='set' id='36877cfd7fb923b2ed9e54575a4983ba'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-18 11:10:13.456 ***🔗 alice_connections_info_3029@fed1/res1 in <iq id='36877cfd7fb923b2ed9e54575a4983ba' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3029@fed1/res1</jid> </bind> </iq>
*** User 2024-04-18 11:10:13.456 ***🔗 alice_connections_info_3029@fed1/res1 out <iq type='set' id='b1a929044595bde6bb60a4fb920ae858'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:10:13.456 ***🔗 alice_connections_info_3029@fed1/res1 in <iq from='fed1' to='alice_connections_info_3029@fed1/res1' id='b1a929044595bde6bb60a4fb920ae858' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:10:13.456 ***🔗 alice_connections_info_3029@fed1/res1 out <presence/>
*** User 2024-04-18 11:10:13.457 ***🔗 alice_connections_info_3029@fed1/res1 in <presence from='alice_connections_info_3029@fed1/res1' to='alice_connections_info_3029@fed1/res1'/>
*** User 2024-04-18 11:10:13.457 ***🔗 alicE_connections_info_3029@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-18 11:10:13.457 ***🔗 alicE_connections_info_3029@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc139132de299765' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:13.458 ***🔗 alicE_connections_info_3029@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-18 11:10:13.458 ***🔗 alicE_connections_info_3029@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMzAyOQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-18 11:10:13.458 ***🔗 alicE_connections_info_3029@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:13.458 ***🔗 alicE_connections_info_3029@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-18 11:10:13.459 ***🔗 alicE_connections_info_3029@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='20292f5bcf6a01bc' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_3029@localhost'>
*** User 2024-04-18 11:10:13.459 ***🔗 alicE_connections_info_3029@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-18 11:10:13.459 ***🔗 alicE_connections_info_3029@localhost/res1 out <iq type='set' id='b38652b06f1283dc0ef6dfb62e0d7d81'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-18 11:10:13.459 ***🔗 alicE_connections_info_3029@localhost/res1 in <iq id='b38652b06f1283dc0ef6dfb62e0d7d81' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3029@localhost/res1</jid> </bind> </iq>
*** User 2024-04-18 11:10:13.459 ***🔗 alice_connections_info_3029@localhost/res1 out <iq type='set' id='0092e4b30240a4a65d78113602432e78'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:10:13.460 ***🔗 alice_connections_info_3029@localhost/res1 in <iq from='localhost' to='alice_connections_info_3029@localhost/res1' id='0092e4b30240a4a65d78113602432e78' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-18 11:10:13.460 ***🔗 alice_connections_info_3029@localhost/res1 out <presence/>
*** User 2024-04-18 11:10:13.461 ***🔗 alice_connections_info_3029@localhost/res1 in <presence from='alice_connections_info_3029@localhost/res1' to='alice_connections_info_3029@localhost/res1'/>
*** User 2024-04-18 11:10:13.461 ***🔗 alice_connections_info_3029@localhost/res1 out <message type='chat' to='alice_connections_info_3029@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-18 11:10:13.464 ***🔗 alice_connections_info_3029@fed1/res1 in <message from='alice_connections_info_3029@localhost/res1' to='alice_connections_info_3029@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-18 11:10:13.464 ***🔗 alice_connections_info_3029@fed1/res1 out <message type='chat' to='alice_connections_info_3029@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2024-04-18 11:10:13.465 ***🔗 alice_connections_info_3029@localhost/res1 in <message from='alice_connections_info_3029@fed1/res1' to='alice_connections_info_3029@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2024-04-18 11:10:13.465 ***🔗 alice_connections_info_3029@localhost/res1 out </stream:stream>
*** User 2024-04-18 11:10:13.465 ***🔗 alice_connections_info_3029@localhost/res1 in </stream:stream>
*** User 2024-04-18 11:10:13.465 ***🔗 alice_connections_info_3029@fed1/res1 out </stream:stream>
*** User 2024-04-18 11:10:13.466 ***🔗 alice_connections_info_3029@fed1/res1 in </stream:stream>
*** User 2024-04-18 11:10:13.466 ***🔗 Node = mongooseim@localhost, ConnectionType = in, Domain = fed1 DomainS2SConnections(1): [#{pid => <10242.103745.0>,port => 58604, addr => {127,0,0,1}, direction => in,shaper => s2s_shaper,tls => false, streamid => <<"cb31ce5e6ea64be1">>, tls_enabled => false, tls_options => #{ciphers => "TLSv1.2:TLSv1.3", verify_mode => peer, dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1", "no_tlsv1_1"]}, authenticated => false, statename => stream_established, domains => [<<"fed1">>]}]
*** User 2024-04-18 11:10:13.466 ***🔗 Node = mongooseim@localhost, ConnectionType = out, Domain = fed1 DomainS2SConnections(2): [#{pid => <10242.103742.0>,port => 58604, addr => {127,0,0,1}, verify => false,server => <<"fed1">>, direction => out,tls => false, streamid => <<"789bf5f2096b3a9f">>, tls_enabled => false,tls_required => false, tls_options => #{ciphers => "TLSv1.2:TLSv1.3", verify_mode => peer}, authenticated => false, statename => stream_established,use_v10 => false, dialback_enabled => true,try_auth => true, myname => <<"localhost">>, delay_to_retry => undefined}, #{pid => <10242.103746.0>,port => 58606, addr => {127,0,0,1}, verify => {<10242.103745.0>, <<"b1ef013d8de1140e6f41d5b233fbd37aa276b8fc484be7851a04b7e057349735">>, <<"cb31ce5e6ea64be1">>}, server => <<"fed1">>,direction => out, tls => false,streamid => <<"0d2e04e2513f25d9">>, tls_enabled => false,tls_required => false, tls_options => #{ciphers => "TLSv1.2:TLSv1.3", verify_mode => peer}, 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-18 11:10:13 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result