=== Test case: mongooseimctl_SUITE:num_resources_num/1 (click for source code) === Config value: [{watchdog,<0.22018.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,"pgsql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40" === Started at 2022-05-11 09:02:16
*** User 2022-05-11 09:02:16.997 *** 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-11 09:02:16.997 *** alicE@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e13cb2e228eff446' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:16.997 *** 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-11 09:02:16.997 *** alicE@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:02:16.998 *** alicE@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:02:16.998 *** 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-11 09:02:16.999 *** alicE@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fb514fb456d4ac3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:16.999 *** 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-11 09:02:16.999 *** alicE@domain.example.com/res1 out <iq type='set' id='685031e77ea07a9b4e2a54b6d2a627e1'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-05-11 09:02:16.999 *** alicE@domain.example.com/res1 in <iq id='685031e77ea07a9b4e2a54b6d2a627e1' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-05-11 09:02:16.999 *** alicE@domain.example.com/res1 out <iq type='set' id='6d6df10402dc83720bb782f5876a94d7'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:16.999 *** alicE@domain.example.com/res1 in <iq type='result' id='6d6df10402dc83720bb782f5876a94d7'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.000 *** alicE@domain.example.com/res1 out <presence/>
*** User 2022-05-11 09:02:17.001 *** 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-11 09:02:17.001 *** 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-11 09:02:17.002 *** alicE@domain.example.com/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc28a0fe0e816d0e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.002 *** 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-11 09:02:17.002 *** alicE@domain.example.com/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:02:17.003 *** alicE@domain.example.com/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:02:17.003 *** 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-11 09:02:17.003 *** alicE@domain.example.com/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7374ef45d6764b0f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.003 *** 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-11 09:02:17.003 *** alicE@domain.example.com/res2 out <iq type='set' id='e8ce44559c6843b2da503502f8b2504b'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2022-05-11 09:02:17.004 *** alicE@domain.example.com/res2 in <iq id='e8ce44559c6843b2da503502f8b2504b' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@domain.example.com/res2</jid> </bind> </iq>
*** User 2022-05-11 09:02:17.004 *** alicE@domain.example.com/res2 out <iq type='set' id='71029198cec53e9fdb9fe1c69b5d19e0'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.004 *** alicE@domain.example.com/res2 in <iq type='result' id='71029198cec53e9fdb9fe1c69b5d19e0'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.004 *** alicE@domain.example.com/res2 out <presence/>
*** User 2022-05-11 09:02:17.005 *** 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-11 09:02:17.005 *** 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-11T09:02:17Z' from='alice@domain.example.com/res1'/> </presence>
*** User 2022-05-11 09:02:17.006 *** 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-11 09:02:17.006 *** alicE@domain.example.com/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='072e9c10dea1e271' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.007 *** 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-11 09:02:17.007 *** alicE@domain.example.com/res3 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:02:17.008 *** alicE@domain.example.com/res3 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:02:17.008 *** 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-11 09:02:17.008 *** alicE@domain.example.com/res3 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='070e6626debbf2a5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.008 *** 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-11 09:02:17.008 *** alicE@domain.example.com/res3 out <iq type='set' id='3ebe264cd69ce9116a0aaf3d4440b1b1'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res3</resource> </bind> </iq>
*** User 2022-05-11 09:02:17.008 *** alicE@domain.example.com/res3 in <iq id='3ebe264cd69ce9116a0aaf3d4440b1b1' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@domain.example.com/res3</jid> </bind> </iq>
*** User 2022-05-11 09:02:17.009 *** alicE@domain.example.com/res3 out <iq type='set' id='9dbfe5a53e0bdeecb5229d14322ef67a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.009 *** alicE@domain.example.com/res3 in <iq type='result' id='9dbfe5a53e0bdeecb5229d14322ef67a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.009 *** alicE@domain.example.com/res3 out <presence/>
*** User 2022-05-11 09:02:17.010 *** 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-11 09:02:17.011 *** 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-11T09:02:17Z' from='alice@domain.example.com/res2'/> </presence>
*** User 2022-05-11 09:02:17.011 *** 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-11T09:02:17Z' from='alice@domain.example.com/res1'/> </presence>
*** User 2022-05-11 09:02:17.011 *** 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-11 09:02:17.011 *** 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-11 09:02:17.011 *** 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-11 09:02:17.012 *** 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-11 09:02:17.012 *** bOb@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08278b9e30b81fb2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.012 *** 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-11 09:02:17.012 *** bOb@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-05-11 09:02:17.013 *** bOb@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:02:17.013 *** 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-11 09:02:17.013 *** bOb@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dc167fd491bce4a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:02:17.013 *** 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-11 09:02:17.014 *** bOb@domain.example.com/res1 out <iq type='set' id='7275dcd08ae531ef7d2a346cc74d8f37'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-05-11 09:02:17.014 *** bOb@domain.example.com/res1 in <iq id='7275dcd08ae531ef7d2a346cc74d8f37' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-05-11 09:02:17.014 *** bOb@domain.example.com/res1 out <iq type='set' id='220577c6071c9d59a4c8ea95d275370d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.014 *** bOb@domain.example.com/res1 in <iq type='result' id='220577c6071c9d59a4c8ea95d275370d'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-05-11 09:02:17.014 *** bOb@domain.example.com/res1 out <presence/>
*** User 2022-05-11 09:02:17.015 *** 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-11 09:02:17.225 *** Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl num_resources alicE domain.example.com Result "3\n" ExitStatus 0
*** User 2022-05-11 09:02:17.474 *** 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-11 09:02:17.474 *** bOb@domain.example.com/res1 out </stream:stream>
*** User 2022-05-11 09:02:17.475 *** bOb@domain.example.com/res1 in </stream:stream>
*** User 2022-05-11 09:02:17.475 *** alicE@domain.example.com/res3 out </stream:stream>
*** User 2022-05-11 09:02:17.475 *** alicE@domain.example.com/res3 in </stream:stream>
*** User 2022-05-11 09:02:17.475 *** alicE@domain.example.com/res2 out </stream:stream>
*** User 2022-05-11 09:02:17.476 *** alicE@domain.example.com/res2 in </stream:stream>
*** User 2022-05-11 09:02:17.476 *** alicE@domain.example.com/res1 out </stream:stream>
*** User 2022-05-11 09:02:17.476 *** alicE@domain.example.com/res1 in </stream:stream>
=== Ended at 2022-05-11 09:02:17 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result