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

=== Config value:

    [{watchdog,<0.2575.2>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fca70da71937.2023-11-16_09.05.55/big_tests.tests.muc_SUITE.logs/run.2023-11-16_09.17.18/muc_suite.send_private_groupchat.97540.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.muc_SUITE.logs/run.2023-11-16_09.17.18/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 => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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,<<"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@fca70da71937.2023-11-16_09.05.55"

=== Started at 2023-11-16 09:17:32


*** CT 2023-11-16 09:17:32.528 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4366.html

*** User 2023-11-16 09:17:32.660 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
Could not find element wait_for_parallel_writer in Config.


*** User 2023-11-16 09:17:32.670 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4706f9bf34875b8' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:17:32.670 ***🔗
alicE_send_private_groupchat_2594@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 2023-11-16 09:17:32.670 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjU5NABtYXR5Z3J5c2E=</auth>



*** User 2023-11-16 09:17:32.674 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:17:32.675 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:17:32.677 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0e5f5c5d5d45101' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2594@localhost'>

*** User 2023-11-16 09:17:32.677 ***🔗
alicE_send_private_groupchat_2594@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 2023-11-16 09:17:32.677 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='cda84aa190a32d8b4266ce1d0eb2f77d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.680 ***🔗
alicE_send_private_groupchat_2594@localhost/res1 in
<iq id='cda84aa190a32d8b4266ce1d0eb2f77d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2594@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.680 ***🔗
alice_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='58c40bad0cf7eeffd477336f2d9fe832'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.684 ***🔗
alice_send_private_groupchat_2594@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2594@localhost/res1' id='58c40bad0cf7eeffd477336f2d9fe832' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.684 ***🔗
alice_send_private_groupchat_2594@localhost/res1 out
<presence/>



*** User 2023-11-16 09:17:32.715 ***🔗
alice_send_private_groupchat_2594@localhost/res1 in
<presence from='alice_send_private_groupchat_2594@localhost/res1' to='alice_send_private_groupchat_2594@localhost/res1'/>



*** User 2023-11-16 09:17:32.717 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:17:32.719 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='016d8bdae65bed5f' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:17:32.720 ***🔗
bOb_send_private_groupchat_2594@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 2023-11-16 09:17:32.721 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI1OTQAbWFrcm9saWth</auth>



*** User 2023-11-16 09:17:32.725 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:17:32.725 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:17:32.726 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b553f38f09c8cfa6' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2594@localhost'>

*** User 2023-11-16 09:17:32.727 ***🔗
bOb_send_private_groupchat_2594@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 2023-11-16 09:17:32.740 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='a296d277d06d1a382d0eb573c1119144'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.744 ***🔗
bOb_send_private_groupchat_2594@localhost/res1 in
<iq id='a296d277d06d1a382d0eb573c1119144' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2594@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.745 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='5b4e6502963ff14d68da412403286c7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.746 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2594@localhost/res1' id='5b4e6502963ff14d68da412403286c7c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.749 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
<presence/>



*** User 2023-11-16 09:17:32.754 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<presence from='bob_send_private_groupchat_2594@localhost/res1' to='bob_send_private_groupchat_2594@localhost/res1'/>



*** User 2023-11-16 09:17:32.760 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:17:32.761 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cdb524b3d32fa8d' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:17:32.761 ***🔗
kate_send_private_groupchat_2594@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 2023-11-16 09:17:32.761 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yNTk0AG1ha3Jvd2U7cA==</auth>



*** User 2023-11-16 09:17:32.769 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:17:32.770 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:17:32.772 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8aa56df9cd8e97c' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2594@localhost'>

*** User 2023-11-16 09:17:32.773 ***🔗
kate_send_private_groupchat_2594@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 2023-11-16 09:17:32.774 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='7cd6b63feca4fe2f5845bfb8089c8ba3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.776 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<iq id='7cd6b63feca4fe2f5845bfb8089c8ba3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2594@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:17:32.776 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<iq type='set' id='d9a228b1ab026dab7a7245a3a9abe049'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.780 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2594@localhost/res1' id='d9a228b1ab026dab7a7245a3a9abe049' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:17:32.780 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<presence/>



*** User 2023-11-16 09:17:32.784 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<presence from='kate_send_private_groupchat_2594@localhost/res1' to='kate_send_private_groupchat_2594@localhost/res1'/>



*** User 2023-11-16 09:17:32.785 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2594@muc.localhost/bob_send_private_groupchat_2594'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-16 09:17:32.793 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2594@muc.localhost/bob_send_private_groupchat_2594' to='bob_send_private_groupchat_2594@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2023-11-16 09:17:32.793 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<message from='room-alice_send_private_groupchat_2594@muc.localhost' to='bob_send_private_groupchat_2594@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-16 09:17:32.793 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2594@muc.localhost/kate_send_private_groupchat_2594'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-16 09:17:32.819 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2594@muc.localhost/kate_send_private_groupchat_2594' to='bob_send_private_groupchat_2594@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-16 09:17:32.821 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2594@muc.localhost/bob_send_private_groupchat_2594' to='kate_send_private_groupchat_2594@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-16 09:17:32.821 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2594@muc.localhost/kate_send_private_groupchat_2594' to='kate_send_private_groupchat_2594@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-16 09:17:32.821 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
<message from='room-alice_send_private_groupchat_2594@muc.localhost' to='kate_send_private_groupchat_2594@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-16 09:17:32.822 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
<message to='room-alice_send_private_groupchat_2594@muc.localhost/kate_send_private_groupchat_2594' type='groupchat'>
	<body>chat message</body>
</message>



*** User 2023-11-16 09:17:32.826 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<message from='room-alice_send_private_groupchat_2594@muc.localhost/kate_send_private_groupchat_2594' to='bob_send_private_groupchat_2594@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 2023-11-16 09:17:32.826 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
<message to='room-alice_send_private_groupchat_2594@muc.localhost/non-existent' type='chat'>
	<body>chat message</body>
</message>



*** User 2023-11-16 09:17:32.827 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
<message from='room-alice_send_private_groupchat_2594@muc.localhost/non-existent' to='bob_send_private_groupchat_2594@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 2023-11-16 09:17:32.828 ***🔗
alice_send_private_groupchat_2594@localhost/res1 out
<message to='room-alice_send_private_groupchat_2594@muc.localhost/bob_send_private_groupchat_2594' type='chat'>
	<body>chat message</body>
</message>



*** User 2023-11-16 09:17:32.834 ***🔗
alice_send_private_groupchat_2594@localhost/res1 in
<message from='room-alice_send_private_groupchat_2594@muc.localhost/bob_send_private_groupchat_2594' to='alice_send_private_groupchat_2594@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 2023-11-16 09:17:32.834 ***🔗
kate_send_private_groupchat_2594@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:17:32.835 ***🔗
kate_send_private_groupchat_2594@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:17:32.844 ***🔗
bob_send_private_groupchat_2594@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:17:32.847 ***🔗
bob_send_private_groupchat_2594@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:17:32.850 ***🔗
alice_send_private_groupchat_2594@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:17:32.854 ***🔗
alice_send_private_groupchat_2594@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:17:32.870 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2023-11-16 09:17:32.896 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4488.html



=== Ended at 2023-11-16 09:17:33
=== successfully completed test case
=== === Returned value: ok