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: Jest Tests.x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components - Users filter should search comma separated strings as multiple users #193554

Open
kibanamachine opened this issue Sep 20, 2024 · 11 comments
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v9.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 20, 2024

A test failed on a tracked branch

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: ["usernameX", "usernameY", "usernameZ"]
Received
       1
          Array [
        -   "usernameX",
        -   "usernameY",
        -   "usernameZ",
        +   "suesrenranmaemXeX",
        +   "u",
          ],
       2
          Array [
        -   "usernameX",
        +   "suesrenranmaemXeX",
            "usernameY",
            "usernameZ",
          ],

Number of calls: 2
    at Object.toHaveBeenCalledWith (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726831055088831521/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_users_filter.test.tsx:70:33)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 20, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 20, 2024
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Sep 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 20, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@mistic
Copy link
Member

mistic commented Oct 22, 2024

Skipped.

main: a6e6a93
8.x: 1366035

mistic added a commit that referenced this issue Oct 22, 2024
@mistic mistic added the v8.17.0 label Oct 22, 2024
@ashokaditya ashokaditya self-assigned this Oct 22, 2024
ashokaditya added a commit to ashokaditya/kibana that referenced this issue Oct 22, 2024
ashokaditya added a commit to ashokaditya/kibana that referenced this issue Oct 22, 2024
ashokaditya added a commit that referenced this issue Oct 23, 2024
## Summary

This PR attempts to fix tests skipped in /issues/193092
and /issues/193554.
The tests seem to be flaky right after an [upgrade to
`user-event`](#189949) dependency
on Sep 10th.

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
@ashokaditya
Copy link
Member

PR /pull/197220

kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 23, 2024
## Summary

This PR attempts to fix tests skipped in elastic/issues/193092
and elastic/issues/193554.
The tests seem to be flaky right after an [upgrade to
`user-event`](elastic#189949) dependency
on Sep 10th.

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit e70b533)
kibanamachine added a commit that referenced this issue Oct 23, 2024
…#197380)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[SecuritySolution][Endpoint] Re-enabled skipped tests
(#197220)](#197220)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Ash","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T08:33:37Z","message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","backport:version","v8.17.0"],"title":"[SecuritySolution][Endpoint]
Re-enabled skipped
tests","number":197220,"url":"https://github.com/elastic/kibana/pull/197220","mergeCommit":{"message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197220","number":197220,"mergeCommit":{"message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ash <[email protected]>
@kibanamachine kibanamachine reopened this Nov 12, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Nov 19, 2024

Skipped.

main: ce17d45

paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this issue Nov 26, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v9.0.0
Projects
None yet
Development

No branches or pull requests

4 participants