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

=== Config value:

    [{watchdog,<0.21887.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.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@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:14


*** CT 2022-05-11 09:02:14.377 *** View log from node mongooseim@localhost when started mongooseim@localhost_1931.html
*** CT 2022-05-11 09:02:14.377 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

*** User 2022-05-11 09:02:14.379 ***
mike@domain.example.com/newres 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:14.380 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1be24d48fc2486b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:14.380 ***
mike@domain.example.com/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-11 09:02:14.380 ***
mike@domain.example.com/newres out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-05-11 09:02:14.381 ***
mike@domain.example.com/newres in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:14.381 ***
mike@domain.example.com/newres 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:14.381 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5446d65a76ad7c71' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:14.381 ***
mike@domain.example.com/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-11 09:02:14.382 ***
mike@domain.example.com/newres out
<iq type='set' id='63b9e1b48c9938d31452ce4dbcceec4d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newres</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:14.382 ***
mike@domain.example.com/newres in
<iq id='63b9e1b48c9938d31452ce4dbcceec4d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@domain.example.com/newres</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:14.382 ***
mike@domain.example.com/newres out
<iq type='set' id='a8903d8ecbe2ba90c6526f4cbd4dd2b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:14.382 ***
mike@domain.example.com/newres in
<iq type='result' id='a8903d8ecbe2ba90c6526f4cbd4dd2b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:14.605 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  ban_account mike domain.example.com SomeReason
Result "User mike@domain.example.com successfully banned with reason: SomeReason\n"
ExitStatus 0

*** User 2022-05-11 09:02:14.605 ***
mike@domain.example.com/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-11 09:02:14.606 ***
mike@domain.example.com/newres2 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:14.606 ***
mike@domain.example.com/newres2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='deee28029f4c020c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:14.607 ***
mike@domain.example.com/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-11 09:02:14.607 ***
mike@domain.example.com/newres2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-05-11 09:02:14.608 ***
mike@domain.example.com/newres2 in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
	<not-authorized/>
</failure>



*** User 2022-05-11 09:02:14.798 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  change_password mike domain.example.com nicniema
Result "Password changed\n"
ExitStatus 0
*** CT 2022-05-11 09:02:14.801 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:02:14.802 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1931.html



=== Ended at 2022-05-11 09:02:14
=== successfully completed test case
=== === Returned value: ok


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