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

=== Config value:

    [{watchdog,<0.4584.1>},
     {ctl_auth_mods,[ejabberd_auth_riak,ejabberd_auth_anonymous,
                     ejabberd_auth_riak]},
     {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,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_10.47.14/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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_10.47.14/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:47:16


*** CT 2022-05-25 10:47:16.330 *** View log from node mongooseim@localhost when started mongooseim@localhost_4488.html
*** CT 2022-05-25 10:47:16.330 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1968.html

*** User 2022-05-25 10:47:16.331 ***
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-05-25 10:47:16.332 ***
mike@localhost/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae04e2d7ab435383' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:16.332 ***
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-05-25 10:47:16.332 ***
mike@localhost/newres out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-05-25 10:47:16.334 ***
mike@localhost/newres in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:47:16.334 ***
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-05-25 10:47:16.334 ***
mike@localhost/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43d74628d2acb70e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:16.334 ***
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-05-25 10:47:16.334 ***
mike@localhost/newres out
<iq type='set' id='ba9386921fdcb4d4b5500d73d77700aa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newres</resource>
	</bind>
</iq>



*** User 2022-05-25 10:47:16.335 ***
mike@localhost/newres in
<iq id='ba9386921fdcb4d4b5500d73d77700aa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@localhost/newres</jid>
	</bind>
</iq>



*** User 2022-05-25 10:47:16.335 ***
mike@localhost/newres out
<iq type='set' id='81423bd78908ac7bbe8f0041020bbfa8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:16.335 ***
mike@localhost/newres in
<iq type='result' id='81423bd78908ac7bbe8f0041020bbfa8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:16.533 ***
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-05-25 10:47:16.533 ***
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-05-25 10:47:16.534 ***
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-05-25 10:47:16.534 ***
mike@localhost/newres2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc521ffc734253e7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:16.535 ***
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-05-25 10:47:16.535 ***
mike@localhost/newres2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-05-25 10:47:16.537 ***
mike@localhost/newres2 in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
	<not-authorized/>
</failure>



*** User 2022-05-25 10:47:16.718 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  change_password mike localhost nicniema
Result "Password changed\n"
ExitStatus 0
*** CT 2022-05-25 10:47:16.720 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1968.html
*** CT 2022-05-25 10:47:16.720 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4488.html



=== Ended at 2022-05-25 10:47:16
=== successfully completed test case
=== === Returned value: ok


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