Commit graph

268 commits

Author SHA1 Message Date
Dzmitry Lemechko
7f62a784df
[packages] add kbn-performance-testing-dataset-extractor (#131631) 2022-05-06 04:11:51 +02:00
Dominique Clarke
78b2241770
synthetics - fix test directory (#131655) 2022-05-05 16:17:09 -04:00
Spencer
af8810fede
[ci/test-groups] define scripts externally (#131645) 2022-05-05 14:46:50 -04:00
Brian Seeders
267c674d42
[CI] Split check types into its own step, use spot for checks (#131096) 2022-05-05 13:26:34 -04:00
Brian Seeders
25e3526358
[CI] Use node_modules cache baked into agent image (#131555) 2022-05-05 13:22:33 -04:00
Spencer
896b0e28dd
[ci] include test_group_env in more ci scripts (#131633) 2022-05-05 10:59:09 -05:00
Brian Seeders
4dd33a9009
[es-snapshots] Fix verify job dependencies after FTR configs change (#131640) 2022-05-05 11:41:07 -04:00
Dzmitry Lemechko
1d1e1f6430
[ci] extract apm traces after in single user benchmarking pipeline (#130777)
* [ci] extract apm traces after in single user benchmarking pipeline

* add performance-testing-dataset-extractor dependency

* use BUILD_ID for queries

* bump version for extractor, update script

* bump extractor version

* fix path

* upload artifacts to the public bucket
2022-05-05 09:44:11 +02:00
spalger
8d54b1547b include test_group_env when running saved_object_field_metrics.sh 2022-05-04 18:00:03 -05:00
spalger
0ea6374777 fix "Default Saved Object Field Metrics" task in main on-merge job 2022-05-04 17:42:04 -05:00
Spencer
542b381fa5
[ftr] automatically determine config run order (#130983)
* [ftr] automatically determine config run order

* split lens config into two groups

* support ftr configs always running against CI

* Split detection_engine_api_integration rule exception list tests

* Add configs from previous commit

* [ftr] remove testMetadata and maintain a unique lifecycle instance per run

* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"

This reverts commit d2b4fdb824.

* Split alerting_api_integration/security_and_spaces tests

* Add groups to yaml

* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""

This reverts commit 56232eea68.

* stop ES more forcefully and fix timeout

* only cleanup lifecycle phases when the cleanup is totally complete

* only use kill when cleaning up an esTestInstance

* fix broken import

* fix runOptions.alwaysUseSource implementation

* fix config access

* fix x-pack/ccs config

* fix ml import file paths

* update kibana build id

* revert array.concat() change

* fix baseConfig usage

* fix pie chart data

* split up maps tests

* pull in all of group5 so that es archives are loaded correctly

* add to ftr configs.yml

* fix pie chart data without breaking legacy version

* fix more pie_chart stuff in new vis lib

* restore normal PR tasks

* bump kibana-buildkite-library

* remove ciGroup validation

* remove the script which is no longer called from checks.sh

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* adapt flaky test runner scripts to handle ftrConfig paths

* fix types in alerting_api_integration

* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh

* Split xpack dashboard tests

* Add configs

* [flaky] remove key from ftr-config steps

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

* restore cypress builds

* remove ciGroups from FTR config files

* fixup some docs

* add temporary script to hunt for FTR config files

* use config.base.js naming for clarity

* use script to power ftr_configs.yml

* remove usage of removed x-pack/scripts/functional_tests

* fix test names in dashboard snapshots

* bump kibana-buildkite-library

* Try retrying only failed configs

* be a little quieter about trying to get testStats from configs with testRunners defined

* Remove test code

* bump kibana-buildkite-library

* update es_snapshot and on_merge jobs too

* track duration and exit code for each config and print it at the end of the script

* store results in order, rather than by key, in case there are duplicates in $config

* bash is hard

* fix env source and use +e rather than disabling e for whole file

* bash sucks

* print config summary in jest jobs too

* define results in jest_parallel.sh

* simplify config summary print, format times a little better

* fix reference to unbound time variable, use better variable name

* skip the newline between each result

* finish with the nitpicking

* sync changes with ftr_configs.sh

* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml

* fix config.edge.js base config import paths

* fix some readmes

* resolve paths from ftr_configs manifest

* fix readConfigFile tests

* just allow __fixtures__ configs

* list a few more cypress config files

* install the main branch of kibana-buildkite-library

* split up lens group1

* move ml data_visualizer tests to their own config

* fix import paths

* fix more imports

* install specific commit of buildkite-pipeline-library

* sort configs in ftr_configs.yml

* bump kibana-buildkite-library

* remove temporary script

* fix env var for limiting config types

* Update docs/developer/contributing/development-functional-tests.asciidoc

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

* produce a JUnit report for saved objects field count

* apply standard concurrency limits from flaky test runner

* support customizing FTR concurrency via the env

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-05-04 17:05:58 -05:00
Spencer
1cdf0a45a6
[ci] hide browserslist outdated warnings (#131549) 2022-05-04 13:04:40 -05:00
Spencer
1a849dc2b6
[flaky-tests] require using the new UI to trigger (#131534) 2022-05-04 09:52:34 -07:00
Brian Seeders
3bc9c42485
[CI] Use GCS buckets for bazel remote caching (#131345) 2022-05-03 16:49:37 -04:00
Spencer
3295c9ffc7
changes to the nav-kibana-dev.docnav.json file are "docs only" (#131408) 2022-05-03 12:37:05 -05:00
Anton Dosov
e603d92552
Remove data_enhanced plugin (#122075)
Code moved into `data` plugin
2022-04-29 16:43:59 +02:00
Spencer
7327155dbc
[ci] validate that all tests are in a ciGroup (#131173)
* [ci] validate that all tests are in a ciGroup

* make new checks script executable

* skip failing suite
2022-04-28 15:41:17 -05:00
Gloria Hornero
8771527334
adding new dependencies (#125187) 2022-04-27 12:42:55 -07:00
Spencer
0b37272c8e
[jest] automatically determine run order (attempt 2) (#131091) 2022-04-27 11:18:15 -07:00
spalger
f149a17871 Revert "[jest] automatically determine run order (#130857)"
This reverts commit 1a05ce5cab.
2022-04-27 11:38:19 -05:00
Spencer
1a05ce5cab
[jest] automatically determine run order (#130857) 2022-04-27 11:10:47 -05:00
Brian Seeders
7ff1ffca5e
[CI] Split OSS CI Group 11 (#130927) 2022-04-26 13:07:32 -04:00
Dominique Clarke
dad4963bf0
Update synthetics.sh (#130940) 2022-04-26 08:42:50 -04:00
Spencer
fa7323769d
[jest] try running unit tests in parallel (#130823) 2022-04-21 16:37:06 -05:00
Brian Seeders
e3d221ed39
[CI] Bump kibana-buildkite-library for getPrChanges fix (#130824) 2022-04-21 13:38:59 -07:00
Shahzad
a4a082271e
[Synthetics] Rename uptime plugin to synthetics (#130037)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-20 11:53:28 -07:00
Brian Seeders
830d231cc0
[es-snapshots] Fix promotion not triggering due to missing dependency (#130693) 2022-04-20 10:12:34 -05:00
Jonathan Budzenski
5f003a4de0
[artifacts] Publish kibana cloud docker context (#130415) 2022-04-20 09:56:05 -05:00
Brian Seeders
5872b5ec9d
[CI] Split dashboard feature controls tests into two cigroups (#130416) 2022-04-19 16:44:24 -04:00
Jonathan Budzenski
2a7b219fbb
[cft] Bump Kibana memory to 2GB (#130600)
When https://github.com/elastic/kibana/pull/130020 is merged reporting
will be disabled on 1GB Kibana instances.  This bumps our CI deployed
instances to 2GB to support manual and automated testing of reporting.
2022-04-19 15:06:48 -05:00
Brian Seeders
6a4eb48119
[CI] Split alerting-api-integration tests into separate cigroups (#130414) 2022-04-18 16:14:26 -04:00
Brian Seeders
8364fc796a
[CI] Use spot instances for default cigroups in PR CI (#130476) 2022-04-18 16:13:50 -04:00
Tiago Costa
48ca660c50
chore(NA): use new and more performant BuildBuddy servers (#130350)
* chore(NA): use new and more performant BuildBuddy servers

* chore(NA): simple upgrade mechanism for new remote address servers

* docs(NA): missing note for future removal

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-18 02:01:38 +01:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
spalger
bd8171c13e [plugins] use module ids to import across plugins 2022-04-16 01:19:05 -05:00
Jonathan Budzenski
620b759dae
[artifacts] Skip publish if untracked branch (#130337)
* [artifacts] Skip publish if untracked branch

* fix conditional
2022-04-15 10:48:12 -07:00
Jonathan Budzenski
0300e02718
[package testing] Show kibana logs on exit (#128619)
* [package testing] Show kibana logs on exit

* fix syntax

* fix syntax

* fix

* use absolute path

* wrap in fn
2022-04-14 15:30:09 -05:00
Brian Seeders
d513ffc0e6
[CI] Resolve ES Snapshot manifest url at the beginning of the build (#130310) 2022-04-14 15:16:28 -05:00
Jonathan Budzenski
52b2ad2792
[artifacts] Extract default i18n messages (#128947)
* [artifacts] Extract default i18n messages

* remove duplicate upload

* rm test file

* fix merge

* fix upload globs

* cleanup

* fix relative path in shasum

Co-authored-by: Ahmad Bamieh <ahmad.bamyeh@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-14 13:13:12 -07:00
Brian Seeders
1dce1d8d97
[CI] Balance/split CI groups and remove docker-specific group (#130181) 2022-04-14 11:04:13 -04:00
spalger
3c3e775717 remove conflict markers in performance_playwright.sh 2022-04-14 09:49:24 -05:00
Daniel Mitterdorfer
9fb1b0672f
Add a performance test for Discover with many fields (#129464)
* Add a dataset with many fields for functional tests

With this commit we add a new dataset that can be used in functional
tests. The dataset is contains 50 documents based on the Elasticsearch
indices stats API of an empty cluster. Each document defines around 5000
properties. It can be used to check rendering performance e.g. in the
discover view.

Closes #126687

* Add performance test for many fields

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

* Add to hourly tests

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-14 13:22:21 +02:00
Jonathan Budzenski
3f6d46127b
[artifacts] Add CI retries (#130194) 2022-04-13 15:47:51 -07:00
Jonathan Budzenski
482ae8a909
[artifacts] Deploy Cloud image (#129650)
* [artifacts] Publish release artifacts

This adds the publish step to the release pipeline, which uses the
release-manager CLI to upload a list Kibana artifacts.

* cleanup

* [artifacts] Test cloud image

* tmp skip unrelated steps

* build cloud artifact

* fix tag

* add missing artifacts

* enable rm

* fix syntax

* fix tag

* fix artifact

* fix variable

* source utils

* fix path

* fix version

* skip steps

* re-add pipeline steps

* set permissions

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

Co-authored-by: Chris <chris.koehnke@elastic.co>

* Revert "Update .buildkite/scripts/steps/artifacts/publish.sh"

This reverts commit a6228f52cd.

* export

* support version qualifier

* setup env

* cleanup

* consistency

* \n

* comment

* unneccessary fallback

* +x

* hoist env args

* source

* link to artifacts

* fix artifacts summary

* relax docker glob

* \n

* fix summary

* fix variable

* rm es docker image

* setup cloud env

* rename deployment

* exclude skipCloud

* only run on snapshot builds

* update step name

* TEST_BROWSER_HEADLESS=1

* cleanup

* newline

* consistency

* pass deployment id

Co-authored-by: Chris <chris.koehnke@elastic.co>
2022-04-13 15:12:46 -05:00
Jonathan Budzenski
ab1bec320b
[artifacts] Publish (#129499)
* [artifacts] Publish release artifacts

This adds the publish step to the release pipeline, which uses the
release-manager CLI to upload a list Kibana artifacts.

* cleanup

* add missing artifacts

* enable rm

* fix syntax

* fix artifact

* source utils

* fix path

* fix version

* skip steps

* re-add pipeline steps

* set permissions

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

Co-authored-by: Chris <chris.koehnke@elastic.co>

* Revert "Update .buildkite/scripts/steps/artifacts/publish.sh"

This reverts commit a6228f52cd.

* export

* support version qualifier

* setup env

* cleanup

* consistency

* \n

* comment

* unneccessary fallback

* +x

* hoist env args

* source

* link to artifacts

* fix artifacts summary

* relax docker glob

* \n

* fix summary

* fix variable

Co-authored-by: Chris <chris.koehnke@elastic.co>
2022-04-13 13:06:40 -05:00
Gloria Hornero
7621975c8f
[Security Solution] [ReponseOps] Executes Cases Cypress test when there is a change on cases plugin (#129992)
* when a change is done on the cases plugin, just the cases cypress are executed

* moves attach alert to a case into the cases folder for simplicity
2022-04-13 07:59:14 +02:00
Brian Seeders
4b768fd2e7
[CI] Move jest tests to spot instances, and fix spot retries in PRs (#130045) 2022-04-12 16:47:29 -04:00
Katerina Patticha
8022b0aba7
Add e2e for the apm integration policy form (#129860)
* Grant fleet privileges and capabilities to power user

* Add e2e for integration policy

* Fix selector for Tail-based

* Remove e2e releated to Fleet code

* Decouple tests

* Clean up assertion

* Fix flaky test
2022-04-12 19:44:37 +02:00
Baturalp Gurdin
eaf6c84c20
add login journey (#129976) 2022-04-12 15:11:14 +03:00
Baturalp Gurdin
cbf0ceacb8
Performance Test service and config refactor (#128258)
* add build id, job id and execution id to playwright config

* change apm configs (serverUrl, secretToken)

* refactor single user journeys to break "test" concept around them

* Authentication service and Login Journey

* move test steps to runUserJourney as argument

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-12 09:32:54 +03:00