elastic / elastic/integrations

[Stack 8.19.18-SNAPSHOT] [oracle] Failing test daily: system test: (elastic-agent logs - systemstatistics) in oracle.system_statistics

Open
#19,865 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
3d 4h
Merged PRs (30d)
209

Description

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

Failure:
```
test case failed: one or more errors found while examining elastic-agent.logs3088820286: [0] found error "Unit state changed sql/metrics-default-sql/metrics-oracle-63b6ec0e-9eb9-4d5b-a08f-690251749d7f (HEALTHY->DEGRADED): 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"
```

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

Latest 5 failed builds:
- https://buildkite.com/elastic/integrations/builds/45763
- https://buildkite.com/elastic/integrations/builds/45841
- https://buildkite.com/elastic/integrations/builds/45909
- https://buildkite.com/elastic/integrations/builds/45972
- https://buildkite.com/elastic/integrations/builds/46036

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the latest failed Buildkite integrations builds and inspect the elastic-agent logs for the oracle.system_statistics system test, especially the sql.query connection failure. Done means the Oracle system test no longer reports ORA-12541: TNS:no listener in repeated builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, testing-qa
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.