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

=== Config value:

    [{watchdog,<0.27773.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_light_SUITE.logs/run.2022-05-25_09.12.20/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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_light_SUITE.logs/run.2022-05-25_09.12.20/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:12:28


*** CT 2022-05-25 09:12:28.139 *** View log from node mongooseim@localhost when started mongooseim@localhost_2272.html
*** CT 2022-05-25 09:12:28.140 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:12:28.148 ***
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-05-25 09:12:28.148 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db5e18ebc67a5dff' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:12:28.150 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:28.150 ***
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-05-25 09:12:28.150 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='983f71cdcace1e43' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:28.150 ***
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-05-25 09:12:28.150 ***
alicE@domain.example.com/res1 out
<iq type='set' id='68f9b20a5de26c4639d3377f943a186e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.150 ***
alicE@domain.example.com/res1 in
<iq id='68f9b20a5de26c4639d3377f943a186e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.150 ***
alice@domain.example.com/res1 out
<iq type='set' id='a8c24f1bcd05790c8f5ebf093798e682'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.151 ***
alice@domain.example.com/res1 in
<iq type='result' id='a8c24f1bcd05790c8f5ebf093798e682'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.151 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:28.152 ***
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:28.153 ***
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-05-25 09:12:28.153 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c317382336dd7a7f' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:12:28.154 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-05-25 09:12:28.155 ***
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-05-25 09:12:28.155 ***
bOb@domain.example.com/res1 out
<iq type='set' id='f0913b2ff4284a05f80baabce54f2477'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.155 ***
bOb@domain.example.com/res1 in
<iq id='f0913b2ff4284a05f80baabce54f2477' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.155 ***
bob@domain.example.com/res1 out
<iq type='set' id='e33d681cbddb33bbc613c32c5bdcb615'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.156 ***
bob@domain.example.com/res1 in
<iq type='result' id='e33d681cbddb33bbc613c32c5bdcb615'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.156 ***
bob@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:28.157 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:28.158 ***
kate@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-05-25 09:12:28.158 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='179afabc48b09008' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:28.158 ***
kate@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-05-25 09:12:28.158 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:12:28.159 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:28.159 ***
kate@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-05-25 09:12:28.159 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80ee85b7ddd60303' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:28.160 ***
kate@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-05-25 09:12:28.160 ***
kate@domain.example.com/res1 out
<iq type='set' id='5e874f00a91e8378e0f77c90687faef7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.160 ***
kate@domain.example.com/res1 in
<iq id='5e874f00a91e8378e0f77c90687faef7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.160 ***
kate@domain.example.com/res1 out
<iq type='set' id='bee44f070f0bd6a5cf914ae9430837f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.160 ***
kate@domain.example.com/res1 in
<iq type='result' id='bee44f070f0bd6a5cf914ae9430837f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.160 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:28.161 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:28.162 ***
mike@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-05-25 09:12:28.162 ***
mike@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a90a876d7b539242' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:28.162 ***
mike@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-05-25 09:12:28.162 ***
mike@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-05-25 09:12:28.163 ***
mike@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:28.163 ***
mike@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-05-25 09:12:28.164 ***
mike@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6873d657bc72c8e2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:28.164 ***
mike@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-05-25 09:12:28.164 ***
mike@domain.example.com/res1 out
<iq type='set' id='b05b575cf11b09aabcd96df32c9f5468'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.164 ***
mike@domain.example.com/res1 in
<iq id='b05b575cf11b09aabcd96df32c9f5468' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:28.164 ***
mike@domain.example.com/res1 out
<iq type='set' id='e13e25c5598aec58db3158d31d3d3786'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.164 ***
mike@domain.example.com/res1 in
<iq type='result' id='e13e25c5598aec58db3158d31d3d3786'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:28.164 ***
mike@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:28.165 ***
mike@domain.example.com/res1 in
<presence from='mike@domain.example.com/res1' to='mike@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:28.166 ***
bob@domain.example.com/res1 out
<iq type='set' id='915c4620509fc82ecb06019b930aad5d' to='muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>alice@domain.example.com</user>
			<user affiliation='member'>kate@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2022-05-25 09:12:28.169 ***
bob@domain.example.com/res1 in
<iq from='muclight.domain.example.com' to='bob@domain.example.com/res1' type='error' xml:lang='en' id='915c4620509fc82ecb06019b930aad5d'>
	<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-05-25 09:12:28.169 ***
alice@domain.example.com/res1 out
<iq type='set' id='f99569c7f615d4fef60823f4ed40dcd5' to='testroom@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>mike@domain.example.com</user>
	</query>
</iq>



*** User 2022-05-25 09:12:28.173 ***
alice@domain.example.com/res1 in
<iq from='testroom@muclight.domain.example.com' to='alice@domain.example.com/res1' type='error' xml:lang='en' id='f99569c7f615d4fef60823f4ed40dcd5'>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-05-25 09:12:28.173 ***
mike@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:28.173 ***
mike@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:28.173 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:28.173 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:28.174 ***
bob@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:28.174 ***
bob@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:28.174 ***
alice@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:28.174 ***
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:12:28.182 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:12:28.183 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2272.html



=== Ended at 2022-05-25 09:12:28
=== successfully completed test case
=== === Returned value: ok


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