=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)
=== Config value:
[{watchdog,<0.65136.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@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.muc_SUITE.logs/run.2024-04-26_12.50.37/muc_suite.send_private_groupchat.55301.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@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.muc_SUITE.logs/run.2024-04-26_12.50.37/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,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
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 => 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@c63aed7f6ecc.2024-04-26_12.39.39"
=== Started at 2024-04-26 12:50:50
*** User 2024-04-26 12:50:50.674 ***🔗
alicE_send_private_groupchat_2595@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-26 12:50:50.676 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c575fd0d6c7ad993' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:50:50.676 ***🔗
alicE_send_private_groupchat_2595@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-26 12:50:50.677 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjU5NQBtYXR5Z3J5c2E=</auth>
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-26 12:50:50.732 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:50:50.732 ***🔗
alicE_send_private_groupchat_2595@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-26 12:50:50.733 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08b7e4e1cf8a361c' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2595@localhost'>
*** User 2024-04-26 12:50:50.733 ***🔗
alicE_send_private_groupchat_2595@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-26 12:50:50.733 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='1b22923db7e08b5df74b774870819c02'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:50:50.734 ***🔗
alicE_send_private_groupchat_2595@localhost/res1 in
<iq id='1b22923db7e08b5df74b774870819c02' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_send_private_groupchat_2595@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:50:50.734 ***🔗
alice_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='c5b6a32c3d5bebd5168ee95d51d19fbc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.735 ***🔗
alice_send_private_groupchat_2595@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2595@localhost/res1' id='c5b6a32c3d5bebd5168ee95d51d19fbc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.735 ***🔗
alice_send_private_groupchat_2595@localhost/res1 out
<presence/>
*** User 2024-04-26 12:50:50.743 ***🔗
alice_send_private_groupchat_2595@localhost/res1 in
<presence from='alice_send_private_groupchat_2595@localhost/res1' to='alice_send_private_groupchat_2595@localhost/res1'/>
*** User 2024-04-26 12:50:50.744 ***🔗
bOb_send_private_groupchat_2595@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-26 12:50:50.746 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67d3e376f8a05226' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:50:50.746 ***🔗
bOb_send_private_groupchat_2595@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-26 12:50:50.746 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI1OTUAbWFrcm9saWth</auth>
*** User 2024-04-26 12:50:50.749 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:50:50.749 ***🔗
bOb_send_private_groupchat_2595@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-26 12:50:50.750 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='137a712b570d4bc6' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2595@localhost'>
*** User 2024-04-26 12:50:50.751 ***🔗
bOb_send_private_groupchat_2595@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-26 12:50:50.751 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='b79be81ec0cd8e7ffdc5a4fb9bfd52f9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:50:50.752 ***🔗
bOb_send_private_groupchat_2595@localhost/res1 in
<iq id='b79be81ec0cd8e7ffdc5a4fb9bfd52f9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_send_private_groupchat_2595@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:50:50.752 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='ec6dc39a1ccb7047193ce785fe06d3b8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.754 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2595@localhost/res1' id='ec6dc39a1ccb7047193ce785fe06d3b8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.754 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
<presence/>
*** User 2024-04-26 12:50:50.756 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<presence from='bob_send_private_groupchat_2595@localhost/res1' to='bob_send_private_groupchat_2595@localhost/res1'/>
*** User 2024-04-26 12:50:50.757 ***🔗
kate_send_private_groupchat_2595@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-26 12:50:50.758 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9647feb19b549a7a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:50:50.758 ***🔗
kate_send_private_groupchat_2595@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-26 12:50:50.759 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yNTk1AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-26 12:50:50.761 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:50:50.761 ***🔗
kate_send_private_groupchat_2595@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-26 12:50:50.762 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b322918e38b483d' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2595@localhost'>
*** User 2024-04-26 12:50:50.762 ***🔗
kate_send_private_groupchat_2595@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-26 12:50:50.762 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='49080d2eb2d079e2c6a4b79c6724b7dd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:50:50.763 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<iq id='49080d2eb2d079e2c6a4b79c6724b7dd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_send_private_groupchat_2595@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:50:50.763 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
<iq type='set' id='2dab9866706558ed4c4dc0c1a966d95c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.764 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2595@localhost/res1' id='2dab9866706558ed4c4dc0c1a966d95c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:50:50.765 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
<presence/>
*** User 2024-04-26 12:50:50.767 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<presence from='kate_send_private_groupchat_2595@localhost/res1' to='kate_send_private_groupchat_2595@localhost/res1'/>
*** User 2024-04-26 12:50:50.768 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2595@muc.localhost/bob_send_private_groupchat_2595'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-26 12:50:50.769 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2595@muc.localhost/bob_send_private_groupchat_2595' to='bob_send_private_groupchat_2595@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-26 12:50:50.830 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<message from='room-alice_send_private_groupchat_2595@muc.localhost' to='bob_send_private_groupchat_2595@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-26 12:50:50.831 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2595@muc.localhost/kate_send_private_groupchat_2595'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-26 12:50:50.833 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2595@muc.localhost/kate_send_private_groupchat_2595' to='bob_send_private_groupchat_2595@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-26 12:50:50.834 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2595@muc.localhost/bob_send_private_groupchat_2595' to='kate_send_private_groupchat_2595@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-26 12:50:50.834 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2595@muc.localhost/kate_send_private_groupchat_2595' to='kate_send_private_groupchat_2595@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-26 12:50:50.834 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
<message from='room-alice_send_private_groupchat_2595@muc.localhost' to='kate_send_private_groupchat_2595@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-26 12:50:50.834 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2595@muc.localhost/kate_send_private_groupchat_2595'>
<body>chat message</body>
</message>
*** User 2024-04-26 12:50:50.836 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<message from='room-alice_send_private_groupchat_2595@muc.localhost/kate_send_private_groupchat_2595' to='bob_send_private_groupchat_2595@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-26 12:50:50.836 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2595@muc.localhost/non-existent'>
<body>chat message</body>
</message>
*** User 2024-04-26 12:50:50.838 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
<message from='room-alice_send_private_groupchat_2595@muc.localhost/non-existent' to='bob_send_private_groupchat_2595@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-26 12:50:50.839 ***🔗
alice_send_private_groupchat_2595@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2595@muc.localhost/bob_send_private_groupchat_2595'>
<body>chat message</body>
</message>
*** User 2024-04-26 12:50:50.840 ***🔗
alice_send_private_groupchat_2595@localhost/res1 in
<message from='room-alice_send_private_groupchat_2595@muc.localhost/bob_send_private_groupchat_2595' to='alice_send_private_groupchat_2595@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-26 12:50:50.841 ***🔗
kate_send_private_groupchat_2595@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:50:50.842 ***🔗
kate_send_private_groupchat_2595@localhost/res1 in
</stream:stream>
*** User 2024-04-26 12:50:50.843 ***🔗
bob_send_private_groupchat_2595@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:50:50.844 ***🔗
bob_send_private_groupchat_2595@localhost/res1 in
</stream:stream>
*** User 2024-04-26 12:50:50.844 ***🔗
alice_send_private_groupchat_2595@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:50:50.845 ***🔗
alice_send_private_groupchat_2595@localhost/res1 in
</stream:stream>
*** User 2024-04-26 12:50:50.848 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2024-04-26 12:50:50
=== successfully completed test case
=== === Returned value: ok