=== Test case: service_domain_db_SUITE:rest_delete_domain_cleans_data_from_mam/1 (click for source code) === Config value: [{watchdog,<0.1588.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-07_16.05.58/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.175362.html"}, {tc_group_properties,[{name,rest_without_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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-07_16.05.58/log_private/"}, {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24" === Started at 2022-03-07 16:06:18
*** User 2022-03-07 16:06:18.304 *** REST request: Code: 204 Req: {<0.2162.2>,<<"/api/domains/example.com">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b9f44f55bcdee669">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 16:06:17 GMT">>}], <<>>,80,1277} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false, method => <<"PUT">>,path => <<"/api/domains/example.com">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:06:18.306 *** REST request: Code: 204 Req: {<0.2164.2>,<<"/api/domains/example.org">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f23c47d6d0181713">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 16:06:17 GMT">>}], <<>>,80,1067} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false, method => <<"PUT">>,path => <<"/api/domains/example.org">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:06:18.307 *** alice_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.308 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='488130063d568209' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:06:18.308 *** alice_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.308 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8xNzk0AG1ha290YTI=</auth>
*** User 2022-03-07 16:06:18.314 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:06:18.314 *** alice_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.315 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aeecd3fa1f8d5409' from='example.com' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:06:18.315 *** alice_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.315 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 out <iq type='set' id='1fd3f3d31caf32d351e098af29ae5239'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-07 16:06:18.315 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <iq id='1fd3f3d31caf32d351e098af29ae5239' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1</jid> </bind> </iq>
*** User 2022-03-07 16:06:18.315 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 out <iq type='set' id='b7ff55584c018da93c20e4c0c709ae11'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 16:06:18.316 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <iq type='result' id='b7ff55584c018da93c20e4c0c709ae11'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 16:06:18.316 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 out <presence/>
*** User 2022-03-07 16:06:18.317 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 in <presence from='alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1' xml:lang='en'/>
*** User 2022-03-07 16:06:18.317 *** bob_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.317 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a96a08334f60d85d' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:06:18.318 *** bob_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.318 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMTc5NABtYWtvdGEz</auth>
*** User 2022-03-07 16:06:18.744 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:06:18.744 *** bob_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.745 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4bc89de2d251883a' from='example.org' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:06:18.745 *** bob_rest_delete_domain_cleans_data_from_mam_1794@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 16:06:18.745 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 out <iq type='set' id='f9ac0c196e1c067a87df67108dd22b39'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-07 16:06:18.745 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <iq id='f9ac0c196e1c067a87df67108dd22b39' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1</jid> </bind> </iq>
*** User 2022-03-07 16:06:18.745 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 out <iq type='set' id='278044426e4d65a8033a9cd23dd3adfb'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 16:06:18.746 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <iq type='result' id='278044426e4d65a8033a9cd23dd3adfb'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-07 16:06:18.746 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 out <presence/>
*** User 2022-03-07 16:06:18.747 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <presence from='bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1' xml:lang='en'/>
*** User 2022-03-07 16:06:18.747 *** alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1 out <message to='bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1' type='chat'> <body>OH, HAI!</body> </message>
*** User 2022-03-07 16:06:18.754 *** bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1 in <message from='alice_rest_delete_domain_cleans_data_from_mam_1794@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_1794@example.org/res1' xml:lang='en' type='chat'> <body>OH, HAI!</body> <stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_1794@example.org' id='BMD31DR3OAO2' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2022-03-07 16:06:20.801 *** REST request: Code: 204 Req: {<0.2168.2>,<<"/api/domains/example.com">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2f474ae0ab7ddc8e">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 16:06:20 GMT">>}], <<>>,80,3445} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false, method => <<"DELETE">>,path => <<"/api/domains/example.com">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:06:20.805 *** REST request: Code: 204 Req: {<0.2170.2>,<<"/api/domains/example.org">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2d12f6914f9dad12">>}], <<"{\"host_type\":\"dummy auth\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 07 Mar 2022 16:06:20 GMT">>}], <<>>,80,2628} Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false, method => <<"DELETE">>,path => <<"/api/domains/example.org">>, port => 8866,return_headers => true,role => admin, server => #{node => mongooseim@localhost}}
=== Ended at 2022-03-07 16:06:20 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result