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 EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/package_policy/update·ts - Fleet Endpoints Package Policy - update "before all" hook for "should work with valid values on "regular" policies" #148806

Closed
kibanamachine opened this issue Jan 12, 2023 · 7 comments · Fixed by #148854
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 12, 2023

A test failed on a tracked branch

TypeError: Cannot read properties of undefined (reading 'id')
    at Context.<anonymous> (update.ts:197:54)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96: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 12, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 12, 2023
@mistic mistic added the Team:Fleet Team label for Observability Data Collection Fleet team label Jan 12, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 12, 2023
@hop-dev hop-dev self-assigned this Jan 12, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@jbudz
Copy link
Member

jbudz commented Jan 12, 2023

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

main: 4f80b48

hop-dev added a commit that referenced this issue Jan 12, 2023
## Summary

Closes #148806

In a previous attempt to speed up the tests I added the setup to a
Promise.all, however this caused concurrent install errors to happen:

```
[00:18:54]         proc [kibana] [2023-01-12T13:39:27.821+00:00][WARN ][plugins.fleet] Failure to install package [filetest]: [ConcurrentInstallOperationError: Concurrent installation or upgrade of filetest-0.1.0 detected, aborting.]
[00:18:54]         proc [kibana] [2023-01-12T13:39:27.822+00:00][ERROR][plugins.fleet] Error installing filetest 0.1.0: Concurrent installation or upgrade of filetest-0.1.0 detected, aborting.
```

I have moved back to sequential setup.
jennypavlova pushed a commit to jennypavlova/kibana that referenced this issue Jan 13, 2023
jennypavlova pushed a commit to jennypavlova/kibana that referenced this issue Jan 13, 2023
## Summary

Closes elastic#148806

In a previous attempt to speed up the tests I added the setup to a
Promise.all, however this caused concurrent install errors to happen:

```
[00:18:54]         proc [kibana] [2023-01-12T13:39:27.821+00:00][WARN ][plugins.fleet] Failure to install package [filetest]: [ConcurrentInstallOperationError: Concurrent installation or upgrade of filetest-0.1.0 detected, aborting.]
[00:18:54]         proc [kibana] [2023-01-12T13:39:27.822+00:00][ERROR][plugins.fleet] Error installing filetest 0.1.0: Concurrent installation or upgrade of filetest-0.1.0 detected, aborting.
```

I have moved back to sequential setup.
@kibanamachine kibanamachine reopened this Feb 2, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@hop-dev
Copy link
Contributor

hop-dev commented Feb 23, 2023

Hopefully fixed by #151769

@hop-dev hop-dev closed this as completed Feb 23, 2023
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:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants