=== 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.20900.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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.service_domain_db_SUITE.logs/run.2022-02-03_16.42.30/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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.service_domain_db_SUITE.logs/run.2022-02-03_16.42.30/log_private/"}, {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29" === Started at 2022-02-03 16:42:49
*** User 2022-02-03 16:42:49.689 *** REST request: Code: 204 Req: {<0.21557.2>,<<"/api/domains/example.com">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f0b50cf5b0f2d032">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Feb 2022 16:42:49 GMT">>}], <<>>,80,3150} 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-02-03 16:42:49.692 *** REST request: Code: 204 Req: {<0.21559.2>,<<"/api/domains/example.org">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"220a93fa790802b6">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Feb 2022 16:42:49 GMT">>}], <<>>,80,2704} 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-02-03 16:42:49.695 *** alice_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.695 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3265dff08489c05b' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:42:49.695 *** alice_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.696 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yNDE2AG1ha290YTI=</auth>
*** User 2022-02-03 16:42:49.699 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-03 16:42:49.699 *** alice_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.700 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98078305814ed5e6' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:42:49.700 *** alice_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.700 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 out <iq type='set' id='125c90e3cf515d4f9caccdcbbcb5c25f'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-02-03 16:42:49.700 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <iq id='125c90e3cf515d4f9caccdcbbcb5c25f' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1</jid> </bind> </iq>
*** User 2022-02-03 16:42:49.701 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 out <iq type='set' id='79ed774cf60a40717647c908eaf8fde1'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-03 16:42:49.701 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <iq type='result' id='79ed774cf60a40717647c908eaf8fde1'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-03 16:42:49.701 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 out <presence/>
*** User 2022-02-03 16:42:49.702 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 in <presence from='alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1' xml:lang='en'/>
*** User 2022-02-03 16:42:49.703 *** bob_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.703 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73fed76c4b960c4c' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:42:49.703 *** bob_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:49.704 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjQxNgBtYWtvdGEz</auth>
*** User 2022-02-03 16:42:50.205 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-03 16:42:50.205 *** bob_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:50.205 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2e52f7cee140ca4' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:42:50.205 *** bob_rest_delete_domain_cleans_data_from_mam_2416@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-02-03 16:42:50.206 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 out <iq type='set' id='d13de4f8c5861d7bb73117bf6daba8b2'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-02-03 16:42:50.206 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <iq id='d13de4f8c5861d7bb73117bf6daba8b2' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1</jid> </bind> </iq>
*** User 2022-02-03 16:42:50.206 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 out <iq type='set' id='b5c2b59384ab86c3166d52c8e71d4024'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-03 16:42:50.206 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <iq type='result' id='b5c2b59384ab86c3166d52c8e71d4024'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-03 16:42:50.207 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 out <presence/>
*** User 2022-02-03 16:42:50.208 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <presence from='bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1' xml:lang='en'/>
*** User 2022-02-03 16:42:50.208 *** alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1 out <message to='bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1' type='chat'> <body>OH, HAI!</body> </message>
*** User 2022-02-03 16:42:50.220 *** bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1 in <message from='alice_rest_delete_domain_cleans_data_from_mam_2416@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2416@example.org/res1' xml:lang='en' type='chat'> <body>OH, HAI!</body> <stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_2416@example.org' id='BLOVQCKK95G2' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2022-02-03 16:42:52.287 *** REST request: Code: 204 Req: {<0.21563.2>,<<"/api/domains/example.com">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8c73b7efc3d3631b">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Feb 2022 16:42:52 GMT">>}], <<>>,80,24001} 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-02-03 16:42:52.293 *** REST request: Code: 204 Req: {<0.21565.2>,<<"/api/domains/example.org">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1018389a891af8ea">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Feb 2022 16:42:52 GMT">>}], <<>>,80,4537} 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-02-03 16:42:52 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result