=== Test case: rest_client_SUITE:config_cannot_be_changed_by_member/1 (click for source code) === Config value: [{watchdog,<0.10282.2>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,rdbms}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_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.rest_client_SUITE.logs/run.2022-01-27_15.37.00/rest_client_suite.config_cannot_be_changed_by_member.html"}, {tc_group_properties,[{name,muc_config},{repeat_until_all_ok,3}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/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.">>}}]}}] === 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:37:03
*** User 2022-01-27 15:37:03.562 *** alicE_config_cannot_be_changed_by_member_2184@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:37:03.563 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='929f85bad4103617' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.563 *** alicE_config_cannot_be_changed_by_member_2184@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:37:03.563 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjE4NABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:37:03.564 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.564 *** alicE_config_cannot_be_changed_by_member_2184@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:37:03.564 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1dcaa2901fce1dee' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.564 *** alicE_config_cannot_be_changed_by_member_2184@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:37:03.565 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 out <iq type='set' id='08edcd3619c4bc8a4fca79ac7fcace1f'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:03.565 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <iq id='08edcd3619c4bc8a4fca79ac7fcace1f' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_config_cannot_be_changed_by_member_2184@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:03.565 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 out <iq type='set' id='48d095234cd55def029d638cb6b768e6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:03.565 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <iq type='result' id='48d095234cd55def029d638cb6b768e6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:03.565 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:03.568 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <presence from='alicE_config_cannot_be_changed_by_member_2184@localhost/res1' to='alice_config_cannot_be_changed_by_member_2184@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:03.568 *** bOb_config_cannot_be_changed_by_member_2184@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:37:03.569 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6948c64df47a3435' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.569 *** bOb_config_cannot_be_changed_by_member_2184@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:37:03.569 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWdfY2Fubm90X2JlX2NoYW5nZWRfYnlfbWVtYmVyXzIxODQAbWFrcm9saWth</auth>
*** User 2022-01-27 15:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@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:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a02f213f000dab17' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@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:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 out <iq type='set' id='c14da5dff5e56aa9e43f91fa1d852b91'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:03.570 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <iq id='c14da5dff5e56aa9e43f91fa1d852b91' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_config_cannot_be_changed_by_member_2184@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:03.571 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 out <iq type='set' id='552dc4e4fbf310aa0bea185435fe016c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:03.571 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <iq type='result' id='552dc4e4fbf310aa0bea185435fe016c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:03.571 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:03.573 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <presence from='bOb_config_cannot_be_changed_by_member_2184@localhost/res1' to='bob_config_cannot_be_changed_by_member_2184@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-27 15:37:03.574 *** =WARNING REPORT==== 27-Jan-2022::15:37:03.574808 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:03.582 *** REST request: Code: 200 Req: {<0.10330.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"15111b415473df4a">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8yMTg0QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-297823-582522\"}">>,151,1435} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_2184@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-27 15:37:03.583 *** =WARNING REPORT==== 27-Jan-2022::15:37:03.583854 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:03.596 *** REST request: Code: 204 Req: {<0.10335.2>,<<"/api/rooms/1643-297823-582522/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d1efd6450eca19de">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8yMTg0QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_config_cannot_be_changed_by_member_2184@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}], <<>>,80,6621} Params: #{body => <<"{\"user\":\"bob_config_cannot_be_changed_by_member_2184@localhost\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_2184@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297823-582522/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:03.596 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in <message from='1643-297823-582522@muclight.localhost' to='bob_config_cannot_be_changed_by_member_2184@localhost' id='9d09d395-b4b3-4b16-b88d-eda62533b5ea' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-297823-592027</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_2184@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:37:03.597 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in <message from='1643-297823-582522@muclight.localhost' to='alice_config_cannot_be_changed_by_member_2184@localhost' id='9d09d395-b4b3-4b16-b88d-eda62533b5ea' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-297823-582484</prev-version> <version>1643-297823-592027</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_2184@localhost</user> </x> <body/> <stanza-id by='1643-297823-582522@muclight.localhost' id='BLKI2S4GMQG1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-27 15:37:03.598 *** =WARNING REPORT==== 27-Jan-2022::15:37:03.598058 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:03.607 *** REST request fails: Code: 403 Req: {<0.10340.2>, <<"/api/rooms/1643-297823-582522@muclight.localhost/config">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"dcd0ef743c9920c5">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjE4NEBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>} Result: {{<<"403">>,<<"Forbidden">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"0">>}], <<>>,130,1727} Params: #{body => <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>, creds => {<<"bob_config_cannot_be_changed_by_member_2184@localhost">>, <<"makrolika">>}, method => <<"PUT">>, path => <<"/api/rooms/1643-297823-582522@muclight.localhost/config">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-27 15:37:03.608 *** =WARNING REPORT==== 27-Jan-2022::15:37:03.608656 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:03.616 *** REST request: Code: 200 Req: {<0.10345.2>,<<"/api/rooms/1643-297823-582522">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"5d5affae42e6f7ab">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjE4NEBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"234">>}], <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_config_cannot_be_changed_by_member_2184@localhost\",\"role\":\"owner\"},{\"user\":\"bob_config_cannot_be_changed_by_member_2184@localhost\",\"role\":\"member\"}],\"name\":\"new_room_name\"}">>, 359,1392} Params: #{body => <<>>, creds => {<<"bob_config_cannot_be_changed_by_member_2184@localhost">>, <<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms/1643-297823-582522">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:03.616 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:03.617 *** bOb_config_cannot_be_changed_by_member_2184@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:37:03.617 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:03.617 *** alicE_config_cannot_be_changed_by_member_2184@localhost/res1 in </stream:stream>
=== Ended at 2022-01-27 15:37:03 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result