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

=== Config value:

    [{watchdog,<0.95257.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sic_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@17a96e781220.2024-03-21_22.20.25/big_tests.tests.sic_SUITE.logs/run.2024-03-21_22.36.31/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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.sic_SUITE.logs/run.2024-03-21_22.36.31/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@17a96e781220.2024-03-21_22.20.25"

=== Started at 2024-03-21 22:36:31


*** CT 2024-03-21 22:36:31.339 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5886.html

*** User 2024-03-21 22:36:31.341 ***🔗
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 2024-03-21 22:36:31.341 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2381b400af08abb7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:36:31.342 ***🔗
alicE@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:36:31.342 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 22:36:31.343 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:36:31.343 ***🔗
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 2024-03-21 22:36:31.343 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b56bf78208af40f' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-03-21 22:36:31.343 ***🔗
alicE@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:36:31.343 ***🔗
alicE@localhost/res1 out
<iq type='set' id='575549a99015cd15e1f5449e388b620c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:36:31.343 ***🔗
alicE@localhost/res1 in
<iq id='575549a99015cd15e1f5449e388b620c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:36:31.343 ***🔗
alice@localhost/res1 out
<iq type='set' id='ce425ccff8f14c072b16b7c5bbfc4b50'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:36:31.344 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='ce425ccff8f14c072b16b7c5bbfc4b50' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:36:31.344 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2024-03-21 22:36:31.345 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>



*** User 2024-03-21 22:36:31.346 ***🔗
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 2024-03-21 22:36:31.346 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce55aa714d018143' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:36:31.346 ***🔗
bOb@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:36:31.346 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 22:36:31.347 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:36:31.347 ***🔗
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 2024-03-21 22:36:31.347 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c21e3f301eb8220' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>

*** User 2024-03-21 22:36:31.348 ***🔗
bOb@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:36:31.348 ***🔗
bOb@localhost/res1 out
<iq type='set' id='f547fffb72f0e49a4e16bfae8adb5eb9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:36:31.348 ***🔗
bOb@localhost/res1 in
<iq id='f547fffb72f0e49a4e16bfae8adb5eb9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:36:31.348 ***🔗
bob@localhost/res1 out
<iq type='set' id='577fe2e74df75a3eb3d73e0558275622'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:36:31.349 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='577fe2e74df75a3eb3d73e0558275622' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:36:31.349 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2024-03-21 22:36:31.350 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>



*** User 2024-03-21 22:36:31.351 ***🔗
alice@localhost/res1 out
<iq type='get' id='677e008029537bba78b0c832bf8c074c' to='bOb@localhost'>
	<address xmlns='urn:xmpp:sic:1'/>
</iq>



*** User 2024-03-21 22:36:31.351 ***🔗
alice@localhost/res1 in
<iq from='bob@localhost' to='alice@localhost/res1' id='677e008029537bba78b0c832bf8c074c' 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 2024-03-21 22:36:31.351 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:36:31.351 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2024-03-21 22:36:31.352 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:36:31.352 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 22:36:31.354 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5886.html



=== Ended at 2024-03-21 22:36:31
=== successfully completed test case
=== === Returned value: ok


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