elastic / elastic/integrations

[LogsDB] [Stack 8.19.22-SNAPSHOT] [network_traffic] Failing test daily: system test: mysql-long in network_traffic.mysql

Open
#21,215 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
- LogsDB: enabled
- Package: network_traffic
- Failing test: system test: mysql-long
- DataStream: mysql
- Owners:
- @elastic/security-service-integrations

Error:
```
could not add data stream config to policy: could not create package policy (req {"name":"network_traffic-mysql-75380","description":"","namespace":"75380","policy_id":"3ae70821-651e-4e51-a19d-f5c8eca032d5","package":{"name":"network_traffic","version":"1.34.3"},"inputs":{"network-packet":{"enabled":true,"vars":{"interface":"/tmp/service_logs/mysql_long.pcap"},"streams":{"network_traffic.amqp":{"enabled":false},"network_traffic.cassandra":{"enabled":false},"network_traffic.dhcpv4":{"enabled":false},"network_traffic.dns":{"enabled":false},"network_traffic.flow":{"enabled":false},"network_traffic.http":{"enabled":false},"network_traffic.icmp":{"enabled":false},"network_traffic.memcached":{"enabled":false},"network_traffic.mongodb":{"enabled":false},"network_traffic.mysql":{"enabled":true},"network_traffic.nfs":{"enabled":false},"network_traffic.pgsql":{"enabled":false},"network_traffic.redis":{"enabled":false},"network_traffic.sip":{"enabled":false},"network_traffic.thrift":{"enabled"
```

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the network_traffic system test mysql-long with LogsDB enabled, focusing on the mysql data stream and the package-policy creation error. Inspect the failing test setup and its generated policy configuration. Done means the test completes successfully and the mysql data stream configuration is created.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.