-
Notifications
You must be signed in to change notification settings - Fork 431
Check Exometer is loaded before calling it #4542
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
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4542 +/- ##
==========================================
- Coverage 85.90% 85.90% -0.01%
==========================================
Files 565 565
Lines 33815 33820 +5
==========================================
+ Hits 29050 29052 +2
- Misses 4765 4768 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This comment was marked as outdated.
This comment was marked as outdated.
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 77d43a9 small_tests_26 / small_tests / 77d43a9 small_tests_27 / small_tests / 77d43a9 small_tests_27_arm64 / small_tests / 77d43a9 ldap_mnesia_26 / ldap_mnesia / 77d43a9 dynamic_domains_mysql_redis_27 / mysql_redis / 77d43a9 ldap_mnesia_27 / ldap_mnesia / 77d43a9 dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 77d43a9 internal_mnesia_27 / internal_mnesia / 77d43a9 dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 77d43a9 pgsql_cets_27 / pgsql_cets / 77d43a9 pgsql_mnesia_26 / pgsql_mnesia / 77d43a9 dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 77d43a9 cockroachdb_cets_27 / cockroachdb_cets / 77d43a9 pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3781@localhost/res1">>,
escalus_tcp,<0.118156.0>,
[{event_manager,<0.118144.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3781">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118144.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3781">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3781">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3781">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"bf6f46f8612aef14">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3784@localhost/res1">>,
escalus_tcp,<0.118231.0>,
[{event_manager,<0.118221.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3784">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118221.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3784">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3784">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3784">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"bfe418e187e4536d">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3787@localhost/res1">>,
escalus_tcp,<0.118310.0>,
[{event_manager,<0.118299.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3787">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118299.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3787">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3787">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3787">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"19a491bccbb4b534">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3789@localhost/res1">>,
escalus_tcp,<0.118386.0>,
[{event_manager,<0.118366.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3789">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118366.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3789">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3789">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3789">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"04cb7e2e72eb0599">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c... pgsql_mnesia_27 / pgsql_mnesia / 77d43a9 mysql_redis_27 / mysql_redis / 77d43a9 mssql_mnesia_27 / odbc_mssql_mnesia / 77d43a9 |
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 👍 , and I also tested manually that the error is gone (and checked the uncovered lines this way).
There is a crash in
mongoose_system_metrics_collector
when Exometer is not configured, and thus not started - reported in #4541. This PR should fix this issue.I've tested locally:
I don't have an idea for a testcase for big_tests though.