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 Detection Engine API Integration Tests.x-pack/test/detection_engine_api_integration/security_and_spaces/group9/exception_operators_data_types/text_array·ts - detection engine api security and spaces enabled - Group 9 Detection exceptions data types and operators Rule exception operators for data type text "is in list" operator will return 4 results if we have two lists with an AND contradiction text === "word one" AND text === "word five" #155412

Closed
Tracked by #161531
kibanamachine opened this issue Apr 20, 2023 · 3 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expected [ [],
  [ 'word five', null, 'word six', 'word seven' ],
  [ 'word one', 'word two', 'word three', 'word four' ] ] to sort of equal [ [],
  [ 'word eight', 'word nine', 'word ten' ],
  [ 'word five', null, 'word six', 'word seven' ],
  [ 'word one', 'word two', 'word three', 'word four' ] ]
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (text_array.ts:403:25)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (wrap_function.js:73:16) {
  actual: '[\n' +
    '  []\n' +
    '  [\n' +
    '    "word five"\n' +
    '    [null]\n' +
    '    "word six"\n' +
    '    "word seven"\n' +
    '  ]\n' +
    '  [\n' +
    '    "word one"\n' +
    '    "word two"\n' +
    '    "word three"\n' +
    '    "word four"\n' +
    '  ]\n' +
    ']',
  expected: '[\n' +
    '  []\n' +
    '  [\n' +
    '    "word eight"\n' +
    '    "word nine"\n' +
    '    "word ten"\n' +
    '  ]\n' +
    '  [\n' +
    '    "word five"\n' +
    '    [null]\n' +
    '    "word six"\n' +
    '    "word seven"\n' +
    '  ]\n' +
    '  [\n' +
    '    "word one"\n' +
    '    "word two"\n' +
    '    "word three"\n' +
    '    "word four"\n' +
    '  ]\n' +
    ']',
  showDiff: true
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Apr 20, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 20, 2023
@kibanamachine kibanamachine added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Apr 20, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 20, 2023
@MadameSheema MadameSheema added Team:Detections and Resp Security Detection Response Team Team:Security Solution Platform Security Solution Platform Team labels Apr 21, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@yctercero yctercero removed their assignment May 9, 2023
@yctercero yctercero added Team:Detection Engine Security Solution Detection Engine Area and removed Team:Security Solution Platform Security Solution Platform Team labels May 14, 2023
@WafaaNasr WafaaNasr self-assigned this Jul 10, 2023
@WafaaNasr
Copy link
Contributor

After successfully running this test through the Flaky Test Runner for 100 iterations without any failures, it has been determined that the test is not truly flaky or failing. As a result, the ticket can be closed.

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:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

5 participants