-
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
Fix rest_client_SUITE:muc:messages_can_be_paginated_in_room #3363
Conversation
Add day_offset and user_num into message body for debugging Wait for messages to be in the archive in rest_helper:fill_room_archive Ensure we generate messages with unique ids in rest_helper:fill_room_archive
small_tests_24 / small_tests / 7b907f9 internal_mnesia_24 / internal_mnesia / 7b907f9 small_tests_23 / small_tests / 7b907f9 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7b907f9 mongooseimctl_SUITE:stats:stats_global{error,{{badmatch,{"5\n",0}},
[{mongooseimctl_SUITE,'-stats_global/1-fun-0-',3,
[{file,"/home/circleci/app/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,1056}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} ldap_mnesia_24 / ldap_mnesia / 7b907f9 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 7b907f9 ldap_mnesia_23 / ldap_mnesia / 7b907f9 dynamic_domains_mysql_redis_24 / mysql_redis / 7b907f9 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 7b907f9 inbox_SUITE:one_to_one:reset_unread_counter_and_show_only_unread{error,{badarg,[{erlang,binary_to_integer,
[undefined],
[{error_info,#{module => erl_erts_errors}}]},
{inbox_helper,get_result_el,2,
[{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
{line,236}]},
{inbox_helper,'-check_result/2-fun-0-',3,
[{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
{line,241}]},
{maps,filter_1,2,[{file,"maps.erl"},{line,318}]},
{maps,filter,2,[{file,"maps.erl"},{line,309}]},
{inbox_helper,get_inbox,3,
[{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
{line,222}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,
[{file,"test_server.erl"},{line,1783}]}]}} pgsql_mnesia_24 / pgsql_mnesia / 7b907f9 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 7b907f9 pgsql_mnesia_23 / pgsql_mnesia / 7b907f9 service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>],
[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>,<<"example4.com">>]}}} mysql_redis_24 / mysql_redis / 7b907f9 mssql_mnesia_24 / odbc_mssql_mnesia / 7b907f9 riak_mnesia_24 / riak_mnesia / 7b907f9 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7b907f9 mongooseimctl_SUITE:stats:stats_global{error,{{badmatch,{"5\n",0}},
[{mongooseimctl_SUITE,'-stats_global/1-fun-0-',3,
[{file,"/home/circleci/app/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,1056}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 7b907f9 amp_big_SUITE:offline:offline_failure:notify_deliver_to_offline_user_recipient_privacy_test{error,{{badrpc,timeout},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,register,
[<<"bOb_notify_deliver_to_offline_user_recipient_privacy_test_21.864952_notify_deliver_to_offline_user_recipient_privacy_test_23.657606">>,
<<"domain.example.com">>,<<"makrolika">>],
3000,ejabberd],
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{escalus_ejabberd,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,211}]},
{escalus_fresh,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,62}]},
{escalus_fresh,story,3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,27}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} amp_big_SUITE:offline:offline_failure:notify_deliver_to_offline_user_recipient_privacy_test{error,{{badrpc,timeout},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,register,
[<<"bOb_notify_deliver_to_offline_user_recipient_privacy_test_21.872269_notify_deliver_to_offline_user_recipient_privacy_test_23.685043">>,
<<"domain.example.com">>,<<"makrolika">>],
3000,ejabberd],
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{escalus_ejabberd,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,211}]},
{escalus_fresh,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,62}]},
{escalus_fresh,story,3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,27}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} pgsql_mnesia_23 / pgsql_mnesia / 7b907f9 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7b907f9 service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>],
[<<"example1.com">>,<<"example2.com">>]}}} service_domain_db_SUITE:db:rest_with_auth:rest_delete_domain_cleans_data_from_mam{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"bob_rest_delete_domain_cleans_data_from_mam_49.615049@example.org/res1">>,
escalus_tcp,<0.28850.1>,
[{event_manager,<0.28844.1>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_49.615049">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.28844.1>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_49.615049">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_49.615049">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{port,5232},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_49.615049">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232},
{stream_id,<<"32808117e908f281">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5... service_domain_db_SUITE:db:rest_without_auth:rest_delete_domain_cleans_data_from_mam{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"bob_rest_delete_domain_cleans_data_from_mam_57.628018@example.org/res1">>,
escalus_tcp,<0.29493.1>,
[{event_manager,<0.29487.1>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_57.628018">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.29487.1>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_57.628018">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_57.628018">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{port,5232},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_57.628018">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232},
{stream_id,<<"05404e50960081f6">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5... dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 7b907f9 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7b907f9 |
Codecov Report
@@ Coverage Diff @@
## master #3363 +/- ##
==========================================
- Coverage 80.66% 80.65% -0.01%
==========================================
Files 397 397
Lines 32441 32441
==========================================
- Hits 26168 26165 -3
- Misses 6273 6276 +3
Continue to review full report at Codecov.
|
This PR addresses failing rest_client_SUITE:muc:messages_can_be_paginated_in_room testcase
Proposed changes include:
#3360 with fail infos