=== Test case: sic_SUITE:forbidden_user_sic/1 (click for source code)

=== Config value:

    [{watchdog,<0.32739.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sic_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.sic_SUITE.logs/run.2022-01-27_12.37.46/sic_suite.forbidden_user_sic.html"},
     {tc_group_properties,[{name,mod_sic_tests},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/sic_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.sic_SUITE.logs/run.2022-01-27_12.37.46/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== 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:37:46


*** CT 2022-01-27 12:37:46.869 *** View log from node mongooseim@localhost when started mongooseim@localhost_3059.html
*** CT 2022-01-27 12:37:46.869 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_711.html

*** User 2022-01-27 12:37:46.871 ***
alicE@domain.example.com/res1 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:37:46.872 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb34600e40753eb9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:37:46.872 ***
alicE@domain.example.com/res1 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:37:46.872 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:37:46.873 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:37:46.873 ***
alicE@domain.example.com/res1 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:37:46.874 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='839cf0af16f9cab1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:37:46.874 ***
alicE@domain.example.com/res1 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:37:46.874 ***
alicE@domain.example.com/res1 out
<iq type='set' id='d179af90c8940d7fcfabf502c29a54a3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:37:46.874 ***
alicE@domain.example.com/res1 in
<iq id='d179af90c8940d7fcfabf502c29a54a3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:37:46.874 ***
alicE@domain.example.com/res1 out
<iq type='set' id='f451eebdb685fe20a6e3b5f80a0a2057'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:37:46.875 ***
alicE@domain.example.com/res1 in
<iq type='result' id='f451eebdb685fe20a6e3b5f80a0a2057'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:37:46.875 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:37:46.876 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:37:46.876 ***
bOb@domain.example.com/res1 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:37:46.877 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8bc1595c800f3eb2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:37:46.877 ***
bOb@domain.example.com/res1 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:37:46.877 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:37:46.878 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:37:46.878 ***
bOb@domain.example.com/res1 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:37:46.878 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2aa0e98167234597' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:37:46.878 ***
bOb@domain.example.com/res1 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:37:46.878 ***
bOb@domain.example.com/res1 out
<iq type='set' id='26be95e2c089db804ab0c16806867c5a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:37:46.879 ***
bOb@domain.example.com/res1 in
<iq id='26be95e2c089db804ab0c16806867c5a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:37:46.879 ***
bOb@domain.example.com/res1 out
<iq type='set' id='ab0238146322e8b5c672245c337e40a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:37:46.879 ***
bOb@domain.example.com/res1 in
<iq type='result' id='ab0238146322e8b5c672245c337e40a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:37:46.879 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:37:46.881 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:37:46.881 ***
alicE@domain.example.com/res1 out
<iq type='get' id='d62230e510fa5054362722a5ae6359d6' to='bOb@domain.example.com'>
	<address xmlns='urn:xmpp:sic:1'/>
</iq>



*** User 2022-01-27 12:37:46.881 ***
alicE@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='alicE@domain.example.com/res1' id='d62230e510fa5054362722a5ae6359d6' type='error'>
	<address xmlns='urn:xmpp:sic:1'/>
	<error code='403' type='auth'>
		<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-01-27 12:37:46.881 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:37:46.882 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:37:46.882 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:37:46.882 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:37:46.884 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_711.html
*** CT 2022-01-27 12:37:46.885 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3060.html



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


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