-
Notifications
You must be signed in to change notification settings - Fork 428
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
base: master
Are you sure you want to change the base?
Conversation
8029.1 / Erlang 22.0 / small_tests / 6386f82 8029.2 / Erlang 22.0 / internal_mnesia / 6386f82 8029.4 / Erlang 22.0 / mysql_redis / 6386f82 8029.3 / Erlang 22.0 / odbc_mssql_mnesia / 6386f82 8029.5 / Erlang 22.0 / riak_mnesia / 6386f82 8029.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 6386f82 8029.6 / Erlang 22.0 / ldap_mnesia / 6386f82 8029.9 / Erlang 21.3 / pgsql_mnesia / 6386f82 |
8030.1 / Erlang 22.0 / small_tests / 4a23066 8030.2 / Erlang 22.0 / internal_mnesia / 4a23066 8030.4 / Erlang 22.0 / mysql_redis / 4a23066 8030.3 / Erlang 22.0 / odbc_mssql_mnesia / 4a23066 8030.5 / Erlang 22.0 / riak_mnesia / 4a23066 8030.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 4a23066 8030.6 / Erlang 22.0 / ldap_mnesia / 4a23066 8030.9 / Erlang 21.3 / pgsql_mnesia / 4a23066 service_mongoose_system_metrics_SUITE:init_per_suite{'EXIT',{test_case_failed,"service_mongoose_system_metrics is not running"}} 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... 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}]}]}} 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}]}]}} 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}]}]}} 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... 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... 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... 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... 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... 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... 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... 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... bosh_SUITE:essential:create_and_terminate_session{error,{thrown,{timeout,session_creation_response}}} 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}}}} 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}}}} 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}}}} 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}}}} 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}}}} 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}}}} 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}}}} 316 errors were truncated |
- PoC binary unescaping - schema adjustments
8055.1 / Erlang 22.0 / small_tests / f897e0e 8055.2 / Erlang 22.0 / internal_mnesia / f897e0e 8055.4 / Erlang 22.0 / mysql_redis / f897e0e 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}]}]}} 8055.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / f897e0e 8055.6 / Erlang 22.0 / ldap_mnesia / f897e0e 8055.9 / Erlang 21.3 / pgsql_mnesia / f897e0e service_mongoose_system_metrics_SUITE:init_per_suite{'EXIT',{test_case_failed,"service_mongoose_system_metrics is not running"}} 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... 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}]}]}} 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}]}]}} 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}]}]}} 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... 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... 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... 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... 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... 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... 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}}}} 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}}}} 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}}}} bosh_SUITE:essential:create_and_terminate_session{error,{thrown,{timeout,session_creation_response}}} 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}}}} 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}}}} 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}}}} 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}}}} 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}}}} 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}}}} 321 errors were truncated |
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:
Modify
pg.sql
schema:ENUM
type is not supported.family
word has special meaning.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).ON CONFLICT
clause need to beUNIQUE
, see: https://github.com/esl/MongooseIM/pull/2680/files#diff-e0bb6223ac581f8935ad246096a537d5R371.String escaping - in general string escaping differs between Postgres and Cockroach:
MIM with Postgres:
MIM with Cockroach:
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 intordbms_SUITE
andpubsub_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:
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).