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/spaces_only/tests/alerting/builtin_alert_types/es_query/alert·ts - alerting api integration spaces only Alerting builtin alertTypes es_query alert runs correctly: use epoch millis - threshold on hit count < > for searchSource search type #129380

Closed
kibanamachine opened this issue Apr 4, 2022 · 5 comments · Fixed by #133278
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Apr 4, 2022

A test failed on a tracked branch

Error: expected '' to not be empty
    at Assertion.assert (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90511d06ddfb238/elastic/kibana-on-merge/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.empty (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90511d06ddfb238/elastic/kibana-on-merge/kibana/node_modules/@kbn/expect/expect.js:209:8)
    at Function.empty (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90511d06ddfb238/elastic/kibana-on-merge/kibana/node_modules/@kbn/expect/expect.js:531:15)
    at Context.<anonymous> (test/alerting_api_integration/spaces_only/tests/alerting/builtin_alert_types/es_query/alert.ts:234:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90511d06ddfb238/elastic/kibana-on-merge/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: CI Build - main

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

New failure: CI Build - main

@spalger spalger added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label Apr 6, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 6, 2022
@kertal kertal assigned kertal and dimaanj and unassigned kertal Apr 6, 2022
spalger pushed a commit that referenced this issue Apr 6, 2022
@spalger
Copy link
Contributor

spalger commented Apr 6, 2022

Looks like this test is new as of 5 days ago from #124534 cc @dmitriynj

image

This has failed a ton in PRs, skipping for now

Skipped
main/8.3: f5d008e

@ymao1
Copy link
Contributor

ymao1 commented May 26, 2022

Looks like this test is failing with this error for the search source query:

{
	"type": "status_exception",
	"reason": "error while executing search",
	"caused_by": {
		"type": "search_phase_execution_exception",
		"reason": "all shards failed",
		"phase": "query",
		"grouped": true,
		"failed_shards": [{
			"shard": 0,
			"index": ".kibana-alerting-test-data",
			"node": "RSfnBKqBTm6o6y4lge8iAQ",
			"reason": {
				"type": "parse_exception",
				"reason": "failed to parse date field [2022-05-26T17:25:49.010Z] with format [epoch_millis]: [failed to parse date field [2022-05-26T17:25:49.010Z] with format [epoch_millis]]",
				"caused_by": {
					"type": "illegal_argument_exception",
					"reason": "failed to parse date field [2022-05-26T17:25:49.010Z] with format [epoch_millis]",
					"caused_by": {
						"type": "date_time_parse_exception",
						"reason": "Failed to parse with all enclosed parsers"
					}
				}
			}
		}]
	}
}

@ymao1
Copy link
Contributor

ymao1 commented May 27, 2022

@kertal I am unskipping this test suite in this PR so I can add a test for the recovery context. I commented out the specific search source test that was being flaky and pasted the error I was seeing in that test in the above comment.

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:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants