Commit graph

578 commits

Author SHA1 Message Date
Ying Mao
16ca2d2895
[Event Log] Adding event log schema check to CI checks (#142104)
* Adding event log check to CI check.

* Adding event log check to CI check.

* Can I check out ECS

* Checking out specific ECS branch

* Checking out specific ECS branch

* Custom error message

* Reverting event log mapping test changes

* Pinning to 1.8

* Update .buildkite/scripts/steps/checks/event_log.sh

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2022-09-29 07:53:50 -04:00
Maryam Saeidi
3f9687e3f0
[Actionable observability] Alert summary widget new design (#141236)
* Implement new alert summary widget design and remove chart

* Fix padding issue

* Remove unused translation

* Fix type and test errors

* Fix types and remove extra aggs logic

* Add triggers_actions_ui to storybook list

* Fix small alignment issue by removing extra EuiFlexGroup

* Fix UI issue for small mobile

* Update spacing

Co-authored-by: Kevin Delemme <kdelemme@gmail.com>

Co-authored-by: Kevin Delemme <kdelemme@gmail.com>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2022-09-29 12:22:58 +02:00
Spencer
249b596465
[journeys] restart ES for each journey, fix flakiness (#141530) 2022-09-26 08:56:31 -07:00
Spencer
65d3ade20d
[watcher] disable jest config in CI, it's regularly failing (#141677) 2022-09-23 10:50:47 -07:00
Jonathan Budzenski
f100343f41
[artifacts] Publish cloud artifacts (#141657)
* [artifacts] Publish cloud artifacts

This moves moves Cloud image publishing to Kibana CI

* fix build args

* rm comment
2022-09-23 11:53:57 -05:00
Dzmitry Lemechko
44ae5f7150
[scalability testing] fix path to config file (#141663) 2022-09-23 18:41:15 +02:00
Spencer
5d12b572bd
[ci] run unit tests in series again (#141481)
* [ci] run unit tests in series again

* print full command with parallelism arg

* skip failing apm test
2022-09-23 08:02:54 -05:00
spalger
fd9774c974 [supt] fix path to journeys 2022-09-22 11:44:02 -05:00
spalger
da8eb44f92 revert #141437 and switch back to fixed journey ordering 2022-09-22 10:57:56 -05:00
Spencer
50b3b57d9e
[ftr] add first-class support for playwrite journeys (#140680)
* [ftr] add first-class support for playwrite journeys

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* fix jest test

* remove ability to customize kibana server args, if we need it we can add it back

* remove dev dir that doesn't exist

* fix typo

* prevent duplicated array converstion logic by sharing flag reader

* remove destructuring of option

* fix scalability config and config_path import

* fix start_servers args and tests

* include simple readme

* fix jest tests and support build re-use when changes are just to jest tests

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-22 01:06:46 -07:00
Giorgos Bamparopoulos
ee4b451ed4
[APM] Synthtrace - Add service.name in metricsetPicker for breakdown metrics (#140256)
* Add service.name in metricsetPicker for breakdown metrics

* Run cypress tests on synthtrace changes
2022-09-21 09:38:13 -05:00
Tyler Smalley
7be5ac42a0
[artifacts/cft] Soft fail on timeout (#141180)
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-09-21 09:32:36 -05:00
Tyler Smalley
7cc3e68e10 Revert "[cft] Soft fail on timeout (#141165)"
This reverts commit 2d0d3a58f2.
2022-09-20 14:02:07 -07:00
Jonathan Budzenski
2d0d3a58f2
[cft] Soft fail on timeout (#141165) 2022-09-20 15:49:27 -05:00
Dzmitry Lemechko
849457b395
[scalability testing] save kibana logs as run artefacts (#140820)
* [scalability] server log in files

* fix script

* put upload in the right place
2022-09-20 15:59:08 +02:00
Pierre Gayvallet
b86cef59c0
Fix banner not being displayed on login page (#140688)
* Fix banner not being displayed on login page

* fix and re-enable banner FTR tests

* revert commit to config file

* add unit test

* don't use whitespace for cli config value

Co-authored-by: Tre <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-20 00:39:53 -07:00
Jonathan Budzenski
f290977064
[cft] Remove deployment when a PR is outdated (#140755)
* [cft] Remove deployment when a PR is outdated

This changes the stale deployment ttl from 7 days to 2 days
to match the PR outdated check.  The longer a deployment is active, the
more likely it is that we'll see a snapshot related break somewhere in
the stack.  These are typically template or migration related script
changes.

Longer running deployments can also run out of disk space and start
alerting on health checks.

* day in seconds

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-19 13:52:26 -05:00
Jonathan Budzenski
06b81998e5
[cft] Stabilize deployments (#140748)
* [cft] Stabilize deployments

- Switches from general purpose to high memory deployments
- Enables autoscaling
- Allows a warm node to be turned on for longer running deployments with
more data

* fix ml

* revert autoscaling

* fix
2022-09-19 13:51:31 -05:00
Baturalp Gurdin
8b15dd87b3
add data stress test lens journey (#140811) 2022-09-15 06:46:00 -07:00
Joe Reuter
b0e6a41220
[Lens] Performance journey (#140195)
* add Lens performance journey

* cleanup

* always wait

* Update utils.ts

* gzip mappings

Co-authored-by: Liza Katz <liza.katz@elastic.co>
2022-09-14 16:15:53 +02:00
Jonathan Budzenski
6e75333887
Revert "[cft] Temporarily disable cloud deployments (#140538)" (#140622)
This reverts commit e741176614.
2022-09-13 09:49:19 -05:00
Tyler Smalley
44ab700f3d
Removes Percy based visual regression tests (#139252)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-09-12 13:08:52 -07:00
Jonathan Budzenski
e741176614
[cft] Temporarily disable cloud deployments (#140538)
* [cft] Temporarily disable cloud deployments

* annotation
2022-09-12 13:03:20 -05:00
Robert Oskamp
2068b2eead
[ML] Functional tests - split anomaly detection test config (#140430)
This PR splits the ML functional anomaly detection test configuration into smaller parts.
2022-09-12 17:14:35 +02:00
Spencer
6bb83843fb
[ftr/detectionEngineApiIntegration] split group 1 (#140341)
* [ftr/securitySolutions] split group 1

* add new ftr config to manifest
2022-09-09 10:48:31 -07:00
Spencer
32491462a9
add kibana.jsonc files to existing packages (#138965)
* [packages] add kibana.jsonc files

* auto-migrate to kibana.jsonc

* support interactive pkg id selection too

* remove old codeowners entry

* skip codeowners generation when .github/CODEOWNERS doesn't exist

* fall back to format validation if user is offline

* update question style

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-08 13:31:57 -07:00
Jonathan Budzenski
874e4cb913
[artifacts] Improve cloud deployment error handling (#137775)
* [artifacts] Improve cloud deployment error handling

* Update .buildkite/scripts/steps/artifacts/cloud.sh

Co-authored-by: Spencer <spencer@elastic.co>

* update retry codes

Co-authored-by: Spencer <spencer@elastic.co>
2022-09-06 12:43:40 -05:00
Dzmitry Lemechko
06a3e1d501
[kbn-performance-testing-dataset-extractor] add missing value: url.query (#140092) 2022-09-06 17:15:03 +02:00
Dzmitry Lemechko
f0fe485e7d
Add pipeline to run scalability tests from APM traces (#139548)
* add scalability pipeline to run scenarios from APM traces

* update runner description

* remove retry-all-errors curl flag

* add flag for curl to ignore connection refused

* override ES_HOST for gatling runner

* exclude config from regular CI, remove bail flag

* fix uploaded scalability traces

* fix text and remove space

* add validation in config

* use functions instead of scripts

* renaming var in loop

* add step timeout

* define functions before call

* use trap for stopping ES

* fix path for artifacts extraction

* update serverArgs

* add pre-build step

* add pre-build step

* use default pre-build step

* delete step

* print BUILDKITE_PIPELINE_SLUG

* disable telemetry

* remove log

* enable telemetry

* add step to upload test results

* move trap after pid

* upload test reports to gcs

* fix script

* Revert "fix script"

This reverts commit 1c6bc3f45c.

* Revert "upload test reports to gcs"

This reverts commit c957a31c32.
2022-09-05 18:30:44 +02:00
spalger
71b9ed41a0 Revert "[ci] remove requirement that CI runs for readme changes (#134504)"
This reverts commit 284a564890.
2022-09-01 10:54:29 -05:00
Dzmitry Lemechko
a9ab0bf351
[performance pipeline] 60 min timeout for test step (#139613) 2022-08-29 15:39:01 +02:00
Jean-Louis Leysens
d5cc164bd8
[Files] Image component (#139497)
* added storybook config

* first pass of the image component

* use storybook "action" instead of console.log

* fix up some comments and fix if-else statement

* address type exports

* added viewport observer tests

* added files plugin to storybook CI and correct JSON formatting

* ensure that subscription only happens once

* intersectionobserver should always be available

* only run useeffect once

* use React.forwardRef API rather than props

* factor out the viewport observer to a hook

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-29 14:15:01 +02:00
Jonathan Budzenski
f4dafd4eff
[cft] Update comment when deployment is available (#139558)
* [cft] Update comment when deployment is available

Currently cloud deployment are linked to after the entire CI run.  Cloud
deployments typically finish early, so this provides a notification as
soon as the deployment is available.

* newline

* fix id
2022-08-26 16:34:15 -05:00
Spencer
a16fd1e033
[perf-tests/scalability] improve logging when uploading traces (#139477)
* [perf-tests/scalability] improve logging when uploading traces

* restore including kibana artifacts in scalability dataset

* create parent dirs too

* support skipping builds too
2022-08-26 20:09:04 +02:00
Jonathan Budzenski
a2f3e3bd7c
Bump linux bazel cache timeout to 30 minutes (#139491)
We're seeing some timeouts recently in the 15 minute range.
Mac timeouts are already at 60 min.
2022-08-25 11:11:11 -05:00
Mike Côté
284418dc0b
Create test configs for Kibana running dedicated processes (#136677)
* Create test configs for Kibana running dedicated processes

* Fix TS issues

* Fix tests relying on backend responses

* Only run dedicated task process on spaces_and_security suite group2

* Fix ftr_configs

* Use dedicated task runner by default

* fix typo

* Remove exclusive test suite

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-23 10:37:51 -04:00
Spencer
ab576bb6c1
add a timeout to buildkite artifact downloads (#139046) 2022-08-18 09:50:34 -07:00
Alexey Antonov
5f84d8e071
[Lens] Move custom chart icons into lens package (#138413)
* [Lens] Move custom chart icons into lens package (#138101)

* [Lens] Move custom chart icons into lens package

Closes #135230

* add storybook

* fix merge conflicts

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* clenaup

* add region_map icon into package

* fix styles

* Update README.md

* fix ci

* try to fix CI

* fix PR comments

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* RegionMap -> LensIconRegionMap

* lensIcons -> lens_icons

* move to x-pack packages

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* move to x-pack/packages/lens/icons

* fix jest

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* fix CI

* use emotion lib

* remove lensAnnotationIconNoFill and lensAnnotationIconFill

* remove duplicated code

* cleanup

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* cleanup

* renaming

* fix jest config

* remove extra icons

* move icons out of main chunk

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-17 13:24:18 +03:00
Brian Seeders
c9a30dc27f
[CI] Use region-specific buckets for ci-proxy-cache for speed and cost savings (#138675) 2022-08-15 08:26:45 -07:00
Brian Seeders
16a83ec7c3
[CI] Remove unused agent configuration (#138771) 2022-08-15 10:26:57 -04:00
Jonathan Budzenski
1c59a09965
[cft] Stabilize deployment creation (#136974)
After a deployment is created, a new Kibana plan is automatically added to update settings (to connect APM)
and restart Kibana.  Polling for a plan state isn't especially reliable because it flips
between empty and queued, and then empty again depending on how quickly setup is run in cloud.
We want to enable monitoring after the automatic plan has run, if not we get an error:
* deployments.resource_plan_state_error: Kibana resource [main-kibana] has a plan still pending, cancel that or wait for it to complete (settings.observability.plan)
This adds a sleep and retry to see if we can make this step more reliable
2022-08-11 14:16:17 -07:00
Jonathan Budzenski
946e094637
[cft] Add support for creating a new deployment (#138243)
* [cft] Add support for creating a new redeployment

- Adds a new label `ci:cloud-redeploy` that will always create a fresh deployment
- Deprecates `ci:deploy-cloud` in favor of namespacing `ci:cloud-deploy`

* booleans
2022-08-11 14:56:44 -05:00
Aleh Zasypkin
69e54be4b6
Switch to the new Get User Profile request and response signatures. Fix Bulk Get User Profiles API to properly serialize parameters on the browser side. (#138361) 2022-08-11 16:51:24 +02:00
Walter Rafelsberger
9a1a963ae3
[ML] Explain Log Rate Spikes: Basic functional tests. (#138387)
Adds first functional tests for Explain Log Rate Spikes. The test clicks the menu item, selects an index, clicks the "Use full data" button and asserts the page's elements.
2022-08-11 10:51:51 +02:00
Brian Seeders
1019295b09
[CI] Improve reliability of macos bazel cache jobs (#138554) 2022-08-10 13:11:59 -07:00
Jonathan Budzenski
436f0df9a4
[ci] Use more optimizer threads (#138320) 2022-08-10 12:04:44 -04:00
Jonathan Budzenski
e2401c97e4
[ci] Fix build argument labels (#138322)
* [ci] Fix build arguments

* without quotes
2022-08-10 09:02:17 -05:00
Brian Seeders
4f100c4ed0
[CI] Convert the remaining steps in primary pipelines to spot instances (#138168) 2022-08-09 16:16:39 -04:00
Jonathan Budzenski
b3a38c4137 Revert "[Lens] Move custom chart icons into lens package (#138101)"
This reverts commit d89b2cb903.
2022-08-09 09:30:44 -05:00
Alexey Antonov
d89b2cb903
[Lens] Move custom chart icons into lens package (#138101)
* [Lens] Move custom chart icons into lens package

Closes #135230

* add storybook

* fix merge conflicts

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* clenaup

* add region_map icon into package

* fix styles

* Update README.md

* fix ci

* try to fix CI

* fix PR comments

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* RegionMap -> LensIconRegionMap

* lensIcons -> lens_icons

* move to x-pack packages

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* move to x-pack/packages/lens/icons

* fix jest

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-09 17:15:12 +03:00