Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cockroach backend to ci #2680

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

mkacper
Copy link
Contributor

@mkacper mkacper commented Mar 20, 2020

This PR addresses using an experimental CockroachDB backend.

Here is the summary of the research around using CockroachDB and YugabyteDB with MongooseIM.

CockroachDB

At the first glance Cockroach seems to be a bit more mature project than Yugabyte. I've simply encountered less serious bugs when working with Cockroach. However, on the other hand, Cockroach has (in my opinion which is based on just several hours of playing with the db) a bit worse compatibility with Postgres drivers than Yuga. Below is the list of steps I've taken to make MIM work with Cockroach:

  1. Modify pg.sql schema:

    1. ENUM type is not supported.
    2. family word has special meaning.
    3. JSON fields don't want to work with pubsub (as far as I understand JSON escaped by MIM is not accepted by JSON type in the db).
    4. Fields that are used in ON CONFLICT clause need to be UNIQUE, see: https://github.com/esl/MongooseIM/pull/2680/files#diff-e0bb6223ac581f8935ad246096a537d5R371.
  2. String escaping - in general string escaping differs between Postgres and Cockroach:

MIM with Postgres:

(mongooseim@localhost)1> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT 1;">>).
{selected,[{<<"1">>}]}
(mongooseim@localhost)2> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\';">>).
{selected,[{<<>>}]}
(mongooseim@localhost)3> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\\';">>).
{error,"unterminated quoted string at or near \"'\\';\""}
(mongooseim@localhost)4> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\\\\';">>).
{selected,[{<<"\\">>}]}
(mongooseim@localhost)5>

MIM with Cockroach:

(mongooseim@localhost)25> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT 1;">>).
{selected,[{<<"1">>}]}
(mongooseim@localhost)26> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\';">>).
{selected,[{<<>>}]}
(mongooseim@localhost)27> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\\';">>).
{selected,[{<<"\\">>}]}
(mongooseim@localhost)28> mongoose_rdbms:sql_query(<<"localhost">>, <<"SELECT '\\\\';">>).
{selected,[{<<"\\\\">>}]}
(mongooseim@localhost)29>

I've created a PoC for escaping problem, see: https://github.com/esl/MongooseIM/pull/2680/files#diff-98c5e078be0cdd48c01b07ef75dceb89L37-R57. It was necessary, for example, to make one of pubsub test cases pass. But it also required changing the server code. IMO to solve that problem we should write a proper unescaping function for CockroachDB and change some of the server code so DB results that might need unescaping go through that function.

Please notice that it's possible that there are more problems out there but I have not found it yet. I've started with mam_SUITE. When it passed I just went through SUITEs that failed on CI. So far I've looked into rdbms_SUITE and pubsub_SUITE.

This PR also contains code that sets up CockroachDB in a docker container and provisiones it to be ready to work with MIM.

YugabyteDB

I found some critical bugs e.g. ORDER BY clause causing different length of results or some weird errors when using concurrent connections to the DB. I've created an issue on Yuga github re the former issue and their team responded almost immediately and the bug has been solved within a few days - chapeau bas Yougabyte team!

When it comes the latter bug, here is the error:

reason={case_clause,#{class => throw,reason => {aborted,#{reason => "Query error: Restart read required at: { read: { physical: 1584977855699547 } local_limit: { physical: 1584977855704746 } global_limit: <min> in_txn_limit: <max> serial_no: 0 }",sql_query => ["SELECT ","nidx, p_key, name, type, owners, options"," from pubsub_nodes WHERE p_key = ",[39,<<"pubsub.localhost">>,39]," AND name = ",[39,<<"princely_musings_yeWbz8Oh">>,39]]}},stacktrace => [{mongoose_rdbms,sql_query_t,2,[{file,"/Users/kacpermentel/ESL/other/yugabyte/MongooseIM/_build/mim1/lib/mongooseim/src/rdbms/mongoose_rdbms.erl"},{line,239}]},{mod_pubsub_db_rdbms,find_node_by_name,2,[{file,"/Users/kacpermentel/ESL/other/yugabyte/MongooseIM/_build/mim1/lib/mongooseim/src/pubsub/mod_pubsub_db_rdbms.erl"},{line,316}]},{timer,tc,3,[{file,"timer.erl"},{line,197}]},{mod_pubsub_db_backend,find_node_by_name,2,[{file,[]},{line,103}]},{nodetree_dag,create_node,6,[{file,"/Users/kacpermentel/ESL/other/yugabyte/MongooseIM/_build/mim1/lib/mongooseim/src/pubsub/nodetree_dag.erl"},{line,56}]},{mod_pubsub,create_node_authorized_transaction,6,[{file,"/Users/kacpermentel/ESL/other/yugabyte/MongooseIM/_build/mim1/lib/mongooseim/src/pubsub/mod_pubsub.erl"},{line,1995}]},{mod_pubsub_db,'-extra_debug_fun/1-fun-0-',1,[{file,"/U..."},...]},...]}}

It comes form MIM logs when running pubsub suite. Setting DB workers to 1 in MIM config solved the problem.

Very strong advantage of YugabyteDB is its compatibility with Postgres driver. The DB SQL API behaves exactly the same as original Postgres one (as far as I could test it).

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 20, 2020

8029.1 / Erlang 22.0 / small_tests / 6386f82
Reports root / small


8029.2 / Erlang 22.0 / internal_mnesia / 6386f82
Reports root/ big
OK: 1392 / Failed: 0 / User-skipped: 155 / Auto-skipped: 0


8029.4 / Erlang 22.0 / mysql_redis / 6386f82
Reports root/ big
OK: 2622 / Failed: 0 / User-skipped: 205 / Auto-skipped: 0


8029.3 / Erlang 22.0 / odbc_mssql_mnesia / 6386f82
Reports root/ big
OK: 2627 / Failed: 0 / User-skipped: 200 / Auto-skipped: 0


8029.5 / Erlang 22.0 / riak_mnesia / 6386f82
Reports root/ big
OK: 1525 / Failed: 0 / User-skipped: 162 / Auto-skipped: 0


8029.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 6386f82
Reports root/ big
OK: 328 / Failed: 0 / User-skipped: 28 / Auto-skipped: 0


8029.6 / Erlang 22.0 / ldap_mnesia / 6386f82
Reports root/ big
OK: 1357 / Failed: 0 / User-skipped: 190 / Auto-skipped: 0


8029.9 / Erlang 21.3 / pgsql_mnesia / 6386f82
Reports root/ big / small
OK: 2640 / Failed: 0 / User-skipped: 187 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 20, 2020

8030.1 / Erlang 22.0 / small_tests / 4a23066
Reports root / small


8030.2 / Erlang 22.0 / internal_mnesia / 4a23066
Reports root/ big
OK: 1392 / Failed: 0 / User-skipped: 155 / Auto-skipped: 0


8030.4 / Erlang 22.0 / mysql_redis / 4a23066
Reports root/ big
OK: 2622 / Failed: 0 / User-skipped: 205 / Auto-skipped: 0


8030.3 / Erlang 22.0 / odbc_mssql_mnesia / 4a23066
Reports root/ big
OK: 2627 / Failed: 0 / User-skipped: 200 / Auto-skipped: 0


8030.5 / Erlang 22.0 / riak_mnesia / 4a23066
Reports root/ big
OK: 1525 / Failed: 0 / User-skipped: 162 / Auto-skipped: 0


8030.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 4a23066
Reports root/ big
OK: 328 / Failed: 0 / User-skipped: 28 / Auto-skipped: 0


8030.6 / Erlang 22.0 / ldap_mnesia / 4a23066
Reports root/ big
OK: 1357 / Failed: 0 / User-skipped: 190 / Auto-skipped: 0


8030.9 / Erlang 21.3 / pgsql_mnesia / 4a23066
Reports root/ big / small
OK: 16 / Failed: 204 / User-skipped: 23 / Auto-skipped: 1317

service_mongoose_system_metrics_SUITE:init_per_suite
{'EXIT',{test_case_failed,"service_mongoose_system_metrics is not running"}}

Report log

rdbms_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,
            [mongoose_wpool,{rdbms,<<"localhost">>,default}],
            []},
          {mongoose_wpool,get_pool,3,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/wpool/mongoose_wpool.erl"},
             {line,301}]},
          {mongoose_wpool,call,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/wpool/mongoose_wpool.erl"},
             {line,200}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       mongoose_rdbms,sql_transaction,
       [<<"localhost">>,fun erlang:yield/0]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {mongoose_helper,is_rdbms_enabled,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mongoose_helper.erl"},
       {line,41}]},
    {rdbms_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/rdbms_SUITE.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_e...

Report log

race_conditions_SUITE:main_group:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ejabberd_sm,register_iq_handler,5,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_sm.erl"},
             {line,475}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 5000},
       gen_iq_handler,add_iq_handler,
       [ejabberd_sm,<<"localhost">>,<<"urn:escalus:delayiq">>,
      race_conditions_SUITE,handle_delayiq_iq,parallel]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {mongoose_helper,successful_rpc,5,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mongoose_helper.erl"},
       {line,249}]},
    {race_conditions_SUITE,init_per_group,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/race_conditions_SUITE.erl"},
       {line,54}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

acc_e2e_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,new,
            [test_message_index,
             [named_table,public,{heir,undefined,none}]],
            []},
          {acc_test_helper,recreate_table,0,[{file,[]},{line,55}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},acc_test_helper,recreate_table,[]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {acc_e2e_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/acc_e2e_SUITE.erl"},
       {line,68}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

accounts_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,select,
            [ejabberd_modules,
             [{{ejabberd_module,{'$1',<<"localhost">>},'$2'},
             [],
             [{{'$1','$2'}}]}]],
            []},
          {gen_mod,loaded_modules_with_opts,1,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/gen_mod.erl"},
             {line,404}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       gen_mod,loaded_modules_with_opts,
       [<<"localhost">>]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {dynamic_modules,ensure_modules,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/dynamic_modules.erl"},
       {line,15}]},
    {accounts_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/accounts_SUITE.erl"},
       {line,58}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

adhoc_SUITE:adhoc:ping
{error,
  {{badmatch,
     {error,
       {{badmatch,{error,econnrefused}},
        [{escalus_tcp,init,1,
           [{file,
            "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_tcp.erl"},
          {line,201}]},
         {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
         {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
         {proc_lib,init_p_do_apply,3,
           [{file,"proc_lib.erl"},{line,249}]}]}}},
   [{escalus_tcp,connect,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_tcp.erl"},
       {line,83}]},
    {escalus_connection,connect,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,180}]},
    {escalus_connection,start,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,137}]},
    {escalus_client,start,3,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
       {line,58}]},
    {escalus_story,'-start_ready_clients/2-fun-0-',3,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,132}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
    {escalus_story,start_ready_clients,2,
      [{file,
         "/ho...

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

adhoc_SUITE:adhoc:ping
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

:error_in_suite
{error,'amp_big_SUITE:all/0 failed'}

Report log

anonymous_SUITE:anonymous:messages_story
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

anonymous_SUITE:anonymous:messages_story
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

anonymous_SUITE:anonymous:messages_story
{error,
  {{badmatch,
     {error,
       {{badmatch,{error,econnrefused}},
        [{escalus_tcp,init,1,
           [{file,
            "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_tcp.erl"},
          {line,201}]},
         {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
         {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
         {proc_lib,init_p_do_apply,3,
           [{file,"proc_lib.erl"},{line,249}]}]}}},
   [{escalus_tcp,connect,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_tcp.erl"},
       {line,83}]},
    {escalus_connection,connect,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,180}]},
    {escalus_connection,start,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,137}]},
    {escalus_client,start,3,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
       {line,58}]},
    {escalus_story,'-start_ready_clients/2-fun-0-',3,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,132}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
    {escalus_story,start_ready_clients,2,
      [{file,
         "/ho...

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

bosh_SUITE:essential:create_and_terminate_session
{error,{thrown,{timeout,session_creation_response}}}

Report log

bosh_SUITE:essential:post_empty_body
{error,{test_case_failed,#{body => <<>>,client => <0.1885.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:accept_higher_hold_value
{error,{test_case_failed,#{body =>
                 <<"<body rid='294189' xmlns='http://jabber.org/protocol/httpbind' content='text/xml; charset=utf-8' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0' ver='1.6' hold='2' wait='2' xml:lang='en' to='localhost'/>">>,
               client => <0.1904.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:options_request
{error,{test_case_failed,#{body => <<>>,client => <0.1923.0>,
               headers => [{<<"Origin">>,<<"localhost">>}],
               issue => http_request_failed,
               method => <<"OPTIONS">>,path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:put_request
{error,{test_case_failed,#{body => <<"not allowed body">>,
               client => <0.1942.0>,headers => [],
               issue => http_request_failed,method => <<"PUT">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:do_not_accept_0_hold_value
{error,{test_case_failed,#{body =>
                 <<"<body rid='894170' xmlns='http://jabber.org/protocol/httpbind' content='text/xml; charset=utf-8' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0' ver='1.6' hold='0' wait='2' xml:lang='en' to='localhost'/>">>,
               client => <0.1961.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:get_request
{error,{test_case_failed,#{body => <<>>,client => <0.1980.0>,headers => [],
               issue => http_request_failed,method => <<"GET">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:get_request
{error,{test_case_failed,#{body => <<>>,client => <0.2005.0>,headers => [],
               issue => http_request_failed,method => <<"GET">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

316 errors were truncated

  - PoC binary unescaping
  - schema adjustments
@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 25, 2020

8055.1 / Erlang 22.0 / small_tests / f897e0e
Reports root / small


8055.2 / Erlang 22.0 / internal_mnesia / f897e0e
Reports root/ big
OK: 1395 / Failed: 0 / User-skipped: 155 / Auto-skipped: 0


8055.4 / Erlang 22.0 / mysql_redis / f897e0e
Reports root/ big
OK: 2630 / Failed: 1 / User-skipped: 205 / Auto-skipped: 0

mod_ping_SUITE:server_ping:server_ping_pong
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,0},
          {before_story,0},
          {after_story,1}}]},
    [{escalus_mongooseim,post_story_check_metrics,1,
               [{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
                {line,74}]},
     {escalus_mongooseim,maybe_check_metrics_post_story,1,
               [{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
                {line,51}]},
     {escalus_story,story,4,
            [{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,75}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1748}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1263}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1195}]}]}}

Report log


8055.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / f897e0e
Reports root/ big
OK: 328 / Failed: 0 / User-skipped: 28 / Auto-skipped: 0


8055.6 / Erlang 22.0 / ldap_mnesia / f897e0e
Reports root/ big
OK: 1359 / Failed: 0 / User-skipped: 191 / Auto-skipped: 0


8055.9 / Erlang 21.3 / pgsql_mnesia / f897e0e
Reports root/ big / small
OK: 16 / Failed: 204 / User-skipped: 23 / Auto-skipped: 1320

service_mongoose_system_metrics_SUITE:init_per_suite
{'EXIT',{test_case_failed,"service_mongoose_system_metrics is not running"}}

Report log

rdbms_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,
            [mongoose_wpool,{rdbms,<<"localhost">>,default}],
            []},
          {mongoose_wpool,get_pool,3,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/wpool/mongoose_wpool.erl"},
             {line,301}]},
          {mongoose_wpool,call,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/wpool/mongoose_wpool.erl"},
             {line,200}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       mongoose_rdbms,sql_transaction,
       [<<"localhost">>,fun erlang:yield/0]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {mongoose_helper,is_rdbms_enabled,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mongoose_helper.erl"},
       {line,41}]},
    {rdbms_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/rdbms_SUITE.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_e...

Report log

race_conditions_SUITE:main_group:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ejabberd_sm,register_iq_handler,5,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_sm.erl"},
             {line,475}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 5000},
       gen_iq_handler,add_iq_handler,
       [ejabberd_sm,<<"localhost">>,<<"urn:escalus:delayiq">>,
      race_conditions_SUITE,handle_delayiq_iq,parallel]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {mongoose_helper,successful_rpc,5,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mongoose_helper.erl"},
       {line,249}]},
    {race_conditions_SUITE,init_per_group,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/race_conditions_SUITE.erl"},
       {line,54}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

acc_e2e_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,new,
            [test_message_index,
             [named_table,public,{heir,undefined,none}]],
            []},
          {acc_test_helper,recreate_table,0,[{file,[]},{line,55}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},acc_test_helper,recreate_table,[]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {acc_e2e_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/acc_e2e_SUITE.erl"},
       {line,68}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

accounts_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,select,
            [ejabberd_modules,
             [{{ejabberd_module,{'$1',<<"localhost">>},'$2'},
             [],
             [{{'$1','$2'}}]}]],
            []},
          {gen_mod,loaded_modules_with_opts,1,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/gen_mod.erl"},
             {line,404}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       gen_mod,loaded_modules_with_opts,
       [<<"localhost">>]],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/distributed_helper.erl"},
       {line,114}]},
    {dynamic_modules,ensure_modules,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/dynamic_modules.erl"},
       {line,15}]},
    {accounts_SUITE,init_per_suite,1,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/accounts_SUITE.erl"},
       {line,58}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

adhoc_SUITE:adhoc:ping
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

adhoc_SUITE:adhoc:ping
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

adhoc_SUITE:adhoc:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

:error_in_suite
{error,'amp_big_SUITE:all/0 failed'}

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

anonymous_SUITE:anonymous:messages_story
{'EXIT',{badmatch,{error,econnrefused}}}

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

anonymous_SUITE:anonymous:end_per_group
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,[hooks,{remove_user,<<"localhost">>}],[]},
          {ejabberd_hooks,run_fold,4,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_hooks.erl"},
             {line,151}]},
          {ejabberd_auth,do_remove_user,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/auth/ejabberd_auth.erl"},
             {line,554}]},
          {ejabberd_admin,unregister,2,
            [{file,
               "/home/travis/build/esl/MongooseIM/_build/mim1/lib/mongooseim/src/ejabberd_admin.erl"},
             {line,356}]},
          {rpc,'-handle_call_call/6-fun-0-',5,
            [{file,"rpc.erl"},{line,197}]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"alicE">>,<<"localhost">>],
       30000,ejabberd],
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
    {escalus_ejabberd,delete_users,2,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
       {line,216}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1165}]},
    {test_server,run_test_ca...

Report log

bosh_SUITE:essential:do_not_accept_0_hold_value
{error,{test_case_failed,#{body =>
                 <<"<body rid='512705' xmlns='http://jabber.org/protocol/httpbind' content='text/xml; charset=utf-8' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0' ver='1.6' hold='0' wait='2' xml:lang='en' to='localhost'/>">>,
               client => <0.1847.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:accept_higher_hold_value
{error,{test_case_failed,#{body =>
                 <<"<body rid='996855' xmlns='http://jabber.org/protocol/httpbind' content='text/xml; charset=utf-8' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0' ver='1.6' hold='2' wait='2' xml:lang='en' to='localhost'/>">>,
               client => <0.1866.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:get_request
{error,{test_case_failed,#{body => <<>>,client => <0.1885.0>,headers => [],
               issue => http_request_failed,method => <<"GET">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:create_and_terminate_session
{error,{thrown,{timeout,session_creation_response}}}

Report log

bosh_SUITE:essential:options_request
{error,{test_case_failed,#{body => <<>>,client => <0.1928.0>,
               headers => [{<<"Origin">>,<<"localhost">>}],
               issue => http_request_failed,
               method => <<"OPTIONS">>,path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:put_request
{error,{test_case_failed,#{body => <<"not allowed body">>,
               client => <0.1947.0>,headers => [],
               issue => http_request_failed,method => <<"PUT">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:post_empty_body
{error,{test_case_failed,#{body => <<>>,client => <0.1966.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:get_request
{error,{test_case_failed,#{body => <<>>,client => <0.1991.0>,headers => [],
               issue => http_request_failed,method => <<"GET">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:options_request
{error,{test_case_failed,#{body => <<>>,client => <0.2010.0>,
               headers => [{<<"Origin">>,<<"localhost">>}],
               issue => http_request_failed,
               method => <<"OPTIONS">>,path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

bosh_SUITE:essential:post_empty_body
{error,{test_case_failed,#{body => <<>>,client => <0.2050.0>,headers => [],
               issue => http_request_failed,method => <<"POST">>,
               path => <<"/http-bind">>,
               reason => {error,econnrefused}}}}

Report log

321 errors were truncated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants