=== Test case: service_domain_db_SUITE:rest_delete_domain_cleans_data_from_mam/1 (click for source code) === Config value: [{auth_creds,valid}, {watchdog,<0.22957.2>}, {service,true}, {mim_conf1,#{core_opts => [[{<<"localhost">>,<<"localhost">>}, {<<"anonymous.localhost">>,<<"anonymous.localhost">>}, {<<"localhost.bis">>,<<"localhost.bis">>}], [<<"test type">>,<<"dummy auth">>,<<"anonymous">>]], loaded => true,service_opts => []}}, {mim_conf2,#{core_opts => [[{<<"localhost">>,<<"localhost">>}, {<<"anonymous.localhost">>,<<"anonymous.localhost">>}, {<<"localhost.bis">>,<<"localhost.bis">>}], [<<"test type">>,<<"dummy auth">>]], loaded => true,service_opts => []}}, {mim_conf3,#{core_opts => [[{<<"localhost">>,<<"localhost">>}, {<<"anonymous.localhost">>,<<"anonymous.localhost">>}, {<<"localhost.bis">>,<<"localhost.bis">>}], []], loaded => true,service_opts => []}}, {service_setup,per_testcase}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/service_domain_db_SUITE_data"}, {preset,"pgsql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-07_09.43.48/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.html"}, {tc_group_properties,[{name,rest_with_auth}]}, {tc_group_path,[[{name,db}]]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/service_domain_db_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-07_09.43.48/log_private/"}, {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55" === Started at 2022-03-07 09:44:02
*** User 2022-03-07 09:44:02.978 *** REST request: Code: 204 Req: {<0.23614.2>,<<"/api/domains/example.com">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"be1bb389e90833ce">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 09:44:02 GMT">>}], <<>>,80,1932} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"PUT">>,path => <<"/api/domains/example.com">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 09:44:02.981 *** REST request: Code: 204 Req: {<0.23616.2>,<<"/api/domains/example.org">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"e37fba019ad7510d">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 09:44:02 GMT">>}], <<>>,80,1815} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"PUT">>,path => <<"/api/domains/example.org">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 09:44:02.983 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <stream:stream to='example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:44:02.984 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96183e71e96545ed' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:44:02.984 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/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> </stream:features>
*** User 2022-03-07 09:44:02.984 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yMjAzAG1ha290YTI=</auth>
*** User 2022-03-07 09:44:02.987 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:44:02.987 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <stream:stream to='example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:44:02.987 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f96785eac5329764' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:44:02.988 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/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'/> </stream:features>
*** User 2022-03-07 09:44:02.988 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <iq type='set' id='dc0e79bf324f6948bb8c12851ac5dae8'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-07 09:44:02.988 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <iq id='dc0e79bf324f6948bb8c12851ac5dae8' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1</jid> </bind> </iq>
*** User 2022-03-07 09:44:02.988 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <iq type='set' id='4a785780b7526de5316e4dd3f8874c53'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 09:44:02.988 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <iq type='result' id='4a785780b7526de5316e4dd3f8874c53'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 09:44:02.989 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <presence/>
*** User 2022-03-07 09:44:02.990 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 in <presence from='alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1' xml:lang='en'/>
*** User 2022-03-07 09:44:02.990 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <stream:stream to='example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:44:02.991 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8a1b01fa630351f' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:44:02.991 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> </stream:features>
*** User 2022-03-07 09:44:02.991 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjIwMwBtYWtvdGEz</auth>
*** User 2022-03-07 09:44:03.295 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:44:03.296 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <stream:stream to='example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:44:03.296 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3caca0c9e3d950e2' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:44:03.296 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <stream:features> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </stream:features>
*** User 2022-03-07 09:44:03.296 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <iq type='set' id='682df0bbada42c375bb18b279c9585ab'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-07 09:44:03.296 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <iq id='682df0bbada42c375bb18b279c9585ab' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1</jid> </bind> </iq>
*** User 2022-03-07 09:44:03.297 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <iq type='set' id='a3336232cb5bd78d0771e3a7bba764c5'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 09:44:03.297 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <iq type='result' id='a3336232cb5bd78d0771e3a7bba764c5'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 09:44:03.297 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 out <presence/>
*** User 2022-03-07 09:44:03.298 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <presence from='bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1' xml:lang='en'/>
*** User 2022-03-07 09:44:03.298 *** alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1 out <message to='bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1' type='chat'> <body>OH, HAI!</body> </message>
*** User 2022-03-07 09:44:03.302 *** bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1 in <message from='alice_rest_delete_domain_cleans_data_from_mam_2203@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2203@example.org/res1' xml:lang='en' type='chat'> <body>OH, HAI!</body> <stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_2203@example.org' id='BMCTMHJGRM02' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2022-03-07 09:44:05.348 *** REST request: Code: 204 Req: {<0.23620.2>,<<"/api/domains/example.com">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2b1c28fe7329e4de">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 09:44:05 GMT">>}], <<>>,80,3643} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"DELETE">>,path => <<"/api/domains/example.com">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 09:44:05.352 *** REST request: Code: 204 Req: {<0.23622.2>,<<"/api/domains/example.org">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"56d57bd5aecdc37d">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 09:44:05 GMT">>}], <<>>,80,2402} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"DELETE">>,path => <<"/api/domains/example.org">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
=== Ended at 2022-03-07 09:44:05 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result