elastic / elastic/integrations

[Stack 9.5.0-SNAPSHOT] [oracle] Failing test daily: system test: (elastic-agent logs - sysmetric) in oracle.sysmetric

Open
#18,861 0 comments 0 reactions 0 assignees View on GitHub
automation flaky-test Integration:oracle Team:Obs-InfraObs
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
2d 17h
Merged PRs (30d)
225

Description

- Stack version: 9.5.0-SNAPSHOT
- Package: oracle
- Failing test: system test: (elastic-agent logs - sysmetric)
- DataStream: sysmetric
- Owners:
- @elastic/obs-infraobs-integrations

Failure:
```
test case failed: one or more errors found while examining elastic-agent.logs2390972982: [0] found error "Component state changed sql/metrics-default (HEALTHY->DEGRADED): Recoverable: Error fetching data for metricset sql.query: cannot open connection: testing connection: user=\"sys\" standalone params={authMode:2 connectionClass: connectionClassLength:0 purity:0 newPassword: newPasswordLength:0 appContext: numAppContext:0 externalAuth:0 externalHandle: pool: tag: tagLength:0 matchAnyTag:0 outTag: outTagLength:0 outTagFound:0 shardingKeyColumns: numShardingKeyColumns:0 superShardingKeyColumns: numSuperShardingKeyColumns:0 outNewSession:0}: ORA-12541: TNS:no listener"
[1] found error "Unit state changed sql/metrics-default-sql/metrics-oracle-b31babac-e73a-4e07-818d-9e0da376f242 (HEALTHY->DEGRADED): Recoverable: Error fetching data for metricset sql.query: cannot open connection: testing connection: user=\"sys\" standalone params={authMode:2
```

Latest issue closed for the same test: https://github.com/elastic/integrations/issues/18732

First build failed: https://buildkite.com/elastic/integrations/builds/42450

Contributor guide

Open the contributing guide

Research direction

Start by rerunning the system test “elastic-agent logs - sysmetric” for the oracle package and review build 42450. Trace the sql.query connection failure for the sysmetric DataStream, including the ORA-12541 no-listener error and the degraded sql/metrics-default state. Done means the test no longer reports these degraded states or connection errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.