=== 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.38.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,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-04_11.25.41/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-04_11.25.41/log_private/"}, {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52" === Started at 2022-03-04 11:25:57
*** User 2022-03-04 11:25:57.220 *** REST request: Code: 204 Req: {<0.695.2>,<<"/api/domains/example.com">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"704e3ece0adf4f52">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:57 GMT">>}], <<>>,80,3435} 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-04 11:25:57.224 *** REST request: Code: 204 Req: {<0.697.2>,<<"/api/domains/example.org">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"66a15fa67eef93da">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:57 GMT">>}], <<>>,80,2357} 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-04 11:25:57.226 *** alice_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.226 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03df7dfbd43c5e4f' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:57.227 *** alice_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.227 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8xODcwAG1ha290YTI=</auth>
*** User 2022-03-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b05d80cfa3d3cc4' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 out <iq type='set' id='e2e2de6b2be596002581bc8809a6bd9b'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <iq id='e2e2de6b2be596002581bc8809a6bd9b' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1</jid> </bind> </iq>
*** User 2022-03-04 11:25:57.232 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 out <iq type='set' id='63dddb3cae5d1ed434ddcbe6d608413b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:57.233 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <iq type='result' id='63dddb3cae5d1ed434ddcbe6d608413b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:57.233 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 out <presence/>
*** User 2022-03-04 11:25:57.234 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 in <presence from='alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:57.234 *** bob_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.235 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3948f4f162e8291d' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:57.235 *** bob_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.235 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMTg3MABtYWtvdGEz</auth>
*** User 2022-03-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab9511e4b45f22f2' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@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-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 out <iq type='set' id='c8c86d83826335ef914a48f7bc6266fb'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-04 11:25:57.467 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <iq id='c8c86d83826335ef914a48f7bc6266fb' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1</jid> </bind> </iq>
*** User 2022-03-04 11:25:57.468 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 out <iq type='set' id='029935b00bb63166a0b7bac019a7fb8c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:57.468 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <iq type='result' id='029935b00bb63166a0b7bac019a7fb8c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:57.468 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 out <presence/>
*** User 2022-03-04 11:25:57.469 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <presence from='bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:57.469 *** alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1 out <message to='bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1' type='chat'> <body>OH, HAI!</body> </message>
*** User 2022-03-04 11:25:57.475 *** bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1 in <message from='alice_rest_delete_domain_cleans_data_from_mam_1870@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_1870@example.org/res1' xml:lang='en' type='chat'> <body>OH, HAI!</body> <stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_1870@example.org' id='BMB2OT7SC102' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2022-03-04 11:25:59.572 *** REST request: Code: 204 Req: {<0.701.2>,<<"/api/domains/example.com">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"cb4544734a1851e2">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:59 GMT">>}], <<>>,80,50384} 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-04 11:25:59.587 *** REST request: Code: 204 Req: {<0.703.2>,<<"/api/domains/example.org">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"488f9e54a20a8939">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:59 GMT">>}], <<>>,80,14473} 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-04 11:25:59 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result