=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)
=== Config value:
[{watchdog,<0.71398.0>},
{preset,"odbc_mssql_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@ebfbcff75024.2024-04-25_06.50.26/big_tests.tests.muc_SUITE.logs/run.2024-04-25_07.03.00/muc_suite.send_private_groupchat.142595.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@ebfbcff75024.2024-04-25_06.50.26/big_tests.tests.muc_SUITE.logs/run.2024-04-25_07.03.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,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
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 => 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@ebfbcff75024.2024-04-25_06.50.26"
=== Started at 2024-04-25 07:03:13
*** User 2024-04-25 07:03:13.534 ***🔗
alicE_send_private_groupchat_2832@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-25 07:03:13.536 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d54479a6311b9d36' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 07:03:13.536 ***🔗
alicE_send_private_groupchat_2832@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-25 07:03:13.536 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjgzMgBtYXR5Z3J5c2E=</auth>
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-25 07:03:13.541 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 07:03:13.541 ***🔗
alicE_send_private_groupchat_2832@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-25 07:03:13.542 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9593a9fae8afadab' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2832@localhost'>
*** User 2024-04-25 07:03:13.542 ***🔗
alicE_send_private_groupchat_2832@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-25 07:03:13.542 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='33b8729401c3e55b54cb39ef0f7c220b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 07:03:13.543 ***🔗
alicE_send_private_groupchat_2832@localhost/res1 in
<iq id='33b8729401c3e55b54cb39ef0f7c220b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_send_private_groupchat_2832@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 07:03:13.543 ***🔗
alice_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='1dd01dc96f07887e9c6bc7ec07dcd1a4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.544 ***🔗
alice_send_private_groupchat_2832@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2832@localhost/res1' id='1dd01dc96f07887e9c6bc7ec07dcd1a4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.544 ***🔗
alice_send_private_groupchat_2832@localhost/res1 out
<presence/>
*** User 2024-04-25 07:03:13.547 ***🔗
alice_send_private_groupchat_2832@localhost/res1 in
<presence from='alice_send_private_groupchat_2832@localhost/res1' to='alice_send_private_groupchat_2832@localhost/res1'/>
*** User 2024-04-25 07:03:13.549 ***🔗
bOb_send_private_groupchat_2832@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-25 07:03:13.551 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee00a63d0f28d7da' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 07:03:13.551 ***🔗
bOb_send_private_groupchat_2832@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-25 07:03:13.551 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI4MzIAbWFrcm9saWth</auth>
*** User 2024-04-25 07:03:13.553 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 07:03:13.553 ***🔗
bOb_send_private_groupchat_2832@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-25 07:03:13.555 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7aed039c2cbeab48' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2832@localhost'>
*** User 2024-04-25 07:03:13.556 ***🔗
bOb_send_private_groupchat_2832@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-25 07:03:13.556 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='e33a6a19c7eddedb0d5296fa30abb845'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 07:03:13.556 ***🔗
bOb_send_private_groupchat_2832@localhost/res1 in
<iq id='e33a6a19c7eddedb0d5296fa30abb845' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_send_private_groupchat_2832@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 07:03:13.557 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='16d899b11165e62459e914dbe51fa54a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.557 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2832@localhost/res1' id='16d899b11165e62459e914dbe51fa54a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.559 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
<presence/>
*** User 2024-04-25 07:03:13.561 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<presence from='bob_send_private_groupchat_2832@localhost/res1' to='bob_send_private_groupchat_2832@localhost/res1'/>
*** User 2024-04-25 07:03:13.623 ***🔗
kate_send_private_groupchat_2832@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-25 07:03:13.624 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38e7f2d2b77d5eff' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 07:03:13.624 ***🔗
kate_send_private_groupchat_2832@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-25 07:03:13.624 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yODMyAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-25 07:03:13.626 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 07:03:13.626 ***🔗
kate_send_private_groupchat_2832@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-25 07:03:13.627 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2037e9b39956a88a' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2832@localhost'>
*** User 2024-04-25 07:03:13.627 ***🔗
kate_send_private_groupchat_2832@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-25 07:03:13.627 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='4031ece1f949406c1f4e393c3fcfb19c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 07:03:13.628 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<iq id='4031ece1f949406c1f4e393c3fcfb19c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_send_private_groupchat_2832@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 07:03:13.628 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
<iq type='set' id='fe5b40bbadf02c38917e37ee821393fb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.629 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2832@localhost/res1' id='fe5b40bbadf02c38917e37ee821393fb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 07:03:13.630 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
<presence/>
*** User 2024-04-25 07:03:13.632 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<presence from='kate_send_private_groupchat_2832@localhost/res1' to='kate_send_private_groupchat_2832@localhost/res1'/>
*** User 2024-04-25 07:03:13.633 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2832@muc.localhost/bob_send_private_groupchat_2832'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-25 07:03:13.635 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2832@muc.localhost/bob_send_private_groupchat_2832' to='bob_send_private_groupchat_2832@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-25 07:03:13.636 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<message from='room-alice_send_private_groupchat_2832@muc.localhost' to='bob_send_private_groupchat_2832@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-25 07:03:13.636 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2832@muc.localhost/kate_send_private_groupchat_2832'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-25 07:03:13.638 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2832@muc.localhost/kate_send_private_groupchat_2832' to='bob_send_private_groupchat_2832@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-25 07:03:13.638 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2832@muc.localhost/bob_send_private_groupchat_2832' to='kate_send_private_groupchat_2832@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-25 07:03:13.638 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2832@muc.localhost/kate_send_private_groupchat_2832' to='kate_send_private_groupchat_2832@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-25 07:03:13.639 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
<message from='room-alice_send_private_groupchat_2832@muc.localhost' to='kate_send_private_groupchat_2832@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-25 07:03:13.639 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2832@muc.localhost/kate_send_private_groupchat_2832'>
<body>chat message</body>
</message>
*** User 2024-04-25 07:03:13.640 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<message from='room-alice_send_private_groupchat_2832@muc.localhost/kate_send_private_groupchat_2832' to='bob_send_private_groupchat_2832@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-25 07:03:13.640 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2832@muc.localhost/non-existent'>
<body>chat message</body>
</message>
*** User 2024-04-25 07:03:13.640 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
<message from='room-alice_send_private_groupchat_2832@muc.localhost/non-existent' to='bob_send_private_groupchat_2832@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-25 07:03:13.640 ***🔗
alice_send_private_groupchat_2832@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2832@muc.localhost/bob_send_private_groupchat_2832'>
<body>chat message</body>
</message>
*** User 2024-04-25 07:03:13.641 ***🔗
alice_send_private_groupchat_2832@localhost/res1 in
<message from='room-alice_send_private_groupchat_2832@muc.localhost/bob_send_private_groupchat_2832' to='alice_send_private_groupchat_2832@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-25 07:03:13.641 ***🔗
kate_send_private_groupchat_2832@localhost/res1 out
</stream:stream>
*** User 2024-04-25 07:03:13.642 ***🔗
kate_send_private_groupchat_2832@localhost/res1 in
</stream:stream>
*** User 2024-04-25 07:03:13.642 ***🔗
bob_send_private_groupchat_2832@localhost/res1 out
</stream:stream>
*** User 2024-04-25 07:03:13.642 ***🔗
bob_send_private_groupchat_2832@localhost/res1 in
</stream:stream>
*** User 2024-04-25 07:03:13.642 ***🔗
alice_send_private_groupchat_2832@localhost/res1 out
</stream:stream>
*** User 2024-04-25 07:03:13.643 ***🔗
alice_send_private_groupchat_2832@localhost/res1 in
</stream:stream>
*** User 2024-04-25 07:03:13.644 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2024-04-25 07:03:13
=== successfully completed test case
=== === Returned value: ok