-
Notifications
You must be signed in to change notification settings - Fork 421
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
Fixing global distrib suite #4064
Conversation
small_tests_24 / small_tests / 5cc9562 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 5cc9562 small_tests_25 / small_tests / 5cc9562 small_tests_25_arm64 / small_tests / 5cc9562 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.103996582>,
[true,#{batch_flushes => 0,timed_flushes => 205}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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 / 5cc9562 ldap_mnesia_25 / ldap_mnesia / 5cc9562 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 0,timed_flushes => 225}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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}]}]}} mam_SUITE:rdbms_async_pool_muc_all:muc_configurable_archiveid:muc_only_stanzaid{failed,
{mam_SUITE,end_per_testcase,
{'EXIT',
{{room_archive_size,0,[{times,200,1}],ok},
[{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,360}]},
{mam_helper,wait_for_room_archive_size,3,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,789}]},
{mam_helper,clean_room_archive,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,733}]},
{mam_helper,destroy_room,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,726}]},
{mam_SUITE,end_per_testcase,2,
[{file,
"/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
{line,965}]},
{test_server,do_end_per_testcase,4,
[{file,"test_server.erl"},{line,1626}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1334}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}}}} dynamic_domains_mysql_redis_25 / mysql_redis / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 1,timed_flushes => 146}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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}]}]}} pgsql_mnesia_24 / pgsql_mnesia / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.103996582>,
[true,#{batch_flushes => 2,timed_flushes => 118}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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_25 / odbc_mssql_mnesia / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 2,timed_flushes => 143}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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 / 5cc9562 mysql_redis_25 / mysql_redis / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 2,timed_flushes => 136}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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}]}]}} pgsql_mnesia_25 / pgsql_mnesia / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 2,timed_flushes => 131}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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 / 5cc9562 mam_SUITE:rdbms_async_pool_mam_all:archived:metrics_incremented_for_async_pools{error,{{badarity,{#Fun<mam_SUITE.83.1615719>,
[true,#{batch_flushes => 2,timed_flushes => 97}]}},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,364}]},
{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 ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #4064 +/- ##
==========================================
+ Coverage 83.87% 83.89% +0.02%
==========================================
Files 526 526
Lines 33159 33159
==========================================
+ Hits 27812 27819 +7
+ Misses 5347 5340 -7 ☔ View full report in Codecov by Sentry. |
5cc9562
to
b3bdacb
Compare
small_tests_24 / small_tests / b3bdacb elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / b3bdacb small_tests_25 / small_tests / b3bdacb small_tests_25_arm64 / small_tests / b3bdacb ldap_mnesia_24 / ldap_mnesia / b3bdacb pubsub_SUITE:tree+basic:publish_with_max_items_test{error,{{badmatch,false},
[{pubsub_tools,check_response,2,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,444}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,424}]},
{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,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_pgsql_mnesia_24 / pgsql_mnesia / b3bdacb ldap_mnesia_25 / ldap_mnesia / b3bdacb dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / b3bdacb dynamic_domains_mysql_redis_25 / mysql_redis / b3bdacb mam_SUITE:rdbms_async_cache_muc_all:muc06:muc_message_with_stanzaid{failed,
{mam_SUITE,end_per_testcase,
{'EXIT',
{{room_archive_size,0,[{times,200,1}],ok},
[{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,357}]},
{mam_helper,wait_for_room_archive_size,3,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,789}]},
{mam_helper,clean_room_archive,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,733}]},
{mam_helper,destroy_room,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,726}]},
{mam_SUITE,end_per_testcase,2,
[{file,
"/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
{line,954}]},
{test_server,do_end_per_testcase,4,
[{file,"test_server.erl"},{line,1626}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1334}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}}}} pgsql_mnesia_24 / pgsql_mnesia / b3bdacb dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / b3bdacb internal_mnesia_25 / internal_mnesia / b3bdacb pgsql_mnesia_25 / pgsql_mnesia / b3bdacb mysql_redis_25 / mysql_redis / b3bdacb mssql_mnesia_25 / odbc_mssql_mnesia / b3bdacb ldap_mnesia_24 / ldap_mnesia / b3bdacb |
…st_host_refreshing/1
b3bdacb
to
ee60154
Compare
small_tests_24 / small_tests / ee60154 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / ee60154 small_tests_25 / small_tests / ee60154 small_tests_25_arm64 / small_tests / ee60154 ldap_mnesia_24 / ldap_mnesia / ee60154 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / ee60154 ldap_mnesia_25 / ldap_mnesia / ee60154 dynamic_domains_mysql_redis_25 / mysql_redis / ee60154 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / ee60154 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / ee60154 pgsql_mnesia_24 / pgsql_mnesia / ee60154 internal_mnesia_25 / internal_mnesia / ee60154 mysql_redis_25 / mysql_redis / ee60154 pgsql_mnesia_25 / pgsql_mnesia / ee60154 mssql_mnesia_25 / odbc_mssql_mnesia / ee60154 |
name := Name} = Opts) when TimeLeft =< 0 -> | ||
Opts1 = maps:merge(Defaults, Opts0), | ||
TimeLeft = maps:get(time_left, Opts1), | ||
Opts = Opts1#{waiting_time => 0, max_waiting_time => TimeLeft, |
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.
why the max_waiting_time is added to opts? I cannot see anywhere in the code the usage of it.
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.
For the traceability reasons only.
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's nice to have an unchanging initial value among the dynamically changing counter
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.
Ok, now I understand. Thanks for explaining it to me.
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
Timeout for
trees_for_connections_present
action is increased from 5 to 10 seconds:• in most cases waiting takes 4,5-5,5 seconds on GH Actions runner
• and almost always above 5 seconds for mysql_redis preset (as redis is used for session data as well)
so this test case failed a lot and practically blocked passing of GH Actions builds
Also, wait_until helper code is improved a bit.
Successful GH Actions build: https://github.com/esl/MongooseIM/actions/runs/5605253063