elastic / elastic/integrations

[LogsDB] [Stack 8.19.20-SNAPSHOT] [mongodb] Failing test daily: system test: collstats in mongodb.collstats

Open
#20,496 0 comments 0 reactions 0 assignees View on GitHub
automation flaky-test Integration:mongodb
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
3d 4h
Merged PRs (30d)
209

Description

- Stack version: 8.19.20-SNAPSHOT
- LogsDB: enabled
- Package: mongodb
- Failing test: system test: collstats
- DataStream: collstats
- Owners:
- @elastic/obs-infraobs-integrations

Failure:
```
test case failed: one or more errors found in documents stored in metrics-mongodb.collstats-31558 data stream: [0] field "mongodb.collstats.stats.capped" is undefined
[1] field "mongodb.collstats.stats.freeStorageSize" is undefined
[2] field "mongodb.collstats.stats.scaleFactor" is undefined
```

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

Latest 5 failed builds:
- https://buildkite.com/elastic/integrations/builds/48320
- https://buildkite.com/elastic/integrations/builds/48399
- https://buildkite.com/elastic/integrations/builds/48456
- https://buildkite.com/elastic/integrations/builds/48531
- https://buildkite.com/elastic/integrations/builds/48613

Contributor guide

Open the contributing guide

Research direction

Start by running the mongodb `collstats` system test for the LogsDB-enabled 8.19.20-SNAPSHOT integration and inspect the documents in the `metrics-mongodb.collstats` data stream. Trace the collection statistics fields reported as undefined, then verify that the test passes with `capped`, `freeStorageSize`, and `scaleFactor` present.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
databases, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.