=== Test case: mongooseimctl_SUITE:num_resources_num/1 (click for source code) === Config value: [{watchdog,<0.23142.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.32.42/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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.32.42/log_private/"}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {mike,[{username,<<"mike">>}, {server,<<"localhost">>}, {password,<<"nicniema">>}]}, {bob,[{username,<<"bOb">>}, {server,<<"localhost">>}, {password,<<"makrolika">>}]}, {kate,[{username,<<"kate">>}, {server,<<"localhost">>}, {password,<<"makrowe;p">>}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11" === Started at 2022-01-27 15:32:47
*** User 2022-01-27 15:32:47.460 *** alicE@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-01-27 15:32:47.461 *** alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd4b596865c038f1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.461 *** alicE@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>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-01-27 15:32:47.461 *** alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:32:47.462 *** alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:47.462 *** alicE@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-01-27 15:32:47.462 *** alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96e8ee6b1d66a37c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.463 *** alicE@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-01-27 15:32:47.463 *** alicE@localhost/res1 out <iq type='set' id='2208a8cd8592ef3a5e76da092b4ad566'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:32:47.463 *** alicE@localhost/res1 in <iq id='2208a8cd8592ef3a5e76da092b4ad566' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:32:47.463 *** alicE@localhost/res1 out <iq type='set' id='2654811ce3f2a671cf0097ecf938979b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.463 *** alicE@localhost/res1 in <iq type='result' id='2654811ce3f2a671cf0097ecf938979b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.463 *** alicE@localhost/res1 out <presence/>
*** User 2022-01-27 15:32:47.465 *** alicE@localhost/res1 in <presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:47.466 *** alicE@localhost/res2 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:47.466 *** alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1378f7cde9eb47be' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.466 *** alicE@localhost/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-01-27 15:32:47.466 *** alicE@localhost/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:32:47.467 *** alicE@localhost/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:47.467 *** alicE@localhost/res2 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:47.467 *** alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b88c7e63aa29bd0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.467 *** alicE@localhost/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-01-27 15:32:47.467 *** alicE@localhost/res2 out <iq type='set' id='4a7cf975e45f91be70981ac8e0b9be94'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2022-01-27 15:32:47.468 *** alicE@localhost/res2 in <iq id='4a7cf975e45f91be70981ac8e0b9be94' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@localhost/res2</jid> </bind> </iq>
*** User 2022-01-27 15:32:47.468 *** alicE@localhost/res2 out <iq type='set' id='afd3e3733b551f06bc02ada441ad9a4a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.468 *** alicE@localhost/res2 in <iq type='result' id='afd3e3733b551f06bc02ada441ad9a4a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.468 *** alicE@localhost/res2 out <presence/>
*** User 2022-01-27 15:32:47.469 *** alicE@localhost/res2 in <presence from='alicE@localhost/res2' to='alice@localhost/res2' xml:lang='en'/>
*** User 2022-01-27 15:32:47.469 *** alicE@localhost/res2 in <presence from='alice@localhost/res1' to='alicE@localhost/res2' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:47Z' from='alice@localhost/res1'/> </presence>
*** User 2022-01-27 15:32:47.470 *** alicE@localhost/res3 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:47.470 *** alicE@localhost/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46db2c7f07be3204' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.470 *** alicE@localhost/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-01-27 15:32:47.470 *** alicE@localhost/res3 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:32:47.471 *** alicE@localhost/res3 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:47.471 *** alicE@localhost/res3 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:47.471 *** alicE@localhost/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77ee8be58dd112d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.471 *** alicE@localhost/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-01-27 15:32:47.471 *** alicE@localhost/res3 out <iq type='set' id='260796bebe61bb09538be492f4f516cd'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res3</resource> </bind> </iq>
*** User 2022-01-27 15:32:47.472 *** alicE@localhost/res3 in <iq id='260796bebe61bb09538be492f4f516cd' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@localhost/res3</jid> </bind> </iq>
*** User 2022-01-27 15:32:47.472 *** alicE@localhost/res3 out <iq type='set' id='620f03849174c7b4fa90a7f57890ea8d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.472 *** alicE@localhost/res3 in <iq type='result' id='620f03849174c7b4fa90a7f57890ea8d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.472 *** alicE@localhost/res3 out <presence/>
*** User 2022-01-27 15:32:47.473 *** alicE@localhost/res3 in <presence from='alicE@localhost/res3' to='alice@localhost/res3' xml:lang='en'/>
*** User 2022-01-27 15:32:47.473 *** alicE@localhost/res3 in <presence from='alice@localhost/res2' to='alicE@localhost/res3' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:47Z' from='alice@localhost/res2'/> </presence>
*** User 2022-01-27 15:32:47.473 *** alicE@localhost/res3 in <presence from='alice@localhost/res1' to='alicE@localhost/res3' xml:lang='en'> <delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:47Z' from='alice@localhost/res1'/> </presence>
*** User 2022-01-27 15:32:47.473 *** alicE@localhost/res1 in <presence from='alicE@localhost/res2' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:47.473 *** alicE@localhost/res1 in <presence from='alicE@localhost/res3' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:47.474 *** alicE@localhost/res2 in <presence from='alicE@localhost/res3' to='alice@localhost/res2' xml:lang='en'/>
*** User 2022-01-27 15:32:47.474 *** bOb@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-01-27 15:32:47.474 *** bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c41f6b4b5f69d2da' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.475 *** bOb@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>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-01-27 15:32:47.475 *** bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:32:47.475 *** bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:47.475 *** bOb@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-01-27 15:32:47.476 *** bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3cb27302c9d5f37' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:47.476 *** bOb@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-01-27 15:32:47.476 *** bOb@localhost/res1 out <iq type='set' id='55c852714d5d7f2d1cd32de26b46541c'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:32:47.476 *** bOb@localhost/res1 in <iq id='55c852714d5d7f2d1cd32de26b46541c' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:32:47.476 *** bOb@localhost/res1 out <iq type='set' id='86cff30b1b7e7466e89569726ee2ba6f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.476 *** bOb@localhost/res1 in <iq type='result' id='86cff30b1b7e7466e89569726ee2ba6f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:32:47.476 *** bOb@localhost/res1 out <presence/>
*** User 2022-01-27 15:32:47.477 *** bOb@localhost/res1 in <presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:47.664 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl num_resources alicE localhost Result "3\n" ExitStatus 0
*** User 2022-01-27 15:32:47.849 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl resource_num alicE localhost 2 Result "res2\n" ExitStatus 0
*** User 2022-01-27 15:32:47.849 *** bOb@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:32:47.849 *** bOb@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:32:47.849 *** alicE@localhost/res3 out </stream:stream>
*** User 2022-01-27 15:32:47.850 *** alicE@localhost/res3 in </stream:stream>
*** User 2022-01-27 15:32:47.850 *** alicE@localhost/res2 out </stream:stream>
*** User 2022-01-27 15:32:47.850 *** alicE@localhost/res2 in </stream:stream>
*** User 2022-01-27 15:32:47.850 *** alicE@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:32:47.850 *** alicE@localhost/res1 in </stream:stream>
=== Ended at 2022-01-27 15:32:47 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result