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 Endpoint Integrations Functional Tests.x-pack/test/security_solution_endpoint/apps/integrations - endpoint "before all" hook in "endpoint" #159450

Closed
kibanamachine opened this issue Jun 12, 2023 · 15 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team:Fleet Team label for Observability Data Collection Fleet team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 12, 2023

A test failed on a tracked branch

EndpointDataLoadingError: mapper_parsing_exception
	Caused by:
		mapper_parsing_exception: No handler for type [string] declared on field [source]
	Root causes:
		mapper_parsing_exception: No handler for type [string] declared on field [source]
    at installOrUpgradeEndpointFleetPackage (setup_fleet_for_endpoint.ts:119:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Context.<anonymous> (index.ts:35:7)
    at Object.apply (wrap_function.js:73:16) {
  meta: [
    {
      name: 'endpoint',
      statusCode: 500,
      error: 'mapper_parsing_exception\n' +
        '\tCaused by:\n' +
        '\t\tmapper_parsing_exception: No handler for type [string] declared on field [source]\n' +
        '\tRoot causes:\n' +
        '\t\tmapper_parsing_exception: No handler for type [string] declared on field [source]'
    }
  ]
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jun 12, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jun 12, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@jbudz jbudz added Team:Fleet Team label for Observability Data Collection Fleet team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Defend Workflows “EDR Workflows” sub-team of Security Solution labels Jun 12, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

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

@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 Jun 12, 2023
@jbudz jbudz added blocker skipped-test needs-team Issues missing a team label v8.9.0 labels Jun 12, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jun 12, 2023
@jbudz
Copy link
Member

jbudz commented Jun 12, 2023

Skipped

main: 1e8145c

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

jbudz added a commit that referenced this issue Jun 12, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

kevinlog added a commit that referenced this issue Jun 12, 2023
)

## Summary

Unskip Endpoint API tests after package fix:
elastic/endpoint-package#373

Flaky runner to check that tests are passing:
https://ci-stats.kibana.dev/trigger_flaky_test_runner/3

resolves:
#72874
#159450
#147640

### 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
@kevinlog
Copy link
Contributor

fixed with #159484

@kibanamachine kibanamachine reopened this Jul 12, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.9

@kpollich
Copy link
Member

Most recent failure looks like the ES instance in the CI environment through a shard error:

EndpointDataLoadingError: runtime_exception
	Caused by:
		no_shard_available_action_exception: index [metrics-endpoint.metadata_current_default] has no active shard copy
	Root causes:
		runtime_exception: Failed to deduce dest mappings
    at installOrUpgradeEndpointFleetPackage (setup_fleet_for_endpoint.ts:119:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Context.<anonymous> (index.ts:35:7)
    at Object.apply (wrap_function.js:73:16) {
  meta: [
    {
      name: 'endpoint',
      statusCode: 500,
      error: 'runtime_exception\n' +
        '\tCaused by:\n' +
        '\t\tno_shard_available_action_exception: index [metrics-endpoint.metadata_current_default] has no active shard copy\n' +
        '\tRoot causes:\n' +
        '\t\truntime_exception: Failed to deduce dest mappings'
    }
  ]
}

Closing as a one-off.

@kpollich kpollich closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 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:Defend Workflows “EDR Workflows” sub-team of Security Solution Team:Fleet Team label for Observability Data Collection Fleet team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

5 participants