-
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
Reporting to ga4 #4040
Reporting to ga4 #4040
Conversation
95aed9f
to
cc6768c
Compare
cc6768c
to
8a234f2
Compare
c832c43
to
791c3d5
Compare
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.
Please make the tests pass. Could you hide the stale reports with failed tests as well? It's a lot to scroll down. Thanks!
27d9a2e
to
2332d47
Compare
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 in general, I added some comments.
oh my god, so many typos in this PR. |
for testing use the following commands: . tools/test-runner-complete.sh test-runner.sh --skip-preset --skip-build-mim --skip-small-tests --skip-start-nodes --skip-stop-nodes --db --skip-cover --skip-preset --dev-nodes --spec failure_reporting_testing.spec
ct_mongoose_log_hook already does it, and does it in a better way.
it's quite an overhead to have an extra hook just to set the mim_data_dir parameter, so the hook is merged with ct_mongoose_hook
…ry_hook:on_tc_skip/3
testing package building for ubuntu_xenial as it's not tested by CircleCI
f460f45
to
d38b2fc
Compare
d38b2fc
to
ea1c44d
Compare
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.
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #4040 +/- ##
==========================================
+ Coverage 83.82% 83.87% +0.04%
==========================================
Files 526 526
Lines 33133 33133
==========================================
+ Hits 27773 27789 +16
+ Misses 5360 5344 -16 ☔ View full report in Codecov by Sentry. |
small_tests_24 / small_tests / 15d30b5 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 15d30b5 small_tests_25_arm64 / small_tests / 15d30b5 small_tests_25 / small_tests / 15d30b5 ldap_mnesia_24 / ldap_mnesia / 15d30b5 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 15d30b5 mam_SUITE:rdbms_async_cache_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,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,965}]},
{test_server,do_end_per_testcase,4,
[{file,"test_server.erl"},{line,1627}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1335}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}}}} ldap_mnesia_25 / ldap_mnesia / 15d30b5 mod_global_distrib_SUITE:hosts_refresher:test_host_refreshing{error,
{{trees_for_connections_present,true,[{times,50,false}],ok},
[{mongoose_helper,do_wait_until,2,
[{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,357}]},
{mod_global_distrib_SUITE,test_host_refreshing,1,
[{file,
"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,384}]},
{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}]}]}} dynamic_domains_mysql_redis_25 / mysql_redis / 15d30b5 pgsql_mnesia_24 / pgsql_mnesia / 15d30b5 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 15d30b5 internal_mnesia_25 / internal_mnesia / 15d30b5 mysql_redis_25 / mysql_redis / 15d30b5 pgsql_mnesia_25 / pgsql_mnesia / 15d30b5 mssql_mnesia_25 / odbc_mssql_mnesia / 15d30b5 bosh_SUITE:essential_https:accept_higher_hold_value{error,
{{assertEqual,
[{module,bosh_SUITE},
{line,260},
{expression,"get_bosh_sessions ( )"},
{expected,[]},
{value,
[{bosh_session,<<"227142cad1242272923402949f73dca646676058">>,
<9322.10168.0>}]}]},
[{bosh_SUITE,accept_higher_hold_value,1,
[{file,"/home/circleci/project/big_tests/tests/bosh_SUITE.erl"},
{line,260}]},
{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}]}]}} ldap_mnesia_25 / ldap_mnesia / 15d30b5 mssql_mnesia_25 / odbc_mssql_mnesia / 15d30b5 |
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.
Thanks for fixing it!
This PR introduces the following changes:
reporting of the failed to GA4:
test cases
counters.ct_markdown_errors_hook
to cover failures in init_per_testcase/end_per_testcases.improved a bit
ct_groups_summary_hook
:repeat_until_all_ok
flag is missing (on the last attempt to repeat the test)introduced test hook and suit to investigate corner cases (these 2 to be removed in the upcoming PR, once
ct_groups_summary_hook
is replaced).minor clean-up of the existing hooks:
ct_mongoose_log_hook
. Previously, there were 2 redundant implementations inct_mongoose_hook
andct_tty_hook
hooks.ct_mim_config_hook
is removed completely,mim_data_dir
config is now set byct_mongoose_hook
.ct_tty_hook:on_tc_skip/3
toct_groups_summary_hook:on_tc_skip/3
. I didn't test that code, butct_tty_hook
is definitely an improper place for it.some minor fixes test execution scripts.
UPDATE: