=== Test case: muc_SUITE:deny_access_to_password_protected_room/1 (click for source code)

=== Config value:

    [{watchdog,<0.65879.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/muc_suite.deny_access_to_password_protected_room.145667.html"},
     {tc_group_properties,[{name,occupant},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        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_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19"

=== Started at 2024-03-20 18:18:14


*** CT 2024-03-20 18:18:14.294 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5141.html

*** User 2024-03-20 18:18:14.415 ***🔗
bOb_deny_access_to_password_protected_room_2500@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-20 18:18:14.416 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b1809e84bb5e810' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:18:14.416 ***🔗
bOb_deny_access_to_password_protected_room_2500@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-20 18:18:14.416 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZW55X2FjY2Vzc190b19wYXNzd29yZF9wcm90ZWN0ZWRfcm9vbV8yNTAwAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-20 18:18:14.423 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:18:14.424 ***🔗
bOb_deny_access_to_password_protected_room_2500@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-20 18:18:14.426 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e670e52170d7459' from='localhost' version='1.0' xml:lang='en' to='bob_deny_access_to_password_protected_room_2500@localhost'>

*** User 2024-03-20 18:18:14.426 ***🔗
bOb_deny_access_to_password_protected_room_2500@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-20 18:18:14.426 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 out
<iq type='set' id='6aa9eba1af47333fcdcd0f98850968a5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.427 ***🔗
bOb_deny_access_to_password_protected_room_2500@localhost/res1 in
<iq id='6aa9eba1af47333fcdcd0f98850968a5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_deny_access_to_password_protected_room_2500@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.427 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 out
<iq type='set' id='2ddc4589d0e4ac7429893a048b191bcc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.453 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 in
<iq from='localhost' to='bob_deny_access_to_password_protected_room_2500@localhost/res1' id='2ddc4589d0e4ac7429893a048b191bcc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.453 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 out
<presence/>



*** User 2024-03-20 18:18:14.457 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 in
<presence from='bob_deny_access_to_password_protected_room_2500@localhost/res1' to='bob_deny_access_to_password_protected_room_2500@localhost/res1'/>



*** User 2024-03-20 18:18:14.457 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 out
<presence to='room-alice_deny_access_to_password_protected_room_2500@muc.localhost/bob_deny_access_to_password_protected_room_2500'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-20 18:18:14.462 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 in
<presence from='room-alice_deny_access_to_password_protected_room_2500@muc.localhost/bob_deny_access_to_password_protected_room_2500' to='bob_deny_access_to_password_protected_room_2500@localhost/res1' type='error'>
	<x xmlns='http://jabber.org/protocol/muc'/>
	<error code='401' type='auth'>
		<not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>A password is required to enter this room</text>
	</error>
</presence>



*** User 2024-03-20 18:18:14.462 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:18:14.463 ***🔗
bob_deny_access_to_password_protected_room_2500@localhost/res1 in
</stream:stream>
*** CT 2024-03-20 18:18:14.471 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5141.html



=== Ended at 2024-03-20 18:18:14
=== successfully completed test case
=== === Returned value: ok