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

=== Config value:

    [{watchdog,<0.65022.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@af661f7c368d.2024-04-23_08.56.35/big_tests.tests.muc_SUITE.logs/run.2024-04-23_09.07.00/muc_suite.send_private_groupchat.128131.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@af661f7c368d.2024-04-23_08.56.35/big_tests.tests.muc_SUITE.logs/run.2024-04-23_09.07.00/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 =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,buffer_max => 100,ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600,backend => cets},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,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@af661f7c368d.2024-04-23_08.56.35"

=== Started at 2024-04-23 09:07:13


*** CT 2024-04-23 09:07:13.545 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4151.html

*** User 2024-04-23 09:07:13.613 ***🔗
alicE_send_private_groupchat_2463@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-04-23 09:07:13.615 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e433d09adfb0ae0a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:07:13.615 ***🔗
alicE_send_private_groupchat_2463@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-04-23 09:07:13.615 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjQ2MwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-23 09:07:13.616 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:07:13.616 ***🔗
alicE_send_private_groupchat_2463@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-04-23 09:07:13.657 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5046f6e32b672d53' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2463@localhost'>

*** User 2024-04-23 09:07:13.658 ***🔗
alicE_send_private_groupchat_2463@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-04-23 09:07:13.658 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='8972c5cd240cd50f47498bbee8cce924'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.659 ***🔗
alicE_send_private_groupchat_2463@localhost/res1 in
<iq id='8972c5cd240cd50f47498bbee8cce924' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.659 ***🔗
alice_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='837c3f9fc29228223b5eb3c33b435ee0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.660 ***🔗
alice_send_private_groupchat_2463@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2463@localhost/res1' id='837c3f9fc29228223b5eb3c33b435ee0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.660 ***🔗
alice_send_private_groupchat_2463@localhost/res1 out
<presence/>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-23 09:07:13.666 ***🔗
alice_send_private_groupchat_2463@localhost/res1 in
<presence from='alice_send_private_groupchat_2463@localhost/res1' to='alice_send_private_groupchat_2463@localhost/res1'/>



*** User 2024-04-23 09:07:13.668 ***🔗
bOb_send_private_groupchat_2463@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-04-23 09:07:13.669 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1717adb2e8c3751c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:07:13.669 ***🔗
bOb_send_private_groupchat_2463@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-04-23 09:07:13.669 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI0NjMAbWFrcm9saWth</auth>



*** User 2024-04-23 09:07:13.673 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:07:13.673 ***🔗
bOb_send_private_groupchat_2463@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-04-23 09:07:13.674 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a22d1235140470a' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2463@localhost'>

*** User 2024-04-23 09:07:13.674 ***🔗
bOb_send_private_groupchat_2463@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-04-23 09:07:13.675 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='4826d07a5080801c42b6fdf478ea5b26'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.676 ***🔗
bOb_send_private_groupchat_2463@localhost/res1 in
<iq id='4826d07a5080801c42b6fdf478ea5b26' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.676 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='16718dd0c9bf8abf109de38277342667'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.678 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2463@localhost/res1' id='16718dd0c9bf8abf109de38277342667' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.680 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
<presence/>



*** User 2024-04-23 09:07:13.683 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<presence from='bob_send_private_groupchat_2463@localhost/res1' to='bob_send_private_groupchat_2463@localhost/res1'/>



*** User 2024-04-23 09:07:13.686 ***🔗
kate_send_private_groupchat_2463@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-04-23 09:07:13.687 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88bace27907a5b46' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:07:13.688 ***🔗
kate_send_private_groupchat_2463@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-04-23 09:07:13.688 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yNDYzAG1ha3Jvd2U7cA==</auth>



*** User 2024-04-23 09:07:13.691 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:07:13.691 ***🔗
kate_send_private_groupchat_2463@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-04-23 09:07:13.692 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='349ec2a2155a9926' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2463@localhost'>

*** User 2024-04-23 09:07:13.692 ***🔗
kate_send_private_groupchat_2463@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-04-23 09:07:13.692 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='dadbb9e69995c771c0307574a9e104d1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.693 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<iq id='dadbb9e69995c771c0307574a9e104d1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:07:13.693 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
<iq type='set' id='b5dfe82c231b8c7525da671b0dad79ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.694 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2463@localhost/res1' id='b5dfe82c231b8c7525da671b0dad79ef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:07:13.694 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
<presence/>



*** User 2024-04-23 09:07:13.757 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<presence from='kate_send_private_groupchat_2463@localhost/res1' to='kate_send_private_groupchat_2463@localhost/res1'/>



*** User 2024-04-23 09:07:13.758 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2463@muc.localhost/bob_send_private_groupchat_2463'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-23 09:07:13.759 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2463@muc.localhost/bob_send_private_groupchat_2463' to='bob_send_private_groupchat_2463@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-23 09:07:13.759 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<message from='room-alice_send_private_groupchat_2463@muc.localhost' to='bob_send_private_groupchat_2463@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-23 09:07:13.759 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2463@muc.localhost/kate_send_private_groupchat_2463'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-23 09:07:13.761 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2463@muc.localhost/kate_send_private_groupchat_2463' to='bob_send_private_groupchat_2463@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-23 09:07:13.761 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2463@muc.localhost/bob_send_private_groupchat_2463' to='kate_send_private_groupchat_2463@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-23 09:07:13.762 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2463@muc.localhost/kate_send_private_groupchat_2463' to='kate_send_private_groupchat_2463@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-23 09:07:13.762 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
<message from='room-alice_send_private_groupchat_2463@muc.localhost' to='kate_send_private_groupchat_2463@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-23 09:07:13.762 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2463@muc.localhost/kate_send_private_groupchat_2463'>
	<body>chat message</body>
</message>



*** User 2024-04-23 09:07:13.764 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<message from='room-alice_send_private_groupchat_2463@muc.localhost/kate_send_private_groupchat_2463' to='bob_send_private_groupchat_2463@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-04-23 09:07:13.764 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2463@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-04-23 09:07:13.765 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
<message from='room-alice_send_private_groupchat_2463@muc.localhost/non-existent' to='bob_send_private_groupchat_2463@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-04-23 09:07:13.765 ***🔗
alice_send_private_groupchat_2463@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2463@muc.localhost/bob_send_private_groupchat_2463'>
	<body>chat message</body>
</message>



*** User 2024-04-23 09:07:13.766 ***🔗
alice_send_private_groupchat_2463@localhost/res1 in
<message from='room-alice_send_private_groupchat_2463@muc.localhost/bob_send_private_groupchat_2463' to='alice_send_private_groupchat_2463@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-04-23 09:07:13.766 ***🔗
kate_send_private_groupchat_2463@localhost/res1 out
</stream:stream>

*** User 2024-04-23 09:07:13.766 ***🔗
kate_send_private_groupchat_2463@localhost/res1 in
</stream:stream>

*** User 2024-04-23 09:07:13.766 ***🔗
bob_send_private_groupchat_2463@localhost/res1 out
</stream:stream>

*** User 2024-04-23 09:07:13.767 ***🔗
bob_send_private_groupchat_2463@localhost/res1 in
</stream:stream>

*** User 2024-04-23 09:07:13.767 ***🔗
alice_send_private_groupchat_2463@localhost/res1 out
</stream:stream>

*** User 2024-04-23 09:07:13.768 ***🔗
alice_send_private_groupchat_2463@localhost/res1 in
</stream:stream>

*** User 2024-04-23 09:07:13.770 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-04-23 09:07:13.885 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4270.html



=== Ended at 2024-04-23 09:07:13
=== successfully completed test case
=== === Returned value: ok