=== Test case: mongooseimctl_SUITE:ban_account/1 (click for source code)

=== Config value:

    [{watchdog,<0.23554.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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-03_16.36.00/mongooseimctl_suite.ban_account.html"},
     {tc_group_properties,[{name,accounts},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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-03_16.36.00/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@c0783a4ae5cf.2022-02-03_16.28.29"

=== Started at 2022-02-03 16:36:03


*** CT 2022-02-03 16:36:03.030 *** View log from node mongooseim@localhost when started mongooseim@localhost_5038.html
*** CT 2022-02-03 16:36:03.031 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2338.html

*** User 2022-02-03 16:36:03.032 ***
mike@localhost/newres out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:36:03.033 ***
mike@localhost/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a92ee50a774e38e5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:36:03.033 ***
mike@localhost/newres 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-02-03 16:36:03.033 ***
mike@localhost/newres out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-02-03 16:36:03.034 ***
mike@localhost/newres in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:36:03.035 ***
mike@localhost/newres out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:36:03.035 ***
mike@localhost/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4f5a956217fbc6b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:36:03.035 ***
mike@localhost/newres 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-02-03 16:36:03.035 ***
mike@localhost/newres out
<iq type='set' id='6dee8e9d3acb19c5dab65538497cd2a3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newres</resource>
	</bind>
</iq>



*** User 2022-02-03 16:36:03.035 ***
mike@localhost/newres in
<iq id='6dee8e9d3acb19c5dab65538497cd2a3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@localhost/newres</jid>
	</bind>
</iq>



*** User 2022-02-03 16:36:03.036 ***
mike@localhost/newres out
<iq type='set' id='4070c843c0b7d6d46db26eff8f82eb6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:36:03.036 ***
mike@localhost/newres in
<iq type='result' id='4070c843c0b7d6d46db26eff8f82eb6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:36:03.306 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  ban_account mike localhost SomeReason
Result "User mike@localhost successfully banned with reason: SomeReason\n"
ExitStatus 0

*** User 2022-02-03 16:36:03.306 ***
mike@localhost/newres in
<stream:error>
	<conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
	<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>SomeReason</text>
</stream:error>



*** User 2022-02-03 16:36:03.307 ***
mike@localhost/newres2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:36:03.316 ***
mike@localhost/newres2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f341fa203f23453' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:36:03.316 ***
mike@localhost/newres2 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-02-03 16:36:03.316 ***
mike@localhost/newres2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-02-03 16:36:03.318 ***
mike@localhost/newres2 in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
	<not-authorized/>
</failure>



*** User 2022-02-03 16:36:03.592 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  change_password mike localhost nicniema
Result "Password changed\n"
ExitStatus 0
*** CT 2022-02-03 16:36:03.595 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2338.html
*** CT 2022-02-03 16:36:03.596 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5038.html



=== Ended at 2022-02-03 16:36:03
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result