Skip to content
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

Failing k8s integration test: TestKubernetesAgentStandalone/drop_ALL_add_CHOWN,_SETPCAP_capabilities_-_rootless_agent #5275

Closed
ycombinator opened this issue Aug 9, 2024 · 3 comments · Fixed by #5290
Assignees
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Testing

Comments

@ycombinator
Copy link
Contributor

ycombinator commented Aug 9, 2024

Example failure: https://buildkite.com/elastic/elastic-agent/builds/10958#01913488-f3f6-4c89-9b69-a9133824db90

=== FAIL: testing/integration TestKubernetesAgentStandalone/drop_ALL_add_CHOWN,_SETPCAP_capabilities_-_rootless_agent (99.69s)
  | kubernetes_agent_standalone_test.go:277: elastic-agent never reported healthy: command terminated with exit code 1
  | kubernetes_agent_standalone_test.go:278: stdout: ┌─ fleet
  | │  └─ status: (STOPPED) Not enrolled into Fleet
  | └─ elastic-agent
  | ├─ status: (DEGRADED) 1 or more components/units in a degraded state
  | └─ system/metrics-default
  | ├─ status: (HEALTHY) Healthy: communicating with pid '81'
  | └─ system/metrics-default-system-metrics
  | └─ status: (DEGRADED) Error fetching data for metricset system.process: Not enough privileges to fetch information: Not enough privileges to fetch information: non fatal error fetching PID some info for 13, metrics are valid, but partial: non-fatal error fetching PID metrics for 13, metrics are valid, but partial: Not enough privileges to fetch information: /io unavailable; if running inside a container, use SYS_PTRACE: error fetching IO metrics: open /proc/13/io: permission denied
  |  
  | kubernetes_agent_standalone_test.go:279: stderr:
  | kubernetes_agent_standalone_test.go:347: Wrote container elastic-agent-standalone of pod elastic-agent-standalone-xmt88 logs to /opt/buildkite-agent/builds/bk-agent-prod-gcp-1723161759733813737/elastic/elastic-agent/build/k8s-logs-v1.29.4-kubernetes-amd64--kubernetes.integration/TestKubernetesAgentStandalone/drop_ALL_add_CHOWN,_SETPCAP_capabilities_-_rootless_agent-elastic-agent-standalone-xmt88-elastic-agent-standalone.log
  | kubernetes_agent_standalone_test.go:347: Wrote container kube-state-metrics of pod kube-state-metrics-5464659c6f-869q8 logs to /opt/buildkite-agent/builds/bk-agent-prod-gcp-1723161759733813737/elastic/elastic-agent/build/k8s-logs-v1.29.4-kubernetes-amd64--kubernetes.integration/TestKubernetesAgentStandalone/drop_ALL_add_CHOWN,_SETPCAP_capabilities_-_rootless_agent-kube-state-metrics-5464659c6f-869q8-kube-state-metrics.log
@ycombinator ycombinator added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Testing labels Aug 9, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@ycombinator
Copy link
Contributor Author

@ycombinator
Copy link
Contributor Author

Please remember to revert #5293 once this test is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants