=== Test case: rest_client_SUITE:owner_can_leave_a_room_and_auto_select_owner/1 (click for source code) === Config value: [{watchdog,<0.14860.1>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,disabled}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"ldap_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/rest_client_suite.owner_can_leave_a_room_and_auto_select_owner.html"}, {tc_group_properties,[{name,muc},pararell]}, {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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/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 => [{backend,ldap}, {host,{prefix,<<"vjud.">>}}, {ldap_base,"ou=Users,dc=esl,dc=com"}, {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39" === Started at 2022-03-03 10:38:20
*** User 2022-03-03 10:38:21.001 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.002 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3a37e2e85006632' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:21.002 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@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>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-03-03 10:38:21.002 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX293bmVyX2Nhbl9sZWF2ZV9hX3Jvb21fYW5kX2F1dG9fc2VsZWN0X293bmVyXzEyOTcAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b45613b86205548' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <iq type='set' id='186e2059dc6e43af1384188a408ffbd9'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:38:21.004 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <iq id='186e2059dc6e43af1384188a408ffbd9' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:38:21.005 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <iq type='set' id='e40a5fd4d953283f3d8357dcc3fa0586'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:21.005 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <iq type='result' id='e40a5fd4d953283f3d8357dcc3fa0586'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:21.005 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <presence/>
*** User 2022-03-03 10:38:21.005 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <presence from='alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1' to='alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:21.006 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.006 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='550b4f377675bd6b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:21.007 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@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>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-03-03 10:38:21.007 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vd25lcl9jYW5fbGVhdmVfYV9yb29tX2FuZF9hdXRvX3NlbGVjdF9vd25lcl8xMjk3AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:38:21.008 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:21.008 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.008 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e45ba30d3379a2ac' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:21.008 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@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-03-03 10:38:21.008 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <iq type='set' id='5cfc5685e2cf9afc5e357100d5c916c8'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:38:21.009 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <iq id='5cfc5685e2cf9afc5e357100d5c916c8' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:38:21.009 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <iq type='set' id='a2cd7ac369dfd1e61635c71a11bbb6f3'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:21.009 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <iq type='result' id='a2cd7ac369dfd1e61635c71a11bbb6f3'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:21.009 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out <presence/>
*** User 2022-03-03 10:38:21.010 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <presence from='bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1' to='bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:owner_can_leave_a_room_and_auto_select_owner/1 in muc 2022-03-03 10:38:21.011 *** =WARNING REPORT==== 3-Mar-2022::10:38:21.011454 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:21.021 *** REST request: Code: 200 Req: {<0.15030.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"30f92f1363bfd55d">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTI5N0Bsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"26">>}], <<"{\"id\":\"1646-303901-20707\"}">>,150,1975} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:owner_can_leave_a_room_and_auto_select_owner/1 in muc 2022-03-03 10:38:21.022 *** =WARNING REPORT==== 3-Mar-2022::10:38:21.022696 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:21.032 *** REST request: Code: 204 Req: {<0.15035.1>,<<"/api/rooms/1646-303901-20707/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"95a53f2292fed2a7">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTI5N0Bsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"user\":\"bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}], <<>>,80,2476} Params: #{body => <<"{\"user\":\"bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost\"}">>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303901-20707/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:21.032 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <message from='1646-303901-20707@muclight.localhost' to='bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost' id='ef125127-1cfb-4f2e-90fb-fd3fe61bb691' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303901-31538</version> <user affiliation='member'>bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:38:21.032 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <message from='1646-303901-20707@muclight.localhost' to='alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost' id='ef125127-1cfb-4f2e-90fb-fd3fe61bb691' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303901-20649</prev-version> <version>1646-303901-31538</version> <user affiliation='member'>bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost</user> </x> <body/> </message>
*** System report during rest_client_SUITE:owner_can_leave_a_room_and_auto_select_owner/1 in muc 2022-03-03 10:38:21.033 *** =WARNING REPORT==== 3-Mar-2022::10:38:21.033857 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:21.043 *** REST request: Code: 204 Req: {<0.15040.1>, <<"/api/rooms/1646-303901-20707/users/alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f86139ca597f244a">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTI5N0Bsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<>>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}], <<>>,80,2046} Params: #{body => <<>>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost">>, <<"matygrysa">>}, method => <<"DELETE">>, path => <<"/api/rooms/1646-303901-20707/users/alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:21.044 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in <message from='1646-303901-20707@muclight.localhost' to='bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost' id='916f3cd1-b55d-4538-b668-558013d3114f' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303901-31538</prev-version> <version>1646-303901-43337</version> <user affiliation='owner'>bob_owner_can_leave_a_room_and_auto_select_owner_1297@localhost</user> <user affiliation='none'>alice_owner_can_leave_a_room_and_auto_select_owner_1297@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:38:21.044 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:38:21.044 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:38:21.044 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:38:21.045 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1297@localhost/res1 in </stream:stream>
=== Ended at 2022-03-03 10:38:21 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result