=== 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.28014.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.html"},
     {tc_group_properties,[{name,rest_with_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:35


*** CT 2021-10-27 12:53:35.526 *** View log from node mongooseim@localhost when started mongooseim@localhost_2009.html
*** CT 2021-10-27 12:53:35.527 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_601.html

*** User 2021-10-27 12:53:35.559 ***
REST request:
Code: 204
Req: {<0.28729.1>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fde9184652db917b">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 27 Oct 2021 12:53:34 GMT">>}],
         <<>>,80,11626}
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 2021-10-27 12:53:35.571 ***
REST request:
Code: 204
Req: {<0.28731.1>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d929d3f4820aa105">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 27 Oct 2021 12:53:35 GMT">>}],
         <<>>,80,6903}
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 2021-10-27 12:53:35.578 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@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:35.579 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d80263209916cb19' from='example.com' version='1.0' xml:lang='en'>

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



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



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

*** User 2021-10-27 12:53:35.588 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@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:35.588 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 out
<iq type='set' id='14c1c65ba8cf17163689962550cb98f3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2021-10-27 12:53:35.589 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 in
<iq id='14c1c65ba8cf17163689962550cb98f3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1</jid>
	</bind>
</iq>



*** User 2021-10-27 12:53:35.589 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 out
<iq type='set' id='6239a1b168329ad2ef9814b1f6ea1b89'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:35.591 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 in
<iq type='result' id='6239a1b168329ad2ef9814b1f6ea1b89'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:35.591 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 out
<presence/>



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



*** User 2021-10-27 12:53:35.595 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@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:35.596 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65c8e157502fd26f' from='example.org' version='1.0' xml:lang='en'>

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



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



*** User 2021-10-27 12:53:35.865 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@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:35.866 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af666056c6e87fd4' from='example.org' version='1.0' xml:lang='en'>

*** User 2021-10-27 12:53:35.866 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@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:35.867 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 out
<iq type='set' id='373b6f8b8186db10b1b6cc09b3423854'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2021-10-27 12:53:35.868 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 in
<iq id='373b6f8b8186db10b1b6cc09b3423854' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1</jid>
	</bind>
</iq>



*** User 2021-10-27 12:53:35.868 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 out
<iq type='set' id='3e8a70428b82cd198b22bfad49c21ba7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:35.869 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 in
<iq type='result' id='3e8a70428b82cd198b22bfad49c21ba7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2021-10-27 12:53:35.869 ***
bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1 out
<presence/>



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



*** User 2021-10-27 12:53:35.871 ***
alice_rest_delete_domain_cleans_data_from_mam_15.574626@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_15.574626@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>


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

*** CT Error Notification 2021-10-27 12:53:40.878 ***
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:40.895 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_601.html
*** CT 2021-10-27 12:53:40.897 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2013.html



=== Ended at 2021-10-27 12:53:40
=== 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_15.574626@example.org/res1">>,
                                               escalus_tcp,<0.28734.1>,
                                               [{event_manager,<0.28728.1>},
                                                {server,<<"example.org">>},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_15.574626">>},
                                                {resource,<<"res1">>}],
                                               [{event_client,
                                                 [{event_manager,<0.28728.1>},
                                                  {server,<<"example.org">>},
                                                  {username,
                                                   <<"bob_rest_delete_domain_cleans_data_from_mam_15.574626">>},
                                                  {resource,<<"res1">>}]},
                                                {resource,<<"res1">>},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_15.574626">>},
                                                {server,<<"example.org">>},
                                                {host,<<"localhost">>},
                                                {port,5232},
                                                {auth,
                                                 {escalus_auth,auth_plain}},
                                                {wspath,undefined},
                                                {username,
                                                 <<"bob_rest_delete_domain_cleans_data_from_mam_15.574626">>},
                                                {server,<<"example.org">>},
                                                {host,<<"localhost">>},
                                                {password,<<"makota3">>},
                                                {port,5232},
                                                {stream_id,
                                                 <<"af666056c6e87fd4">>}]},
                                              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