=== Test case: mongooseimctl_SUITE:num_resources_num/1 (click for source code) === Config value: [{watchdog,<0.22261.1>}, {ctl_auth_mods,[ejabberd_auth_rdbms,ejabberd_auth_anonymous, ejabberd_auth_rdbms]}, {roster_template,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data/roster.template"}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data"}, {preset,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/mongooseimctl_suite.num_resources_num.html"}, {tc_group_properties,[{name,sessions},sequence]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mongooseimctl_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/log_private/"}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"domain.example.com">>}, {host,<<"localhost">>}, {password,<<"matygrysa">>}]}, {mike,[{username,<<"mike">>}, {server,<<"domain.example.com">>}, {host,<<"localhost">>}, {password,<<"nicniema">>}]}, {bob,[{username,<<"bOb">>}, {server,<<"domain.example.com">>}, {host,<<"localhost">>}, {password,<<"makrolika">>}]}, {kate,[{username,<<"kate">>}, {server,<<"domain.example.com">>}, {host,<<"localhost">>}, {password,<<"makrowe;p">>}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38" === Started at 2022-05-25 09:10:58
*** User 2022-05-25 09:10:58.366 *** alicE@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.367 *** alicE@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ff730a16c6b8635' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.367 *** alicE@domain.example.com/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>SCRAM-SHA-256</mechanism> <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-05-25 09:10:58.367 *** alicE@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-25 09:10:58.368 *** alicE@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:10:58.368 *** alicE@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.368 *** alicE@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8194c512ef792cfe' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.368 *** alicE@domain.example.com/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-05-25 09:10:58.368 *** alicE@domain.example.com/res1 out <iq type='set' id='caa67a6ed62c6bb4cbcba5164fd592bf'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-05-25 09:10:58.369 *** alicE@domain.example.com/res1 in <iq id='caa67a6ed62c6bb4cbcba5164fd592bf' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-05-25 09:10:58.369 *** alice@domain.example.com/res1 out <iq type='set' id='b90fb35316f12c10f21219636c10093d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.369 *** alice@domain.example.com/res1 in <iq type='result' id='b90fb35316f12c10f21219636c10093d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.369 *** alice@domain.example.com/res1 out <presence/>
*** User 2022-05-25 09:10:58.370 *** alice@domain.example.com/res1 in <presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:10:58.371 *** alicE@domain.example.com/res2 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.371 *** alicE@domain.example.com/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82323ce22f6b61d5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.371 *** alicE@domain.example.com/res2 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>SCRAM-SHA-256</mechanism> <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-05-25 09:10:58.371 *** alicE@domain.example.com/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-25 09:10:58.373 *** alicE@domain.example.com/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:10:58.373 *** alicE@domain.example.com/res2 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.373 *** alicE@domain.example.com/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e5c318d18c45c57' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.373 *** alicE@domain.example.com/res2 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-05-25 09:10:58.373 *** alicE@domain.example.com/res2 out <iq type='set' id='992bee3d20c945a6163ad641a33c27bf'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2022-05-25 09:10:58.374 *** alicE@domain.example.com/res2 in <iq id='992bee3d20c945a6163ad641a33c27bf' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@domain.example.com/res2</jid> </bind> </iq>
*** User 2022-05-25 09:10:58.374 *** alice@domain.example.com/res2 out <iq type='set' id='09fcd15330eba25dcd3d57598084a233'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.374 *** alice@domain.example.com/res2 in <iq type='result' id='09fcd15330eba25dcd3d57598084a233'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.374 *** alice@domain.example.com/res2 out <presence/>
*** User 2022-05-25 09:10:58.375 *** alice@domain.example.com/res2 in <presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res2' xml:lang='en'/>
*** User 2022-05-25 09:10:58.375 *** alice@domain.example.com/res2 in <presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res2' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:10:58Z' from='alice@domain.example.com/res1'/> </presence>
*** User 2022-05-25 09:10:58.376 *** alicE@domain.example.com/res3 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.376 *** alicE@domain.example.com/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='777020e939ea1eb3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.377 *** alicE@domain.example.com/res3 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>SCRAM-SHA-256</mechanism> <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-05-25 09:10:58.377 *** alicE@domain.example.com/res3 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-25 09:10:58.378 *** alicE@domain.example.com/res3 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:10:58.378 *** alicE@domain.example.com/res3 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.378 *** alicE@domain.example.com/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='092d25ed1d23bb1e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.378 *** alicE@domain.example.com/res3 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-05-25 09:10:58.378 *** alicE@domain.example.com/res3 out <iq type='set' id='97a104e9f6ede96c148d518abf3d69b2'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res3</resource> </bind> </iq>
*** User 2022-05-25 09:10:58.378 *** alicE@domain.example.com/res3 in <iq id='97a104e9f6ede96c148d518abf3d69b2' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@domain.example.com/res3</jid> </bind> </iq>
*** User 2022-05-25 09:10:58.378 *** alice@domain.example.com/res3 out <iq type='set' id='82407e30e80048448719ab6ccbb6efd9'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.379 *** alice@domain.example.com/res3 in <iq type='result' id='82407e30e80048448719ab6ccbb6efd9'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.379 *** alice@domain.example.com/res3 out <presence/>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res3 in <presence from='alice@domain.example.com/res3' to='alice@domain.example.com/res3' xml:lang='en'/>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res3 in <presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res3' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:10:58Z' from='alice@domain.example.com/res1'/> </presence>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res3 in <presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res3' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:10:58Z' from='alice@domain.example.com/res2'/> </presence>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res1 in <presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res1 in <presence from='alice@domain.example.com/res3' to='alice@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:10:58.380 *** alice@domain.example.com/res2 in <presence from='alice@domain.example.com/res3' to='alice@domain.example.com/res2' xml:lang='en'/>
*** User 2022-05-25 09:10:58.381 *** bOb@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.381 *** bOb@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3fcf0517f7d4e91c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.381 *** bOb@domain.example.com/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>SCRAM-SHA-256</mechanism> <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-05-25 09:10:58.381 *** bOb@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-05-25 09:10:58.382 *** bOb@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:10:58.382 *** bOb@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 09:10:58.383 *** bOb@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3738cad5602cd1bc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:10:58.383 *** bOb@domain.example.com/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-05-25 09:10:58.383 *** bOb@domain.example.com/res1 out <iq type='set' id='f1bd3c3a7f6b92409b2621885aa4754e'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-05-25 09:10:58.383 *** bOb@domain.example.com/res1 in <iq id='f1bd3c3a7f6b92409b2621885aa4754e' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-05-25 09:10:58.383 *** bob@domain.example.com/res1 out <iq type='set' id='7dde19b6509d948a8e4778d5b3ff73d5'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.384 *** bob@domain.example.com/res1 in <iq type='result' id='7dde19b6509d948a8e4778d5b3ff73d5'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-25 09:10:58.384 *** bob@domain.example.com/res1 out <presence/>
*** User 2022-05-25 09:10:58.385 *** bob@domain.example.com/res1 in <presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:10:58.566 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl num_resources alicE domain.example.com Result "3\n" ExitStatus 0
*** User 2022-05-25 09:10:58.759 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl resource_num alicE domain.example.com 2 Result "res2\n" ExitStatus 0
*** User 2022-05-25 09:10:58.760 *** bob@domain.example.com/res1 out </stream:stream>
*** User 2022-05-25 09:10:58.760 *** bob@domain.example.com/res1 in </stream:stream>
*** User 2022-05-25 09:10:58.760 *** alice@domain.example.com/res3 out </stream:stream>
*** User 2022-05-25 09:10:58.760 *** alice@domain.example.com/res3 in </stream:stream>
*** User 2022-05-25 09:10:58.760 *** alice@domain.example.com/res2 out </stream:stream>
*** User 2022-05-25 09:10:58.760 *** alice@domain.example.com/res2 in </stream:stream>
*** User 2022-05-25 09:10:58.760 *** alice@domain.example.com/res1 out </stream:stream>
*** User 2022-05-25 09:10:58.761 *** alice@domain.example.com/res1 in </stream:stream>
=== Ended at 2022-05-25 09:10:58 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result