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

=== Config value:

    [{watchdog,<0.6347.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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.muc_SUITE.logs/run.2024-04-09_11.46.38/muc_suite.send_private_groupchat.228610.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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.muc_SUITE.logs/run.2024-04-09_11.46.38/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@a3455d6f2f61.2024-04-09_11.34.59"

=== Started at 2024-04-09 11:46:51


*** CT 2024-04-09 11:46:51.565 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4478.html

*** User 2024-04-09 11:46:51.656 ***🔗
alicE_send_private_groupchat_2825@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-09 11:46:51.657 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b5a2e37623be0d3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:46:51.658 ***🔗
alicE_send_private_groupchat_2825@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-09 11:46:51.658 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjgyNQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-09 11:46:51.717 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:46:51.717 ***🔗
alicE_send_private_groupchat_2825@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-09 11:46:51.718 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48fb31755ccc6998' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2825@localhost'>

*** User 2024-04-09 11:46:51.718 ***🔗
alicE_send_private_groupchat_2825@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-09 11:46:51.719 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='f71c5c0b981125328719689cc92ed977'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.720 ***🔗
alicE_send_private_groupchat_2825@localhost/res1 in
<iq id='f71c5c0b981125328719689cc92ed977' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2825@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.720 ***🔗
alice_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='be2596618699aa128fce10d777cd5525'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:51.721 ***🔗
alice_send_private_groupchat_2825@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2825@localhost/res1' id='be2596618699aa128fce10d777cd5525' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-09 11:46:51.722 ***🔗
alice_send_private_groupchat_2825@localhost/res1 out
<presence/>



*** User 2024-04-09 11:46:51.724 ***🔗
alice_send_private_groupchat_2825@localhost/res1 in
<presence from='alice_send_private_groupchat_2825@localhost/res1' to='alice_send_private_groupchat_2825@localhost/res1'/>



*** User 2024-04-09 11:46:51.727 ***🔗
bOb_send_private_groupchat_2825@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-09 11:46:51.728 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='734649caa1f6fb1d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:46:51.728 ***🔗
bOb_send_private_groupchat_2825@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-09 11:46:51.728 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI4MjUAbWFrcm9saWth</auth>



*** User 2024-04-09 11:46:51.730 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:46:51.730 ***🔗
bOb_send_private_groupchat_2825@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-09 11:46:51.731 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af73f866eec7aa5b' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2825@localhost'>

*** User 2024-04-09 11:46:51.731 ***🔗
bOb_send_private_groupchat_2825@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-09 11:46:51.731 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='d32c02e61950829b85092a848bf610ea'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.732 ***🔗
bOb_send_private_groupchat_2825@localhost/res1 in
<iq id='d32c02e61950829b85092a848bf610ea' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2825@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.733 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='974dd62bd812e38a649a73c5838ee2ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:51.734 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2825@localhost/res1' id='974dd62bd812e38a649a73c5838ee2ee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:51.735 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
<presence/>



*** User 2024-04-09 11:46:51.737 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<presence from='bob_send_private_groupchat_2825@localhost/res1' to='bob_send_private_groupchat_2825@localhost/res1'/>



*** User 2024-04-09 11:46:51.740 ***🔗
kate_send_private_groupchat_2825@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-09 11:46:51.741 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eaf509b067f1db88' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:46:51.741 ***🔗
kate_send_private_groupchat_2825@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-09 11:46:51.741 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yODI1AG1ha3Jvd2U7cA==</auth>



*** User 2024-04-09 11:46:51.743 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:46:51.743 ***🔗
kate_send_private_groupchat_2825@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-09 11:46:51.744 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0bde3604ffe945fe' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2825@localhost'>

*** User 2024-04-09 11:46:51.744 ***🔗
kate_send_private_groupchat_2825@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-09 11:46:51.744 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='50dd66a8edfe3f2c26777f130389a82e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.745 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<iq id='50dd66a8edfe3f2c26777f130389a82e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2825@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:46:51.745 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
<iq type='set' id='08506f6922fe040ee378b8861b0561f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:51.745 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2825@localhost/res1' id='08506f6922fe040ee378b8861b0561f7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:51.746 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
<presence/>



*** User 2024-04-09 11:46:51.748 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<presence from='kate_send_private_groupchat_2825@localhost/res1' to='kate_send_private_groupchat_2825@localhost/res1'/>



*** User 2024-04-09 11:46:51.748 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2825@muc.localhost/bob_send_private_groupchat_2825'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-09 11:46:51.750 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2825@muc.localhost/bob_send_private_groupchat_2825' to='bob_send_private_groupchat_2825@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-09 11:46:51.751 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<message from='room-alice_send_private_groupchat_2825@muc.localhost' to='bob_send_private_groupchat_2825@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-09 11:46:51.752 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2825@muc.localhost/kate_send_private_groupchat_2825'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-09 11:46:51.753 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2825@muc.localhost/kate_send_private_groupchat_2825' to='bob_send_private_groupchat_2825@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-09 11:46:51.754 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2825@muc.localhost/bob_send_private_groupchat_2825' to='kate_send_private_groupchat_2825@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-09 11:46:51.754 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2825@muc.localhost/kate_send_private_groupchat_2825' to='kate_send_private_groupchat_2825@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-09 11:46:51.754 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
<message from='room-alice_send_private_groupchat_2825@muc.localhost' to='kate_send_private_groupchat_2825@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-09 11:46:51.754 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
<message to='room-alice_send_private_groupchat_2825@muc.localhost/kate_send_private_groupchat_2825' type='groupchat'>
	<body>chat message</body>
</message>



*** User 2024-04-09 11:46:51.816 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<message from='room-alice_send_private_groupchat_2825@muc.localhost/kate_send_private_groupchat_2825' to='bob_send_private_groupchat_2825@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-09 11:46:51.817 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
<message to='room-alice_send_private_groupchat_2825@muc.localhost/non-existent' type='chat'>
	<body>chat message</body>
</message>



*** User 2024-04-09 11:46:51.817 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
<message from='room-alice_send_private_groupchat_2825@muc.localhost/non-existent' to='bob_send_private_groupchat_2825@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-09 11:46:51.818 ***🔗
alice_send_private_groupchat_2825@localhost/res1 out
<message to='room-alice_send_private_groupchat_2825@muc.localhost/bob_send_private_groupchat_2825' type='chat'>
	<body>chat message</body>
</message>



*** User 2024-04-09 11:46:51.819 ***🔗
alice_send_private_groupchat_2825@localhost/res1 in
<message from='room-alice_send_private_groupchat_2825@muc.localhost/bob_send_private_groupchat_2825' to='alice_send_private_groupchat_2825@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-09 11:46:51.819 ***🔗
kate_send_private_groupchat_2825@localhost/res1 out
</stream:stream>

*** User 2024-04-09 11:46:51.820 ***🔗
kate_send_private_groupchat_2825@localhost/res1 in
</stream:stream>

*** User 2024-04-09 11:46:51.820 ***🔗
bob_send_private_groupchat_2825@localhost/res1 out
</stream:stream>

*** User 2024-04-09 11:46:51.820 ***🔗
bob_send_private_groupchat_2825@localhost/res1 in
</stream:stream>

*** User 2024-04-09 11:46:51.821 ***🔗
alice_send_private_groupchat_2825@localhost/res1 out
</stream:stream>

*** User 2024-04-09 11:46:51.821 ***🔗
alice_send_private_groupchat_2825@localhost/res1 in
</stream:stream>

*** User 2024-04-09 11:46:51.822 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-04-09 11:46:51.862 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4598.html



=== Ended at 2024-04-09 11:46:51
=== successfully completed test case
=== === Returned value: ok