Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

feat: support using local Beats repository in the tests #688

Merged

Conversation

mdelapenya
Copy link
Contributor

@mdelapenya mdelapenya commented Feb 1, 2021

What does this PR do?

It supports using the local copy of Beats repo to fetch the elastic-agent binaries that were already built from Beats build system.

It enables this feature with the BEATS_LOCAL_PATH environment variable. If the path defined in the variable exists will use it as base directory to build a path to the distributions dir, which is: ${BEATS_LOCAL_PATH}/x-pack/elastic-agent/build/distributions.

Why is it important?

It will allow developers not to wait for the packaging job to run the E2E tests locally, consuming local artifacts produced by their own build.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the Unit tests for the CLI, and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

Author's Checklist

  • Verified the build commands for the agent

How to test this PR locally

  1. build the agent from Beats
cd $BEATS_LOCAL_PATH
x-pack/elastic-agent; SNAPSHOT=true PLATFORMS="+all linux/amd64" DEV=true mage package
  1. run the tests
SUITE=fleet TAGS="fleet_mode_agent && enroll" TIMEOUT_FACTOR=3 LOG_LEVEL=TRACE DEVELOPER_MODE=true BEATS_LOCAL_PATH=~/.op/git/beats make -C e2e functional-test

2a. run the tests from a non existen path

SUITE=fleet TAGS="fleet_mode_agent && enroll" TIMEOUT_FACTOR=3 LOG_LEVEL=TRACE DEVELOPER_MODE=true BEATS_LOCAL_PATH=~/.op/git/garbage make -C e2e functional-test

It should fail with:

ERRO[2021-02-01T18:19:04+01:00] Could not download the binary for the agent arch=x86_64 artifact=elastic-agent error="stat /Users/mdelapenya/.op/git/garbage/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm: no such file or directory" extension=rpm os=linux version=8.0.0-SNAPSHOT
FATA[2021-02-01T18:19:04+01:00] Sorry, we could not download the installer error="stat /Users/mdelapenya/.op/git/garbage/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm: no such file or directory" image=centos installer=systemd
make: *** [functional-test] Error 1

Related issues

Follow-ups

At this moment it's not loading the Docker images for the stand-alone images. I need to figure out how to create a Docker installer that loads the image using the PreInstall functions in the installer. I wanted to share this code to receive feedback the soonest.

@mdelapenya mdelapenya self-assigned this Feb 1, 2021
@mdelapenya mdelapenya requested review from a team, michalpristas and EricDavisX February 1, 2021 17:22
fileName = fmt.Sprintf("%s-%s-%s-%s.%s", artifact, version, OS, arch, extension)
}

fileNamePath := path.Join(distributions, fileName)
Copy link
Contributor Author

@mdelapenya mdelapenya Feb 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an internal Exists method at the CLI side that we could reuse, but it's not exported. Thinking about exposing it

@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 1, 2021

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #688 updated

    • Start Time: 2021-02-03T12:33:50.201+0000
  • Duration: 32 min 17 sec

  • Commit: 26521d0

Test stats 🧪

Test Results
Failed 4
Passed 111
Skipped 12
Total 127

Test errors 4

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Deploying a default stand-alone agent – Stand-alone Agent
    Expand to view the error details

     Step there is new data in the index from agent: Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404] 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Deploying a ubi8 stand-alone agent – Stand-alone Agent
    Expand to view the error details

     Step there is new data in the index from agent: Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404] 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Stopping the default agent container stops data going into ES – Stand-alone Agent
    Expand to view the error details

     Step there is no new data in the index after agent shuts down: Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404] 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Stopping the ubi8 agent container stops data going into ES – Stand-alone Agent
    Expand to view the error details

     Step there is no new data in the index after agent shuts down: Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404] 
    

  • no stacktrace

Steps errors 4

Expand to view the steps failures

Run functional tests for fleet:stand_alone_agent && ~@nightly
  • Took 26 min 34 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"
Archive the artifacts
  • Took 0 min 1 sec . View more details on here
  • Description: [2021-02-03T13:06:04.267Z] Archiving artifacts script returned exit code 2
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-02-03T13:06:05.234Z] Archiving artifacts hudson.AbortException: script returned exit code 2
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: hudson.AbortException: script returned exit code 2

