elastic / elastic/integrations

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

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

Description

- Stack version: 8.19.22-SNAPSHOT
- 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-11737 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/49549

Contributor guide

Open the contributing guide

Research direction

Start with the mongodb integration's collstats system test and the documents emitted for the collstats data stream. Compare the failing fields with the integration's expected schema and test setup, then run the system test; done means the test no longer reports undefined mongodb.collstats.stats fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.