=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)
=== Config value:
[{watchdog,<0.17498.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/muc_suite.send_private_groupchat.122626.html"},
{tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:13:21
*** User 2022-02-02 15:13:21.695 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.696 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98779413dd991c5e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.697 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.697 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMTQ1MgBtYXR5Z3J5c2E=</auth>
*** User 2022-02-02 15:13:21.700 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.700 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.701 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f49af0621649cefa' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.701 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.701 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='98f7d7a2034d3d65ab2afd57623de68e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.703 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<iq id='98f7d7a2034d3d65ab2afd57623de68e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_send_private_groupchat_1452@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.704 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='d953f6ac07bfe780477dfcdae7de502f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.704 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<iq type='result' id='d953f6ac07bfe780477dfcdae7de502f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.705 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.764 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='alicE_send_private_groupchat_1452@domain.example.com/res1' to='alice_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.765 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.767 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49e3a385d24637a2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.767 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.768 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzE0NTIAbWFrcm9saWth</auth>
*** User 2022-02-02 15:13:21.770 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.770 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.770 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db791bafbf5c9e1d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.770 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.770 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='2decabc72ac2309ebec91a0eb90fc6c6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.771 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<iq id='2decabc72ac2309ebec91a0eb90fc6c6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_send_private_groupchat_1452@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.772 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='b1dd9ea2d01f04b3c91d28ac43351326'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.772 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<iq type='result' id='b1dd9ea2d01f04b3c91d28ac43351326'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.773 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.779 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='bOb_send_private_groupchat_1452@domain.example.com/res1' to='bob_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.781 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.782 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88c9132852abdd12' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.783 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.783 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8xNDUyAG1ha3Jvd2U7cA==</auth>
*** User 2022-02-02 15:13:21.786 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:13:21.786 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-02-02 15:13:21.787 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7de7965142b621a0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:13:21.787 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:13:21.787 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='eb7e13cf3dba34b1b951ed6a2d18d8e0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:13:21.788 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<iq id='eb7e13cf3dba34b1b951ed6a2d18d8e0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_send_private_groupchat_1452@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:13:21.788 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<iq type='set' id='65123ad21dd3654e2bb89f1dd6b1f7e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.789 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<iq type='result' id='65123ad21dd3654e2bb89f1dd6b1f7e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:13:21.790 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:13:21.794 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='kate_send_private_groupchat_1452@domain.example.com/res1' to='kate_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:13:21.794 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<presence to='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/bOb_send_private_groupchat_1452'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-02-02 15:13:21.799 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/bOb_send_private_groupchat_1452' to='bOb_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-02-02 15:13:21.799 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<message from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com' to='bOb_send_private_groupchat_1452@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-02-02 15:13:21.799 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
<presence to='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/kate_send_private_groupchat_1452'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-02-02 15:13:21.861 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/kate_send_private_groupchat_1452' to='bOb_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-02-02 15:13:21.862 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/bOb_send_private_groupchat_1452' to='kate_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-02-02 15:13:21.862 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<presence from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/kate_send_private_groupchat_1452' to='kate_send_private_groupchat_1452@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-02-02 15:13:21.862 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
<message from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com' to='kate_send_private_groupchat_1452@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-02-02 15:13:21.863 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<message to='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/kate_send_private_groupchat_1452' type='groupchat'>
<body>chat message</body>
</message>
*** User 2022-02-02 15:13:21.864 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<message from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/kate_send_private_groupchat_1452' to='bOb_send_private_groupchat_1452@domain.example.com/res1' type='error' xml:lang='en'>
<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 2022-02-02 15:13:21.864 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
<message to='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/non-existent' type='chat'>
<body>chat message</body>
</message>
*** User 2022-02-02 15:13:21.865 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
<message from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/non-existent' to='bOb_send_private_groupchat_1452@domain.example.com/res1' type='error' xml:lang='en'>
<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 2022-02-02 15:13:21.865 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
<message to='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/bOb_send_private_groupchat_1452' type='chat'>
<body>chat message</body>
</message>
*** User 2022-02-02 15:13:21.867 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
<message from='room-alice_send_private_groupchat_1452@groupchats.domain.example.com/bOb_send_private_groupchat_1452' to='alicE_send_private_groupchat_1452@domain.example.com/res1' type='error' xml:lang='en'>
<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 2022-02-02 15:13:21.867 ***
kate_send_private_groupchat_1452@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.868 ***
kate_send_private_groupchat_1452@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:13:21.868 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.869 ***
bOb_send_private_groupchat_1452@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:13:21.869 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:13:21.870 ***
alicE_send_private_groupchat_1452@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:13:21
=== successfully completed test case
=== === Returned value: ok