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

=== Config value:

    [{watchdog,<0.28753.1>},
     {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 => []}},
     {service_setup,per_testcase},
     {{saved_modules,<<"dummy auth">>},[]},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/app/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/app/big_tests/tests/service_domain_db_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/app/big_tests/ct_report/ct_run.test@default-19e9de5f-b008-4d4c-b44d-c650a0e9c01f.2021-10-27_12.42.44/big_tests.tests.service_domain_db_SUITE.logs/run.2021-10-27_12.53.15/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.23058.html"},
     {tc_group_properties,[{name,rest_without_auth}]},
     {tc_group_path,[[{name,db}]]},
     {data_dir,"/home/circleci/app/big_tests/_build/default/lib/mongoose_tests/ebin/service_domain_db_SUITE_data/"},
     {priv_dir,"/home/circleci/app/big_tests/ct_report/ct_run.test@default-19e9de5f-b008-4d4c-b44d-c650a0e9c01f.2021-10-27_12.42.44/big_tests.tests.service_domain_db_SUITE.logs/run.2021-10-27_12.53.15/log_private/"}]

=== Current directory is "/home/circleci/app/big_tests/ct_report/ct_run.test@default-19e9de5f-b008-4d4c-b44d-c650a0e9c01f.2021-10-27_12.42.44"

=== Started at 2021-10-27 12:53:43


*** CT 2021-10-27 12:53:43.685 *** View log from node mongooseim@localhost when started mongooseim@localhost_2087.html
*** CT 2021-10-27 12:53:43.686 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_601.html

*** User 2021-10-27 12:53:43.704 ***
REST request:
Code: 204
Req: {<0.29371.1>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f56a9bf4a441d1f6">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 27 Oct 2021 12:53:43 GMT">>}],
         <<>>,80,4210}
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 2021-10-27 12:53:43.720 ***
REST request:
Code: 204
Req: {<0.29373.1>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2a9bbabc151bf5fc">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 27 Oct 2021 12:53:43 GMT">>}],
         <<>>,80,9699}
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 2021-10-27 12:53:43.725 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.726 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf85c0f4242ea5a0' from='example.com' version='1.0' xml:lang='en'>

*** User 2021-10-27 12:53:43.728 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.728 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yMy43MjQyMDEAbWFrb3RhMg==</auth>



*** User 2021-10-27 12:53:43.734 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2021-10-27 12:53:43.735 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.736 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eac8500d1171d942' from='example.com' version='1.0' xml:lang='en'>

*** User 2021-10-27 12:53:43.736 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.736 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 out
<iq type='set' id='52be8d435743c763cfbabea6a45d12b2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2021-10-27 12:53:43.738 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<iq id='52be8d435743c763cfbabea6a45d12b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1</jid>
	</bind>
</iq>



*** User 2021-10-27 12:53:43.738 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 out
<iq type='set' id='8187739bc7e763e5dab65930b0d7ce10'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:43.740 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<iq type='result' id='8187739bc7e763e5dab65930b0d7ce10'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:43.740 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 out
<presence/>



*** User 2021-10-27 12:53:43.742 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 in
<presence from='alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1' xml:lang='en'/>



*** User 2021-10-27 12:53:43.744 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.746 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69560c5eb98c46dd' from='example.org' version='1.0' xml:lang='en'>

*** User 2021-10-27 12:53:43.746 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:43.746 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjMuNzI0MjAxAG1ha290YTM=</auth>



*** User 2021-10-27 12:53:44.152 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2021-10-27 12:53:44.152 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:44.154 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a598663a9eaeb185' from='example.org' version='1.0' xml:lang='en'>

*** User 2021-10-27 12:53:44.154 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@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 2021-10-27 12:53:44.155 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 out
<iq type='set' id='028d2df5da5e3085c6151c02921e8a5c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2021-10-27 12:53:44.155 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<iq id='028d2df5da5e3085c6151c02921e8a5c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1</jid>
	</bind>
</iq>



*** User 2021-10-27 12:53:44.156 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 out
<iq type='set' id='80eb9ae96453d3d56d2b3631c6c89ff0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:44.156 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<iq type='result' id='80eb9ae96453d3d56d2b3631c6c89ff0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:44.156 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 out
<presence/>



*** User 2021-10-27 12:53:44.158 ***
bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1 in
<presence from='bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1' xml:lang='en'/>



*** User 2021-10-27 12:53:44.158 ***
alice_rest_delete_domain_cleans_data_from_mam_23.724201@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>


*** CT 2021-10-27 12:53:49.160 *** Stanza Log: rest_delete_domain_cleans_data_from_mam.xml

*** CT Error Notification 2021-10-27 12:53:49.161 ***
escalus_client:wait_for_stanza failed on line 136
Reason: {timeout_when_waiting_for_stanza,[{escalus_client,...},{...}|...]}

Full error description and stacktrace
*** CT 2021-10-27 12:53:49.177 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_601.html
*** CT 2021-10-27 12:53:49.178 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2090.html



=== Ended at 2021-10-27 12:53:49
=== Location: [{escalus_client,wait_for_stanza,136},
              {service_domain_db_SUITE,'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',952},
              {escalus_story,story,72},
              {test_server,ts_tc,1783},
              {test_server,run_test_case_eval1,1292},
              {test_server,run_test_case_eval,1224}]
=== === Reason: timeout_when_waiting_for_stanza
  in function  escalus_client:wait_for_stanza/2
     called as escalus_client:wait_for_stanza({client,
                                               <<"bob_rest_delete_domain_cleans_data_from_mam_23.724201@example.org/res1">>,
                                               escalus_tcp,<0.29376.1>,
                                               [{event_manager,<0.29370.1>},
                                                {server,<<"example.org">>},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_23.724201">>},
                                                {resource,<<"res1">>}],
                                               [{event_client,
                                                 [{event_manager,<0.29370.1>},
                                                  {server,<<"example.org">>},
                                                  {username,
                                                   <<"bob_rest_delete_domain_cleans_data_from_mam_23.724201">>},
                                                  {resource,<<"res1">>}]},
                                                {resource,<<"res1">>},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_23.724201">>},
                                                {server,<<"example.org">>},
                                                {host,<<"localhost">>},
                                                {port,5232},
                                                {auth,
                                                 {escalus_auth,auth_plain}},
                                                {wspath,undefined},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_23.724201">>},
                                                {server,<<"example.org">>},
                                                {host,<<"localhost">>},
                                                {password,<<"makota3">>},
                                                {port,5232},
                                                {stream_id,
                                                 <<"a598663a9eaeb185">>}]},
                                              5000)
  in call from service_domain_db_SUITE:'-rest_delete_domain_cleans_data_from_mam/1-fun-0-'/5 (/home/circleci/app/big_tests/tests/service_domain_db_SUITE.erl, line 952)
  in call from escalus_story:story/4 (/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 72)
  in call from test_server:ts_tc/3 (test_server.erl, line 1783)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1292)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1224)


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