=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.16867.1>}, {{s2s,mim}, #{listener => #{ip_address => "0", ip_tuple => {0,0,0,0}, ip_version => 4,max_stanza_size => 131072, module => ejabberd_s2s_in,port => 5269,proto => tcp, shaper => s2s_shaper, tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]}, opts => #{address => #{<<"fed1">> => #{ip_address => "127.0.0.1"}}, certfile => "priv/ssl/fake_server.pem", ciphers => "TLSv1.2:TLSv1.3",default_policy => allow, dns => #{retries => 2,timeout => 10}, max_retry_delay => 300, outgoing => #{connection_timeout => 10000, ip_versions => [4,6], port => 5299}, use_starttls => optional}}}, {{s2s,fed}, #{listener => #{ip_address => "0", ip_tuple => {0,0,0,0}, ip_version => 4,max_stanza_size => 131072, module => ejabberd_s2s_in,port => 5299,proto => tcp, shaper => s2s_shaper, tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]}, 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"}}, certfile => "priv/ssl/fake_server.pem", ciphers => "TLSv1.2:TLSv1.3",default_policy => allow, dns => #{retries => 2,timeout => 10}, max_retry_delay => 300, outgoing => #{connection_timeout => 10000, ip_versions => [4,6], port => 5269}, use_starttls => optional}}}, {escalus_user_db,xmpp}, {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"}, {preset,"ldap_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.s2s_SUITE.logs/run.2022-03-18_11.00.19/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.s2s_SUITE.logs/run.2022-03-18_11.00.19/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@fbe05ecb9552.2022-03-18_10.50.03" === Started at 2022-03-18 11:00:19
*** User 2022-03-18 11:00:19.398 *** alice_connections_info_1560@fed1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 11:00:19.398 *** alice_connections_info_1560@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd22d6b19253f4cd' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.399 *** alice_connections_info_1560@fed1 in <stream:features> <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> <register xmlns='http://jabber.org/features/iq-register'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-03-18 11:00:19.400 *** alice_connections_info_1560@fed1 out <iq type='get' id='99244998bc211351a0f1d9fddb6b4047'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2022-03-18 11:00:19.400 *** alice_connections_info_1560@fed1 in <iq from='fed1' id='99244998bc211351a0f1d9fddb6b4047' 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-18 11:00:19.401 *** alice_connections_info_1560@fed1 out <iq type='set' id='94524f633ccbb8f5833284f16571bdec'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_1560</username> <password>makota2</password> </query> </iq>
*** User 2022-03-18 11:00:19.430 *** alice_connections_info_1560@fed1 in <iq from='fed1' id='94524f633ccbb8f5833284f16571bdec' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_1560</username> <password>makota2</password> </query> </iq>
*** User 2022-03-18 11:00:19.430 *** alice_connections_info_1560@fed1 out </stream:stream>
*** User 2022-03-18 11:00:19.430 *** alice_connections_info_1560@fed1 in </stream:stream>
*** User 2022-03-18 11:00:19.431 *** alicE_connections_info_1560@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-18 11:00:19.431 *** alicE_connections_info_1560@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f02c4968bb16a6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.431 *** alicE_connections_info_1560@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-18 11:00:19.431 *** alicE_connections_info_1560@localhost out <iq type='get' id='ae6d0e3971db8a0384d8d2d215a04764'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2022-03-18 11:00:19.432 *** alicE_connections_info_1560@localhost in <iq from='localhost' id='ae6d0e3971db8a0384d8d2d215a04764' 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-18 11:00:19.432 *** alicE_connections_info_1560@localhost out <iq type='set' id='55bf637eb8c804d5489b26804a57a107'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_1560</username> <password>matygrysa</password> </query> </iq>
*** User 2022-03-18 11:00:19.433 *** alicE_connections_info_1560@localhost in <iq from='localhost' id='55bf637eb8c804d5489b26804a57a107' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_1560</username> <password>matygrysa</password> </query> </iq>
*** User 2022-03-18 11:00:19.433 *** alicE_connections_info_1560@localhost out </stream:stream>
*** User 2022-03-18 11:00:19.433 *** alicE_connections_info_1560@localhost in </stream:stream>
*** User 2022-03-18 11:00:19.434 *** alice_connections_info_1560@fed1/res1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 11:00:19.434 *** alice_connections_info_1560@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14f9b5807ce76441' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.434 *** alice_connections_info_1560@fed1/res1 in <stream:features> <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> <register xmlns='http://jabber.org/features/iq-register'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-03-18 11:00:19.435 *** alice_connections_info_1560@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMTU2MABtYWtvdGEy</auth>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7cd9819bfd48ba26' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/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-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 out <iq type='set' id='f030952f8304f65947198d54d2a46119'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 in <iq id='f030952f8304f65947198d54d2a46119' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_1560@fed1/res1</jid> </bind> </iq>
*** User 2022-03-18 11:00:19.437 *** alice_connections_info_1560@fed1/res1 out <iq type='set' id='da4de0d5680826cf4e06ea6d767cc476'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 11:00:19.438 *** alice_connections_info_1560@fed1/res1 in <iq type='result' id='da4de0d5680826cf4e06ea6d767cc476'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 11:00:19.438 *** alice_connections_info_1560@fed1/res1 out <presence/>
*** User 2022-03-18 11:00:19.438 *** alice_connections_info_1560@fed1/res1 in <presence from='alice_connections_info_1560@fed1/res1' to='alice_connections_info_1560@fed1/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:19.439 *** alicE_connections_info_1560@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-18 11:00:19.439 *** alicE_connections_info_1560@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ddd2705a255a512b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.439 *** alicE_connections_info_1560@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-18 11:00:19.439 *** alicE_connections_info_1560@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMTU2MABtYXR5Z3J5c2E=</auth>
*** User 2022-03-18 11:00:19.440 *** alicE_connections_info_1560@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 11:00:19.441 *** alicE_connections_info_1560@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-18 11:00:19.441 *** alicE_connections_info_1560@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a3d04b2a0601f79' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:19.441 *** alicE_connections_info_1560@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-18 11:00:19.441 *** alicE_connections_info_1560@localhost/res1 out <iq type='set' id='a5b993660a6b6c1b63fe422d88b0baf2'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-18 11:00:19.441 *** alicE_connections_info_1560@localhost/res1 in <iq id='a5b993660a6b6c1b63fe422d88b0baf2' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_connections_info_1560@localhost/res1</jid> </bind> </iq>
*** User 2022-03-18 11:00:19.441 *** alicE_connections_info_1560@localhost/res1 out <iq type='set' id='abdaab47ce16e3ec2138599050f6659f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 11:00:19.441 *** alicE_connections_info_1560@localhost/res1 in <iq type='result' id='abdaab47ce16e3ec2138599050f6659f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-18 11:00:19.442 *** alicE_connections_info_1560@localhost/res1 out <presence/>
*** User 2022-03-18 11:00:19.442 *** alicE_connections_info_1560@localhost/res1 in <presence from='alicE_connections_info_1560@localhost/res1' to='alice_connections_info_1560@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:19.442 *** alicE_connections_info_1560@localhost/res1 out <message to='alice_connections_info_1560@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2022-03-18 11:00:19.443 *** alice_connections_info_1560@fed1/res1 in <message from='alicE_connections_info_1560@localhost/res1' to='alice_connections_info_1560@fed1/res1' xml:lang='en' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2022-03-18 11:00:19.443 *** alice_connections_info_1560@fed1/res1 out <message to='alicE_connections_info_1560@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2022-03-18 11:00:19.444 *** alicE_connections_info_1560@localhost/res1 in <message from='alice_connections_info_1560@fed1/res1' to='alicE_connections_info_1560@localhost/res1' xml:lang='en' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2022-03-18 11:00:19.444 *** alicE_connections_info_1560@localhost/res1 out </stream:stream>
*** User 2022-03-18 11:00:19.444 *** alicE_connections_info_1560@localhost/res1 in </stream:stream>
*** User 2022-03-18 11:00:19.444 *** alice_connections_info_1560@fed1/res1 out </stream:stream>
*** User 2022-03-18 11:00:19.444 *** alice_connections_info_1560@fed1/res1 in </stream:stream>
*** User 2022-03-18 11:00:19.445 *** S2sIn: [[{s2s_pid,<8651.29168.1>}, {status,open}, {direction,in}, {statename,stream_established}, {addr,{127,0,0,1}}, {port,38568}, {streamid,<<"05e16d7402572236">>}, {tls,false}, {tls_enabled,false}, {tls_options,[{dhfile,"priv/ssl/fake_dh_server.pem"}]}, {authenticated,false}, {shaper,s2s_shaper}, {sockmod,ejabberd_socket}, {domains,[<<"fed1">>]}]]
*** User 2022-03-18 11:00:19.445 *** S2sOut: [[{s2s_pid,<8651.29169.1>}, {status,open}, {direction,out}, {statename,wait_for_validation}, {addr,{127,0,0,1}}, {port,59696}, {streamid,<<"a911e2e935040050">>}, {use_v10,false}, {tls,false}, {tls_required,false}, {tls_enabled,false}, {tls_options,[connect,{ciphers,"TLSv1.2:TLSv1.3"}]}, {authenticated,false}, {db_enabled,true}, {try_auth,true}, {myname,<<"localhost">>}, {server,<<"fed1">>}, {delay_to_retry,undefined_delay}, {verify,{<8651.29168.1>, <<"efdf77276a049c0b9b3512030d60ca9157269f6063ba8901116111145a58841c">>, <<"05e16d7402572236">>}}], [{s2s_pid,<8651.29165.1>}, {status,open}, {direction,out}, {statename,stream_established}, {addr,{127,0,0,1}}, {port,59694}, {streamid,<<"e818ac58a4a13231">>}, {use_v10,false}, {tls,false}, {tls_required,false}, {tls_enabled,false}, {tls_options,[connect,{ciphers,"TLSv1.2:TLSv1.3"}]}, {authenticated,false}, {db_enabled,true}, {try_auth,true}, {myname,<<"localhost">>}, {server,<<"fed1">>}, {delay_to_retry,undefined_delay}, {verify,false}]]
=== Ended at 2022-03-18 11:00:19 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result