=== Test case: muc_SUITE:configure_anonymous/1 (click for source code)
=== Config value:
[{watchdog,<0.26122.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.33.07/muc_suite.configure_anonymous.122242.html"},
{tc_group_properties,[{name,owner},{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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.33.07/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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,<<"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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:33:25
*** User 2022-01-27 15:33:25.580 ***
alicE_configure_anonymous_1739@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:33:25.581 ***
alicE_configure_anonymous_1739@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='689fb2e2afe923fd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:25.581 ***
alicE_configure_anonymous_1739@localhost/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-01-27 15:33:25.581 ***
alicE_configure_anonymous_1739@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ3VyZV9hbm9ueW1vdXNfMTczOQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:33:25.582 ***
alicE_configure_anonymous_1739@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:25.582 ***
alicE_configure_anonymous_1739@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:33:25.583 ***
alicE_configure_anonymous_1739@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d62167b6221a0199' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:25.583 ***
alicE_configure_anonymous_1739@localhost/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-01-27 15:33:25.583 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='cb03c375bb8ab6396883d0be1ede1d66'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:25.584 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq id='cb03c375bb8ab6396883d0be1ede1d66' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_configure_anonymous_1739@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:25.584 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='e0d835030a93702df238d5c752d2d2f3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:25.584 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq type='result' id='e0d835030a93702df238d5c752d2d2f3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:25.585 ***
alicE_configure_anonymous_1739@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:25.642 ***
alicE_configure_anonymous_1739@localhost/res1 in
<presence from='alicE_configure_anonymous_1739@localhost/res1' to='alice_configure_anonymous_1739@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:25.643 ***
bOb_configure_anonymous_1739@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:33:25.643 ***
bOb_configure_anonymous_1739@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9171dabd17ade850' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:25.644 ***
bOb_configure_anonymous_1739@localhost/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-01-27 15:33:25.644 ***
bOb_configure_anonymous_1739@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWd1cmVfYW5vbnltb3VzXzE3MzkAbWFrcm9saWth</auth>
*** User 2022-01-27 15:33:25.649 ***
bOb_configure_anonymous_1739@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:25.649 ***
bOb_configure_anonymous_1739@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:33:25.649 ***
bOb_configure_anonymous_1739@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d77e8fdbca529ed' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:25.649 ***
bOb_configure_anonymous_1739@localhost/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-01-27 15:33:25.649 ***
bOb_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='da81adbacbacb731ec3e5b768c5b8417'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:25.650 ***
bOb_configure_anonymous_1739@localhost/res1 in
<iq id='da81adbacbacb731ec3e5b768c5b8417' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_configure_anonymous_1739@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:25.650 ***
bOb_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='7fb81dd892600d02f58b1b337ef704cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:25.650 ***
bOb_configure_anonymous_1739@localhost/res1 in
<iq type='result' id='7fb81dd892600d02f58b1b337ef704cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:25.650 ***
bOb_configure_anonymous_1739@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:25.652 ***
bOb_configure_anonymous_1739@localhost/res1 in
<presence from='bOb_configure_anonymous_1739@localhost/res1' to='bob_configure_anonymous_1739@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:25.652 ***
bOb_configure_anonymous_1739@localhost/res1 out
<presence to='room-alice_configure_anonymous_1739@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-01-27 15:33:25.653 ***
bOb_configure_anonymous_1739@localhost/res1 in
<presence from='room-alice_configure_anonymous_1739@muc.localhost/bob' to='bOb_configure_anonymous_1739@localhost/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-01-27 15:33:25.653 ***
bOb_configure_anonymous_1739@localhost/res1 in
<message from='room-alice_configure_anonymous_1739@muc.localhost' to='bOb_configure_anonymous_1739@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-01-27 15:33:25.653 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='get' id='9fbbbe8d9cfe0395a1c9591a0adf59a2' to='room-alice_configure_anonymous_1739@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-01-27 15:33:25.654 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq from='room-alice_configure_anonymous_1739@muc.localhost' to='alicE_configure_anonymous_1739@localhost/res1' id='9fbbbe8d9cfe0395a1c9591a0adf59a2' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<instructions>You need an x:data capable client to configure room</instructions>
<x xmlns='jabber:x:data' type='form'>
<title>Configuration of room room-alice_configure_anonymous_1739@muc.localhost</title>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='text-single' label='Room title' var='muc#roomconfig_roomname'>
<value/>
</field>
<field type='text-single' label='Room description' var='muc#roomconfig_roomdesc'>
<value/>
</field>
<field type='boolean' label='Make room persistent' var='muc#roomconfig_persistentroom'>
<value>1</value>
</field>
<field type='boolean' label='Make room public searchable' var='muc#roomconfig_publicroom'>
<value>1</value>
</field>
<field type='boolean' label='Make participants list public' var='public_list'>
<value>1</value>
</field>
<field type='boolean' label='Make room password protected' var='muc#roomconfig_passwordprotectedroom'>
<value>0</value>
</field>
<field type='text-private' label='Password' var='muc#roomconfig_roomsecret'>
<value/>
</field>
<field type='list-multi' label='Roles and affiliations that may retrieve member list' var='muc#roomconfig_getmemberlist'>
<value>moderator</value>
<value>participant</value>
<value>visitor</value>
<option label='moderator'>
<value>moderator</value>
</option>
<option label='participant'>
<value>participant</value>
</option>
<option label='visitor'>
<value>visitor</value>
</option>
</field>
<field type='list-single' label='Maximum Number of Occupants' var='muc#roomconfig_maxusers'>
<value>200</value>
<option label='5'>
<value>5</value>
</option>
<option label='10'>
<value>10</value>
</option>
<option label='20'>
<value>20</value>
</option>
<option label='30'>
<value>30</value>
</option>
<option label='50'>
<value>50</value>
</option>
<option label='100'>
<value>100</value>
</option>
<option label='200'>
<value>200</value>
</option>
</field>
<field type='list-single' label='Present real Jabber IDs to' var='muc#roomconfig_whois'>
<value>moderators</value>
<option label='moderators only'>
<value>moderators</value>
</option>
<option label='anyone'>
<value>anyone</value>
</option>
</field>
<field type='boolean' label='Make room members-only' var='muc#roomconfig_membersonly'>
<value>0</value>
</field>
<field type='boolean' label='Make room moderated' var='muc#roomconfig_moderatedroom'>
<value>1</value>
</field>
<field type='boolean' label='Default users as participants' var='members_by_default'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to change the subject' var='muc#roomconfig_changesubject'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send private messages' var='allow_private_messages'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to query other users' var='allow_query_users'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send invites' var='muc#roomconfig_allowinvites'>
<value>0</value>
</field>
<field type='boolean' label='Allow users to enter room with multiple sessions' var='muc#roomconfig_allowmultisessions'>
<value>0</value>
</field>
<field type='boolean' label='Allow visitors to send status text in presence updates' var='muc#roomconfig_allowvisitorstatus'>
<value>1</value>
</field>
<field type='boolean' label='Allow visitors to change nickname' var='muc#roomconfig_allowvisitornickchange'>
<value>1</value>
</field>
<field type='boolean' label='Enable logging' var='muc#roomconfig_enablelogging'>
<value>0</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 15:33:25.654 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='5778a6e879ccd1e8ef71ed7e829878b7' to='room-alice_configure_anonymous_1739@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='list-single' var='muc#roomconfig_whois'>
<value>anyone</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 15:33:25.687 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq from='room-alice_configure_anonymous_1739@muc.localhost' to='alicE_configure_anonymous_1739@localhost/res1' id='5778a6e879ccd1e8ef71ed7e829878b7' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-01-27 15:33:25.687 ***
bOb_configure_anonymous_1739@localhost/res1 in
<message from='room-alice_configure_anonymous_1739@muc.localhost' to='bOb_configure_anonymous_1739@localhost/res1' type='groupchat'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<status code='172'/>
</x>
</message>
*** User 2022-01-27 15:33:25.687 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='get' id='bae055755c4803ca62e268d063748894' to='room-alice_configure_anonymous_1739@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-01-27 15:33:25.688 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq from='room-alice_configure_anonymous_1739@muc.localhost' to='alicE_configure_anonymous_1739@localhost/res1' id='bae055755c4803ca62e268d063748894' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<instructions>You need an x:data capable client to configure room</instructions>
<x xmlns='jabber:x:data' type='form'>
<title>Configuration of room room-alice_configure_anonymous_1739@muc.localhost</title>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='text-single' label='Room title' var='muc#roomconfig_roomname'>
<value/>
</field>
<field type='text-single' label='Room description' var='muc#roomconfig_roomdesc'>
<value/>
</field>
<field type='boolean' label='Make room persistent' var='muc#roomconfig_persistentroom'>
<value>1</value>
</field>
<field type='boolean' label='Make room public searchable' var='muc#roomconfig_publicroom'>
<value>1</value>
</field>
<field type='boolean' label='Make participants list public' var='public_list'>
<value>1</value>
</field>
<field type='boolean' label='Make room password protected' var='muc#roomconfig_passwordprotectedroom'>
<value>0</value>
</field>
<field type='text-private' label='Password' var='muc#roomconfig_roomsecret'>
<value/>
</field>
<field type='list-multi' label='Roles and affiliations that may retrieve member list' var='muc#roomconfig_getmemberlist'>
<value>moderator</value>
<value>participant</value>
<value>visitor</value>
<option label='moderator'>
<value>moderator</value>
</option>
<option label='participant'>
<value>participant</value>
</option>
<option label='visitor'>
<value>visitor</value>
</option>
</field>
<field type='list-single' label='Maximum Number of Occupants' var='muc#roomconfig_maxusers'>
<value>200</value>
<option label='5'>
<value>5</value>
</option>
<option label='10'>
<value>10</value>
</option>
<option label='20'>
<value>20</value>
</option>
<option label='30'>
<value>30</value>
</option>
<option label='50'>
<value>50</value>
</option>
<option label='100'>
<value>100</value>
</option>
<option label='200'>
<value>200</value>
</option>
</field>
<field type='list-single' label='Present real Jabber IDs to' var='muc#roomconfig_whois'>
<value>anyone</value>
<option label='moderators only'>
<value>moderators</value>
</option>
<option label='anyone'>
<value>anyone</value>
</option>
</field>
<field type='boolean' label='Make room members-only' var='muc#roomconfig_membersonly'>
<value>0</value>
</field>
<field type='boolean' label='Make room moderated' var='muc#roomconfig_moderatedroom'>
<value>1</value>
</field>
<field type='boolean' label='Default users as participants' var='members_by_default'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to change the subject' var='muc#roomconfig_changesubject'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send private messages' var='allow_private_messages'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to query other users' var='allow_query_users'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send invites' var='muc#roomconfig_allowinvites'>
<value>0</value>
</field>
<field type='boolean' label='Allow users to enter room with multiple sessions' var='muc#roomconfig_allowmultisessions'>
<value>0</value>
</field>
<field type='boolean' label='Allow visitors to send status text in presence updates' var='muc#roomconfig_allowvisitorstatus'>
<value>1</value>
</field>
<field type='boolean' label='Allow visitors to change nickname' var='muc#roomconfig_allowvisitornickchange'>
<value>1</value>
</field>
<field type='boolean' label='Enable logging' var='muc#roomconfig_enablelogging'>
<value>0</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 15:33:25.688 ***
alicE_configure_anonymous_1739@localhost/res1 out
<iq type='set' id='12bc2fec558736e834495ba61865c8dd' to='room-alice_configure_anonymous_1739@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='list-single' var='muc#roomconfig_whois'>
<value>moderators</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 15:33:25.753 ***
alicE_configure_anonymous_1739@localhost/res1 in
<iq from='room-alice_configure_anonymous_1739@muc.localhost' to='alicE_configure_anonymous_1739@localhost/res1' id='12bc2fec558736e834495ba61865c8dd' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-01-27 15:33:25.753 ***
bOb_configure_anonymous_1739@localhost/res1 in
<message from='room-alice_configure_anonymous_1739@muc.localhost' to='bOb_configure_anonymous_1739@localhost/res1' type='groupchat'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<status code='173'/>
</x>
</message>
*** User 2022-01-27 15:33:25.753 ***
bOb_configure_anonymous_1739@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:25.753 ***
bOb_configure_anonymous_1739@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:25.753 ***
alicE_configure_anonymous_1739@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:25.788 ***
alicE_configure_anonymous_1739@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:33:25
=== successfully completed test case
=== === Returned value: ok