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

=== Config value:

    [{watchdog,<0.14980.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:12:46


*** CT 2022-02-02 15:12:46.802 *** View log from node mongooseim@localhost when started mongooseim@localhost_1830.html
*** CT 2022-02-02 15:12:46.803 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:12:46.805 ***
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-02-02 15:12:46.806 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5ee085c9b748aab' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-02-02 15:12:46.807 ***
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-02-02 15:12:46.807 ***
mike@domain.example.com/newres in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75a1c5a17c6b3ed9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:46.807 ***
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-02-02 15:12:46.807 ***
mike@domain.example.com/newres out
<iq type='set' id='2613474f27e6f9d6d49a436bd96b8cdf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newres</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:46.808 ***
mike@domain.example.com/newres in
<iq id='2613474f27e6f9d6d49a436bd96b8cdf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@domain.example.com/newres</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:46.808 ***
mike@domain.example.com/newres out
<iq type='set' id='57ddba6dedda8959f4afa3b8d37a94b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:46.808 ***
mike@domain.example.com/newres in
<iq type='result' id='57ddba6dedda8959f4afa3b8d37a94b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:46.954 ***
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-02-02 15:12:46.954 ***
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-02-02 15:12:46.954 ***
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-02-02 15:12:46.955 ***
mike@domain.example.com/newres2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a381cbd0886e228' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-02-02 15:12:47.109 ***
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-02-02 15:12:47.112 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:12:47.112 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1830.html



=== Ended at 2022-02-02 15:12:47
=== successfully completed test case
=== === Returned value: ok


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