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

merge from upstream #1

Open
wants to merge 516 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
516 commits
Select commit Hold shift + click to select a range
f45101d
Added six geo benchmarks, three geo_grid and three grid aggregations …
craigtaverner Jan 24, 2023
9fa7d1e
Sync master branch with 8.7 (#368)
pquentin Jan 24, 2023
27f3554
tsdb: Switch split16 to be a single file (#370)
pquentin Jan 25, 2023
cb96ced
Exclude sort by field operations when runtime fields are benchmarked …
javanna Jan 25, 2023
025e598
Update ci test for runtime_fields (#372)
ebadyano Jan 30, 2023
00012ac
tsdb: set default source mode to synthetic (#375)
pquentin Feb 2, 2023
7df06b3
tsdb: Fix split16 to avoid indexing 14 docs from the end (#378)
pquentin Feb 6, 2023
4c79005
Refactor elastic/logs runners to suit forthcoming client upgrade (#380)
b-deam Feb 15, 2023
08c8b48
Run lint and tests using GitHub Actions (#379)
pquentin Feb 16, 2023
fb4388b
Replace ingest pipeline woraround in tsdb track (#374)
martijnvg Feb 22, 2023
f2f8181
Run rally-tracks-compat in GitHub Actions (#383)
pquentin Mar 9, 2023
09b785c
Merge esql branch into master (#387)
pquentin Mar 20, 2023
cffc864
http_logs: use suitable date formater for @timestamp (#388)
inqueue Mar 23, 2023
b1479ad
Revert "http_logs: use suitable date formater for @timestamp (#388)" …
b-deam Mar 27, 2023
11c5d6c
http_logs: set the date formatter for @timestamp (#390)
inqueue Apr 10, 2023
20b8183
Lower target throughput for 'painless_static' operation (#391)
b-deam Apr 11, 2023
d3173a5
fix date format for esql queries in nyc_taxis (#398)
csoulios Apr 20, 2023
cfe2c53
Pin geneve to v0.2.0 (#397)
cavokz Apr 27, 2023
e86cbff
Remove 'number_of_users' param from elastic/* READMEs (#399)
b-deam May 1, 2023
df647d6
Update docs for integration ratios param (#400)
ebadyano May 8, 2023
2c4c48b
Add refresh_interval parameter to tsdb track (#401)
martijnvg May 17, 2023
1ba3005
Add frequent document update challenges ES-6033 (#402)
inqueue May 31, 2023
457f05f
Configurable number of replicas for dense_vector track (#403)
javanna Jun 5, 2023
658123b
Dense vector to use polling mode for force merge call (#404)
javanna Jun 7, 2023
39882e9
Add new track for tsdb based on k8s integration (#373)
martijnvg Jun 9, 2023
a650621
Update README.md
inqueue Jun 12, 2023
737c294
Update a path reference in tsdb_k8s_queries README.md (#409)
inqueue Jun 13, 2023
75bad8f
Support DLM in the Logging Track (#406)
inqueue Jun 14, 2023
060eb8a
Add daily schedule and manual trigger to GitHub Actions CI workflow (…
gbanasiak Jun 15, 2023
95aaaa3
Fix small mistake in tsdb_k8s_queries benchmark (#415)
martijnvg Jun 19, 2023
61a953c
Remove unnecessary wait-until-merges-finish (#413)
ebadyano Jun 19, 2023
d1a77de
Support refresh_interval for elastic/logs (#414)
inqueue Jun 20, 2023
bffaa73
Update `so_vector` track to use _search and clean up the track (#410)
benwtrent Jun 20, 2023
709164a
Help debug rally-tracks-compat timeouts (#416)
pquentin Jun 21, 2023
9beaf7f
Weighted terms benchmarks for ELSER (#405)
davidkyle Jun 22, 2023
336c149
updating with new track with 10k pods (#418)
gizas Jun 22, 2023
40b4028
[dense_vector] Allow configurable index settings (#421)
dliappis Jun 22, 2023
fb4b90e
[dense-vector] Load queries only once in memory (#419)
dliappis Jun 22, 2023
249384e
Fix so_vector track (#423)
benwtrent Jun 26, 2023
e969c98
Add CCS/CCR challenge to elastic/logs README (#422)
b-deam Jun 27, 2023
a3ab222
Use keyword arguments for Elasticsearch API methods (#424)
ebadyano Jun 28, 2023
64fa238
Make touch-* bulk operations heavier in tsdb k8s queries track (#420)
martijnvg Jun 28, 2023
6d06692
Remove data-url property (#426)
pquentin Jun 29, 2023
6bae400
Bump linters (#428)
pquentin Jul 4, 2023
6cfe3fb
Add GitHub Actions Slack notifications (#427)
gbanasiak Jul 5, 2023
816d351
Test GH notifications
gbanasiak Jul 5, 2023
1a1cd12
Revert: Test GH notifications
gbanasiak Jul 5, 2023
1d60653
Add k8s_metrics track to benchmark refreshes during indexing (#425)
inqueue Jul 10, 2023
31bf843
k8s_metrics README.md typos (#431)
inqueue Jul 11, 2023
5f706b5
Update README for elastic/security (#430)
ebadyano Jul 11, 2023
e249840
Fix template issues in the k8s_metrics track (#434)
inqueue Jul 11, 2023
48a22f3
Reset the query iterator when all queries are exhausted (#435)
benwtrent Jul 13, 2023
b3a49bb
k8s_metrics track updates for fast refresh (#436)
inqueue Jul 13, 2023
4c94cc7
Update elastic/logs challenges (#433)
ebadyano Jul 18, 2023
22837e3
k8s_metrics: add fast refresh indexing and search challenges (#441)
inqueue Jul 28, 2023
1a78b8c
Add ES logs to CI workflow artifact in GitHub (#442)
gbanasiak Aug 1, 2023
7bf3192
Add max_num_segments parameter for force_merge operation to all track…
romseygeek Aug 2, 2023
27acbd2
Update fast refresh indexing parameters (#443)
inqueue Aug 2, 2023
9cc23d8
Adding parameter "max-num-segments" for force-merge under so-vector (…
ebadyano Aug 10, 2023
ff75cd6
Add dummy buildkite pipeline (#446)
gareth-ellis Aug 14, 2023
e8a9c16
Support DLM/ILM conditional for auditbeat templates (#449)
b-deam Aug 15, 2023
e4621f2
Add initial autoscaling benchmark (nyc_taxis) (#448)
inqueue Aug 16, 2023
98a66d1
Cohere vector benchmarks (#444)
TattdCodeMonkey Aug 21, 2023
4e8a54b
Swap date_trunc() arguments (#452)
bpintea Aug 24, 2023
410eb81
Running node-stats query unthrottled (#453)
ebadyano Aug 28, 2023
0447949
elastic/logs: Determine lifecycle automatically (#451)
pquentin Aug 29, 2023
437756e
k8s_metrics/fast-refresh-index-with-search: parameter adjustments (#450)
inqueue Aug 29, 2023
4bce3b2
Cohere bench improvements. (#455)
afoucret Sep 13, 2023
0b0b0b4
autoscaling: remove index settings for serverless (#456)
inqueue Sep 14, 2023
a40f531
First version of the wikipedia dataset + creating the track. (#429)
afoucret Sep 18, 2023
cac6c33
Refined ESQL benchmarks, fixed NaN and removed segment (#457)
craigtaverner Sep 19, 2023
3996714
Add searches on multiple segments for dense vector (#454)
mayya-sharipova Sep 27, 2023
b69f047
Improve the wikipedia track. (#458)
afoucret Sep 28, 2023
6280a74
Benchmark ELSER (#438)
maxhniebergall Sep 28, 2023
2ab023d
Fix typing in wikipedia track (#461)
gbanasiak Oct 2, 2023
fe31dbd
Modify Python versions used in GitHub actions (#462)
gbanasiak Oct 2, 2023
249332b
Added some ESQL queries to `elastic/logs` (#466)
craigtaverner Oct 9, 2023
23fffef
New folder with no hostips (#467)
gizas Oct 11, 2023
b389aee
Added ELSER V2 challenges for the elser-ingest-speedtest track (#468)
maxhniebergall Oct 11, 2023
272ff69
Do not skip ESQL challenge in IT tests (#470)
gbanasiak Oct 16, 2023
e1ab9e8
Update elastic/logs (#460)
gareth-ellis Oct 17, 2023
624d547
Added four enrich indices for ENRICH ESQL benchmarks on nyc_taxis tra…
craigtaverner Oct 17, 2023
e2c8cb9
Unblock geonames for public serverless (#465)
gbanasiak Oct 17, 2023
ed4e6cf
Update sync workflow (#477)
gbanasiak Oct 18, 2023
db8a2f3
Unblock pmc for public serverless (#473)
gbanasiak Oct 18, 2023
64e2cfc
Unblock geo tracks for public serverless (#480)
gbanasiak Oct 18, 2023
8f5813a
Added group0 query for simple esql stats (#471)
craigtaverner Oct 18, 2023
8635a97
Update elastic/logs query challenge ESQL operations (#476)
b-deam Oct 19, 2023
6ed17f6
Added more enrich queries to cover multiple enrich fields and stats (…
craigtaverner Oct 19, 2023
d5635f7
Semantic search benchmark (#472)
jimczi Oct 19, 2023
08df278
Wikipedia track improvements (#475)
afoucret Oct 19, 2023
cbdff9b
Simplify ESQL specific operations using new ESQL runner (#484)
craigtaverner Oct 20, 2023
3a199cc
Unblock vector tracks for public serverless (#482)
gbanasiak Oct 23, 2023
f490230
Unblock eql for public serverless (#485)
gbanasiak Oct 23, 2023
dff4906
Unblock http_logs for public serverless (#486)
gbanasiak Oct 23, 2023
2f3a006
Unblock nested and noaa for public serverless (#488)
gbanasiak Oct 23, 2023
e35c427
Esql bring back stats enrich (#489)
craigtaverner Oct 24, 2023
38253ec
Unblock nyc_taxis for public serverless (#490)
gbanasiak Oct 24, 2023
ee590fb
Unblock percolator, so, and sql for public serverless (#492)
gbanasiak Oct 24, 2023
9293eea
Added LIMIT 0 versions of queries to ESQL tasks in elastic/logs and N…
craigtaverner Oct 25, 2023
17aa310
Unblock tsdb tracks for public serverless (#493)
gbanasiak Oct 26, 2023
27c34d2
Added new simple count(*) query and search equivalent (#498)
craigtaverner Oct 27, 2023
a1cf098
Remove two troublesome queries (#499)
craigtaverner Oct 27, 2023
f411cc6
Increase timeout from 60m to 90m so that transforms can finish in tim…
przemekwitek Oct 30, 2023
b56cd36
Disable ELSER in IT tests (#503)
gbanasiak Oct 30, 2023
d1a833e
Remove the msmarco-passage-elser track (#502)
davidkyle Oct 31, 2023
4e436bf
Add force merge and refresh after indexing to wikipedia track (#497)
demjened Oct 31, 2023
ce72fb8
Revert "Remove two troublesome queries (#499)" (#506)
craigtaverner Nov 1, 2023
95f2ea3
Added _search versions of the ESQL count(*) queries (#496)
craigtaverner Nov 1, 2023
0644206
Removed duplicate tasks after two PRs merged (#507)
craigtaverner Nov 1, 2023
324996e
Reduce iteration count for long running queries (#508)
craigtaverner Nov 2, 2023
5422b21
Unblock elastic/logs for public serverless (#504)
gbanasiak Nov 6, 2023
dff7aa1
Remove ESQL shard partitioning, and re-introduce segment partitioning…
craigtaverner Nov 8, 2023
75c7870
Add tsdb_k8s_queries challenge for serverless stress tests (#510)
inqueue Nov 13, 2023
db28487
Add back ids for queries and documents in msmarco-passage-ranking (#514)
jimczi Nov 15, 2023
24812f7
Unblock k8s_metrics for public serverless (#487)
gbanasiak Nov 15, 2023
783277b
Drop post-ingest-sleep from rampup (#516)
inqueue Nov 15, 2023
df4f214
Add new `search_clients` track parameter to TSDB track (#515)
b-deam Nov 16, 2023
99e9115
OpenAI Vector Rally Track (#517)
Mikep86 Nov 20, 2023
64eefc1
Reduce Wikipedia default bulk size (#519)
b-deam Nov 21, 2023
837119b
Updating k8s track with 8.12 templates and new UIds (#513)
gizas Nov 22, 2023
a640ade
Add IT serverless pipeline (#526)
gbanasiak Nov 28, 2023
8325625
Adding KnnVectorStore to dense_vector track for speeding up knn-recal…
pmpailis Nov 30, 2023
aa18356
ESQL: Load 500 rows (#520)
nik9000 Dec 1, 2023
77624cd
Update elastic/logs README.md (#521)
cbuescher Dec 4, 2023
72595e3
Add IT tests for serverless (#529)
gbanasiak Dec 4, 2023
a42e15b
Avoid ZeroDivisionError in compression stats (#527)
inqueue Dec 4, 2023
425dbc3
Add Buildkite runs for PRs (#530)
gbanasiak Dec 5, 2023
4456cc2
Fix data preload in elastic/logs for serverless (#531)
gbanasiak Dec 5, 2023
0e6a682
Parameterise workflow client count for elastic/logs (#533)
b-deam Dec 6, 2023
4674de3
Derive project name from Buildkite metadata (#532)
gbanasiak Dec 6, 2023
8ad061b
Correct append-sorted-no-conflicts description (#376)
inqueue Dec 6, 2023
b161224
Add another model for semantic search in msmarco-passage-ranking (#534)
jimczi Dec 8, 2023
c87090f
Update hatch configuration (#539)
gbanasiak Dec 11, 2023
bde5b80
Adding invalidate-vector-store param to knn-recall operations (#540)
pmpailis Dec 13, 2023
b5e0668
Adjust index append warm-up time period in Geonames (#535)
gbanasiak Dec 13, 2023
f70e973
Adding nodes visited metadata to dense-vector track (#536)
pmpailis Dec 13, 2023
713c9b8
Switch cohere_vector track to use max_inner_product similarity (#543)
jimczi Dec 19, 2023
f85d96a
Adjust geonames, geopoint, nyc_taxis and so_vector tracks for serverl…
gbanasiak Dec 20, 2023
a93c637
Differentiate GH action artifact name (#546)
gbanasiak Jan 8, 2024
662492a
Add multi-parametric and multi-doc challenges to elser-ingest-speedte…
maxhniebergall Jan 8, 2024
f6972e0
Update sync workflow to 8.13 (#547)
gbanasiak Jan 10, 2024
30a9b98
Add relevance metrics including pruned tokens to MS Marco ranking tra…
kderusso Jan 10, 2024
aed60c4
Update cohere_vector track README (#548)
inqueue Jan 10, 2024
0ebc6d4
Add es|ql queries to tsdb k8s query track in a new challenge. (#545)
martijnvg Jan 11, 2024
a8ccf0c
Add index_sorting, synthetic_source_mode and force_merge_max_num_segm…
martijnvg Jan 12, 2024
16f744b
Fix variable overwriting in ELSER ingest speed test (#549)
maxhniebergall Jan 12, 2024
e5d42c9
Add new concurrent querying challenge (#538)
cbuescher Jan 17, 2024
87ba8fd
Verify API key in serverless IT (#552)
gbanasiak Jan 18, 2024
b812ad8
fix: remove unsupported auto date histograms from tsdb rally track (#…
salvatore-campagna Jan 24, 2024
8f081e2
Add new parameter to vector tracks to set vector index type (#537)
benwtrent Jan 25, 2024
ada969a
docs: include dimension fields to README (#556)
salvatore-campagna Jan 26, 2024
a6ac413
Fix tsdb k8s queries for serverless (#553)
gbanasiak Jan 31, 2024
cf8f9a4
adding updated k8s track with CPU and remove status_pod test (#551)
gizas Jan 31, 2024
cf4e898
Add storage challenge to k8s track (#500)
martijnvg Feb 2, 2024
0b4e4fb
Replace PROJECT keyword with KEEP in ESQL queries (#559)
luigidellaquila Feb 5, 2024
3a99a6a
Use new name for frequent items agg (#560)
davidkyle Feb 12, 2024
fd6987e
Adds field-caps non empty field task in the many-shards-quantitative …
piergm Feb 15, 2024
adaae2a
Fix for elastic/logs many-shards-quantitative (#566)
piergm Feb 19, 2024
23f1c58
Adjust elastic/logs for serverless benchmarks (#563)
gbanasiak Feb 20, 2024
65262a9
Add DSL cluster settings in many-shards setup (#565)
nielsbauman Feb 21, 2024
9a5a21d
Add autoscale-v2 challenge to NYC Taxis track (#569)
gbanasiak Feb 21, 2024
2794e4c
feat: add apm rally track (#550)
kyungeunni Feb 22, 2024
87d0036
Add a new track to benchmark filtered search on dense vectors (#561)
jimczi Feb 29, 2024
c3e38c2
added field-caps CCS task (#568)
piergm Mar 4, 2024
e518674
Tasks for benchmarking field_caps with index-filter (#574)
piergm Mar 5, 2024
35588da
Add new benchmark for msmarco-v2-embed-english-v3 dataset (#575)
1stvamp Mar 8, 2024
2552340
Add the ability to override track data source url (#576)
gareth-ellis Mar 11, 2024
c7d67a8
elastic/apm: do not update/use `apm@settings` template (#572)
kyungeunni Mar 13, 2024
d17928c
Normalize msmarco-v2-vector queries and switch to dot-product (#578)
1stvamp Mar 14, 2024
3e4dc1a
[Wikipedia] Ensure that indexation always runs during the parallel in…
jimczi Mar 19, 2024
db69e57
msmarco-v2-vector: fix bzip2 data corruption and vector normalization…
1stvamp Mar 20, 2024
c27ee2a
Document parameters for append-no-conflicts-rampup (#512)
inqueue Mar 25, 2024
79a2188
Unpin numpy to support python 3.12 (#582)
favilo Mar 25, 2024
8ff02b6
[ES-8028] Make the [pragma] for esql segment partitioning only happen…
favilo Mar 26, 2024
5f92833
Remove sync latest branch workflow (#583)
inqueue Mar 27, 2024
1f452eb
[ES-8028] Hide doc_partitioning operations from serverless benchmarks…
favilo Mar 29, 2024
c767afa
Add a logging-indexing variation track for data stream autosharding (…
andreidan Apr 3, 2024
a0b9550
Update default value for auto sharding excludes (#586)
andreidan Apr 3, 2024
4cfc530
Wikipedia README typo corrections
inqueue Apr 3, 2024
0b619e2
Allow the auto sharding track to change dsl rollover (#587)
andreidan Apr 4, 2024
89e1af6
Update elastic/apm to use time-period for bulk operation (#577)
kyungeunni Apr 8, 2024
7da5fd6
[ES-8186] Add ES|QL queries to the `many-shards-quantitative` track (…
favilo Apr 8, 2024
33c62f2
chore: remove force-merge op (#589)
kyungeunni Apr 12, 2024
67bb3b8
Add a categorize-text challenge to the elastic/logs track. (#590)
edsavage Apr 22, 2024
ef49c1f
Pin MacOS version at 13 (#593)
gbanasiak Apr 25, 2024
86109b4
Skip non-operator serverless IT tests for elastic/logs, geonames and …
gbanasiak Apr 25, 2024
c301ae3
Add a new `low-latency` challenge to `tsdb` track (#595)
salvatore-campagna May 2, 2024
549709f
[elastic/logs] Allow datastream-autosharding to use default cluster s…
inqueue May 7, 2024
b5cbf11
Disable lossy _source parameters on serverless (#603)
dpifke-elastic May 9, 2024
328dc82
ESQL Intersects, Contains, Within, Disjoint benchmarks (#602)
craigtaverner May 13, 2024
1f2dbe5
Improvements to the categorize-text challenge (#594)
edsavage May 14, 2024
26603b0
Attempt to fix osm* issue in ESQL benchmarks (#605)
craigtaverner May 15, 2024
3870e77
Use a pipeline to generate doc id and use correct doc id values (#606)
salvatore-campagna May 16, 2024
c7ed0b8
Add GitHub Archive track redo (#607)
inqueue May 21, 2024
e4562c2
Updated geopoint distance queries including sort, filter and aggs (#611)
craigtaverner May 23, 2024
46c831e
Increase API key retries in serverless IT (#615)
gbanasiak May 31, 2024
a71ef11
Prepare elastic/logs track for the new logs index mode. (#612)
martijnvg Jun 4, 2024
d6fd6d2
Update elastic/logs integrations to 8.13.3 (#613)
ebadyano Jun 8, 2024
b6f3535
Add recall and NDCG operations in msmarco-v2-vector (#610)
jimczi Jun 10, 2024
aaff8e6
Make exclude conditional on not serverless (#620)
gareth-ellis Jun 18, 2024
2a95171
Grant elasticsearch-team ability to rerun builds (#621)
gareth-ellis Jun 18, 2024
7f82d34
Remove index sorting overwrite (#619)
martijnvg Jun 19, 2024
073eded
Add three searches that fetch _source as separate challenges to elast…
martijnvg Jun 21, 2024
d3d4d0b
Add three searches that fetch _source as separate challenges to elast…
martijnvg Jun 21, 2024
25ca4ff
Added many more distance benchmarks for ESQL (#626)
craigtaverner Jul 5, 2024
50b94d5
Add query rule tests to the wikipedia track (#627)
kderusso Jul 17, 2024
dd26414
Fix autoscale-v2 (#629)
gareth-ellis Jul 17, 2024
78063b7
Update MS Marco passage ranking to use _score when calculating NDCG (…
kderusso Jul 19, 2024
d3b161d
Update msmarco-passage-ranking track to use sparse_vector instead of …
kderusso Aug 5, 2024
8ff1471
Add exclude to query ruleset benchmarks (#635)
kderusso Aug 13, 2024
7051baa
Introduce an `index_mode` param into the `elastic/security` Rally tra…
salvatore-campagna Aug 21, 2024
529117e
Add a retriever test with optional rerank (#639)
kderusso Aug 21, 2024
db0f8fb
fix: allow skipping delete of fleet component template (#642)
salvatore-campagna Aug 29, 2024
e50dc1d
fix: skip deleting some required component templates for security (#644)
salvatore-campagna Aug 29, 2024
68f1bb1
Disallow usage of ilm lifecycle for serverless (#647)
salvatore-campagna Aug 30, 2024
269e046
fix: prevent usage of ilm lifecycle in serverless (#650)
salvatore-campagna Sep 3, 2024
2b42a38
Synthetic source does not still support `copy_to` (#652)
salvatore-campagna Sep 5, 2024
e8b8054
Keep array source in logsdb mode (#655)
kkrik-es Sep 8, 2024
cf826cd
Include ability to force merge segments in `elastic/security` (#657)
salvatore-campagna Sep 11, 2024
74d31cd
Update to use JDK 21 for build (#660)
gareth-ellis Sep 12, 2024
21dcd36
Paramaterise timeout (#661)
gareth-ellis Sep 16, 2024
54d3433
Modify the default vector index type to int8_hnsw (#658)
mayya-sharipova Sep 16, 2024
0203b04
Re-enable `copy_to` into `elastic/security` (#667)
salvatore-campagna Sep 18, 2024
c12d71c
Add components logs@mappings, logs@settings, ecs@mappings to endpoint…
achuguy Sep 18, 2024
1bca8f1
Enable `logsdb` index mode in security track (#670)
salvatore-campagna Sep 19, 2024
01fc99c
Add logsdb support to http_logs track (#672)
martijnvg Sep 20, 2024
0ca00a0
`host.name` is empty we need to use `host.hostname` (#678)
salvatore-campagna Sep 24, 2024
3ae3304
Add backport action (#599)
gareth-ellis Sep 24, 2024
d991a14
Continue backport on error (#681)
gbanasiak Sep 25, 2024
0a09c6a
Include a variable to control `synthetic_source_keep` parameter (#682)
salvatore-campagna Sep 30, 2024
11555ab
Add synthetic_source_keep param to tsdb and http_logs tracks (#683)
martijnvg Oct 2, 2024
d785dd9
Added a stripped down version of logging-querying for frozen tier ben…
AI-IshanBhatt Oct 2, 2024
4493616
Ignore VSCode files (#686)
gbanasiak Oct 2, 2024
574275a
Update README.md (#614)
maxhniebergall Oct 2, 2024
3f72278
Update README.md (#604)
crispybacon Oct 2, 2024
e2ca95e
host.id has lower cardinality (#687)
salvatore-campagna Oct 2, 2024
c23a1bf
Update elastic/security artifacts (#675)
achuguy Oct 9, 2024
dc2e963
Added two more distancefilter and updated iterations after new optimi…
craigtaverner Oct 17, 2024
1268b05
Configure Slack notifications through env (#696)
gbanasiak Oct 21, 2024
4cd9d4a
Skip Fleet component templates in serverless (#697)
gbanasiak Oct 22, 2024
151f5d8
Add search/mteb/dbpedia relevance evaluation track (#691)
kderusso Oct 23, 2024
ae63824
Add support for source mode to various tracks (#692)
martijnvg Oct 25, 2024
b458720
Add new ESQL CCS challenge in Logs (#701)
gbanasiak Oct 30, 2024
8705a2b
Two more benchmarks for partial sorting with ESQL (#703)
craigtaverner Nov 5, 2024
84f0edb
Add scalability queries to esql-ccs-snapshot Logs challenge (#705)
gbanasiak Nov 18, 2024
5a90649
Add ESQL AVG query for non-runtime field (#706)
gbanasiak Nov 19, 2024
18c88a9
Use polling mode for force merge in tsdb track (#707)
martijnvg Nov 28, 2024
2df96de
Exclude msmarco from IT tests (#708)
gareth-ellis Nov 28, 2024
393ed97
Add ES|QL to categorize-text challenge (#712)
jan-elastic Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"repoOwner": "elastic",
"repoName": "rally-tracks",
"targetBranchChoices": [
"8.15",
"8.14",
"8.13"
],
"targetPRLabels": [
"backport"
],
"branchLabelMapping": {
"^backport-to-(.+)$": "$1"
},
"autoMerge": true,
"autoMergeMethod": "squash",
"prDescription": "{defaultPrDescription}\n\n<!--BACKPORT {commits} BACKPORT-->"
}
6 changes: 6 additions & 0 deletions .buildkite/it/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
agents:
image: "docker.elastic.co/ci-agent-images/es-perf/buildkite-agent-python"

steps:
- label: "Run IT Test"
command: echo "TODO"
35 changes: 35 additions & 0 deletions .buildkite/it/run_serverless.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash

set -eo pipefail

source .buildkite/retry.sh

export TERM=dumb
export LC_ALL=en_US.UTF-8
export TZ=Etc/UTC
export DEBIAN_FRONTEND=noninteractive
# https://askubuntu.com/questions/1367139/apt-get-upgrade-auto-restart-services
sudo mkdir -p /etc/needrestart
echo "\$nrconf{restart} = 'a';" | sudo tee -a /etc/needrestart/needrestart.conf > /dev/null

PYTHON_VERSION="$1"
TEST_NAME="$2"

echo "--- System dependencies"

retry 5 sudo add-apt-repository --yes ppa:deadsnakes/ppa
retry 5 sudo apt-get update
retry 5 sudo apt-get install -y \
"python${PYTHON_VERSION}" "python${PYTHON_VERSION}-dev" "python${PYTHON_VERSION}-venv" \
dnsutils # provides nslookup

echo "--- Python modules"

"python${PYTHON_VERSION}" -m venv .venv
source .venv/bin/activate
python -m pip install .[develop]

echo "--- Run IT serverless test \"$TEST_NAME\" :pytest:"

hatch -v -e it_serverless run $TEST_NAME

32 changes: 32 additions & 0 deletions .buildkite/it/serverless-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
common:
plugins:
- elastic/vault-secrets#v0.0.2: &vault-base_url
path: "secret/ci/elastic-rally-tracks/employees/cloud/it-serverless"
field: "base_url"
env_var: "RALLY_IT_SERVERLESS_BASE_URL"
- elastic/vault-secrets#v0.0.2: &vault-get_credentials_endpoint
path: "secret/ci/elastic-rally-tracks/employees/cloud/it-serverless"
field: "get_credentials_endpoint"
env_var: "RALLY_IT_SERVERLESS_GET_CREDENTIALS_ENDPOINT"
- elastic/vault-secrets#v0.0.2: &vault-api_key
path: "secret/ci/elastic-rally-tracks/employees/cloud/it-serverless"
field: "api_key"
env_var: "RALLY_IT_SERVERLESS_API_KEY"

agents:
provider: "gcp"
image: family/core-ubuntu-2204

steps:
- label: "Run IT serverless tests with user privileges"
plugins:
- elastic/vault-secrets#v0.0.2: *vault-base_url
- elastic/vault-secrets#v0.0.2: *vault-get_credentials_endpoint
- elastic/vault-secrets#v0.0.2: *vault-api_key
command: bash .buildkite/it/run_serverless.sh 3.11 test_user
- label: "Run IT Serverless tests with operator privileges"
plugins:
- elastic/vault-secrets#v0.0.2: *vault-base_url
- elastic/vault-secrets#v0.0.2: *vault-get_credentials_endpoint
- elastic/vault-secrets#v0.0.2: *vault-api_key
command: bash .buildkite/it/run_serverless.sh 3.11 test_operator
9 changes: 9 additions & 0 deletions .buildkite/pull-requests.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"jobs": [
{
"enabled": true,
"pipeline_slug": "rally-tracks-it-serverless",
"allow_org_users": true
}
]
}
31 changes: 31 additions & 0 deletions .buildkite/retry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# based on https://gist.github.com/sj26/88e1c6584397bb7c13bd11108a579746?permalink_comment_id=4155247#gistcomment-4155247
function retry {
local retries=$1
shift
local cmd=($@)
local cmd_string="${@}"
local count=0

# be lenient with non-zero exit codes, to allow retries
set +o errexit
set +o pipefail
until "${cmd[@]}"; do
retcode=$?
wait=$(( 2 ** count ))
count=$(( count + 1))
if [[ $count -le $retries ]]; then
printf "Command [%s] failed. Retry [%d/%d] in [%d] seconds.\n" "$cmd_string" $count $retries $wait
sleep $wait
else
printf "Exhausted all [%s] retries for command [%s]. Exiting.\n" "$cmd_string" $retries
# restore settings to fail immediately on error
set -o errexit
set -o pipefail
return $retcode
fi
done
# restore settings to fail immediately on error
set -o errexit
set -o pipefail
return 0
}
28 changes: 28 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Automatic backport action

on:
pull_request_target:
branches: ['master']
types: ["labeled", "closed"]

jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& !contains(github.event.pull_request.labels.*.name, 'backport')
steps:
- name: Backport Action
uses: sorenlouv/[email protected]
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log

- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log
111 changes: 111 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: CI

on:
push:
pull_request:
schedule:
- cron: '0 14 * * *'
# Allows triggering the job manually
workflow_dispatch:

env:
DEFAULT_BRANCH: master

permissions: "read-all"

jobs:
lint:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: pyproject.toml
- name: "Install dependencies"
run: python -m pip install .[develop]
- uses: pre-commit/[email protected]
- uses: elastic/es-perf-github-status@v2
if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}
with:
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: ${{ secrets.SLACK_CHANNEL }}
status: FAILED

test:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os:
- macos-13
- ubuntu-latest

runs-on: ${{ matrix.os }}
name: unit ${{ fromJson('{"macos-13":"macOS","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: "Install dependencies"
run: python -m pip install .[develop]
- name: "Run tests"
run: hatch -v -e unit run test
- uses: elastic/es-perf-github-status@v2
if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}
with:
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: ${{ secrets.SLACK_CHANNEL }}
status: FAILED

rally-tracks-compat:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]

runs-on: ubuntu-22.04

name: rally-tracks-compat ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "21"
- run: echo "JAVA21_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
- run: echo "JAVA11_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
- name: "Install dependencies"
run: python -m pip install .[develop]
- name: "Run tests"
run: hatch -v -e it run test
timeout-minutes: 120
env:
# elastic/endpoint fetches assets from GitHub, authenticate to avoid
# being rate limited
ASSETS_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: elastic/es-perf-github-status@v2
if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}
with:
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel: ${{ secrets.SLACK_CHANNEL }}
status: FAILED
# Artifact will show up under "Artifacts" in the "Summary" page of runs
- uses: actions/upload-artifact@v3
if: always()
with:
name: rally-tracks-compat-logs-${{ matrix.python-version }}
path: |
/home/runner/.rally/logs/
/home/runner/.rally/benchmarks/races/**/*.log
if-no-files-found: error
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,16 @@ target/
*.pk

# pyenv
.python-version
.python-version

# VirtualEnv
.venv

# pytest
.pytest_cache

# Editors
*~
/.project
/.pydevproject
/.vscode
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
require_serial: true

- repo: local
hooks:
- id: isort
name: isort
entry: isort
language: system
types: [python]
require_serial: true
74 changes: 74 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

SHELL = /bin/bash
# We assume an active virtualenv for development
PYENV_REGEX = .pyenv/shims
PY_BIN = python3
# https://github.com/pypa/pip/issues/5599
PIP_WRAPPER = $(PY_BIN) -m pip
export PY38 = "3.8.13"
VIRTUAL_ENV ?= .venv
VENV_ACTIVATE_FILE = $(VIRTUAL_ENV)/bin/activate
VENV_ACTIVATE = . $(VENV_ACTIVATE_FILE)
VEPYTHON = $(VIRTUAL_ENV)/bin/$(PY_BIN)
PYENV_ERROR = "\033[0;31mIMPORTANT\033[0m: Please install pyenv.\n"
PYENV_PREREQ_HELP = "\033[0;31mIMPORTANT\033[0m: please type \033[0;31mpyenv init\033[0m, follow the instructions there and restart your terminal before proceeding any further.\n"
VE_MISSING_HELP = "\033[0;31mIMPORTANT\033[0m: Couldn't find $(PWD)/$(VIRTUAL_ENV); have you executed make venv-create?\033[0m\n"

prereq:
pyenv install --skip-existing $(PY38)
pyenv local $(PY38)

venv-create:
@if [[ ! -x $$(command -v pyenv) ]]; then \
printf $(PYENV_ERROR); \
exit 1; \
fi;
@if [[ ! -f $(VENV_ACTIVATE_FILE) ]]; then \
eval "$$(pyenv init -)" && eval "$$(pyenv init --path)" && $(PY_BIN) -mvenv $(VIRTUAL_ENV); \
printf "Created python3 venv under $(PWD)/$(VIRTUAL_ENV).\n"; \
fi;

check-venv:
@if [[ ! -f $(VENV_ACTIVATE_FILE) ]]; then \
printf $(VE_MISSING_HELP); \
fi

install: venv-create
. $(VENV_ACTIVATE_FILE); $(PIP_WRAPPER) install .[develop]

shell: check-venv
. $(VENV_ACTIVATE_FILE); hatch -v shell

test: check-venv
. $(VENV_ACTIVATE_FILE); hatch -v -e unit run test

it: check-venv
. $(VENV_ACTIVATE_FILE); hatch -v -e it run test

sdist: check-venv
. $(VENV_ACTIVATE_FILE); hatch -v build -t sdist -c

precommit: check-venv
@. $(VENV_ACTIVATE_FILE); pre-commit run --all-files

clean:
rm -rf .pytest_cache
. $(VENV_ACTIVATE_FILE); hatch -v clean

.PHONY: prereq venv-create check-venv install shell test it sdist clean
Loading