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

Consolidate go modules to top level directory (bp #954)#961

Merged
mdelapenya merged 2 commits into7.xfrom
mergify/bp/7.x/pr-954
Mar 30, 2021
Merged

Consolidate go modules to top level directory (bp #954)#961
mdelapenya merged 2 commits into7.xfrom
mergify/bp/7.x/pr-954

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 30, 2021

This is an automatic backport of pull request #954 done by Mergify.

Cherry-pick of e0617f3 has failed:

On branch mergify/bp/7.x/pr-954
Your branch is up to date with 'origin/7.x'.

You are currently cherry-picking commit e0617f3a.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	deleted:    doc.go
	deleted:    e2e/go.mod
	deleted:    e2e/go.sum
	modified:   go.mod
	new file:   go.sum

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by them: cli/go.mod
	deleted by them: cli/go.sum

To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* Consolidate go modules to top level directory

This allows developers who utilize things such as language server protocol to
easily resolve package level signatures across similar modules that make up the
project.

Fixes #557

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>

* Update go.mod

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>

* Remove e2e-testing modules from go.mod

This was causing some invalid import errors

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>

* add proper godog deps

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>

* Address issue with godog import

For now it is recommended to use the latest commit hash from go.elastic.co/apm
until the next official release is out. That release cleans up some internals in
that project making godog not a hard requirement when using apm as a dependency

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
(cherry picked from commit e0617f3)

# Conflicts:
#	cli/go.mod
#	cli/go.sum
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Mar 30, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Mar 30, 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 #961 updated

  • Start Time: 2021-03-30T05:42:43.095+0000

  • Duration: 29 min 33 sec

  • Commit: 01680d5

Test stats 🧪

Test Results
Failed 1
Passed 136
Skipped 0
Total 137

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent
    Expand to view the error details

     Step the file system Agent folder is empty 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 8 min 11 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-03-30T06:10:39.928Z] time="2021-03-30T06:10:38Z" level=debug msg="Integration in latest version found" name=endpoint title="Endpoint Security" version=0.18.0
[2021-03-30T06:10:43.226Z] time="2021-03-30T06:10:42Z" level=info msg="Integration added to the configuration" integration=endpoint integrationConfigurationID=1cad54f7-ace6-4233-b24b-c47f14a26ff9 policyID=b215b150-911c-11eb-b059-39cf3de0104a version=0.18.0
[2021-03-30T06:10:43.227Z] time="2021-03-30T06:10:42Z" level=debug msg="Package policy found in the configuration" package="{1cad54f7-ace6-4233-b24b-c47f14a26ff9 endpoint Endpoint Security 0.18.0 0xc0006c5510}" policyID=b215b150-911c-11eb-b059-39cf3de0104a
[2021-03-30T06:10:44.609Z] {"level":"debug","time":"2021-03-30T06:10:44Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-03-30T06:10:45.992Z] time="2021-03-30T06:10:45Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=1cad54f7-ace6-4233-b24b-c47f14a26ff9 policyID=b215b150-911c-11eb-b059-39cf3de0104a version=0.18.0
[2021-03-30T06:10:45.992Z] time="2021-03-30T06:10:45Z" level=debug msg="Agent listed in Fleet with online status" agentID=dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401 hostname=dbbdd89a3d01
[2021-03-30T06:10:45.992Z] time="2021-03-30T06:10:45Z" level=info msg="The Agent is in the desired status" elapsedTime=82.356844ms hostname=dbbdd89a3d01 isAgentInStatus=true retries=1 status=online
[2021-03-30T06:10:45.992Z] time="2021-03-30T06:10:45Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=40.773969ms hostname=dbbdd89a3d01 retries=1
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:14.567Z","log.origin":{"file.name":"warn/warn.go","file.line":18},"message":"The Elastic Agent is currently in BETA and should not be used in production","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:14.567Z","log.origin":{"file.name":"application/application.go","file.line":66},"message":"Detecting execution mode","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"warn","@timestamp":"2021-03-30T06:10:14.568Z","log.logger":"cfgwarn","log.origin":{"file.name":"tlscommon/config.go","file.line":101},"message":"DEPRECATED: Treating the CommonName field on X.509 certificates as a host name when no Subject Alternative Names are present is going to be removed. Please update your certificates if needed. Will be removed in version: 8.0.0","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:14.568Z","log.origin":{"file.name":"application/application.go","file.line":91},"message":"Agent is managed by Fleet","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:14.568Z","log.origin":{"file.name":"capabilities/capabilities.go","file.line":59},"message":"capabilities file not found in /opt/Elastic/Agent/capabilities.yml","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:14.919Z","log.logger":"composable","log.origin":{"file.name":"composable/controller.go","file.line":44},"message":"EXPERIMENTAL - Inputs with variables are currently experimental and should not be used in production","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:15.021Z","log.logger":"composable.providers.docker","log.origin":{"file.name":"docker/docker.go","file.line":43},"message":"Docker provider skipped, unable to connect: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:15.022Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":62},"message":"Starting stats endpoint","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:15.022Z","log.origin":{"file.name":"application/managed_mode.go","file.line":285},"message":"Agent is starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:15.022Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":64},"message":"Metrics endpoint listening on: /tmp/elastic-agent/elastic-agent.sock (configured: unix:///tmp/elastic-agent/elastic-agent.sock)","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"warn","@timestamp":"2021-03-30T06:10:15.122Z","log.origin":{"file.name":"application/managed_mode.go","file.line":298},"message":"failed to ack update open /opt/Elastic/Agent/data/.update-marker: no such file or directory","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:17.437Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is kRJf6gTE","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:17.437Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":49},"message":"Converging state requires execution of 3 step(s)","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:17.437Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.563Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:17.437Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:21.743Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:21Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.13.0-SNAPSHOT[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:21.744Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:21.744Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:22.852Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:22Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.13.0-SNAPSHOT[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.453Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:24Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.13.0-SNAPSHOT[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.454Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.454Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.648Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for filebeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.848Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:24Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.13.0-SNAPSHOT--36643631373035623733363936343635[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.849Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:24.849Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:25.056Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:25.266Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:25Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.13.0-SNAPSHOT--36643631373035623733363936343635[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:25.267Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.564Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:25.610Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:25Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.13.0-SNAPSHOT[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:25.961Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:25Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.13.0-SNAPSHOT--36643631373035623733363936343635[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:26.410Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:26Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.13.0-SNAPSHOT--36643631373035623733363936343635[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:42.609Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is 3MANyu1U","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:42.609Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":49},"message":"Converging state requires execution of 3 step(s)","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:42.609Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"endpoint-security.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/endpoint-security-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:42.609Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"endpoint-security.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/endpoint-security-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.318Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-03-30T06:10:43Z: type: 'STATE': sub_type: 'STARTING' message: Application: endpoint-security--7.13.0-SNAPSHOT[dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.630Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.630Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.819Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.819Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for metricbeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.821Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.821Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/filebeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.981Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for filebeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.981Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for filebeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.565Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.982Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.566Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:43.982Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.13.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-a857eb/downloads/metricbeat-7.13.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.566Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:44.181Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.566Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:44.181Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for metricbeat.7.13.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.566Z] {"log.level":"info","@timestamp":"2021-03-30T06:10:44.182Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-03-30T06:10:46.566Z] time="2021-03-30T06:10:46Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd cat /opt/Elastic/Agent//data/elastic-agent-a857eb/logs//elastic-agent-json.log]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz389859707 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-03-30T06:10:54.705Z] Elastic Agent has been uninstalled.
[2021-03-30T06:10:54.705Z] time="2021-03-30T06:10:53Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd elastic-agent uninstall -f]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz389859707 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-03-30T06:10:54.705Z] time="2021-03-30T06:10:53Z" level=debug msg="Un-enrolling agent in Fleet" agentID=dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401 hostname=dbbdd89a3d01
[2021-03-30T06:10:54.705Z] time="2021-03-30T06:10:54Z" level=debug msg="Fleet agent was unenrolled" agentID=dd3fb3d2-f0dd-4faa-9f2b-19a6be0a7401
[2021-03-30T06:10:55.275Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-03-30T06:11:05.266Z] {"level":"debug","time":"2021-03-30T06:11:04Z","message":"gathering metrics"}
[2021-03-30T06:11:06.209Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-03-30T06:11:06.209Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-03-30T06:11:06.469Z] time="2021-03-30T06:11:06Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz389859707 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-03-30T06:11:06.469Z] time="2021-03-30T06:11:06Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-03-30T06:11:07.407Z] time="2021-03-30T06:11:07Z" level=debug msg="The token was deleted" tokenID=6b981757-03ef-435a-b3ab-aecc563157c8
[2021-03-30T06:11:07.407Z] time="2021-03-30T06:11:07Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=1cad54f7-ace6-4233-b24b-c47f14a26ff9 policyID=b215b150-911c-11eb-b059-39cf3de0104a version=0.18.0
[2021-03-30T06:11:07.407Z] time="2021-03-30T06:11:07Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-03-30T06:11:07.979Z] Stopping fleet_kibana_1           ... 
[2021-03-30T06:11:07.979Z] Stopping fleet_elasticsearch_1    ... 
[2021-03-30T06:11:07.979Z] Stopping fleet_package-registry_1 ... 
[2021-03-30T06:11:09.646Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-03-30T06:11:09.646Z] Removing fleet_elasticsearch_1    ... 
[2021-03-30T06:11:09.646Z] Removing fleet_package-registry_1 ... 
[2021-03-30T06:11:09.646Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-03-30T06:11:09.906Z] time="2021-03-30T06:11:09Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz389859707 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-03-30T06:11:09.906Z] time="2021-03-30T06:11:09Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-7.13.0-SNAPSHOT path=/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz389859707
[2021-03-30T06:11:10.264Z] [INFO] Stopping Filebeat Docker container
[2021-03-30T06:11:10.559Z] + docker exec -t b547c52c6de5d58c0d7d2e2e9aa70dd66da85edbd1acf67c38bd5b3da69cf100 chmod -R ugo+rw /output
[2021-03-30T06:11:10.846Z] + docker stop --time 30 b547c52c6de5d58c0d7d2e2e9aa70dd66da85edbd1acf67c38bd5b3da69cf100
[2021-03-30T06:11:11.474Z] b547c52c6de5d58c0d7d2e2e9aa70dd66da85edbd1acf67c38bd5b3da69cf100
[2021-03-30T06:11:11.519Z] Archiving artifacts
[2021-03-30T06:11:12.562Z] Recording test results
[2021-03-30T06:11:12.898Z] [Checks API] No suitable checks publisher found.
[2021-03-30T06:11:12.918Z] Archiving artifacts
[2021-03-30T06:11:12.960Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961/src/github.com/elastic/e2e-testing
[2021-03-30T06:11:13.260Z] + go clean -modcache
[2021-03-30T06:11:15.085Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-30T06:11:15.526Z] Running on worker-395930 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-961
[2021-03-30T06:11:15.572Z] [INFO] getVaultSecret: Getting secrets
[2021-03-30T06:11:15.659Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-30T06:11:17.638Z] + chmod 755 generate-build-data.sh
[2021-03-30T06:11:17.639Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-961/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-961/runs/2 FAILURE 1713156
[2021-03-30T06:11:17.639Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-961/runs/2/steps/?limit=10000 -o steps-info.json
[2021-03-30T06:11:19.090Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-961/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-03-30T06:11:19.806Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-961/runs/2/log/ -o pipeline-log.txt

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 136
Skipped 0
Total 137

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent

@mdelapenya mdelapenya removed the conflicts There is a conflict in the backported pull request label Mar 30, 2021
@mdelapenya mdelapenya merged commit 4961bae into 7.x Mar 30, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-954 branch March 30, 2021 06:43
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.

3 participants