=== Test case: muc_light_SUITE:max_occupants/1 (click for source code)

=== Config value:

    [{watchdog,<0.32561.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.muc_light_SUITE.logs/run.2022-04-04_15.12.23/muc_light_suite.max_occupants.html"},
     {tc_group_properties,[{name,limits},{repeat_until_all_ok,3},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_light_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.muc_light_SUITE.logs/run.2022-04-04_15.12.23/log_private/"},
     {{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 => [],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"}]},
             {welcome_message,{[],[]}}],
        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}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:12:31


*** CT 2022-04-04 15:12:31.326 *** View log from node mongooseim@localhost when started mongooseim@localhost_4685.html
*** CT 2022-04-04 15:12:31.326 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1944.html

*** User 2022-04-04 15:12:31.337 ***
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-04-04 15:12:31.338 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0727fbdab6f985a0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.338 ***
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-04-04 15:12:31.338 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-04-04 15:12:31.339 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:12:31.339 ***
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-04-04 15:12:31.339 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23df30366791e859' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.339 ***
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-04-04 15:12:31.340 ***
alicE@localhost/res1 out
<iq type='set' id='69a1a72a349b50fd6b182c6bbf6d6a5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.340 ***
alicE@localhost/res1 in
<iq id='69a1a72a349b50fd6b182c6bbf6d6a5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.340 ***
alicE@localhost/res1 out
<iq type='set' id='16a8d527d83a54830a9fe208f8c2196b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.340 ***
alicE@localhost/res1 in
<iq type='result' id='16a8d527d83a54830a9fe208f8c2196b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.340 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-04-04 15:12:31.342 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:12:31.342 ***
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-04-04 15:12:31.343 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c87104f292e47ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.343 ***
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-04-04 15:12:31.343 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-04-04 15:12:31.344 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:12:31.344 ***
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-04-04 15:12:31.344 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d62d47492e5ff41' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.344 ***
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-04-04 15:12:31.344 ***
bOb@localhost/res1 out
<iq type='set' id='0b70f27f5b1aab0b8df24bf648f480e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.345 ***
bOb@localhost/res1 in
<iq id='0b70f27f5b1aab0b8df24bf648f480e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.345 ***
bOb@localhost/res1 out
<iq type='set' id='624c112ab8b475edc86ff108e830ebea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.345 ***
bOb@localhost/res1 in
<iq type='result' id='624c112ab8b475edc86ff108e830ebea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.345 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-04-04 15:12:31.346 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:12:31.347 ***
kate@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-04-04 15:12:31.347 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='991f19979594ea39' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.347 ***
kate@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-04-04 15:12:31.347 ***
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-04-04 15:12:31.348 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:12:31.348 ***
kate@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-04-04 15:12:31.348 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f83850216533c49' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.349 ***
kate@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-04-04 15:12:31.349 ***
kate@localhost/res1 out
<iq type='set' id='7090f1dc603a11345aa792aeaa5e1a29'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.349 ***
kate@localhost/res1 in
<iq id='7090f1dc603a11345aa792aeaa5e1a29' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.349 ***
kate@localhost/res1 out
<iq type='set' id='be5f685ed982f09106cc8759b08b0214'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.349 ***
kate@localhost/res1 in
<iq type='result' id='be5f685ed982f09106cc8759b08b0214'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.349 ***
kate@localhost/res1 out
<presence/>



*** User 2022-04-04 15:12:31.350 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:12:31.351 ***
mike@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-04-04 15:12:31.351 ***
mike@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05983e14eccaa07c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.351 ***
mike@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-04-04 15:12:31.352 ***
mike@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-04-04 15:12:31.353 ***
mike@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:12:31.353 ***
mike@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-04-04 15:12:31.353 ***
mike@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1cf82d25cf72efd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:12:31.353 ***
mike@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-04-04 15:12:31.353 ***
mike@localhost/res1 out
<iq type='set' id='a4dc0d221677e6919833a16dde1022c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.353 ***
mike@localhost/res1 in
<iq id='a4dc0d221677e6919833a16dde1022c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:12:31.353 ***
mike@localhost/res1 out
<iq type='set' id='871fae92f628bf0ab743b86b72929e5e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.354 ***
mike@localhost/res1 in
<iq type='result' id='871fae92f628bf0ab743b86b72929e5e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:12:31.354 ***
mike@localhost/res1 out
<presence/>



*** User 2022-04-04 15:12:31.355 ***
mike@localhost/res1 in
<presence from='mike@localhost/res1' to='mike@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:12:31.355 ***
bOb@localhost/res1 out
<iq type='set' id='1696ca418a293f67908cfb1367eb712f' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>alice@localhost</user>
			<user affiliation='member'>kate@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-04-04 15:12:31.361 ***
bOb@localhost/res1 in
<iq from='muclight.localhost' to='bOb@localhost/res1' type='error' xml:lang='en' id='1696ca418a293f67908cfb1367eb712f'>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>max_occupants_reached</text>
	</error>
</iq>



*** User 2022-04-04 15:12:31.361 ***
alicE@localhost/res1 out
<iq type='set' id='c0ae5629d6124e68b9e46fb2c94e9df7' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>mike@localhost</user>
	</query>
</iq>



*** User 2022-04-04 15:12:31.364 ***
alicE@localhost/res1 in
<iq from='testroom@muclight.localhost' to='alicE@localhost/res1' type='error' xml:lang='en' id='c0ae5629d6124e68b9e46fb2c94e9df7'>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-04-04 15:12:31.365 ***
mike@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:12:31.365 ***
mike@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:12:31.365 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:12:31.365 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:12:31.365 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:12:31.366 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:12:31.366 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:12:31.366 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:12:31.373 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1944.html
*** CT 2022-04-04 15:12:31.374 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4685.html



=== Ended at 2022-04-04 15:12:31
=== successfully completed test case
=== === Returned value: ok


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