Log output

Expand to view the last 100 lines of log output

[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:03:44.428Z	INFO	log/reporter.go:40	2021-02-03T13:03:44Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--8.0.0-SNAPSHOT--36643631373035623733363936343635[16a28af5-1066-494f-8a64-fe4da49d0d46]: State changed to DEGRADED: Missed last check-in
[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:03:51.939Z	INFO	application/periodic.go:98	No configuration change
[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:04:01.939Z	INFO	application/periodic.go:98	No configuration change
[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:04:11.940Z	INFO	application/periodic.go:98	No configuration change
[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:04:21.940Z	INFO	application/periodic.go:98	No configuration change
[2021-02-03T13:04:35.364Z] elastic-agent_1     | 2021-02-03T13:04:31.941Z	INFO	application/periodic.go:98	No configuration change
[2021-02-03T13:04:35.628Z] time="2021-02-03T13:04:35Z" level=debug msg="Docker compose executed." cmd="[logs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml128815489 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:04:36.582Z] Stopping fleet_elastic-agent_1 ... 
[2021-02-03T13:04:48.806Z] 
Stopping fleet_elastic-agent_1 ... done
Removing fleet_elastic-agent_1 ... 
[2021-02-03T13:04:48.806Z] 
Removing fleet_elastic-agent_1 ... done
Going to remove fleet_elastic-agent_1
[2021-02-03T13:04:48.806Z] time="2021-02-03T13:04:47Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml128815489 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:04:48.806Z] time="2021-02-03T13:04:47Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-02-03T13:04:48.806Z] time="2021-02-03T13:04:47Z" level=debug msg="Elastic Agent configuration file removed." path=/tmp/elastic-agent.docker.yml128815489
[2021-02-03T13:04:48.806Z] fleet_package-registry_1 is up-to-date
[2021-02-03T13:04:48.806Z] fleet_elasticsearch_1 is up-to-date
[2021-02-03T13:04:48.806Z] fleet_kibana_1 is up-to-date
[2021-02-03T13:04:48.806Z] Creating fleet_elastic-agent_1 ... 
[2021-02-03T13:04:49.745Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-02-03T13:04:49Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml171948268 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:04:49.745Z] time="2021-02-03T13:04:49Z" level=info msg="Hostname retrieved from the Docker client" containerName=fleet_elastic-agent_1 hostname=b09c52468758
[2021-02-03T13:04:50.682Z] Stopping fleet_elastic-agent_1 ... 
[2021-02-03T13:04:51.199Z] 
Stopping fleet_elastic-agent_1 ... done
Removing fleet_elastic-agent_1 ... 
[2021-02-03T13:04:51.199Z] 
Removing fleet_elastic-agent_1 ... done
Going to remove fleet_elastic-agent_1
[2021-02-03T13:04:51.199Z] time="2021-02-03T13:04:51Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml171948268 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:04:51.199Z] time="2021-02-03T13:04:51Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-02-03T13:04:51.199Z] time="2021-02-03T13:04:51Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=3.834826ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=1
[2021-02-03T13:04:51.766Z] time="2021-02-03T13:04:51Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=412.310564ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=2
[2021-02-03T13:04:53.144Z] time="2021-02-03T13:04:52Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=1.722534109s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=3
[2021-02-03T13:04:55.048Z] time="2021-02-03T13:04:54Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=3.561683142s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=4
[2021-02-03T13:05:00.322Z] time="2021-02-03T13:04:59Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=8.440578919s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=5
[2021-02-03T13:05:04.512Z] time="2021-02-03T13:05:04Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=12.979216578s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=6
[2021-02-03T13:05:11.077Z] time="2021-02-03T13:05:11Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=19.962591824s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=7
[2021-02-03T13:05:19.194Z] time="2021-02-03T13:05:18Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=27.259274263s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=8
[2021-02-03T13:05:21.098Z] time="2021-02-03T13:05:20Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=29.857081226s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=9
[2021-02-03T13:05:21.098Z] time="2021-02-03T13:05:20Z" level=warning msg="health status index                                                   uuid                   pri rep docs.count docs.deleted store.size pri.store.size\ngreen  open   metrics-endpoint.metadata_current_default               OFChAuMFT5C4C-Wsftu0tQ   1   0          0            0       208b           208b\ngreen  open   .security-7                                             Y7O1Sa4oTp2eTFNTvhjSDg   1   0         62            0    159.9kb        159.9kb\ngreen  open   .kibana_8.0.0_001                                       dPmaY9YZR8GhNmyk4az_mw   1   0       1358          919      3.8mb          3.8mb\nyellow open   .ds-metrics-system.filesystem-default-2021.02.03-000001 EMAwa_74TL-8HUEDrTqABA   1   1        122            0    143.6kb        143.6kb\ngreen  open   .apm-custom-link                                        9Oa4Ge_OTmayVrGA8AMiRQ   1   0          0            0       208b           208b\ngreen  open   .transform-internal-005                                 Br-IXpaWStuCFdYlo7ak2A   1   0          3            0     23.7kb         23.7kb\ngreen  open   .apm-agent-configuration                                y4wPyIPkQlmSkko1D1-0bw   1   0          0            0       208b           208b\ngreen  open   .kibana_task_manager_8.0.0_001                          UkXUcbneTfmbnoJM4hIt4g   1   0          9          114     73.5kb         73.5kb\nyellow open   .ds-metrics-system.network-default-2021.02.03-000001    q5EZVckfQ1Gp-JcFW2YhWw   1   1        362            0    195.6kb        195.6kb\ngreen  open   .kibana-event-log-8.0.0-snapshot-000001                 Ru1Xw_2oQ6-Ym_3rx2kp5A   1   0          1            0      5.6kb          5.6kb\nyellow open   .ds-metrics-system.cpu-default-2021.02.03-000001        ZXpOS8nfTsGA9FbbdSJUKg   1   1        122            0      161kb          161kb\nyellow open   .ds-metrics-system.memory-default-2021.02.03-000001     aatfGN6HQsyE6aI2NK6luw   1   1        122            0      150kb          150kb\n<nil>" error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]"
[2021-02-03T13:05:22.034Z] Attaching to 
[2021-02-03T13:05:22.034Z] time="2021-02-03T13:05:21Z" level=debug msg="Docker compose executed." cmd="[logs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml171948268 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:05:22.972Z] No stopped containers
[2021-02-03T13:05:22.972Z] time="2021-02-03T13:05:22Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml171948268 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:05:22.972Z] time="2021-02-03T13:05:22Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-02-03T13:05:22.972Z] time="2021-02-03T13:05:22Z" level=debug msg="Elastic Agent configuration file removed." path=/tmp/elastic-agent.docker.yml171948268
[2021-02-03T13:05:23.909Z] fleet_package-registry_1 is up-to-date
[2021-02-03T13:05:23.909Z] fleet_elasticsearch_1 is up-to-date
[2021-02-03T13:05:23.909Z] fleet_kibana_1 is up-to-date
[2021-02-03T13:05:23.909Z] Creating fleet_elastic-agent_1 ... 
[2021-02-03T13:05:24.844Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-02-03T13:05:24Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml713559387 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:05:24.844Z] time="2021-02-03T13:05:24Z" level=info msg="Hostname retrieved from the Docker client" containerName=fleet_elastic-agent_1 hostname=1e73b36191b3
[2021-02-03T13:05:28.132Z] time="2021-02-03T13:05:28Z" level=debug msg="Test tools installed" command="[microdnf install procps-ng]" containerName=fleet_elastic-agent_1
[2021-02-03T13:05:29.069Z] Stopping fleet_elastic-agent_1 ... 
[2021-02-03T13:05:30.450Z] 
Stopping fleet_elastic-agent_1 ... done
Removing fleet_elastic-agent_1 ... 
[2021-02-03T13:05:30.450Z] 
Removing fleet_elastic-agent_1 ... done
Going to remove fleet_elastic-agent_1
[2021-02-03T13:05:30.450Z] time="2021-02-03T13:05:30Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml713559387 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:05:30.450Z] time="2021-02-03T13:05:30Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-02-03T13:05:30.450Z] time="2021-02-03T13:05:30Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=3.786775ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=1
[2021-02-03T13:05:31.017Z] time="2021-02-03T13:05:30Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=469.700123ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=2
[2021-02-03T13:05:31.585Z] time="2021-02-03T13:05:31Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=988.915003ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=3
[2021-02-03T13:05:33.491Z] time="2021-02-03T13:05:33Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=2.858729293s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=4
[2021-02-03T13:05:40.062Z] time="2021-02-03T13:05:38Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=8.482368578s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=5
[2021-02-03T13:05:46.628Z] time="2021-02-03T13:05:45Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=15.266299032s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=6
[2021-02-03T13:05:48.531Z] time="2021-02-03T13:05:48Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=17.985190874s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=7
[2021-02-03T13:05:55.097Z] time="2021-02-03T13:05:54Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=23.785202739s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=8
[2021-02-03T13:05:59.291Z] time="2021-02-03T13:05:58Z" level=warning msg="There was an error executing the query" desiredHits=1 elapsedTime=28.028910421s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=logs-elastic_agent-default retry=9
[2021-02-03T13:05:59.292Z] time="2021-02-03T13:05:58Z" level=warning msg="health status index                                                   uuid                   pri rep docs.count docs.deleted store.size pri.store.size\ngreen  open   metrics-endpoint.metadata_current_default               OFChAuMFT5C4C-Wsftu0tQ   1   0          0            0       208b           208b\ngreen  open   .security-7                                             Y7O1Sa4oTp2eTFNTvhjSDg   1   0         62            0    159.9kb        159.9kb\ngreen  open   .kibana_8.0.0_001                                       dPmaY9YZR8GhNmyk4az_mw   1   0       1358          919      3.8mb          3.8mb\nyellow open   .ds-metrics-system.filesystem-default-2021.02.03-000001 EMAwa_74TL-8HUEDrTqABA   1   1        122            0    143.6kb        143.6kb\ngreen  open   .apm-custom-link                                        9Oa4Ge_OTmayVrGA8AMiRQ   1   0          0            0       208b           208b\ngreen  open   .apm-agent-configuration                                y4wPyIPkQlmSkko1D1-0bw   1   0          0            0       208b           208b\ngreen  open   .transform-internal-005                                 Br-IXpaWStuCFdYlo7ak2A   1   0          3            0     23.7kb         23.7kb\ngreen  open   .kibana_task_manager_8.0.0_001                          UkXUcbneTfmbnoJM4hIt4g   1   0          9          114     73.5kb         73.5kb\nyellow open   .ds-metrics-system.network-default-2021.02.03-000001    q5EZVckfQ1Gp-JcFW2YhWw   1   1        362            0    195.6kb        195.6kb\ngreen  open   .kibana-event-log-8.0.0-snapshot-000001                 Ru1Xw_2oQ6-Ym_3rx2kp5A   1   0          1            0      5.6kb          5.6kb\nyellow open   .ds-metrics-system.cpu-default-2021.02.03-000001        ZXpOS8nfTsGA9FbbdSJUKg   1   1        122            0      161kb          161kb\nyellow open   .ds-metrics-system.memory-default-2021.02.03-000001     aatfGN6HQsyE6aI2NK6luw   1   1        122            0      150kb          150kb\n<nil>" error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]"
[2021-02-03T13:05:59.292Z] Attaching to 
[2021-02-03T13:05:59.551Z] time="2021-02-03T13:05:59Z" level=debug msg="Docker compose executed." cmd="[logs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml713559387 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:06:00.488Z] No stopped containers
[2021-02-03T13:06:00.488Z] time="2021-02-03T13:06:00Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml713559387 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:06:00.488Z] time="2021-02-03T13:06:00Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-02-03T13:06:00.488Z] time="2021-02-03T13:06:00Z" level=debug msg="Elastic Agent configuration file removed." path=/tmp/elastic-agent.docker.yml713559387
[2021-02-03T13:06:00.488Z] time="2021-02-03T13:06:00Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-02-03T13:06:01.427Z] Stopping fleet_kibana_1           ... 
[2021-02-03T13:06:01.427Z] Stopping fleet_package-registry_1 ... 
[2021-02-03T13:06:01.427Z] Stopping fleet_elasticsearch_1    ... 
[2021-02-03T13:06:02.825Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-02-03T13:06:02.826Z] Removing fleet_package-registry_1 ... 
[2021-02-03T13:06:02.826Z] Removing fleet_elasticsearch_1    ... 
[2021-02-03T13:06:02.826Z] 
Removing fleet_package-registry_1 ... done

