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

=== Config value:

    [{watchdog,<0.14348.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:33:50


*** CT 2022-01-27 12:33:50.017 *** View log from node mongooseim@localhost when started mongooseim@localhost_1852.html
*** CT 2022-01-27 12:33:50.017 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_617.html

*** User 2022-01-27 12:33:50.019 ***
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-01-27 12:33:50.020 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18776c79b40383bb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:50.020 ***
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-01-27 12:33:50.020 ***
mike@domain.example.com/newres out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-01-27 12:33:50.021 ***
mike@domain.example.com/newres in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:33:50.021 ***
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-01-27 12:33:50.022 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b66a2e049c89e0c8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:50.022 ***
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-01-27 12:33:50.022 ***
mike@domain.example.com/newres out
<iq type='set' id='b02c7ada5a2bd1feb3225bf4751d5491'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newres</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:50.022 ***
mike@domain.example.com/newres in
<iq id='b02c7ada5a2bd1feb3225bf4751d5491' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@domain.example.com/newres</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:50.022 ***
mike@domain.example.com/newres out
<iq type='set' id='9166f89be62dadc4105125bdb0a90c53'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:50.023 ***
mike@domain.example.com/newres in
<iq type='result' id='9166f89be62dadc4105125bdb0a90c53'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:50.324 ***
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-01-27 12:33:50.324 ***
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-01-27 12:33:50.325 ***
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-01-27 12:33:50.326 ***
mike@domain.example.com/newres2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ebf10f5d8df9d0b6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:50.326 ***
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-01-27 12:33:50.326 ***
mike@domain.example.com/newres2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-01-27 12:33:50.328 ***
mike@domain.example.com/newres2 in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
	<not-authorized/>
</failure>



*** User 2022-01-27 12:33:50.581 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  change_password mike domain.example.com nicniema
Result "Password for user mike@domain.example.com successfully changed\n"
ExitStatus 0
*** CT 2022-01-27 12:33:50.584 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_617.html
*** CT 2022-01-27 12:33:50.585 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1852.html



=== Ended at 2022-01-27 12:33:50
=== successfully completed test case
=== === Returned value: ok


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