=== Test case: rest_client_SUITE:messages_are_archived_in_room/1 (click for source code) === Config value: [{watchdog,<0.9445.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.messages_are_archived_in_room.html"}, {tc_group_properties,[{name,muc},{repeat_until_all_ok,3},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@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:02
*** User 2022-01-27 15:37:02.123 *** alicE_messages_are_archived_in_room_2171@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:02.124 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a51d1e76531f3b05' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:02.124 *** alicE_messages_are_archived_in_room_2171@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:02.124 *** alicE_messages_are_archived_in_room_2171@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIxNzEAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:37:02.125 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:02.125 *** alicE_messages_are_archived_in_room_2171@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:02.125 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22557265bc440a58' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:02.125 *** alicE_messages_are_archived_in_room_2171@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:02.125 *** alicE_messages_are_archived_in_room_2171@localhost/res1 out <iq type='set' id='30337c01222f3e3df392a481bf49f1c1'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:02.126 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <iq id='30337c01222f3e3df392a481bf49f1c1' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_messages_are_archived_in_room_2171@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:02.126 *** alicE_messages_are_archived_in_room_2171@localhost/res1 out <iq type='set' id='c0f9ca6f462ee627dbf120779f82becb'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:02.126 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <iq type='result' id='c0f9ca6f462ee627dbf120779f82becb'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:02.126 *** alicE_messages_are_archived_in_room_2171@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:02.129 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <presence from='alicE_messages_are_archived_in_room_2171@localhost/res1' to='alice_messages_are_archived_in_room_2171@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:02.129 *** bOb_messages_are_archived_in_room_2171@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:02.130 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f70187c05ee3a94e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:02.130 *** bOb_messages_are_archived_in_room_2171@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:02.130 *** bOb_messages_are_archived_in_room_2171@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMTcxAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:37:02.131 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:02.131 *** bOb_messages_are_archived_in_room_2171@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:02.131 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d56b2ae06dca56e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:02.131 *** bOb_messages_are_archived_in_room_2171@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:02.131 *** bOb_messages_are_archived_in_room_2171@localhost/res1 out <iq type='set' id='5af0f54e2d5861c37672e5a84186b915'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:02.131 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <iq id='5af0f54e2d5861c37672e5a84186b915' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_messages_are_archived_in_room_2171@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:02.131 *** bOb_messages_are_archived_in_room_2171@localhost/res1 out <iq type='set' id='67c0a3515b893867c592d63e11ff952b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:02.132 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <iq type='result' id='67c0a3515b893867c592d63e11ff952b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:02.132 *** bOb_messages_are_archived_in_room_2171@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:02.134 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <presence from='bOb_messages_are_archived_in_room_2171@localhost/res1' to='bob_messages_are_archived_in_room_2171@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:messages_are_archived_in_room/1 in muc 2022-01-27 15:37:02.135 *** =WARNING REPORT==== 27-Jan-2022::15:37:02.135585 === 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:02.147 *** REST request: Code: 200 Req: {<0.9875.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"20bf911239fc16c0">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjE3MUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-297822-147077\"}">>,151,1830} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_messages_are_archived_in_room_2171@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_are_archived_in_room/1 in muc 2022-01-27 15:37:02.149 *** =WARNING REPORT==== 27-Jan-2022::15:37:02.149022 === 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:02.167 *** REST request: Code: 204 Req: {<0.9880.2>,<<"/api/rooms/1643-297822-147077/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8b34631420bdef15">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjE3MUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"user\":\"bob_messages_are_archived_in_room_2171@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}], <<>>,80,8295} Params: #{body => <<"{\"user\":\"bob_messages_are_archived_in_room_2171@localhost\"}">>, creds => {<<"alice_messages_are_archived_in_room_2171@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297822-147077/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:02.167 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost' to='bob_messages_are_archived_in_room_2171@localhost' id='62c1e0a9-7573-4877-b314-a86b8e5eebbd' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-297822-161695</version> <user affiliation='member'>bob_messages_are_archived_in_room_2171@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:37:02.167 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost' to='alice_messages_are_archived_in_room_2171@localhost' id='62c1e0a9-7573-4877-b314-a86b8e5eebbd' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-297822-147034</prev-version> <version>1643-297822-161695</version> <user affiliation='member'>bob_messages_are_archived_in_room_2171@localhost</user> </x> <body/> <stanza-id by='1643-297822-147077@muclight.localhost' id='BLKI2RPJF1O1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:messages_are_archived_in_room/1 in muc 2022-01-27 15:37:02.169 *** =WARNING REPORT==== 27-Jan-2022::15:37:02.169229 === 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:02.186 *** REST request: Code: 200 Req: {<0.9885.2>,<<"/api/rooms/1643-297822-147077/messages">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"fc1c0698eed29fde">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjE3MUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"body\":\"Hi all!\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"id\":\"9f2dfe79-c490-4edf-8983-0afed941dd92\"}">>,169,8291} Params: #{body => <<"{\"body\":\"Hi all!\"}">>, creds => {<<"alice_messages_are_archived_in_room_2171@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297822-147077/messages">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_are_archived_in_room/1 in muc 2022-01-27 15:37:02.187 *** =WARNING REPORT==== 27-Jan-2022::15:37:02.187419 === 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:02.203 *** REST request: Code: 200 Req: {<0.9890.2>,<<"/api/rooms/1643-297822-147077/messages">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8c10cf3159da4a9a">>}, {<<"authorization">>, <<"Basic Ym9iX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIxNzFAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}], <<"{\"body\":\"Hi all!\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"id\":\"293f24be-533e-4f07-baf6-ddc659be247d\"}">>,169,7401} Params: #{body => <<"{\"body\":\"Hi all!\"}">>, creds => {<<"bob_messages_are_archived_in_room_2171@localhost">>, <<"makrolika">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297822-147077/messages">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:02.203 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost/alice_messages_are_archived_in_room_2171@localhost' to='alice_messages_are_archived_in_room_2171@localhost' id='9f2dfe79-c490-4edf-8983-0afed941dd92' type='groupchat'> <body>Hi all!</body> <stanza-id by='1643-297822-147077@muclight.localhost' id='BLKI2RPNU4O1' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2022-01-27 15:37:02.203 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost/alice_messages_are_archived_in_room_2171@localhost' to='bob_messages_are_archived_in_room_2171@localhost' id='9f2dfe79-c490-4edf-8983-0afed941dd92' type='groupchat'> <body>Hi all!</body> <stanza-id by='1643-297822-147077@muclight.localhost' id='BLKI2RPNU4O1' xmlns='urn:xmpp:sid:0'/> </message>
Could not find element wait_for_parallel_writer in Config.
*** User 2022-01-27 15:37:02.203 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost/bob_messages_are_archived_in_room_2171@localhost' to='alice_messages_are_archived_in_room_2171@localhost' id='293f24be-533e-4f07-baf6-ddc659be247d' type='groupchat'> <body>Hi all!</body> <stanza-id by='1643-297822-147077@muclight.localhost' id='BLKI2RPSCHG1' xmlns='urn:xmpp:sid:0'/> </message>
Could not find element archive_wait in Config.
*** User 2022-01-27 15:37:02.204 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in <message from='1643-297822-147077@muclight.localhost/bob_messages_are_archived_in_room_2171@localhost' to='bob_messages_are_archived_in_room_2171@localhost' id='293f24be-533e-4f07-baf6-ddc659be247d' type='groupchat'> <body>Hi all!</body> <stanza-id by='1643-297822-147077@muclight.localhost' id='BLKI2RPSCHG1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:messages_are_archived_in_room/1 in muc 2022-01-27 15:37:02.205 *** =WARNING REPORT==== 27-Jan-2022::15:37:02.205415 === 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:02.215 *** REST request: Code: 200 Req: {<0.9895.2>,<<"/api/rooms/1643-297822-147077/messages">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"9c907941d8eff0c0">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjE3MUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"552">>}], <<"[{\"user\":\"bob_messages_are_archived_in_room_2171@localhost\",\"type\":\"affiliation\",\"timestamp\":1643297822160,\"id\":\"62c1e0a9-7573-4877-b314-a86b8e5eebbd\",\"from\":\"1643-297822-147077@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643297822179,\"id\":\"9f2dfe79-c490-4edf-8983-0afed941dd92\",\"from\":\"alice_messages_are_archived_in_room_2171@localhost\",\"body\":\"Hi all!\"},{\"type\":\"message\",\"timestamp\":1643297822197,\"id\":\"293f24be-533e-4f07-baf6-ddc659be247d\",\"from\":\"bob_messages_are_archived_in_room_2171@localhost\",\"body\":\"Hi all!\"}]">>, 677,3737} Params: #{body => <<>>, creds => {<<"alice_messages_are_archived_in_room_2171@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1643-297822-147077/messages">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:02.215 *** bOb_messages_are_archived_in_room_2171@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:02.216 *** bOb_messages_are_archived_in_room_2171@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:37:02.216 *** alicE_messages_are_archived_in_room_2171@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:02.216 *** alicE_messages_are_archived_in_room_2171@localhost/res1 in </stream:stream>
=== Ended at 2022-01-27 15:37:02 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result