Comments (5)
Pinging @elastic/elastic-agent (Team:Elastic-Agent)
from elastic-agent.
This is the regression test for elastic/beats#37142 so we need to get this working again as soon as we can.
As long as it is failing this way, the test isn't testing what it is supposed to so I'm going to skip it to give us time to sort that out.
from elastic-agent.
I am going to relax the check in the test to allow the degraded state while we figure out how to handle it. #5301
We do not want all Windows Metricbeat instances to report degraded by default. There is nothing unique about this test (except perhaps the increased metrics collection interval).
from elastic-agent.
This has been mitigated by #5301 so the test can still detect memory leaks but the underlying problems causing the degraded state still remain.
There appear to be two separate errors happening:
units:
input-beat/metrics-monitoring-metrics-monitoring-beats:
message: 'Error fetching data for metricset beat.stats: error making http request: Get "http://unix/stats": dial unix /opt/Elastic/Agent/data/tmp/iThI_df0cBKC6YUNGGlKscMkOfz3FBH3.sock: connect: no such file or directory'
payload:
streams:
metrics-monitoring-filebeat:
error: ""
status: HEALTHY
metrics-monitoring-metricbeat:
error: 'Error fetching data for metricset beat.stats: error making http request: Get "http://unix/stats": dial unix /opt/Elastic/Agent/data/tmp/iThI_df0cBKC6YUNGGlKscMkOfz3FBH3.sock: connect: no such file or directory'
status: DEGRADED
state: 3
and
input-system/metrics-default-system/metrics-system-5f5e65eb-2fd6-41e1-8c29-f24d57e66509:
message: |-
Error fetching data for metricset system.process_summary: Not enough privileges to fetch information: Not enough privileges to fetch information: GetInfoForPid: could not get all information for PID 0: error fetching name: OpenProcess failed for pid=0: The parameter is incorrect.
error fetching status: OpenProcess failed for pid=0: The parameter is incorrect.
GetInfoForPid: could not get all information for PID 4: error fetching name: GetProcessImageFileName failed for pid=4: GetProcessImageFileName failed: invalid argument
payload:
streams:
system/metrics-system.process-5f5e65eb-2fd6-41e1-8c29-f24d57e66509:
error: |-
Error fetching data for metricset system.process: Not enough privileges to fetch information: Not enough privileges to fetch information: GetInfoForPid: could not get all information for PID 0: error fetching name: OpenProcess failed for pid=0: The parameter is incorrect.
error fetching status: OpenProcess failed for pid=0: The parameter is incorrect.
GetInfoForPid: could not get all information for PID 4: error fetching name: GetProcessImageFileName failed for pid=4: GetProcessImageFileName failed: invalid argument
non fatal error fetching PID some info for 116, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 360, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 472, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 556, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 564, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 696, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 4304, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 3108, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 2116, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 1716, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
non fatal error fetching PID some info for 4856, metrics are valid, but partial: FillMetricsRequiringMoreAccess: error fetching process args: Not enough privileges to fetch information: OpenProcess failed: Access is denied.
status: DEGRADED
system/metrics-system.process.summary-5f5e65eb-2fd6-41e1-8c29-f24d57e66509:
error: |-
Error fetching data for metricset system.process_summary: Not enough privileges to fetch information: Not enough privileges to fetch information: GetInfoForPid: could not get all information for PID 0: error fetching name: OpenProcess failed for pid=0: The parameter is incorrect.
error fetching status: OpenProcess failed for pid=0: The parameter is incorrect.
GetInfoForPid: could not get all information for PID 4: error fetching name: GetProcessImageFileName failed for pid=4: GetProcessImageFileName failed: invalid argument
status: DEGRADED
from elastic-agent.
A way to permanently mitigate the second error is elastic/beats#40542 which would let us revert #5301
from elastic-agent.
Related Issues (20)
- [Flaky Test]: TestProxyURL/EnrollWithProxy-NoProxyInPolicy – transport: Error while dialing: dial unix /opt/Elastic/Agent/elastic-agent.sock: connect: no such file or directory HOT 2
- Make sure that we use `IgnoreCommas` for elastic/go-ucfg in all code paths HOT 2
- [docker][agentbeat] - insufficient capabilities for `agentbeat` causes agent degradation HOT 9
- Failing k8s integration test: TestKubernetesAgentStandalone/drop_ALL_add_CHOWN,_SETPCAP_capabilities_-_rootless_agent HOT 3
- Explicitly document the capabilities a non-root container needs to run the Kubernetes and System integrations HOT 1
- Use of wall clock in check-in calculations HOT 1
- Failing test - TestLongRunningAgentForLeaks HOT 3
- Installation failed to start Elastic Agent service HOT 4
- Add static analysis for monotonic clocks
- Agent Gets Unhealthy on updating endpoint policy HOT 6
- Add Hints Autodiscovery Kustomize template for Elastic Agent Kubernetes Onboarding
- Elastic-Agent on Windows shows the wrong path for the binary that needs to be used to uninstall it. HOT 3
- Add ability to use processors on EA's own logs / metrics. HOT 1
- Event log file gets flooded with `copy_fields` processor error HOT 4
- Make test OTEL specific
- Support migrating persisted state from one input to another HOT 3
- Unsupported --namespace option results in socket error on Windows HOT 2
- [Flaky Test]: TestRpmLogIngestFleetManaged/Monitoring_logs_are_shipped – checkin retry loop was stopped HOT 5
- E2E Test: escaping secrets in policy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastic-agent.