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

=== Config value:

    [{watchdog,<0.71267.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@05491d0c2b35.2024-03-13_08.15.07/big_tests.tests.muc_SUITE.logs/run.2024-03-13_08.28.49/muc_suite.send_private_groupchat.152963.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@05491d0c2b35.2024-03-13_08.15.07/big_tests.tests.muc_SUITE.logs/run.2024-03-13_08.28.49/log_private/"},
     {{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_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_presence => #{},
        mod_disco =>
            #{users_can_see_hidden_services => false,iqdisc => one_queue,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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_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}}},
     {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@05491d0c2b35.2024-03-13_08.15.07"

=== Started at 2024-03-13 08:29:02


*** CT 2024-03-13 08:29:02.807 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4417.html

*** User 2024-03-13 08:29:03.046 ***🔗
alicE_send_private_groupchat_2810@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-13 08:29:03.047 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09546f6e2b43acea' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:29:03.048 ***🔗
alicE_send_private_groupchat_2810@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-13 08:29:03.048 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjgxMABtYXR5Z3J5c2E=</auth>



*** User 2024-03-13 08:29:03.055 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:29:03.056 ***🔗
alicE_send_private_groupchat_2810@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-13 08:29:03.056 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f322196e19d00a0' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2810@localhost'>

*** User 2024-03-13 08:29:03.056 ***🔗
alicE_send_private_groupchat_2810@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-13 08:29:03.056 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='61c0779d57a5dd08061aa8f353fea92d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.057 ***🔗
alicE_send_private_groupchat_2810@localhost/res1 in
<iq id='61c0779d57a5dd08061aa8f353fea92d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2810@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.057 ***🔗
alice_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='f359e14214a17c5c5fe2ed446ab4bfe2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.059 ***🔗
alice_send_private_groupchat_2810@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2810@localhost/res1' id='f359e14214a17c5c5fe2ed446ab4bfe2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.059 ***🔗
alice_send_private_groupchat_2810@localhost/res1 out
<presence/>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-03-13 08:29:03.067 ***🔗
alice_send_private_groupchat_2810@localhost/res1 in
<presence from='alice_send_private_groupchat_2810@localhost/res1' to='alice_send_private_groupchat_2810@localhost/res1'/>



*** User 2024-03-13 08:29:03.068 ***🔗
bOb_send_private_groupchat_2810@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-13 08:29:03.069 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1aea6fce11675b32' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:29:03.070 ***🔗
bOb_send_private_groupchat_2810@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-13 08:29:03.070 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI4MTAAbWFrcm9saWth</auth>



*** User 2024-03-13 08:29:03.072 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:29:03.072 ***🔗
bOb_send_private_groupchat_2810@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-13 08:29:03.073 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='227c2390e78ac84e' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2810@localhost'>

*** User 2024-03-13 08:29:03.073 ***🔗
bOb_send_private_groupchat_2810@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-13 08:29:03.074 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='5cc3835a5c10994e4ad4db8e91e5fbad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.074 ***🔗
bOb_send_private_groupchat_2810@localhost/res1 in
<iq id='5cc3835a5c10994e4ad4db8e91e5fbad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2810@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.074 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='618cc566b8fb06e116d657e87c6a29f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.078 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2810@localhost/res1' id='618cc566b8fb06e116d657e87c6a29f4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.079 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
<presence/>



*** User 2024-03-13 08:29:03.147 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<presence from='bob_send_private_groupchat_2810@localhost/res1' to='bob_send_private_groupchat_2810@localhost/res1'/>



*** User 2024-03-13 08:29:03.148 ***🔗
kate_send_private_groupchat_2810@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-13 08:29:03.149 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad93289a66467bd1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:29:03.150 ***🔗
kate_send_private_groupchat_2810@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-13 08:29:03.150 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yODEwAG1ha3Jvd2U7cA==</auth>



*** User 2024-03-13 08:29:03.153 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:29:03.153 ***🔗
kate_send_private_groupchat_2810@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-13 08:29:03.154 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04ca638990500a97' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2810@localhost'>

*** User 2024-03-13 08:29:03.154 ***🔗
kate_send_private_groupchat_2810@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-13 08:29:03.154 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='19e03d2f8d54f36194d5e17050d815b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.155 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<iq id='19e03d2f8d54f36194d5e17050d815b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2810@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:29:03.155 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
<iq type='set' id='a0466c0fa65718e790d405b6c98e0dea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.157 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2810@localhost/res1' id='a0466c0fa65718e790d405b6c98e0dea' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:29:03.158 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
<presence/>



*** User 2024-03-13 08:29:03.166 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<presence from='kate_send_private_groupchat_2810@localhost/res1' to='kate_send_private_groupchat_2810@localhost/res1'/>



*** User 2024-03-13 08:29:03.166 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2810@muc.localhost/bob_send_private_groupchat_2810'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-13 08:29:03.172 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2810@muc.localhost/bob_send_private_groupchat_2810' to='bob_send_private_groupchat_2810@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-13 08:29:03.172 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<message from='room-alice_send_private_groupchat_2810@muc.localhost' to='bob_send_private_groupchat_2810@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-13 08:29:03.172 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2810@muc.localhost/kate_send_private_groupchat_2810'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-13 08:29:03.176 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2810@muc.localhost/kate_send_private_groupchat_2810' to='bob_send_private_groupchat_2810@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-13 08:29:03.176 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2810@muc.localhost/bob_send_private_groupchat_2810' to='kate_send_private_groupchat_2810@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-13 08:29:03.177 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2810@muc.localhost/kate_send_private_groupchat_2810' to='kate_send_private_groupchat_2810@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-13 08:29:03.177 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
<message from='room-alice_send_private_groupchat_2810@muc.localhost' to='kate_send_private_groupchat_2810@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-13 08:29:03.178 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2810@muc.localhost/kate_send_private_groupchat_2810'>
	<body>chat message</body>
</message>



*** User 2024-03-13 08:29:03.181 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<message from='room-alice_send_private_groupchat_2810@muc.localhost/kate_send_private_groupchat_2810' to='bob_send_private_groupchat_2810@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>It is not allowed to send private messages of type groupchat</text>
	</error>
</message>



*** User 2024-03-13 08:29:03.182 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2810@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-03-13 08:29:03.183 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
<message from='room-alice_send_private_groupchat_2810@muc.localhost/non-existent' to='bob_send_private_groupchat_2810@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='404' type='cancel'>
		<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Recipient is not in the conference room</text>
	</error>
</message>



*** User 2024-03-13 08:29:03.183 ***🔗
alice_send_private_groupchat_2810@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2810@muc.localhost/bob_send_private_groupchat_2810'>
	<body>chat message</body>
</message>



*** User 2024-03-13 08:29:03.184 ***🔗
alice_send_private_groupchat_2810@localhost/res1 in
<message from='room-alice_send_private_groupchat_2810@muc.localhost/bob_send_private_groupchat_2810' to='alice_send_private_groupchat_2810@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='406' type='modify'>
		<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Only occupants are allowed to send messages to the conference</text>
	</error>
</message>



*** User 2024-03-13 08:29:03.185 ***🔗
kate_send_private_groupchat_2810@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:29:03.185 ***🔗
kate_send_private_groupchat_2810@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:29:03.185 ***🔗
bob_send_private_groupchat_2810@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:29:03.186 ***🔗
bob_send_private_groupchat_2810@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:29:03.186 ***🔗
alice_send_private_groupchat_2810@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:29:03.187 ***🔗
alice_send_private_groupchat_2810@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:29:03.188 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-03-13 08:29:03.253 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4537.html



=== Ended at 2024-03-13 08:29:03
=== successfully completed test case
=== === Returned value: ok