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

=== Config value:

    [{watchdog,<0.89232.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@68af4b791741.2024-04-16_10.12.32/big_tests.tests.muc_SUITE.logs/run.2024-04-16_10.25.49/muc_suite.send_private_groupchat.273538.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@68af4b791741.2024-04-16_10.12.32/big_tests.tests.muc_SUITE.logs/run.2024-04-16_10.25.49/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_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@68af4b791741.2024-04-16_10.12.32"

=== Started at 2024-04-16 10:26:02


*** CT 2024-04-16 10:26:02.885 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4331.html

*** User 2024-04-16 10:26:03.017 ***🔗
alicE_send_private_groupchat_3340@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-16 10:26:03.018 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35fb93d87d590b6e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:26:03.018 ***🔗
alicE_send_private_groupchat_3340@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-16 10:26:03.018 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMzM0MABtYXR5Z3J5c2E=</auth>



*** User 2024-04-16 10:26:03.022 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:26:03.022 ***🔗
alicE_send_private_groupchat_3340@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-16 10:26:03.023 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='223195761dda361e' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_3340@localhost'>

*** User 2024-04-16 10:26:03.024 ***🔗
alicE_send_private_groupchat_3340@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-16 10:26:03.024 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='fb61221ff56d090701cc00e800c82c21'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.025 ***🔗
alicE_send_private_groupchat_3340@localhost/res1 in
<iq id='fb61221ff56d090701cc00e800c82c21' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_3340@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.025 ***🔗
alice_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='ee11cabc9a3d1ae39e70e029fcef1a1d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.026 ***🔗
alice_send_private_groupchat_3340@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_3340@localhost/res1' id='ee11cabc9a3d1ae39e70e029fcef1a1d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.026 ***🔗
alice_send_private_groupchat_3340@localhost/res1 out
<presence/>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-16 10:26:03.034 ***🔗
alice_send_private_groupchat_3340@localhost/res1 in
<presence from='alice_send_private_groupchat_3340@localhost/res1' to='alice_send_private_groupchat_3340@localhost/res1'/>



*** User 2024-04-16 10:26:03.094 ***🔗
bOb_send_private_groupchat_3340@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-16 10:26:03.095 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3d191f9889ff8c5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:26:03.095 ***🔗
bOb_send_private_groupchat_3340@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-16 10:26:03.096 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzMzNDAAbWFrcm9saWth</auth>



*** User 2024-04-16 10:26:03.099 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:26:03.099 ***🔗
bOb_send_private_groupchat_3340@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-16 10:26:03.100 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='796d4af56344296f' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_3340@localhost'>

*** User 2024-04-16 10:26:03.100 ***🔗
bOb_send_private_groupchat_3340@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-16 10:26:03.100 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='c5af6b860d6e3abbd017d392ae08f55e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.101 ***🔗
bOb_send_private_groupchat_3340@localhost/res1 in
<iq id='c5af6b860d6e3abbd017d392ae08f55e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_3340@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.101 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='fbbbf9213bee2bd0edc78f5d13db8946'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.103 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_3340@localhost/res1' id='fbbbf9213bee2bd0edc78f5d13db8946' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.103 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
<presence/>



*** User 2024-04-16 10:26:03.106 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<presence from='bob_send_private_groupchat_3340@localhost/res1' to='bob_send_private_groupchat_3340@localhost/res1'/>



*** User 2024-04-16 10:26:03.107 ***🔗
kate_send_private_groupchat_3340@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-16 10:26:03.108 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a47fdf94621a7df5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:26:03.108 ***🔗
kate_send_private_groupchat_3340@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-16 10:26:03.109 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8zMzQwAG1ha3Jvd2U7cA==</auth>



*** User 2024-04-16 10:26:03.111 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:26:03.111 ***🔗
kate_send_private_groupchat_3340@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-16 10:26:03.112 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c42c04b495a4ad7d' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_3340@localhost'>

*** User 2024-04-16 10:26:03.112 ***🔗
kate_send_private_groupchat_3340@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-16 10:26:03.112 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='759f9e1f8125e1e43d34c5b9a8bace2d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.114 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<iq id='759f9e1f8125e1e43d34c5b9a8bace2d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_3340@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:26:03.114 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
<iq type='set' id='cff6c81f496a0d34a05944898a92463e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.115 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_3340@localhost/res1' id='cff6c81f496a0d34a05944898a92463e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:26:03.115 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
<presence/>



*** User 2024-04-16 10:26:03.118 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<presence from='kate_send_private_groupchat_3340@localhost/res1' to='kate_send_private_groupchat_3340@localhost/res1'/>



*** User 2024-04-16 10:26:03.118 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
<presence to='room-alice_send_private_groupchat_3340@muc.localhost/bob_send_private_groupchat_3340'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 10:26:03.122 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<presence from='room-alice_send_private_groupchat_3340@muc.localhost/bob_send_private_groupchat_3340' to='bob_send_private_groupchat_3340@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-16 10:26:03.122 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<message from='room-alice_send_private_groupchat_3340@muc.localhost' to='bob_send_private_groupchat_3340@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 10:26:03.122 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
<presence to='room-alice_send_private_groupchat_3340@muc.localhost/kate_send_private_groupchat_3340'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 10:26:03.127 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<presence from='room-alice_send_private_groupchat_3340@muc.localhost/kate_send_private_groupchat_3340' to='bob_send_private_groupchat_3340@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 10:26:03.127 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<presence from='room-alice_send_private_groupchat_3340@muc.localhost/bob_send_private_groupchat_3340' to='kate_send_private_groupchat_3340@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 10:26:03.127 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<presence from='room-alice_send_private_groupchat_3340@muc.localhost/kate_send_private_groupchat_3340' to='kate_send_private_groupchat_3340@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 10:26:03.128 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
<message from='room-alice_send_private_groupchat_3340@muc.localhost' to='kate_send_private_groupchat_3340@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 10:26:03.128 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_3340@muc.localhost/kate_send_private_groupchat_3340'>
	<body>chat message</body>
</message>



*** User 2024-04-16 10:26:03.129 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<message from='room-alice_send_private_groupchat_3340@muc.localhost/kate_send_private_groupchat_3340' to='bob_send_private_groupchat_3340@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-16 10:26:03.129 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_3340@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-04-16 10:26:03.194 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
<message from='room-alice_send_private_groupchat_3340@muc.localhost/non-existent' to='bob_send_private_groupchat_3340@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-16 10:26:03.194 ***🔗
alice_send_private_groupchat_3340@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_3340@muc.localhost/bob_send_private_groupchat_3340'>
	<body>chat message</body>
</message>



*** User 2024-04-16 10:26:03.195 ***🔗
alice_send_private_groupchat_3340@localhost/res1 in
<message from='room-alice_send_private_groupchat_3340@muc.localhost/bob_send_private_groupchat_3340' to='alice_send_private_groupchat_3340@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-16 10:26:03.196 ***🔗
kate_send_private_groupchat_3340@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:26:03.196 ***🔗
kate_send_private_groupchat_3340@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:26:03.196 ***🔗
bob_send_private_groupchat_3340@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:26:03.196 ***🔗
bob_send_private_groupchat_3340@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:26:03.196 ***🔗
alice_send_private_groupchat_3340@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:26:03.197 ***🔗
alice_send_private_groupchat_3340@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:26:03.198 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-04-16 10:26:03.225 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4450.html



=== Ended at 2024-04-16 10:26:03
=== successfully completed test case
=== === Returned value: ok