Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/observability/custom_threshold_rule/documents_count_fired·ts - Observability Rules Rules Endpoints Custom Threshold rule - DOCUMENTS_COUNT - FIRED Rule creation should set correct information in the alert document #175407

Closed
kibanamachine opened this issue Jan 24, 2024 · 4 comments · Fixed by #175479
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:obs-ux-management Observability Management User Experience Team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 24, 2024

A test failed on a tracked branch

Error: expected { 'kibana.alert.rule.parameters': 
   { criteria: [ [Object] ],
     alertOnNoData: true,
     alertOnGroupDisappear: true,
     searchConfiguration: { query: [Object], index: 'data-view-id' } },
  'kibana.alert.rule.category': 'Custom threshold (Beta)',
  'kibana.alert.rule.consumer': 'logs',
  'kibana.alert.rule.execution.uuid': '295c09ea-96d6-4a92-8fc9-3c2db55d04b8',
  'kibana.alert.rule.name': 'Threshold rule',
  'kibana.alert.rule.producer': 'observability',
  'kibana.alert.rule.revision': 0,
  'kibana.alert.rule.rule_type_id': 'observability.rules.custom_threshold',
  'kibana.alert.rule.uuid': '6a21abb9-ae56-410b-802e-7817f201e239',
  'kibana.space_ids': [ 'default' ],
  'kibana.alert.rule.tags': [ 'observability' ],
  '@timestamp': '2024-01-24T04:30:46.842Z',
  'kibana.alert.reason': 'Document count reported no data in the last 1m',
  'kibana.alert.action_group': 'custom_threshold.nodata',
  'kibana.alert.evaluation.values': [ null ],
  tags: [ 'observability' ],
  'kibana.alert.duration.us': 0,
  'kibana.alert.time_range': { gte: '2024-01-24T04:30:46.842Z' },
  'kibana.alert.instance.id': '*',
  'kibana.alert.start': '2024-01-24T04:30:46.842Z',
  'kibana.alert.uuid': 'b469ff71-1de2-4602-8467-b1c918f14d3f',
  'kibana.alert.status': 'active',
  'kibana.alert.workflow_status': 'open',
  'event.kind': 'signal',
  'event.action': 'open',
  'kibana.version': '8.13.0-SNAPSHOT',
  'kibana.alert.flapping': false } to have a property 'kibana.alert.action_group' of 'custom_threshold.fired', but got 'custom_threshold.nodata'
    at Assertion.assert (expect.js:100:11)
    at Assertion.property (expect.js:417:10)
    at Context.<anonymous> (documents_count_fired.ts:195:43)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 24, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 24, 2024
@mistic mistic closed this as completed Jan 24, 2024
@kibanamachine kibanamachine reopened this Jan 24, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic mistic added Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team labels Jan 24, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 24, 2024
mistic added a commit that referenced this issue Jan 24, 2024
@mistic
Copy link
Member

mistic commented Jan 24, 2024

Skipped.

main: ee3934b

@mistic mistic closed this as completed Jan 24, 2024
@mistic mistic reopened this Jan 24, 2024
jloleysens added a commit that referenced this issue Jan 25, 2024
* main: (520 commits)
  Update Kibana code editor dependencies (#171720)
  [SLOs] Hide view in app in slo alerts table in slo details page (#175441)
  [api-docs] 2024-01-25 Daily api_docs build (#175502)
  [DOCS] Add buildkite links to doc preview comments (#175463)
  skip flaky suite (#175443)
  [Security Solution][Timeline] refactor timeline modal save timeline button (#175343)
  [RAM] Stack Management::Rules loses user selections when navigating back (#174954)
  [Security Solution][Timeline] refactor timeline modal attach to case button (#175163)
  Upgrade EUI to v92.1.1 (#174955)
  [Fleet]: Beta label is shown inconsistently while selecting proxy under Fleet settings. (#170634)
  [Cloud Security] Rules Combo Box filters Custom component (#175175)
  skip flaky suite (#175407)
  [Security Solution][Timeline] refactor timeline modal open timeline button (#175335)
  [Embedded Console] Introduce kbnSolutionNavOffset CSS variable (#175348)
  [Console] disable access to embedded console without dev tools capability (#175321)
  fix(x-pack/reporting): use FIPS-compliant ID generator `uuidv4` in Reporting plugin (#174809)
  [Security Solution] Data quality dashboard persistence (#173185)
  [RAM][Observability] Add alert fields table to Observability flyout (#174685)
  test: add missing await for connector table disappearance (#175430)
  [RAM][Maintenance Window] Fix maintenance window FE types and transforms  (#173888)
  ...
@smith smith removed the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Jan 26, 2024
maryam-saeidi added a commit that referenced this issue Jan 26, 2024
## Summary

This PR fixes #175407 by increasing the rule lookback to 5 minutes to
try and avoid picking up 2 buckets since we can't control the exact time
of the rule execution to ensure accuracy and consistency. 😦

Fixes #175360

[Flaky Test Runner
Results](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4959)

---------

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
lcawl pushed a commit to lcawl/kibana that referenced this issue Jan 26, 2024
lcawl pushed a commit to lcawl/kibana that referenced this issue Jan 26, 2024
…5479)

## Summary

This PR fixes elastic#175407 by increasing the rule lookback to 5 minutes to
try and avoid picking up 2 buckets since we can't control the exact time
of the rule execution to ensure accuracy and consistency. 😦

Fixes elastic#175360

[Flaky Test Runner
Results](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4959)

---------

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
…5479)

## Summary

This PR fixes elastic#175407 by increasing the rule lookback to 5 minutes to
try and avoid picking up 2 buckets since we can't control the exact time
of the rule execution to ensure accuracy and consistency. 😦

Fixes elastic#175360

[Flaky Test Runner
Results](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4959)

---------

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
…5479)

## Summary

This PR fixes elastic#175407 by increasing the rule lookback to 5 minutes to
try and avoid picking up 2 buckets since we can't control the exact time
of the rule execution to ensure accuracy and consistency. 😦

Fixes elastic#175360

[Flaky Test Runner
Results](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4959)

---------

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants