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

=== Config value:

    [{watchdog,<0.23006.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sic_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.sic_SUITE.logs/run.2022-05-25_10.50.18/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@6949c6250523.2022-05-25_10.37.44/big_tests.tests.sic_SUITE.logs/run.2022-05-25_10.50.18/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44"

=== Started at 2022-05-25 10:50:19


*** CT 2022-05-25 10:50:19.138 *** View log from node mongooseim@localhost when started mongooseim@localhost_5838.html
*** CT 2022-05-25 10:50:19.139 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1993.html

*** User 2022-05-25 10:50:19.140 ***
alicE@localhost/res1 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:50:19.141 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='607c6fabbc08c3ec' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:19.141 ***
alicE@localhost/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-05-25 10:50:19.141 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 10:50:19.142 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:19.142 ***
alicE@localhost/res1 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:50:19.143 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc37f91120149303' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:19.143 ***
alicE@localhost/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-05-25 10:50:19.143 ***
alicE@localhost/res1 out
<iq type='set' id='754f756fd5fa1b6042d0da4b54ad25a7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:19.143 ***
alicE@localhost/res1 in
<iq id='754f756fd5fa1b6042d0da4b54ad25a7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:19.143 ***
alice@localhost/res1 out
<iq type='set' id='0675e394ee5d9cff530bb1136ba03b30'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:19.143 ***
alice@localhost/res1 in
<iq type='result' id='0675e394ee5d9cff530bb1136ba03b30'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:19.143 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:19.145 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:19.145 ***
bOb@localhost/res1 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:50:19.145 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e911f7dfa218df5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:19.146 ***
bOb@localhost/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-05-25 10:50:19.146 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 10:50:19.146 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:19.146 ***
bOb@localhost/res1 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:50:19.147 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a38d4639537c009e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:19.147 ***
bOb@localhost/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-05-25 10:50:19.147 ***
bOb@localhost/res1 out
<iq type='set' id='1bb0b6bfeb97a15009194bfb25b9cdfc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:19.147 ***
bOb@localhost/res1 in
<iq id='1bb0b6bfeb97a15009194bfb25b9cdfc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:19.147 ***
bob@localhost/res1 out
<iq type='set' id='a7cd09291815ec43c4c2fa847f75a456'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:19.147 ***
bob@localhost/res1 in
<iq type='result' id='a7cd09291815ec43c4c2fa847f75a456'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:19.147 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:19.149 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:19.149 ***
alice@localhost/res1 out
<iq type='get' id='5a9909bc6a7768bb7480a8f6620abc43' to='bOb@localhost'>
	<address xmlns='urn:xmpp:sic:1'/>
</iq>



*** User 2022-05-25 10:50:19.149 ***
alice@localhost/res1 in
<iq from='bob@localhost' to='alice@localhost/res1' id='5a9909bc6a7768bb7480a8f6620abc43' 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-05-25 10:50:19.149 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:19.150 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:50:19.150 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:19.150 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:50:19.152 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1993.html
*** CT 2022-05-25 10:50:19.153 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5839.html



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


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