-
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
Improve error handling in offline #3864
Conversation
small_tests_24 / small_tests / d3952d6 small_tests_25 / small_tests / d3952d6 ldap_mnesia_24 / ldap_mnesia / d3952d6 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / d3952d6 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / d3952d6 ldap_mnesia_25 / ldap_mnesia / d3952d6 dynamic_domains_mysql_redis_25 / mysql_redis / d3952d6 pgsql_mnesia_24 / pgsql_mnesia / d3952d6 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / d3952d6 internal_mnesia_25 / internal_mnesia / d3952d6 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / d3952d6 pgsql_mnesia_25 / pgsql_mnesia / d3952d6 riak_mnesia_24 / riak_mnesia / d3952d6 mysql_redis_25 / mysql_redis / d3952d6 mssql_mnesia_25 / odbc_mssql_mnesia / d3952d6 inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_backwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"kate_can_paginate_backwards_1513@localhost/res1">>,
escalus_tcp,<0.8213.1>,
[{event_manager,<0.8197.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_backwards_1513">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8197.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_backwards_1513">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_can_paginate_backwards_1513">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_can_paginate_backwards_1513">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"9fb11295c16b8344">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,540}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_backwards/1-fun-0-',4,
[{file,
"/home/circleci/project... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_forwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"mike_can_paginate_forwards_1510@localhost/res1">>,
escalus_tcp,<0.8214.1>,
[{event_manager,<0.8176.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8176.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_can_paginate_forwards_1510">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"e616227aa80bf99e">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,540}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_forwards/1-fun-0-',4,
[{file,
"/home/circleci/project/big_te... inbox_extensions_SUITE:regular:one_to_one:pagination:pagination_overrides_form{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"kate_pagination_overrides_form_1512@localhost/res1">>,
escalus_tcp,<0.8212.1>,
[{event_manager,<0.8190.1>},
{server,<<"localhost">>},
{username,<<"kate_pagination_overrides_form_1512">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8190.1>},
{server,<<"localhost">>},
{username,<<"kate_pagination_overrides_form_1512">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_pagination_overrides_form_1512">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_pagination_overrides_form_1512">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"bc7a9ea8169a6214">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,540}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-pagination_overrides_form/1-fun-0-',4,
[{file,
... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"kate_max_queries_can_be_limited_1508@localhost/res1">>,
escalus_tcp,<0.8210.1>,
[{event_manager,<0.8162.1>},
{server,<<"localhost">>},
{username,<<"kate_max_queries_can_be_limited_1508">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8162.1>},
{server,<<"localhost">>},
{username,<<"kate_max_queries_can_be_limited_1508">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_max_queries_can_be_limited_1508">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_max_queries_can_be_limited_1508">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"405c5b9a5c3345c7">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,540}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_be_limited/1-fun-0-',4,
[{file... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_fetch_ahead{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"mike_max_queries_can_fetch_ahead_1511@localhost/res1">>,
escalus_tcp,<0.8215.1>,
[{event_manager,<0.8183.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1511">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8183.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1511">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_max_queries_can_fetch_ahead_1511">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_max_queries_can_fetch_ahead_1511">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"22096c9ca9b76f81">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,540}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_fetch_ahead/1-fun-0-',4,
[... pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription{error,
{{badmatch,
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_unsubscribe_after_presence_unsubscription_2672@localhost">>},
{<<"to">>,
<<"bob_unsubscribe_after_presence_unsubscription_2672@localhost/res1">>},
{<<"type">>,<<"headline">>}],
[{xmlel,<<"event">>,
[{<<"xmlns">>,
<<"http://jabber.org/protocol/pubsub#event">>}],
[{xmlel,<<"items">>,
[{<<"node">>,<<"QBjTmVHrojNgUb108ojtMg==">>}],
[{xmlel,<<"item">>,
[{<<"id">>,<<"salmon">>}],
[{xmlel,<<"entry">>,
[{<<"xmlns">>,
<<"http://www.w3.org/2005/Atom">>}],
[]}]}]}]},
{xmlel,<<"headers">>,
[{<<"xmlns">>,<<"http://jabber.org/protocol/shim">>}],
[]}]}]},
[{pep_SUITE,'-unsubscribe_after_presence_unsubscription/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/tests/pep_SUITE.erl"},
{line,384}]},
{escalus_story,story,4,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} |
Codecov ReportBase: 82.77% // Head: 83.14% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #3864 +/- ##
==========================================
+ Coverage 82.77% 83.14% +0.37%
==========================================
Files 535 535
Lines 34149 34149
==========================================
+ Hits 28266 28394 +128
+ Misses 5883 5755 -128
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
d3952d6
to
d620dbe
Compare
small_tests_24 / small_tests / d620dbe small_tests_25 / small_tests / d620dbe dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / d620dbe ldap_mnesia_24 / ldap_mnesia / d620dbe dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / d620dbe dynamic_domains_mysql_redis_25 / mysql_redis / d620dbe ldap_mnesia_25 / ldap_mnesia / d620dbe pgsql_mnesia_24 / pgsql_mnesia / d620dbe dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / d620dbe internal_mnesia_25 / internal_mnesia / d620dbe elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / d620dbe pgsql_mnesia_25 / pgsql_mnesia / d620dbe riak_mnesia_24 / riak_mnesia / d620dbe mysql_redis_25 / mysql_redis / d620dbe mssql_mnesia_25 / odbc_mssql_mnesia / d620dbe |
d620dbe
to
1d4a7ff
Compare
small_tests_24 / small_tests / 1d4a7ff small_tests_25 / small_tests / 1d4a7ff dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 1d4a7ff ldap_mnesia_24 / ldap_mnesia / 1d4a7ff dynamic_domains_mysql_redis_25 / mysql_redis / 1d4a7ff dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 1d4a7ff ldap_mnesia_25 / ldap_mnesia / 1d4a7ff dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 1d4a7ff elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 1d4a7ff pgsql_mnesia_24 / pgsql_mnesia / 1d4a7ff internal_mnesia_25 / internal_mnesia / 1d4a7ff riak_mnesia_24 / riak_mnesia / 1d4a7ff pgsql_mnesia_25 / pgsql_mnesia / 1d4a7ff mysql_redis_25 / mysql_redis / 1d4a7ff mssql_mnesia_25 / odbc_mssql_mnesia / 1d4a7ff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good in general, but I found an issue when passing negative numbers of days:
mongoose $ _build/mim1/rel/mongooseim/bin/mongooseimctl offline deleteOldMessages --domain Localhost --days -24324233
{
"data" : {
"offline" : {
"deleteOldMessages" : "Removed 0 messages"
}
}
}
mongoose $ _build/mim1/rel/mongooseim/bin/mongooseimctl offline deleteOldMessages --domain Localhost --days -243242333
{
"errors" : [
{
"path" : [
"offline",
"deleteOldMessages"
],
"message" : "Unexpected OfflineAdminMutation resolver crash",
"extensions" : {
"code" : "resolver_crash"
}
}
],
"data" : {
"offline" : {
"deleteOldMessages" : null
}
}
}
mongoose $ _build/mim1/rel/mongooseim/bin/mongooseimctl offline deleteOldMessages --domain Localhost --days -2432423333
{
"errors" : [
{
"path" : [
"..",
"days"
],
"message" : "Input coercion failed for type Int with value -2432423333. The reason it failed is: not_int32_value",
"extensions" : {
"code" : "input_coercion"
}
}
]
}```
small_tests_24 / small_tests / 035d1e3 small_tests_25 / small_tests / 035d1e3 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 035d1e3 ldap_mnesia_24 / ldap_mnesia / 035d1e3 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 035d1e3 ldap_mnesia_25 / ldap_mnesia / 035d1e3 dynamic_domains_mysql_redis_25 / mysql_redis / 035d1e3 muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4394}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4130}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4126}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} internal_mnesia_25 / internal_mnesia / 035d1e3 pgsql_mnesia_24 / pgsql_mnesia / 035d1e3 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 035d1e3 inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited{error,
{{inbox_size,3,
[{times,1,
{error,
#{check_params => #{},error => function_clause,
expected_items =>
[#{content => <<"Msg 3">>,
from =>
<<"[email protected]/res1">>,
to =>
<<"[email protected]/res1">>,
unread => 0,verify => #Fun<inbox_helper.28.35890797>},
#{content => <<"Msg 2">>,
from =>
<<"[email protected]/res1">>,
to =>
<<"[email protected]/res1">>,
unread => 0,verify => #Fun<inbox_helper.28.35890797>},
#{content => <<"Msg 1">>,
from =>
<<"[email protected]/res1">>,
to =>
<<"[email protected]/res1">>,
unread => 0,verify => #Fun<inbox_helper.28.35890797>}],
inbox_items =>
[<<"<message from='[email protected]' to='[email protected]/res1' id='1669-29333-788891'><result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='68d385fdae8a6da5b71bcb6bed3574dc'><forwarded xmlns='urn:xmpp:forward:0'><delay xmlns='urn:xmpp:delay' stamp='2022-11-21T11:15:33.775355Z'/><message from='[email protected]/res1' xml:lang='en' to='[email protected]/res1' type='ch... service_mongoose_system_metrics_SUITE:module_opts:rdbms_module_opts_are_reported{error,
{{assertEqual,
[{module,service_mongoose_system_metrics_SUITE},
{line,372},
{expression,"is_module_opt_reported ( Module , Key , Value )"},
{expected,true},
{value,false}]},
[{service_mongoose_system_metrics_SUITE,check_module_opt,3,
[{file,
"/home/circleci/project/big_tests/tests/service_mongoose_system_metrics_SUITE.erl"},
{line,372}]},
{service_mongoose_system_metrics_SUITE,rdbms_module_opts_are_reported,
1,
[{file,
"/home/circleci/project/big_tests/tests/service_mongoose_system_metrics_SUITE.erl"},
{line,238}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 035d1e3 riak_mnesia_24 / riak_mnesia / 035d1e3 pgsql_mnesia_25 / pgsql_mnesia / 035d1e3 mysql_redis_25 / mysql_redis / 035d1e3 mssql_mnesia_25 / odbc_mssql_mnesia / 035d1e3 |
035d1e3
to
e141077
Compare
small_tests_24 / small_tests / e141077 small_tests_25 / small_tests / e141077 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / e141077 ldap_mnesia_24 / ldap_mnesia / e141077 dynamic_domains_mysql_redis_25 / mysql_redis / e141077 ldap_mnesia_25 / ldap_mnesia / e141077 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / e141077 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / e141077 internal_mnesia_25 / internal_mnesia / e141077 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / e141077 pgsql_mnesia_24 / pgsql_mnesia / e141077 riak_mnesia_24 / riak_mnesia / e141077 pgsql_mnesia_25 / pgsql_mnesia / e141077 mysql_redis_25 / mysql_redis / e141077 mssql_mnesia_25 / odbc_mssql_mnesia / e141077 inbox_SUITE:async_pools:muclight_config:system_message_is_correctly_avoided{error,
{{inbox_size,1,
[{times,50,
{error,
#{check_params => #{},error => function_clause,
expected_items =>
[#{content => <<"How are you?">>,
from =>
<<"[email protected]/bob@localhost">>,
to => <<"[email protected]">>,unread => 2,
verify => #Fun<inbox_SUITE.86.91825257>}],
inbox_items => [],query_params => #{},
reason => inbox_mismatch,
stacktrace =>
[{lists,zip,
[[],
[{conv,2,
<<"[email protected]/bob@localhost">>,
<<"[email protected]">>,
<<"How are you?">>,
#Fun<inbox_SUITE.86.91825257>,undefined}]],
[{file,"lists.erl"},{line,419}]},
{inbox_helper,check_inbox_result,5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,221}]},
{inbox_helper,do_check_inbox,5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,208}]},
{inbox_helper,'-check_inbox/4-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,201}]},
{mongoose_helper,do_wait_until,2,
... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_backwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"mike_can_paginate_backwards_1511@localhost/res1">>,
escalus_tcp,<0.8437.1>,
[{event_manager,<0.8392.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_backwards_1511">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8392.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_backwards_1511">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_can_paginate_backwards_1511">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_can_paginate_backwards_1511">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"854afd44a4a14403">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_backwards/1-fun-0-',4,
[{file,
"/home/circleci/project/... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"mike_max_queries_can_be_limited_1512@localhost/res1">>,
escalus_tcp,<0.8438.1>,
[{event_manager,<0.8399.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_be_limited_1512">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8399.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_be_limited_1512">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_max_queries_can_be_limited_1512">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_max_queries_can_be_limited_1512">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"cae2c65c8c95c576">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_be_limited/1-fun-0-',4,
[{file,... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_forwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"mike_can_paginate_forwards_1510@localhost/res1">>,
escalus_tcp,<0.8440.1>,
[{event_manager,<0.8385.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8385.1>},
{server,<<"localhost">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_can_paginate_forwards_1510">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_can_paginate_forwards_1510">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"1958da39dd9be032">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_forwards/1-fun-0-',4,
[{file,
"/home/circleci/project/big_te... inbox_extensions_SUITE:regular:one_to_one:pagination:pagination_overrides_form{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"mike_pagination_overrides_form_1514@localhost/res1">>,
escalus_tcp,<0.8439.1>,
[{event_manager,<0.8413.1>},
{server,<<"localhost">>},
{username,<<"mike_pagination_overrides_form_1514">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8413.1>},
{server,<<"localhost">>},
{username,<<"mike_pagination_overrides_form_1514">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_pagination_overrides_form_1514">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_pagination_overrides_form_1514">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"73c37f52d141fcef">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-pagination_overrides_form/1-fun-0-',4,
[{file,
... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_fetch_ahead{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"mike_max_queries_can_fetch_ahead_1515@localhost/res1">>,
escalus_tcp,<0.8441.1>,
[{event_manager,<0.8420.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1515">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8420.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1515">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_max_queries_can_fetch_ahead_1515">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_max_queries_can_fetch_ahead_1515">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"b3d50e907bcc7e60">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_fetch_ahead/1-fun-0-',4,
[... muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4394}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4130}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4126}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} mssql_mnesia_25 / odbc_mssql_mnesia / e141077 small_tests_24 / small_tests / e141077 small_tests_25 / small_tests / e141077 ldap_mnesia_24 / ldap_mnesia / e141077 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / e141077 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / e141077 ldap_mnesia_25 / ldap_mnesia / e141077 dynamic_domains_mysql_redis_25 / mysql_redis / e141077 internal_mnesia_25 / internal_mnesia / e141077 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / e141077 pgsql_mnesia_24 / pgsql_mnesia / e141077 riak_mnesia_24 / riak_mnesia / e141077 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / e141077 inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"[email protected]/res1">>,
escalus_tcp,<0.8207.1>,
[{event_manager,<0.8161.1>},
{server,<<"domain.example.com">>},
{username,<<"bOb_max_queries_can_be_limited_1683">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8161.1>},
{server,<<"domain.example.com">>},
{username,<<"bOb_max_queries_can_be_limited_1683">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"bob_max_queries_can_be_limited_1683">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"bOb_max_queries_can_be_limited_1683">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>},
{stream_id,<<"1891165f71b72df9">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
{inbox... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_forwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"[email protected]/res1">>,
escalus_tcp,<0.8208.1>,
[{event_manager,<0.8168.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_can_paginate_forwards_1684">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8168.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_can_paginate_forwards_1684">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_can_paginate_forwards_1684">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_can_paginate_forwards_1684">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"77e1c2fb1933efba">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_backwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"[email protected]/res1">>,
escalus_tcp,<0.8209.1>,
[{event_manager,<0.8189.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_can_paginate_backwards_1687">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8189.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_can_paginate_backwards_1687">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_can_paginate_backwards_1687">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_can_paginate_backwards_1687">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"cff917cef7f57232">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_S... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_fetch_ahead{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"[email protected]/res1">>,
escalus_tcp,<0.8210.1>,
[{event_manager,<0.8196.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_max_queries_can_fetch_ahead_1688">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8196.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_max_queries_can_fetch_ahead_1688">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_max_queries_can_fetch_ahead_1688">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_max_queries_can_fetch_ahead_1688">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"57df18b134df4a8e">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},... inbox_extensions_SUITE:regular:one_to_one:pagination:pagination_overrides_form{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"[email protected]/res1">>,
escalus_tcp,<0.8211.1>,
[{event_manager,<0.8175.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_pagination_overrides_form_1685">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8175.1>},
{server,<<"domain.example.com">>},
{username,<<"kate_pagination_overrides_form_1685">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_pagination_overrides_form_1685">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_pagination_overrides_form_1685">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"4d510a8ad0449e1b">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inb... mysql_redis_25 / mysql_redis / e141077 mssql_mnesia_25 / odbc_mssql_mnesia / e141077 |
Co-authored-by: Paweł Chrząszcz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Improve error handling in offline