Commit graph

578 commits

Author SHA1 Message Date
Baturalp Gurdin
64771d921f
correct apm server url (#135054) 2022-06-23 10:03:31 -07:00
Tre
85dc5b3578
[QA][Code Coverage] Add meta data links ci runs. (#134731)
* [QA][Code Coverage] Add a link to discover pinned to the current build.

When personnel other than myself wish to visually verify code coverage,
this link will be available in the ci output.

* Drop single quotes.

* Add annotation per J Budz.

* Fixup text.

* Drop debug.
2022-06-23 16:00:48 +01:00
Maja Grubic
8ae497afcc
[Kibana Overview] First round of functional tests (#134680)
* [Kibana Overview] First round of functional tests

* Update tests

* Update snapshot

* Update failing test

* Fix failing test

* Fix failing test

* Fix failing test

* Fix failing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-23 07:46:04 +02:00
Baturalp Gurdin
e5d73a1169
ingest performance metrics to ci-stats (#134792) 2022-06-22 15:44:11 -07:00
Jonathan Budzenski
2010a56a35
[ci] Fix ci:build-* labels (#134862)
* debugging

* source utils

* remove debugging
2022-06-22 08:54:37 -05:00
Pierre Gayvallet
10a5f9ac83
Remove old doc generation system for core APIs (#134313)
* Remove old doc generation system for core APIs

* delete docs/development/core folder
2022-06-21 17:43:17 +02:00
Vitalii Dmyterko
746e259733
[Security Solution] fixes flaky-test-runner Cypress Security Solution tests (#134205)
## Summary

Fixes issue with security solution cypress flaky test runner

After introducing [dynamic split for cypress tests in Security Solution](https://github.com/elastic/kibana/pull/125986), there was discovered an issue with flaky test runner, which is using parallelism in slightly different manner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/697#_: tests were evenly split between N jobs, instead of repeating tests N times(as N jobs)

So, for flaky runner, I introducing a new ENV variable that would disable split for tests between parallel jobs and instead would run all test per each job.

Here is link to flaky runner build from this PR, which shows that all test runs per job
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/736
2022-06-16 09:29:17 +01:00
Brian Seeders
95d3090f1a
[es-snapshots] Disable caching on es snapshot manifests (#134525) 2022-06-15 14:24:27 -07:00
Spencer
284a564890
[ci] remove requirement that CI runs for readme changes (#134504) 2022-06-15 14:02:58 -04:00
Brian Seeders
46daa6d848
[CI] Skip CI on api_docs/*.devdocs.json changes (#134483) 2022-06-15 12:07:03 -04:00
Brian Seeders
b32052e66a
[CI] Trigger pipeline deploy when versions.json changes (#134387) 2022-06-15 10:47:35 -04:00
Kibana Machine
0d2e8e62ab
[api-docs] 2022-06-14 Daily api_docs build (#134407) 2022-06-15 10:47:12 -04:00
Kibana Machine
0cb1087fb4
[api-docs] 2022-06-14 Daily api_docs build (#134389)
* [api-docs] Add pipeline to build api_docs daily

* Fix kibanamachine remote

* Add --repo

* Fix PR creation

* [api-docs] Daily api_docs build

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-06-14 12:58:55 -07:00
Jonathan Budzenski
cde209b23a
[artifacts] Fallback to port 443 when testing cloud deployments (#134279)
* [artifacts] Fallback to port 443 when testing cloud deployments

The provided endpoint for ES from cloud no longer contains a port.  When
a port is not provided to the FTR, it defaults to 9220 causing a
connection timeout.  This sets the fallback to 443 instead.

* use process.env instead of interpolation
2022-06-13 15:11:30 -07:00
Brian Seeders
d189190837
[CI] Disable running CI for kibana branches that will not see a release (#134266) 2022-06-13 16:13:08 -04:00
Tre
d92440e631
[QA][Code Coverage] Modularize Code Coverage (#133759)
Kinda sneaky...since we already mutate the jest portion of the
file system (target/kibana-coverage/jest)
by dumping "jest unit" & "jest integration" coverage
into the same "final" directory...go ahead an make "jest integration"
use the same ran file designator as "jest unit".
This saves me from having to add logic for this later on.
2022-06-13 15:40:59 +01:00
Jonathan Budzenski
3afe960302 [artifacts] fix download, partial revert of #134046 2022-06-10 08:12:39 -05:00
Jonathan Budzenski
fa4d1020fb
[artifacts] Remove docker cloud context verification (#134046)
This test was added as a verification step for daily releasable
artifacts.  We had originally planned on the release manager consuming
this context.  The expected workflow has changed now to us building and
publishing the docker image instead, which already has coverage in the
Build and Deploy to Cloud step.
2022-06-09 11:44:39 -05:00
Baturalp Gurdin
5d6e8940df
exclude scalability dataset extraction from single user performance tests (#133964) 2022-06-08 15:12:39 -07:00
Baturalp Gurdin
747a6c644b
clean static worker kibana installs (#133930) 2022-06-08 11:31:44 -07:00
Tre
747b898efb
[QA][Code Coverage] Drop functional code coverage (#133553)
* [QA][Code Coverage] Drop functional code coverage

* Drop ftr configs dependency.

* Still dropping missed mentions of functional
2022-06-07 10:51:33 +01:00
Baturalp Gurdin
e2515aa926
performance tests journey based configs (#132119)
* restructure performance tests for per journey config

* add cleanup hook to performance service for browser instance cleanup

* only enable APM in performance configs when TEST_PERFORMANCE_PHASE is set

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <spencer@elastic.co>
2022-06-06 15:31:40 +02:00
Stratoula Kalafateli
960fe815f7 Add coloring package storybook preview in CI (#133463) 2022-06-03 17:16:09 +03:00
Tre
f98756c2e5
Divide x-pack-test-functional-apps-dashboard-group1 into group 3 (#132952)
* Divide x-pack-test-functional-apps-dashboard-group1 into group 3

* Add new conf to enabled stanza.

Co-authored-by: Spencer <spencer@elastic.co>
2022-06-03 11:55:40 +01:00
Karl Godard
40b1cb95a5
Routes and E2E tests for kubernetes_security plugin (#133266)
* aggregate and count routes added for kubernetes_security plugins.
includes FTR e2e tests. some e2e tests also created for session view plugin.

* naming fixes

Co-authored-by: mitodrummer <karlgodard@elastic.co>
2022-06-01 09:41:18 -07:00
Brian Seeders
04ed6f8df1
[es-snapshots] Trigger packer cache job using API instead of pipeline (#133246) 2022-05-31 15:20:20 -04:00
Abdul Wahab Zahid
eab8ece3fb
[User Experience] Synthetics e2e tests. (#132896)
Co-authored-by: shahzad31 <shahzad.muhammad@elastic.co>
2022-05-31 18:03:25 +02:00
Shahzad
ed9ddc4c85
[Synthetics] Rename synthetics e2e tests (#133161) 2022-05-31 15:36:45 +02:00
Shahzad
edbcf8f35b
[Synthetics] Re-enable synthetics e2e tests (#133100)
* Re-enable synthetics e2e tests

* more renaming
2022-05-30 17:44:23 +02:00
Joe Portner
086a8955a5
Skip CI when .dev_docs or .mdx files are changed (#133087) 2022-05-30 09:15:56 -04:00
Tre
5f950e617a
[QA][Code Coverage] follow up pr for ftr auto config handling & fix merge (#131734)
* [QA][Code Coverage] fixup for auto config handling pr

## Summary

Embed buildkite pipeline definition.

Follow up pr to change cc per auto config handling.
Also, resolves https://github.com/elastic/kibana/issues/132706

Increase worker count for `node scripts/build_kibana_platform_plugins` to 4 workers.

Normalize file names within coverage files such that nyc correctly builds the combined summaries.
  _Ci runs this on myriad servers, so the paths are different, which "breaks" nyc's output_

Split the final merge of functional coverage into 2 passes due to [nyc issue](https://github.com/istanbuljs/nyc/issues/1263)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-27 12:28:16 +01:00
Jonathan Budzenski
bff21e760c
[artifacts] Soft fail when Cloud dependencies are unavailable (#133045) 2022-05-26 11:04:26 -07:00
Spencer
28787e0031
update kibana-buildkite-library (#133042) 2022-05-26 12:43:18 -05:00
Brian Seeders
60226bc3f1
[CI] Cache ES snapshots on agents (#132940) 2022-05-26 11:18:27 -04:00
Brian Seeders
ec2f5e1d81
[CI] Add a check to ensure all FTR configs are in the manifest (#132857) 2022-05-26 11:18:13 -04:00
Hannah Mudge
e0ea600d54
Add group 6 to FTR config (#132655) 2022-05-20 13:55:31 -07:00
Spencer
3effa893da
[ci] always supply defaults for parallelism vars (#132520) 2022-05-19 09:28:47 -05:00
Vitalii Dmyterko
d2b61738e2
[Security solution]Dynamic split of cypress tests (#125986)
- adds `parallelism: 4` for security_solution cypress buildkite pipeline
- added parsing /integrations folder with cypress tests, to retrieve paths to individual test files using `glob` utility
- list of test files split equally between agents(there are approx 70+ tests files, split ~20 per job with **parallelism=4**)
- small refactoring of existing cypress runners for `security_solution`

Old metrics(before @MadameSheema https://github.com/elastic/kibana/pull/127558 performance improvements):
before split: average time of completion ~ 1h 40m for tests, 1h 55m for Kibana build
after split in 4 chunks: chunk completion between 20m - 30m, Kibana build 1h 20m

**Current metrics:**
before split: average time of completion ~ 1h for tests, 1h 10m for Kibana build
after split in 4 chunks: each chunk completion between 10m - 20m, 1h Kibana build 1h
2022-05-19 15:09:31 +01:00
Jonathan Budzenski
4ada2066e3
[es snapshots] Skip cloud build errors (#132469) 2022-05-18 15:58:18 -05:00
Brian Seeders
dac92b2b84
[CI] Move PR skippable changes to pr-bot config (#132461) 2022-05-18 15:21:47 -04:00
Jonathan Budzenski
3409ea325f
[artifacts] Verify docker UBI context (#132346)
* [artifacts] Verify docker UBI context

* add step

* fix filename
2022-05-18 09:21:13 -05:00
spalger
1d69e5e761 add comment about "secret" committed to source 2022-05-18 08:41:53 -05:00
Spencer
63fd2dd552
[kbn/es] capture es debug files (#132355)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-17 17:23:13 -05:00
Jonathan Budzenski
e401c41e78
[artifacts/staging] Skip docker cloud verification (#132348)
Cloud builds should be skipped pending implementation of phase 2 of
daily releasable artifacts.
2022-05-17 11:22:08 -07:00
Søren Louv-Jansen
dc1bd86ad3
[APM] Fix cypress —open (#132326) 2022-05-17 07:15:14 -07:00
Jonathan Budzenski
4cfa1c8ac2
[artifacts] Enable Cloud smoke tests (#132158)
* [artifacts] Enable Cloud smoke tests

* login selection for cloud

* fix config path

* fix protocol

* fix url

* cleanup

* fix syntax

* logs

* fix username

* update

* -r

* revert unused
2022-05-16 15:00:07 -05:00
Spencer
e474e9460d
[ci] support skip:auto-commit label on CI (#132138)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-12 17:00:57 -05:00
Jonathan Budzenski
7e5fc82674
[artifacts] Only upload beats artifacts if they exist (#132136)
* [artifacts] Only upload beats artifacts if they exist

Beats artifacts are downloaded as a side effect  of building the cloud
image.  At times (e.g. a staging build, where we don't have the correct
sha) we may skip the cloud image build and these artifacts will not be
available to upload.

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

Co-authored-by: Spencer <email@spalger.com>

Co-authored-by: Spencer <email@spalger.com>
2022-05-12 13:58:32 -05:00
Spencer
eda92d49e0
[precommit-hook] autofix precommit check failures on CI (#132141)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-12 12:01:28 -05:00
Jonathan Budzenski
179cf309ec
[artifacts testing] Re-enable FTR smoke tests (#132076)
* [artifacts testing] Re-enable FTR smoke tests

* --quiet

* docker disable chromium sandbox

* newline
2022-05-12 08:03:39 -07:00