=== Test case: rest_client_SUITE:config_cannot_be_changed_by_member/1 (click for source code) === Config value: [{watchdog,<0.15302.1>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,disabled}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"internal_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.35.46/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.35.46/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 => [],mod_sic => [],mod_stream_management => [], mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07" === Started at 2022-01-27 15:35:48
*** User 2022-01-27 15:35:48.620 *** alicE_config_cannot_be_changed_by_member_1368@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:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e8639b6dad93534' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@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:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMTM2OABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@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:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05bfe8d27e30946a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:48.621 *** alicE_config_cannot_be_changed_by_member_1368@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:35:48.622 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 out <iq type='set' id='5bf0b9fadcd9878833ae963b025971a0'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:35:48.622 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <iq id='5bf0b9fadcd9878833ae963b025971a0' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_config_cannot_be_changed_by_member_1368@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:35:48.622 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 out <iq type='set' id='3d1beebce4504c660b07f31cee9bb79f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:35:48.622 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <iq type='result' id='3d1beebce4504c660b07f31cee9bb79f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:35:48.622 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 out <presence/>
*** User 2022-01-27 15:35:48.623 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <presence from='alicE_config_cannot_be_changed_by_member_1368@localhost/res1' to='alice_config_cannot_be_changed_by_member_1368@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:35:48.623 *** bOb_config_cannot_be_changed_by_member_1368@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:35:48.623 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbceca5cf05c8c2c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:48.623 *** bOb_config_cannot_be_changed_by_member_1368@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:35:48.623 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWdfY2Fubm90X2JlX2NoYW5nZWRfYnlfbWVtYmVyXzEzNjgAbWFrcm9saWth</auth>
*** User 2022-01-27 15:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@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:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd2e809c4280dfa1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@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:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 out <iq type='set' id='a7fca03df487af4f54fa127c1261d0c2'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <iq id='a7fca03df487af4f54fa127c1261d0c2' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_config_cannot_be_changed_by_member_1368@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:35:48.624 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 out <iq type='set' id='52d6ae6ace05cc48ee8d3cadb19b8b6b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:35:48.625 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <iq type='result' id='52d6ae6ace05cc48ee8d3cadb19b8b6b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:35:48.625 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 out <presence/>
*** User 2022-01-27 15:35:48.625 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <presence from='bOb_config_cannot_be_changed_by_member_1368@localhost/res1' to='bob_config_cannot_be_changed_by_member_1368@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:35:48.626 *** =WARNING REPORT==== 27-Jan-2022::15:35:48.626623 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:35:48.633 *** REST request: Code: 200 Req: {<0.15350.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f8e508f57c6ee469">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8xMzY4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:35:48 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-297748-633025\"}">>,151,704} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_1368@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:35:48.634 *** =WARNING REPORT==== 27-Jan-2022::15:35:48.634469 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:35:48.641 *** REST request: Code: 204 Req: {<0.15355.1>,<<"/api/rooms/1643-297748-633025/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"14c9a8228ecd1dcf">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbm5vdF9iZV9jaGFuZ2VkX2J5X21lbWJlcl8xMzY4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_config_cannot_be_changed_by_member_1368@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:35:48 GMT">>}], <<>>,80,1209} Params: #{body => <<"{\"user\":\"bob_config_cannot_be_changed_by_member_1368@localhost\"}">>, creds => {<<"alice_config_cannot_be_changed_by_member_1368@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297748-633025/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:35:48.641 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in <message from='1643-297748-633025@muclight.localhost' to='bob_config_cannot_be_changed_by_member_1368@localhost' id='35e94907-3611-41ef-8c9f-af6d83d7897b' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-297748-641133</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_1368@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:35:48.641 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in <message from='1643-297748-633025@muclight.localhost' to='alice_config_cannot_be_changed_by_member_1368@localhost' id='35e94907-3611-41ef-8c9f-af6d83d7897b' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-297748-632980</prev-version> <version>1643-297748-641133</version> <user affiliation='member'>bob_config_cannot_be_changed_by_member_1368@localhost</user> </x> <body/> </message>
*** System report during rest_client_SUITE:config_cannot_be_changed_by_member/1 in muc_config 2022-01-27 15:35:48.643 *** =WARNING REPORT==== 27-Jan-2022::15:35:48.643048 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:35:48.651 *** REST request fails: Code: 403 Req: {<0.15360.1>, <<"/api/rooms/1643-297748-633025@muclight.localhost/config">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4b274aaed69771f9">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMTM2OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>} Result: {{<<"403">>,<<"Forbidden">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:35:48 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"0">>}], <<>>,130,1027} Params: #{body => <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>, creds => {<<"bob_config_cannot_be_changed_by_member_1368@localhost">>, <<"makrolika">>}, method => <<"PUT">>, path => <<"/api/rooms/1643-297748-633025@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:35:48.652 *** =WARNING REPORT==== 27-Jan-2022::15:35:48.652853 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:35:48.659 *** REST request: Code: 200 Req: {<0.15365.1>,<<"/api/rooms/1643-297748-633025">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"92244aa89a5023c2">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5ub3RfYmVfY2hhbmdlZF9ieV9tZW1iZXJfMTM2OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:35:48 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"234">>}], <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_config_cannot_be_changed_by_member_1368@localhost\",\"role\":\"owner\"},{\"user\":\"bob_config_cannot_be_changed_by_member_1368@localhost\",\"role\":\"member\"}],\"name\":\"new_room_name\"}">>, 359,489} Params: #{body => <<>>, creds => {<<"bob_config_cannot_be_changed_by_member_1368@localhost">>, <<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms/1643-297748-633025">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:35:48.659 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:35:48.660 *** bOb_config_cannot_be_changed_by_member_1368@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:35:48.660 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:35:48.660 *** alicE_config_cannot_be_changed_by_member_1368@localhost/res1 in </stream:stream>
=== Ended at 2022-01-27 15:35:48 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result