=== Test case: service_domain_db_SUITE:rest_delete_domain_cleans_data_from_mam/1 (click for source code)

=== Config value:

    [{watchdog,<0.30655.2>},
     {service,true},
     {service_setup,per_testcase},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/service_domain_db_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.service_domain_db_SUITE.logs/run.2023-12-04_15.57.39/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.263170.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.service_domain_db_SUITE.logs/run.2023-12-04_15.57.39/log_private/"},
     {{saved_services,mongooseim@localhost},
      #{service_domain_db =>
            #{db_pool => global,event_cleaning_interval => 1800,
              event_max_age => 7200},
        service_mongoose_system_metrics =>
            #{initial_report => 300000,periodic_report => 10800000}}},
     {{saved_services,mongooseim2@localhost},
      #{service_domain_db =>
            #{db_pool => global,event_cleaning_interval => 1800,
              event_max_age => 7200},
        service_mongoose_system_metrics =>
            #{initial_report => 300000,periodic_report => 10800000}}},
     {{saved_services,mongooseim3@localhost},
      #{service_domain_db =>
            #{db_pool => global,event_cleaning_interval => 1800,
              event_max_age => 7200}}},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},
      #{mod_presence => #{}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cdcecdf9c9e0.2023-12-04_15.40.23"

=== Started at 2023-12-04 15:57:54


*** CT 2023-12-04 15:57:54.408 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5096.html

*** User 2023-12-04 15:57:54.415 ***🔗
REST request:
Code: 204
Req: {<0.31092.2>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3ba90518c300a609">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Dec 2023 15:57:54 GMT">>}],
         <<>>,80,1663}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"PUT">>,path => <<"/api/domains/example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-12-04 15:57:54.418 ***🔗
REST request:
Code: 204
Req: {<0.31094.2>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c6888f2a31a5a7fa">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Dec 2023 15:57:54 GMT">>}],
         <<>>,80,1231}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"PUT">>,path => <<"/api/domains/example.org">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-12-04 15:57:54.420 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@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 2023-12-04 15:57:54.420 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1c6cc85b59d744d' from='example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:57:54.420 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/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 2023-12-04 15:57:54.420 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8zMzQxAG1ha290YTI=</auth>



*** User 2023-12-04 15:57:54.424 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:57:54.424 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@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 2023-12-04 15:57:54.425 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='adfa5f732df774d0' from='example.com' version='1.0' xml:lang='en' to='alice_rest_delete_domain_cleans_data_from_mam_3341@example.com'>

*** User 2023-12-04 15:57:54.425 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
</stream:features>



*** User 2023-12-04 15:57:54.425 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 out
<iq type='set' id='8f7afa06bc2fc23185314d374d7afd5f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:57:54.425 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<iq id='8f7afa06bc2fc23185314d374d7afd5f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:57:54.425 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 out
<iq type='set' id='9fadd6c62ea05dad9c2e4be9de8ee3ae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:57:54.426 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<iq from='example.com' to='alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1' id='9fadd6c62ea05dad9c2e4be9de8ee3ae' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:57:54.426 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 out
<presence/>



*** User 2023-12-04 15:57:54.427 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 in
<presence from='alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1'/>



*** User 2023-12-04 15:57:54.427 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@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 2023-12-04 15:57:54.428 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e64feaabf6f03180' from='example.org' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:57:54.428 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@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 2023-12-04 15:57:54.428 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMzM0MQBtYWtvdGEz</auth>



*** User 2023-12-04 15:57:54.802 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:57:54.802 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@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 2023-12-04 15:57:54.802 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d4618e4afc57f6a' from='example.org' version='1.0' xml:lang='en' to='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org'>

*** User 2023-12-04 15:57:54.802 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
</stream:features>



*** User 2023-12-04 15:57:54.802 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 out
<iq type='set' id='39eb3261ac25c547d74407d374d7136a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:57:54.803 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<iq id='39eb3261ac25c547d74407d374d7136a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:57:54.803 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 out
<iq type='set' id='7d38ee6204371e85a59f8bbcea8bbd7a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:57:54.803 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<iq from='example.org' to='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1' id='7d38ee6204371e85a59f8bbcea8bbd7a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:57:54.803 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 out
<presence/>



*** User 2023-12-04 15:57:54.804 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<presence from='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1'/>



*** User 2023-12-04 15:57:54.804 ***🔗
alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2023-12-04 15:57:54.809 ***🔗
bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1 in
<message from='alice_rest_delete_domain_cleans_data_from_mam_3341@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
	<stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_3341@example.org' id='C2TH5PB8PP82' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-04 15:57:56.841 ***🔗
waiting for archive_size_with_host_type is done in 2000 miliseconds

*** User 2023-12-04 15:57:56.842 ***🔗
waiting for archive_size_with_host_type is done in 0 miliseconds

*** User 2023-12-04 15:57:56.849 ***🔗
REST request:
Code: 204
Req: {<0.31098.2>,<<"/api/domains/example.com">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"068f92b3a03ce33b">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Dec 2023 15:57:56 GMT">>}],
         <<>>,80,5820}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"DELETE">>,path => <<"/api/domains/example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-12-04 15:57:56.854 ***🔗
REST request:
Code: 204
Req: {<0.31100.2>,<<"/api/domains/example.org">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"805bff3ac26c69ba">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Dec 2023 15:57:56 GMT">>}],
         <<>>,80,3800}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"DELETE">>,path => <<"/api/domains/example.org">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-12-04 15:57:56.856 ***🔗
waiting for archive_size_with_host_type is done in 0 miliseconds

*** User 2023-12-04 15:57:56.857 ***🔗
waiting for archive_size_with_host_type is done in 0 miliseconds
*** CT 2023-12-04 15:57:56.865 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5096.html



=== Ended at 2023-12-04 15:57:56
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result