Repository navigation
fix: restore with_docker_compose and detect legacy snapshot.yml for kubernetes-1.39 backport branch - #21152
Conversation
Also check for snapshot.yml (the name used before elastic-package renamed it to docker-compose.yml in May 2024) so the function does not miss a running stack on older installations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-package v0.79.0 The CI sync (elastic#20542) replaced with_docker_compose (standalone binary installed into BIN_FOLDER) with with_docker_compose_plugin (CLI plugin installed into ~/.docker/cli-plugins). This caused elastic-package v0.79.0, which hardcodes exec.Command("docker-compose", ...), to pick up the system's docker-compose v2.24.7 (bundled with Docker 26.1.2) instead of the pinned version. Docker Compose v2.23+ changed the YAML output of `docker compose config` so that the environment field is serialized as a sequence instead of a map, which elastic-package v0.79.0 cannot unmarshal (map[string]string). Restore with_docker_compose so the pinned standalone binary is placed in BIN_FOLDER (first in PATH) and called before the system version. Call it from test_one_package.sh and test_integrations_with_serverless.sh alongside the existing plugin installation. Restore the previous docker-compose version v2.17.2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> fix: add --fail to curl in with_docker_compose to enable retries on HTTP errors Without --fail, curl exits 0 even on 4xx responses, saving the HTML error body silently. This caused the docker-compose binary to contain an HTML page, making it fail at execution time. With --fail, HTTP errors produce a non-zero exit code so retry 5 can kick in properly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
is_stack_created currently risks aborting under set -euo pipefail when ~/.elastic-package is missing, and the new with_docker_compose should mirror existing skip-guard behavior for disabled/unset versions.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Backports CI pipeline fixes for the backport-kubernetes-1.39 branch to restore reliable test execution after the CI sync (#20542), primarily by pinning the Docker Compose standalone binary used by elastic-package v0.79.0 and improving legacy stack detection.
Changes:
- Re-introduces
with_docker_composeto download a pinned standalonedocker-composebinary intoBIN_FOLDER, and invokes it in package test scripts. - Extends
is_stack_createdto also detect legacysnapshot.ymlstacks. - Pins
DOCKER_COMPOSE_VERSIONback tov2.17.2across Buildkite pipelines.
File summaries
| File | Description |
|---|---|
| .buildkite/scripts/test_one_package.sh | Ensures standalone docker-compose is installed before plugin-based compose setup during package tests. |
| .buildkite/scripts/test_integrations_with_serverless.sh | Ensures standalone docker-compose is installed before plugin-based compose setup during serverless tests. |
| .buildkite/scripts/common.sh | Adds with_docker_compose installer and extends stack detection to include legacy snapshot.yml. |
| .buildkite/pipeline.yml | Pins DOCKER_COMPOSE_VERSION to v2.17.2 for the main pipeline. |
| .buildkite/pipeline.serverless.yml | Pins DOCKER_COMPOSE_VERSION to v2.17.2 for the serverless pipeline. |
| .buildkite/pipeline.publish.yml | Pins DOCKER_COMPOSE_VERSION to v2.17.2 for the publish pipeline. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| with_docker_compose() { | ||
| create_bin_folder | ||
| check_platform_architecture | ||
|
|
||
| echo "--- Setting up the Docker-compose environment..." | ||
| retry 5 curl -sSL --fail -o "${BIN_FOLDER}/docker-compose" "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-${platform_type_lowercase}-${hw_type}" | ||
| chmod +x "${BIN_FOLDER}/docker-compose" | ||
| docker-compose version | ||
| } |
| files=$(find ~/.elastic-package -type f -name "docker-compose.yml" | wc -l) | ||
| if [ "${files}" -gt 0 ]; then | ||
| return 0 | ||
| fi | ||
| # snapshot.yml was the name used before elastic-package renamed it to docker-compose.yml |
🚀 Benchmarks reportPackage
|
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit_events |
6097.56 | 4385.96 | -1711.6 (-28.07%) | 💔 |
item_usages |
12820.51 | 10101.01 | -2719.5 (-21.21%) | 💔 |
Package apache_tomcat 👍(2) 💚(2) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
access |
2232.14 | 522.74 | -1709.4 (-76.58%) | 💔 |
Package atlassian_bitbucket 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
5263.16 | 3401.36 | -1861.8 (-35.37%) | 💔 |
Package auditd 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1335.11 | 587.2 | -747.91 (-56.02%) | 💔 |
Package auditd_manager 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
auditd |
14705.88 | 9433.96 | -5271.92 (-35.85%) | 💔 |
Package auth0 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
logs |
4000 | 2717.39 | -1282.61 (-32.07%) | 💔 |
Package azure 👍(0) 💚(1) 💔(9)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
springcloudlogs |
6493.51 | 1968.5 | -4525.01 (-69.69%) | 💔 |
activitylogs |
2325.58 | 536.77 | -1788.81 (-76.92%) | 💔 |
application_gateway |
5181.35 | 1432.66 | -3748.69 (-72.35%) | 💔 |
auditlogs |
3154.57 | 1075.27 | -2079.3 (-65.91%) | 💔 |
firewall_logs |
2932.55 | 1340.48 | -1592.07 (-54.29%) | 💔 |
identity_protection |
5524.86 | 1594.9 | -3929.96 (-71.13%) | 💔 |
platformlogs |
6451.61 | 1824.82 | -4626.79 (-71.72%) | 💔 |
provisioning |
11363.64 | 2188.18 | -9175.46 (-80.74%) | 💔 |
signinlogs |
2267.57 | 948.77 | -1318.8 (-58.16%) | 💔 |
Package azure_metrics 👍(0) 💚(0) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
compute_vm |
200000 | 50000 | -150000 (-75%) | 💔 |
compute_vm_scaleset |
333333.33 | 142857.14 | -190476.19 (-57.14%) | 💔 |
container_instance |
333333.33 | 142857.14 | -190476.19 (-57.14%) | 💔 |
Package barracuda_cloudgen_firewall 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
8064.52 | 4761.9 | -3302.62 (-40.95%) | 💔 |
Package bitdefender 👍(1) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
push_configuration |
25641.03 | 15625 | -10016.03 (-39.06%) | 💔 |
Package bitwarden 👍(1) 💚(2) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
policy |
7751.94 | 2967.36 | -4784.58 (-61.72%) | 💔 |
Package carbon_black_cloud 👍(1) 💚(2) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
asset_vulnerability_summary |
13157.89 | 9615.38 | -3542.51 (-26.92%) | 💔 |
watchlist_hit |
4310.34 | 3012.05 | -1298.29 (-30.12%) | 💔 |
Package carbonblack_edr 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
4694.84 | 1004.02 | -3690.82 (-78.61%) | 💔 |
Package cef 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
5076.14 | 2770.08 | -2306.06 (-45.43%) | 💔 |
Package ceph 👍(3) 💚(1) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
cluster_disk |
17241.38 | 9433.96 | -7807.42 (-45.28%) | 💔 |
cluster_health |
22727.27 | 19230.77 | -3496.5 (-15.38%) | 💔 |
osd_pool_stats |
23255.81 | 11363.64 | -11892.17 (-51.14%) | 💔 |
Package checkpoint 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
firewall |
1239.16 | 1022.49 | -216.67 (-17.49%) | 💔 |
Package cisco_aironet 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2421.31 | 1492.54 | -928.77 (-38.36%) | 💔 |
Package cisco_asa 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1166.86 | 227.12 | -939.74 (-80.54%) | 💔 |
Package cisco_duo 👍(1) 💚(0) 💔(4)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
admin |
5882.35 | 4444.44 | -1437.91 (-24.44%) | 💔 |
auth |
2525.25 | 1893.94 | -631.31 (-25%) | 💔 |
summary |
52631.58 | 32258.06 | -20373.52 (-38.71%) | 💔 |
telephony |
50000 | 25641.03 | -24358.97 (-48.72%) | 💔 |
Package cisco_ftd 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
781.86 | 178.09 | -603.77 (-77.22%) | 💔 |
Package cisco_ios 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2044.99 | 744.05 | -1300.94 (-63.62%) | 💔 |
Package cisco_ise 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
274.8 | 166.36 | -108.44 (-39.46%) | 💔 |
Package cisco_meraki 👍(0) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
events |
333333.33 | 5494.51 | -327838.82 (-98.35%) | 💔 |
log |
3164.56 | 2036.66 | -1127.9 (-35.64%) | 💔 |
Package cisco_secure_email_gateway 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1264.22 | 983.28 | -280.94 (-22.22%) | 💔 |
Package cisco_secure_endpoint 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
event |
2967.36 | 2136.75 | -830.61 (-27.99%) | 💔 |
Package cisco_umbrella 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
7936.51 | 4651.16 | -3285.35 (-41.4%) | 💔 |
Package citrix_adc 👍(1) 💚(2) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
lbvserver |
5347.59 | 3937.01 | -1410.58 (-26.38%) | 💔 |
service |
12987.01 | 6369.43 | -6617.58 (-50.96%) | 💔 |
Package citrix_waf 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2044.99 | 809.06 | -1235.93 (-60.44%) | 💔 |
Package cloudflare_logpush 👍(0) 💚(0) 💔(7)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
6993.01 | 1607.72 | -5385.29 (-77.01%) | 💔 |
dns |
12658.23 | 3344.48 | -9313.75 (-73.58%) | 💔 |
firewall_event |
4424.78 | 1322.75 | -3102.03 (-70.11%) | 💔 |
http_request |
1715.27 | 464.9 | -1250.37 (-72.9%) | 💔 |
nel_report |
24390.24 | 7575.76 | -16814.48 (-68.94%) | 💔 |
network_analytics |
1818.18 | 1002 | -816.18 (-44.89%) | 💔 |
spectrum_event |
4065.04 | 1264.22 | -2800.82 (-68.9%) | 💔 |
Package coredns 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2358.49 | 1912.05 | -446.44 (-18.93%) | 💔 |
Package couchbase 👍(4) 💚(3) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
xdcr |
25641.03 | 17543.86 | -8097.17 (-31.58%) | 💔 |
cache |
20000 | 10752.69 | -9247.31 (-46.24%) | 💔 |
query_index |
7518.8 | 6289.31 | -1229.49 (-16.35%) | 💔 |
Package couchdb 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
server |
4098.36 | 2890.17 | -1208.19 (-29.48%) | 💔 |
Package crowdstrike 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
fdr |
2123.14 | 335.57 | -1787.57 (-84.19%) | 💔 |
Package cyberark_pta 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
events |
12658.23 | 6211.18 | -6447.05 (-50.93%) | 💔 |
Package cyberarkpas 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
1602.56 | 1012.15 | -590.41 (-36.84%) | 💔 |
Package cylance 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
protect |
71428.57 | 12820.51 | -58608.06 (-82.05%) | 💔 |
Package darktrace 👍(1) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
model_breach_alert |
1146.79 | 922.51 | -224.28 (-19.56%) | 💔 |
system_status_alert |
7042.25 | 5181.35 | -1860.9 (-26.42%) | 💔 |
Package elastic_package_registry 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
metrics |
8849.56 | 4424.78 | -4424.78 (-50%) | 💔 |
Package f5_bigip 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
565.29 | 116.85 | -448.44 (-79.33%) | 💔 |
Package fireeye 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
nx |
1658.37 | 856.9 | -801.47 (-48.33%) | 💔 |
Package forcepoint_web 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
logs |
2118.64 | 1529.05 | -589.59 (-27.83%) | 💔 |
Package forgerock 👍(3) 💚(4) 💔(4)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
idm_sync |
45454.55 | 13513.51 | -31941.04 (-70.27%) | 💔 |
idm_access |
21276.6 | 15873.02 | -5403.58 (-25.4%) | 💔 |
idm_authentication |
50000 | 20833.33 | -29166.67 (-58.33%) | 💔 |
idm_config |
58823.53 | 29411.76 | -29411.77 (-50%) | 💔 |
Package fortinet_forticlient 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
83333.33 | 14925.37 | -68407.96 (-82.09%) | 💔 |
Package fortinet_fortiedr 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1647.45 | 712.76 | -934.69 (-56.74%) | 💔 |
Package fortinet_fortimail 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1242.24 | 924.21 | -318.03 (-25.6%) | 💔 |
Package gcp 👍(2) 💚(0) 💔(4)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
compute |
38461.54 | 23809.52 | -14652.02 (-38.1%) | 💔 |
firewall |
4081.63 | 2506.27 | -1575.36 (-38.6%) | 💔 |
loadbalancing_logs |
3921.57 | 2890.17 | -1031.4 (-26.3%) | 💔 |
vpcflow |
5649.72 | 4329 | -1320.72 (-23.38%) | 💔 |
Package github 👍(0) 💚(2) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
code_scanning |
4000 | 2347.42 | -1652.58 (-41.31%) | 💔 |
dependabot |
4587.16 | 3215.43 | -1371.73 (-29.9%) | 💔 |
issues |
5154.64 | 3584.23 | -1570.41 (-30.47%) | 💔 |
Package google_workspace 👍(2) 💚(0) 💔(12)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
login |
7692.31 | 5813.95 | -1878.36 (-24.42%) | 💔 |
rules |
3424.66 | 2277.9 | -1146.76 (-33.49%) | 💔 |
token |
2188.18 | 1692.05 | -496.13 (-22.67%) | 💔 |
user_accounts |
28571.43 | 10638.3 | -17933.13 (-62.77%) | 💔 |
access_transparency |
2197.8 | 1785.71 | -412.09 (-18.75%) | 💔 |
admin |
2624.67 | 1230.01 | -1394.66 (-53.14%) | 💔 |
alert |
2754.82 | 1675.04 | -1079.78 (-39.2%) | 💔 |
device |
1841.62 | 1020.41 | -821.21 (-44.59%) | 💔 |
drive |
5181.35 | 3194.89 | -1986.46 (-38.34%) | 💔 |
gcp |
7936.51 | 4830.92 | -3105.59 (-39.13%) | 💔 |
group_enterprise |
3174.6 | 2044.99 | -1129.61 (-35.58%) | 💔 |
groups |
11363.64 | 4237.29 | -7126.35 (-62.71%) | 💔 |
Package hashicorp_vault 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
3745.32 | 2695.42 | -1049.9 (-28.03%) | 💔 |
Package hid_bravura_monitor 👍(0) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
3424.66 | 2857.14 | -567.52 (-16.57%) | 💔 |
winlog |
11363.64 | 6250 | -5113.64 (-45%) | 💔 |
Package ibmmq 👍(1) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
errorlog |
2217.29 | 1655.63 | -561.66 (-25.33%) | 💔 |
Package iis 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
error |
3558.72 | 2469.14 | -1089.58 (-30.62%) | 💔 |
Package infoblox_bloxone_ddi 👍(1) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
dhcp_lease |
5494.51 | 2732.24 | -2762.27 (-50.27%) | 💔 |
dns_config |
1727.12 | 877.96 | -849.16 (-49.17%) | 💔 |
Package jamf_compliance_reporter 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
984.25 | 588.58 | -395.67 (-40.2%) | 💔 |
Package juniper_junos 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
83333.33 | 33333.33 | -50000 (-60%) | 💔 |
Package juniper_netscreen 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
58823.53 | 16129.03 | -42694.5 (-72.58%) | 💔 |
Package juniper_srx 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
931.97 | 398.09 | -533.88 (-57.29%) | 💔 |
Package kafka 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
6622.52 | 5181.35 | -1441.17 (-21.76%) | 💔 |
Package keycloak 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1984.13 | 864.3 | -1119.83 (-56.44%) | 💔 |
Package lyve_cloud 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
1177.86 | 896.06 | -281.8 (-23.92%) | 💔 |
Package m365_defender 👍(1) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
incident |
973.71 | 580.05 | -393.66 (-40.43%) | 💔 |
Package mattermost 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
2604.17 | 1010.1 | -1594.07 (-61.21%) | 💔 |
Package mimecast 👍(2) 💚(1) 💔(5)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit_events |
2604.17 | 2123.14 | -481.03 (-18.47%) | 💔 |
dlp_logs |
14925.37 | 8130.08 | -6795.29 (-45.53%) | 💔 |
threat_intel_malware_customer |
6493.51 | 2915.45 | -3578.06 (-55.1%) | 💔 |
threat_intel_malware_grid |
6060.61 | 3448.28 | -2612.33 (-43.1%) | 💔 |
ttp_ip_logs |
22222.22 | 11494.25 | -10727.97 (-48.28%) | 💔 |
Package modsecurity 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
auditlog |
1136.36 | 615.01 | -521.35 (-45.88%) | 💔 |
Package mysql 👍(1) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
error |
26315.79 | 14492.75 | -11823.04 (-44.93%) | 💔 |
Package mysql_enterprise 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
3921.57 | 1712.33 | -2209.24 (-56.34%) | 💔 |
Package nagios_xi 👍(1) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
events |
21739.13 | 14925.37 | -6813.76 (-31.34%) | 💔 |
service |
2785.52 | 2288.33 | -497.19 (-17.85%) | 💔 |
Package nats 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
4761.9 | 3546.1 | -1215.8 (-25.53%) | 💔 |
Package netscout 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
sightline |
100000 | 20408.16 | -79591.84 (-79.59%) | 💔 |
Package netskope 👍(0) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
alerts |
1615.51 | 186.88 | -1428.63 (-88.43%) | 💔 |
events |
2865.33 | 310.56 | -2554.77 (-89.16%) | 💔 |
Package nginx_ingress_controller 👍(0) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
access |
2169.2 | 1189.06 | -980.14 (-45.18%) | 💔 |
error |
20833.33 | 11363.64 | -9469.69 (-45.45%) | 💔 |
Package o365 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
2150.54 | 801.28 | -1349.26 (-62.74%) | 💔 |
Package okta 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
system |
1385.04 | 1176.47 | -208.57 (-15.06%) | 💔 |
Package oracle_weblogic 👍(1) 💚(0) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
admin_server |
13157.89 | 9708.74 | -3449.15 (-26.21%) | 💔 |
domain |
20833.33 | 9523.81 | -11309.52 (-54.29%) | 💔 |
managed_server |
16949.15 | 10204.08 | -6745.07 (-39.8%) | 💔 |
Package panw 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
panos |
903.34 | 561.8 | -341.54 (-37.81%) | 💔 |
Package pfsense 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2386.63 | 904.16 | -1482.47 (-62.12%) | 💔 |
Package postgresql 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2409.64 | 1112.35 | -1297.29 (-53.84%) | 💔 |
Package qnap_nas 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2551.02 | 2114.16 | -436.86 (-17.12%) | 💔 |
Package rabbitmq 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
6802.72 | 4784.69 | -2018.03 (-29.67%) | 💔 |
Package rapid7_insightvm 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
vulnerability |
5434.78 | 4098.36 | -1336.42 (-24.59%) | 💔 |
Package santa 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
3448.28 | 1821.49 | -1626.79 (-47.18%) | 💔 |
Package sentinel_one 👍(0) 💚(0) 💔(5)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
activity |
5157.3 | 2136.75 | -3020.55 (-58.57%) | 💔 |
agent |
3542.33 | 1059.32 | -2483.01 (-70.1%) | 💔 |
alert |
2748.76 | 1479.29 | -1269.47 (-46.18%) | 💔 |
group |
32573.29 | 14705.88 | -17867.41 (-54.85%) | 💔 |
threat |
1393.53 | 930.23 | -463.3 (-33.25%) | 💔 |
Package sonicwall_firewall 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1589.83 | 653.17 | -936.66 (-58.92%) | 💔 |
Package sophos 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
xg |
1108.65 | 462.75 | -645.9 (-58.26%) | 💔 |
Package stan 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
9433.96 | 5208.33 | -4225.63 (-44.79%) | 💔 |
Package suricata 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
eve |
1324.5 | 418.06 | -906.44 (-68.44%) | 💔 |
Package symantec_endpoint 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1572.33 | 385.21 | -1187.12 (-75.5%) | 💔 |
Package sysmon_linux 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
2336.45 | 1897.53 | -438.92 (-18.79%) | 💔 |
Package system_audit 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
package |
71428.57 | 32258.06 | -39170.51 (-54.84%) | 💔 |
Package tenable_io 👍(2) 💚(1) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
asset |
1788.91 | 1114.83 | -674.08 (-37.68%) | 💔 |
plugin |
5747.13 | 3257.33 | -2489.8 (-43.32%) | 💔 |
Package tenable_sc 👍(0) 💚(1) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
asset |
3861 | 2487.56 | -1373.44 (-35.57%) | 💔 |
plugin |
2544.53 | 1851.85 | -692.68 (-27.22%) | 💔 |
Package thycotic_ss 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
logs |
2702.7 | 1355.01 | -1347.69 (-49.86%) | 💔 |
Package ti_abusech 👍(0) 💚(0) 💔(4)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
malware |
15873.02 | 3731.34 | -12141.68 (-76.49%) | 💔 |
malwarebazaar |
8849.56 | 2985.07 | -5864.49 (-66.27%) | 💔 |
threatfox |
8481.76 | 3690.04 | -4791.72 (-56.49%) | 💔 |
url |
12820.51 | 4524.89 | -8295.62 (-64.71%) | 💔 |
Package ti_anomali 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
threatstream |
7692.31 | 4830.92 | -2861.39 (-37.2%) | 💔 |
Package ti_cybersixgill 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
threat |
2857.14 | 1096.49 | -1760.65 (-61.62%) | 💔 |
Package ti_misp 👍(0) 💚(1) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
threat |
2040.82 | 1612.9 | -427.92 (-20.97%) | 💔 |
Package ti_rapid7_threat_command 👍(0) 💚(0) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
alert |
3773.58 | 3021.15 | -752.43 (-19.94%) | 💔 |
ioc |
2754.82 | 2222.22 | -532.6 (-19.33%) | 💔 |
vulnerability |
9433.96 | 2976.19 | -6457.77 (-68.45%) | 💔 |
Package tines 👍(0) 💚(0) 💔(2)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit_logs |
4347.83 | 2801.12 | -1546.71 (-35.57%) | 💔 |
time_saved |
62500 | 35714.29 | -26785.71 (-42.86%) | 💔 |
Package tomcat 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
100000 | 28571.43 | -71428.57 (-71.43%) | 💔 |
Package trellix_epo_cloud 👍(2) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
event |
2793.3 | 1689.19 | -1104.11 (-39.53%) | 💔 |
Package trend_micro_vision_one 👍(0) 💚(0) 💔(3)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
alert |
3333.33 | 2087.68 | -1245.65 (-37.37%) | 💔 |
audit |
10869.57 | 4032.26 | -6837.31 (-62.9%) | 💔 |
detection |
2849 | 1398.6 | -1450.4 (-50.91%) | 💔 |
Package windows 👍(0) 💚(3) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
forwarded |
1148.11 | 825.76 | -322.35 (-28.08%) | 💔 |
Package zeek 👍(5) 💚(3) 💔(35)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
intel |
41666.67 | 22727.27 | -18939.4 (-45.45%) | 💔 |
irc |
45454.55 | 24390.24 | -21064.31 (-46.34%) | 💔 |
kerberos |
35714.29 | 19230.77 | -16483.52 (-46.15%) | 💔 |
known_services |
50000 | 37037.04 | -12962.96 (-25.93%) | 💔 |
modbus |
47619.05 | 22727.27 | -24891.78 (-52.27%) | 💔 |
mysql |
41666.67 | 19230.77 | -22435.9 (-53.85%) | 💔 |
notice |
41666.67 | 23809.52 | -17857.15 (-42.86%) | 💔 |
ntlm |
40000 | 20408.16 | -19591.84 (-48.98%) | 💔 |
ntp |
35714.29 | 28571.43 | -7142.86 (-20%) | 💔 |
ocsp |
43478.26 | 21739.13 | -21739.13 (-50%) | 💔 |
pe |
40000 | 14492.75 | -25507.25 (-63.77%) | 💔 |
radius |
41666.67 | 6666.67 | -35000 (-84%) | 💔 |
rdp |
33333.33 | 8547.01 | -24786.32 (-74.36%) | 💔 |
rfb |
40000 | 20833.33 | -19166.67 (-47.92%) | 💔 |
signature |
43478.26 | 32258.06 | -11220.2 (-25.81%) | 💔 |
sip |
35714.29 | 25641.03 | -10073.26 (-28.21%) | 💔 |
smb_cmd |
30303.03 | 15873.02 | -14430.01 (-47.62%) | 💔 |
smb_files |
31250 | 18518.52 | -12731.48 (-40.74%) | 💔 |
smb_mapping |
40000 | 15873.02 | -24126.98 (-60.32%) | 💔 |
smtp |
23809.52 | 15873.02 | -7936.5 (-33.33%) | 💔 |
snmp |
40000 | 21739.13 | -18260.87 (-45.65%) | 💔 |
socks |
27777.78 | 21739.13 | -6038.65 (-21.74%) | 💔 |
ssh |
41666.67 | 24390.24 | -17276.43 (-41.46%) | 💔 |
ssl |
40000 | 24390.24 | -15609.76 (-39.02%) | 💔 |
stats |
37037.04 | 18867.92 | -18169.12 (-49.06%) | 💔 |
dce_rpc |
19230.77 | 14084.51 | -5146.26 (-26.76%) | 💔 |
traceroute |
47619.05 | 24390.24 | -23228.81 (-48.78%) | 💔 |
tunnel |
47619.05 | 23255.81 | -24363.24 (-51.16%) | 💔 |
weird |
38461.54 | 23809.52 | -14652.02 (-38.1%) | 💔 |
x509 |
25000 | 11904.76 | -13095.24 (-52.38%) | 💔 |
dhcp |
20833.33 | 17543.86 | -3289.47 (-15.79%) | 💔 |
dnp3 |
23809.52 | 20000 | -3809.52 (-16%) | 💔 |
dpd |
23809.52 | 15625 | -8184.52 (-34.37%) | 💔 |
files |
38461.54 | 18867.92 | -19593.62 (-50.94%) | 💔 |
ftp |
41666.67 | 21739.13 | -19927.54 (-47.83%) | 💔 |
Package zerofox 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
alerts |
3424.66 | 2732.24 | -692.42 (-20.22%) | 💔 |
Package zeronetworks 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
3367 | 2222.22 | -1144.78 (-34%) | 💔 |
Package zoom 👍(0) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
webhook |
4405.29 | 1388.89 | -3016.4 (-68.47%) | 💔 |
Package zscaler_zia 👍(1) 💚(3) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
tunnel |
5128.21 | 3831.42 | -1296.79 (-25.29%) | 💔 |
Package zscaler_zpa 👍(0) 💚(1) 💔(4)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
app_connector_status |
1615.51 | 1136.36 | -479.15 (-29.66%) | 💔 |
browser_access |
2192.98 | 1081.08 | -1111.9 (-50.7%) | 💔 |
user_activity |
2358.49 | 1436.78 | -921.71 (-39.08%) | 💔 |
user_status |
4524.89 | 2840.91 | -1683.98 (-37.22%) | 💔 |
To see the full report comment with /test benchmark fullreport
What does this PR do?
This PR backports two CI fixes to the
backport-kubernetes-1.39branch to restore a working test pipeline after the CI sync (#20542) introduced regressions.Fix 1: Restore
with_docker_composestandalone binary (HEAD)The CI sync (#20542) replaced
with_docker_compose(which installs a standalone binary intoBIN_FOLDER) withwith_docker_compose_plugin(a Docker CLI plugin installed into~/.docker/cli-plugins).elastic-package v0.79.0used on this branch hardcodesexec.Command("docker-compose", ...), so it relies on the standalone binary being first inPATH. Without it, the systemdocker-compose v2.24.7(bundled with Docker 26.1.2) is used instead of the pinned version v2.17.2.Docker Compose v2.23+ changed the YAML serialization of
docker compose config: theenvironmentfield is now emitted as a sequence instead of a map, whichelastic-package v0.79.0cannot unmarshal (map[string]string), causing test failures.Changes:
with_docker_composefunction tocommon.sh(downloads pinned standalone binary v2.17.2, adds--failtocurlsoretry 5works on HTTP errors)with_docker_composefromtest_one_package.shandtest_integrations_with_serverless.sh(alongside the existing plugin installation)KIND_VERSION/K8S_VERSIONinpipeline.ymlandpipeline.serverless.ymlback to the backport-branch values (v0.20.0/v1.28.0)pipeline.serverless.ymlversion preservation logic frombackport_branch.sh(since serverless pipeline versions are not pinned on this branch)ELASTIC_PACKAGE_COMPOSE_DISABLE_VERBOSE_OUTPUT→ replaced by two more specific env vars from the sync, cleans upCOVERAGE_OPTIONSand other env diffsFix 2: Detect legacy
snapshot.ymlinis_stack_createdelastic-packagerenamed the stack file fromsnapshot.ymltodocker-compose.ymlin May 2024. On this branch (v0.79.0), the file may still be namedsnapshot.yml. Theis_stack_createdfunction only checked fordocker-compose.yml, so it would report no running stack even when one existed.Change: adds a fallback
findforsnapshot.ymlso a running stack is correctly detected.Proposed commit
How to test this PR locally
sync-ci-configuration-kubernetes-1.39-updatebranch.backport-kubernetes-1.39pipeline.with_docker_composeinstalls the pinned binary and thatis_stack_createdcorrectly detects the stack.Related issues
🤖 Generated with Claude Code