-
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
Domain service test fix #4362
Domain service test fix #4362
Conversation
ldap_mnesia_26 / ldap_mnesia / b94a8cf ldap_mnesia_27 / ldap_mnesia / b94a8cf internal_mnesia_27 / internal_mnesia / b94a8cf dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / b94a8cf elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / b94a8cf dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / b94a8cf mysql_redis_27 / mysql_redis / b94a8cf pgsql_cets_27 / pgsql_cets / b94a8cf pgsql_mnesia_27 / pgsql_mnesia / b94a8cf pgsql_mnesia_26 / pgsql_mnesia / b94a8cf dynamic_domains_mysql_redis_27 / mysql_redis / b94a8cf small_tests_26 / small_tests / b94a8cf small_tests_27 / small_tests / b94a8cf mssql_mnesia_27 / odbc_mssql_mnesia / b94a8cf service_domain_db_SUITE:db:rest_with_auth:rest_with_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} service_domain_db_SUITE:db:rest_with_auth:rest_with_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} service_domain_db_SUITE:db:rest_without_auth:rest_without_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} service_domain_db_SUITE:db:rest_without_auth:rest_without_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} service_domain_db_SUITE:db:rest_without_auth:rest_without_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,
{'EXIT',
{{badmatch,
{badrpc,
{'EXIT',
{timeout,
{gen_server,call,[<10349.62465.0>,ping]}}}}},
[{service_domain_db,'-sync_local/0-lc$^1/1-1-',1,
[{file,
"/home/circleci/project/src/domain/service_domain_db.erl"},
{line,99}]},
{service_domain_db,sync_local,0,
[{file,
"/home/circleci/project/src/domain/service_domain_db.erl"},
{line,99}]}]}}},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_c... service_domain_db_SUITE:db:rest_without_auth:rest_without_auth_parallel:rest_delete_domain_cleans_data_from_mam{error,
{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},service_domain_db,sync_local,[]],
[{file,
"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
{line,140}]},
{service_domain_db_SUITE,sync_local,1,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1214}]},
{service_domain_db_SUITE,sync,0,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,1193}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
{line,965}]},
{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,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}} dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / b94a8cf small_tests_27_arm64 / small_tests / b94a8cf |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4362 +/- ##
==========================================
+ Coverage 84.96% 84.98% +0.01%
==========================================
Files 552 552
Lines 33697 33714 +17
==========================================
+ Hits 28630 28651 +21
+ Misses 5067 5063 -4 ☔ View full report in Codecov by Sentry. |
ldap_mnesia_26 / ldap_mnesia / 70b06f2 internal_mnesia_27 / internal_mnesia / 70b06f2 ldap_mnesia_27 / ldap_mnesia / 70b06f2 pgsql_mnesia_26 / pgsql_mnesia / 70b06f2 dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 70b06f2 elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 70b06f2 dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 70b06f2 pgsql_mnesia_27 / pgsql_mnesia / 70b06f2 mysql_redis_27 / mysql_redis / 70b06f2 pgsql_cets_27 / pgsql_cets / 70b06f2 dynamic_domains_mysql_redis_27 / mysql_redis / 70b06f2 dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 70b06f2 small_tests_27 / small_tests / 70b06f2 mssql_mnesia_27 / odbc_mssql_mnesia / 70b06f2 small_tests_27_arm64 / small_tests / 70b06f2 small_tests_26 / small_tests / 70b06f2 |
70b06f2
to
85eb17d
Compare
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 85eb17d small_tests_26 / small_tests / 85eb17d small_tests_27_arm64 / small_tests / 85eb17d small_tests_27 / small_tests / 85eb17d ldap_mnesia_27 / ldap_mnesia / 85eb17d ldap_mnesia_26 / ldap_mnesia / 85eb17d dynamic_domains_mysql_redis_27 / mysql_redis / 85eb17d dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 85eb17d dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 85eb17d internal_mnesia_27 / internal_mnesia / 85eb17d pgsql_cets_27 / pgsql_cets / 85eb17d dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 85eb17d pgsql_mnesia_27 / pgsql_mnesia / 85eb17d mysql_redis_27 / mysql_redis / 85eb17d pgsql_mnesia_26 / pgsql_mnesia / 85eb17d mssql_mnesia_27 / odbc_mssql_mnesia / 85eb17d |
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! Thank you for making those changes. This should help the CI run more smoothly.
This PR addresses "MIM-2272 Fix flaky "service_domain_db" tests"
Example of the broken test timeout https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4357/235426/odbc_mssql_mnesia.27.0.1-amd64/big/ct_run.test%404f8408ead5c6.2024-08-14_09.06.15/big_tests.tests.service_domain_db_SUITE.logs/run.2024-08-14_09.27.28/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.283010.html
Proposed changes include:
debug_
dictionary entries. Useful to figure out what the server is doing from the outside.