=== Test case: rest_client_SUITE:config_cannot_be_changed_by_member/1 (click for source code) === Config value: [{watchdog,<0.9645.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59" === Started at 2022-01-25 16:34:35
*** User 2022-01-25 16:34:35.125 *** alicE_config_cannot_be_changed_by_member_2249@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-25 16:34:35.125 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02c395e430b5fbd2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:35.125 *** alicE_config_cannot_be_changed_by_member_2249@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-25 16:34:35.125 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjI0OQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:34:35.126 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:35.126 *** alicE_config_cannot_be_changed_by_member_2249@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-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a7540d784bd21c5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@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-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 out <iq type='set' id='e327c708bd6fb2c6f1a2805a93b89948'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <iq id='e327c708bd6fb2c6f1a2805a93b89948' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_config_cannot_be_changed_by_member_2249@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 out <iq type='set' id='ee857dff7b4e85341a30224bf7bcc66c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:35.127 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <iq type='result' id='ee857dff7b4e85341a30224bf7bcc66c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:35.128 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:35.130 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <presence from='alicE_config_cannot_be_changed_by_member_2249@localhost/res1' to='alice_config_cannot_be_changed_by_member_2249@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:35.130 *** bOb_config_cannot_be_changed_by_member_2249@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-25 16:34:35.131 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7e748b1f122f048' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:35.131 *** bOb_config_cannot_be_changed_by_member_2249@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-25 16:34:35.131 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWdfY2Fubm90X2JlX2NoYW5nZWRfYnlfbWVtYmVyXzIyNDkAbWFrcm9saWth</auth>
*** User 2022-01-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@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-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea8854040d8532b5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@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-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 out <iq type='set' id='b1184675a7f71c16f73a30a4e352c0df'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <iq id='b1184675a7f71c16f73a30a4e352c0df' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_config_cannot_be_changed_by_member_2249@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:35.132 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 out <iq type='set' id='49d3d83da4c624b5f8aa5afdad652632'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:35.133 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <iq type='result' id='49d3d83da4c624b5f8aa5afdad652632'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:35.133 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:35.135 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <presence from='bOb_config_cannot_be_changed_by_member_2249@localhost/res1' to='bob_config_cannot_be_changed_by_member_2249@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-25 16:34:35.136 *** =WARNING REPORT==== 25-Jan-2022::16:34:35.136392 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:35.143 *** REST request: Code: 200 Req: {<0.9693.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"ae7ce6310dfdc12b">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8yMjQ5QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-128475-143449\"}">>,151,1510} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_2249@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-25 16:34:35.145 *** =WARNING REPORT==== 25-Jan-2022::16:34:35.144990 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:35.158 *** REST request: Code: 204 Req: {<0.9698.2>,<<"/api/rooms/1643-128475-143449/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"dc3503ad9818650e">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8yMjQ5QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_config_cannot_be_changed_by_member_2249@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}], <<>>,80,6747} Params: #{body => <<"{\"user\":\"bob_config_cannot_be_changed_by_member_2249@localhost\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_2249@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-128475-143449/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:35.158 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in <message from='1643-128475-143449@muclight.localhost' to='bob_config_cannot_be_changed_by_member_2249@localhost' id='fef2a467-b1c3-4d15-9187-d24dfe13fc8c' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-128475-153341</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_2249@localhost</user> </x> <body/> </message>
*** User 2022-01-25 16:34:35.158 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in <message from='1643-128475-143449@muclight.localhost' to='alice_config_cannot_be_changed_by_member_2249@localhost' id='fef2a467-b1c3-4d15-9187-d24dfe13fc8c' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-128475-143408</prev-version> <version>1643-128475-153341</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_2249@localhost</user> </x> <body/> <stanza-id by='1643-128475-143449@muclight.localhost' id='BLJAL4AF1P01' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-25 16:34:35.159 *** =WARNING REPORT==== 25-Jan-2022::16:34:35.159530 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:35.169 *** REST request fails: Code: 403 Req: {<0.9703.2>, <<"/api/rooms/1643-128475-143449@muclight.localhost/config">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"ea6b3b3867dc7ab9">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjI0OUBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>} Result: {{<<"403">>,<<"Forbidden">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"0">>}], <<>>,130,2142} Params: #{body => <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>, creds => {<<"bob_config_cannot_be_changed_by_member_2249@localhost">>, <<"makrolika">>}, method => <<"PUT">>, path => <<"/api/rooms/1643-128475-143449@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-25 16:34:35.170 *** =WARNING REPORT==== 25-Jan-2022::16:34:35.170229 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:35.179 *** REST request: Code: 200 Req: {<0.9708.2>,<<"/api/rooms/1643-128475-143449">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4431e9fc6859afb6">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMjI0OUBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"234">>}], <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_config_cannot_be_changed_by_member_2249@localhost\",\"role\":\"owner\"},{\"user\":\"bob_config_cannot_be_changed_by_member_2249@localhost\",\"role\":\"member\"}],\"name\":\"new_room_name\"}">>, 359,1539} Params: #{body => <<>>, creds => {<<"bob_config_cannot_be_changed_by_member_2249@localhost">>, <<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms/1643-128475-143449">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:35.180 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:35.180 *** bOb_config_cannot_be_changed_by_member_2249@localhost/res1 in </stream:stream>
*** User 2022-01-25 16:34:35.180 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:35.180 *** alicE_config_cannot_be_changed_by_member_2249@localhost/res1 in </stream:stream>
=== Ended at 2022-01-25 16:34:35 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result