Removing fleet_kibana_1           ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-02-03T13:06:03.085Z] time="2021-02-03T13:06:02Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/.op/compose/profiles/fleet/docker-compose.yml]" env="map[elasticAgentConfigFile:/tmp/elastic-agent.docker.yml713559387 elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix:-ubi8 elasticAgentDockerNamespace:beats elasticAgentTag:8.0.0-SNAPSHOT kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-03T13:06:03.085Z] time="2021-02-03T13:06:02Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd path=/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm393790291
[2021-02-03T13:06:03.085Z] time="2021-02-03T13:06:02Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz033153174
[2021-02-03T13:06:03.085Z] time="2021-02-03T13:06:02Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd path=/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb935071485
[2021-02-03T13:06:03.085Z] Makefile:61: recipe for target 'functional-test' failed
[2021-02-03T13:06:03.085Z] make: *** [functional-test] Error 1
[2021-02-03T13:06:03.139Z] [INFO] Stopping Filebeat Docker container
[2021-02-03T13:06:03.424Z] + docker exec -t ca9029f36842ca8f99fce46242a488cd7a321f789d7f74d2f236d29516e26f2a chmod -R ugo+rw /output
[2021-02-03T13:06:03.684Z] + docker stop --time 30 ca9029f36842ca8f99fce46242a488cd7a321f789d7f74d2f236d29516e26f2a
[2021-02-03T13:06:04.252Z] ca9029f36842ca8f99fce46242a488cd7a321f789d7f74d2f236d29516e26f2a
[2021-02-03T13:06:04.267Z] Archiving artifacts
[2021-02-03T13:06:04.915Z] Recording test results
[2021-02-03T13:06:05.218Z] [Checks API] No suitable checks publisher found.
[2021-02-03T13:06:05.234Z] Archiving artifacts
[2021-02-03T13:06:05.272Z] Failed in branch ubuntu-18.04_fleet_stand_alone_agent
[2021-02-03T13:06:06.422Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-03T13:06:06.696Z] Running on worker-395930 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-688
[2021-02-03T13:06:06.746Z] [INFO] getVaultSecret: Getting secrets
[2021-02-03T13:06:06.815Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-03T13:06:09.220Z] + chmod 755 generate-build-data.sh
[2021-02-03T13:06:09.220Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-688/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-688/runs/5 FAILURE 1937200
[2021-02-03T13:06:09.220Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-688/runs/5/steps/?limit=10000 -o steps-info.json
[2021-02-03T13:06:13.316Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-688/runs/5/tests/?status=FAILED -o tests-errors.json
[2021-02-03T13:06:13.316Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-688/runs/5/log/ -o pipeline-log.txt

e2e/README.md Outdated Show resolved Hide resolved
e2e/README.md Outdated Show resolved Hide resolved
@EricDavisX
Copy link
Contributor

the support for windows is logged separately and being considered for near term (Q1) roll out.

@mdelapenya mdelapenya marked this pull request as ready for review February 3, 2021 11:14
@mdelapenya
Copy link
Contributor Author

jenkins run the tests please

e2e/README.md Outdated Show resolved Hide resolved
@mdelapenya
Copy link
Contributor Author

Same errors as in master, merging

@mdelapenya mdelapenya merged commit 2e512e1 into elastic:master Feb 3, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
@mdelapenya mdelapenya deleted the 668-use-beats-repo-for-binaries branch February 3, 2021 15:28
mdelapenya added a commit that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
mdelapenya added a commit that referenced this pull request Feb 3, 2021
* feat: use local beats directory for elastic-agent installers

* docs: document BEATS_LOCAL_PATH variable

* chore: check that the local file exists

* chore: add unit tests for the BEATS_LOCAL_PATH variable

* chore: simplify logic after test coverage

* chore: enrich test name

* chore: rename test

* chore: move default values to the end of the descriptions

* docs: clarify local path for Beats
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running the E2E against the local artifacts generated by the Beats repository
5 participants