elastic / elastic/integrations

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

Open
#21,118 1 comment 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.21-SNAPSHOT
- LogsDB: enabled
- Package: network_traffic
- Failing test: system test: mysql-long-result
- 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-88224","description":"","namespace":"88224","policy_id":"4737a445-4ced-438c-a4b5-ca3e9d1b0e60","package":{"name":"network_traffic","version":"1.34.3"},"inputs":{"network-packet":{"enabled":true,"vars":{"interface":"/tmp/service_logs/mysql_long_result.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"
```

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

Contributor guide

Open the contributing guide

Research direction

Start with the network_traffic package's mysql system test, specifically the failing mysql-long-result case and its package-policy setup. Reproduce it using the 8.19.21-SNAPSHOT stack with LogsDB enabled and inspect the reported policy-creation error. Done means the daily system test passes and the mysql data stream can be configured successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
networking, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.