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

chore: append "-amd64" label for Docker images #787

Merged
merged 5 commits into from
Feb 22, 2021

Conversation

mdelapenya
Copy link
Contributor

What does this PR do?

This PR appends the -amd64 label when requesting Docker images to be pulled by Docker-Compose, but it only adds the suffix for GCP binaries (generated by the Beats CI ) and local images after a local build. At this moment we are hardcoding -amd64, as it's the only supported platform.

We discovered a bug in the DockerInstaller builder, as it was not setting the ubi8 image name properly.

Why is it important?

We want to match the new naming schemma in Beats release process.

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

  • [ ]

How to test this PR locally

It should consume the stand-alone image, including the new tag.

For a Beats PR: fetching binaries from GCP.

LOG_LEVEL=TRACE \
BEATS_USE_CI_SNAPSHOTS=true \
ELASTIC_AGENT_VERSION="pr-24019" \
.ci/scripts/functional-test.sh "fleet" "stand_alone_agent" "8.0.0-SNAPSHOT" "pr-24019"

For a Beats Merge: fetching binaries from GCP.

LOG_LEVEL=TRACE \
BEATS_USE_CI_SNAPSHOTS=true \
.ci/scripts/functional-test.sh "fleet" "stand_alone_agent" "8.0.0-SNAPSHOT"

For a Beats Merge: fetching binaries from Official artifacts.

LOG_LEVEL=TRACE \
.ci/scripts/functional-test.sh "fleet" "stand_alone_agent" "8.0.0-SNAPSHOT"

Related issues

Follow-ups

Add support for ARM, depending on the underlying CI worker. How could we implement it?

a. setting an environment variable in the worker with amd64 or arm64, and consuming that variable in the tests.
b. detecting the architecture of the worker automatically within the tests, reading $GOOS and $GOARCH

@mdelapenya mdelapenya self-assigned this Feb 19, 2021
@mdelapenya mdelapenya requested a review from a team February 19, 2021 16:51
@@ -150,11 +151,14 @@ func (i *DockerPackage) Preinstall() error {
return err
}

// wait for tagging to ensure the loaded image is present
e2e.Sleep(3 * time.Second)
Copy link
Contributor Author

@mdelapenya mdelapenya Feb 19, 2021

Choose a reason for hiding this comment

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

I've seen errors on CI with not found images, as load and tag executed in the same second.

@mdelapenya mdelapenya marked this pull request as ready for review February 19, 2021 16:59
@elasticmachine
Copy link
Contributor

💔 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 #787 opened

  • Start Time: 2021-02-19T16:51:52.463+0000

  • Duration: 29 min 26 sec

  • Commit: 1f29a34

Test stats 🧪

Test Results
Failed 1
Passed 116
Skipped 0
Total 117

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 / Restarting the centos host with persistent agent restarts backend processes – Fleet Mode Agent
    Expand to view the error details

     Step the "metricbeat" process is in the "started" state on the host 
    

  • no stacktrace

Steps errors 4

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly
  • Took 23 min 5 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_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-19T17:21:13.059Z] Archiving artifacts script returned exit code 2
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-02-19T17:21:14.410Z] 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-19T17:19:21.454Z] time="2021-02-19T17:19:21Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:21.454Z] time="2021-02-19T17:19:21Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=20.068533979s hostname=c3b456aa5262 isAgentInStatus=false retry=8 status=offline
[2021-02-19T17:19:24.752Z] time="2021-02-19T17:19:24Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:24.752Z] time="2021-02-19T17:19:24Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=23.134608444s hostname=c3b456aa5262 isAgentInStatus=false retry=9 status=offline
[2021-02-19T17:19:28.948Z] time="2021-02-19T17:19:28Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:28.948Z] time="2021-02-19T17:19:28Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=27.515888013s hostname=c3b456aa5262 isAgentInStatus=false retry=10 status=offline
[2021-02-19T17:19:33.148Z] {"level":"debug","time":"2021-02-19T17:19:32Z","message":"gathering metrics"}
[2021-02-19T17:19:35.687Z] time="2021-02-19T17:19:35Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:35.687Z] time="2021-02-19T17:19:35Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=34.19919908s hostname=c3b456aa5262 isAgentInStatus=false retry=11 status=offline
[2021-02-19T17:19:39.883Z] time="2021-02-19T17:19:39Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:39.883Z] time="2021-02-19T17:19:39Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=38.538762348s hostname=c3b456aa5262 isAgentInStatus=false retry=12 status=offline
[2021-02-19T17:19:43.177Z] {"level":"debug","time":"2021-02-19T17:19:43Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-19T17:19:44.117Z] time="2021-02-19T17:19:43Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:44.117Z] time="2021-02-19T17:19:43Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=42.803272944s hostname=c3b456aa5262 isAgentInStatus=false retry=13 status=offline
[2021-02-19T17:19:48.316Z] time="2021-02-19T17:19:47Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:48.316Z] time="2021-02-19T17:19:47Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=46.612490024s hostname=c3b456aa5262 isAgentInStatus=false retry=14 status=offline
[2021-02-19T17:19:51.613Z] time="2021-02-19T17:19:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:51.613Z] time="2021-02-19T17:19:51Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=50.28266497s hostname=c3b456aa5262 isAgentInStatus=false retry=15 status=offline
[2021-02-19T17:19:56.896Z] time="2021-02-19T17:19:56Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:19:56.896Z] time="2021-02-19T17:19:56Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=55.591636876s hostname=c3b456aa5262 isAgentInStatus=false retry=16 status=offline
[2021-02-19T17:20:02.186Z] time="2021-02-19T17:20:01Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:02.186Z] time="2021-02-19T17:20:01Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m0.141717882s hostname=c3b456aa5262 isAgentInStatus=false retry=17 status=offline
[2021-02-19T17:20:03.133Z] {"level":"debug","time":"2021-02-19T17:20:02Z","message":"gathering metrics"}
[2021-02-19T17:20:06.434Z] time="2021-02-19T17:20:06Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:06.434Z] time="2021-02-19T17:20:06Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m5.250686327s hostname=c3b456aa5262 isAgentInStatus=false retry=18 status=offline
[2021-02-19T17:20:10.640Z] time="2021-02-19T17:20:09Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:10.640Z] time="2021-02-19T17:20:09Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m8.631727959s hostname=c3b456aa5262 isAgentInStatus=false retry=19 status=offline
[2021-02-19T17:20:13.186Z] {"level":"debug","time":"2021-02-19T17:20:13Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-19T17:20:14.126Z] time="2021-02-19T17:20:13Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:14.126Z] time="2021-02-19T17:20:13Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m12.824171673s hostname=c3b456aa5262 isAgentInStatus=false retry=20 status=offline
[2021-02-19T17:20:20.702Z] time="2021-02-19T17:20:20Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:20.962Z] time="2021-02-19T17:20:20Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m19.554674712s hostname=c3b456aa5262 isAgentInStatus=false retry=21 status=offline
[2021-02-19T17:20:27.541Z] time="2021-02-19T17:20:26Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:27.541Z] time="2021-02-19T17:20:26Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m25.607046032s hostname=c3b456aa5262 isAgentInStatus=false retry=22 status=offline
[2021-02-19T17:20:30.082Z] time="2021-02-19T17:20:29Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:30.082Z] time="2021-02-19T17:20:29Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m28.440628562s hostname=c3b456aa5262 isAgentInStatus=false retry=23 status=offline
[2021-02-19T17:20:33.382Z] {"level":"debug","time":"2021-02-19T17:20:32Z","message":"gathering metrics"}
[2021-02-19T17:20:37.584Z] time="2021-02-19T17:20:37Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:37.584Z] time="2021-02-19T17:20:37Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m36.02675376s hostname=c3b456aa5262 isAgentInStatus=false retry=24 status=offline
[2021-02-19T17:20:41.798Z] time="2021-02-19T17:20:41Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:42.063Z] time="2021-02-19T17:20:41Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m40.645462702s hostname=c3b456aa5262 isAgentInStatus=false retry=25 status=offline
[2021-02-19T17:20:43.148Z] {"level":"debug","time":"2021-02-19T17:20:43Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-19T17:20:45.095Z] time="2021-02-19T17:20:44Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:45.095Z] time="2021-02-19T17:20:44Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m43.751486784s hostname=c3b456aa5262 isAgentInStatus=false retry=26 status=offline
[2021-02-19T17:20:51.695Z] time="2021-02-19T17:20:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:51.695Z] time="2021-02-19T17:20:51Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m50.247198798s hostname=c3b456aa5262 isAgentInStatus=false retry=27 status=offline
[2021-02-19T17:20:54.997Z] time="2021-02-19T17:20:54Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:54.997Z] time="2021-02-19T17:20:54Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m53.253889395s hostname=c3b456aa5262 isAgentInStatus=false retry=28 status=offline
[2021-02-19T17:20:57.536Z] time="2021-02-19T17:20:57Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:20:57.536Z] time="2021-02-19T17:20:57Z" level=warning msg="The Agent is not in the offline status yet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f elapsedTime=1m56.065456578s hostname=c3b456aa5262 isAgentInStatus=false retry=29 status=offline
[2021-02-19T17:21:04.124Z] {"level":"debug","time":"2021-02-19T17:21:02Z","message":"gathering metrics"}
[2021-02-19T17:21:04.124Z] time="2021-02-19T17:21:03Z" level=debug msg="Agent listed in Fleet with online status" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:21:04.124Z] time="2021-02-19T17:21:03Z" level=info msg="The Agent is in the desired status" elapsedTime=2m2.226922333s hostname=c3b456aa5262 isAgentInStatus=true retries=30 status=offline
[2021-02-19T17:21:04.386Z] OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "elastic-agent": executable file not found in $PATH: unknown
[2021-02-19T17:21:04.649Z] time="2021-02-19T17:21:04Z" level=error msg="Could not execute command in container" command="[elastic-agent uninstall -f]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent uninstall -f]. exit status 126" service=debian-systemd
[2021-02-19T17:21:04.649Z] time="2021-02-19T17:21:04Z" level=error msg="Could not run agent command in the box" command="[elastic-agent uninstall -f]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent uninstall -f]. exit status 126" profile=fleet service=debian-systemd
[2021-02-19T17:21:04.649Z] time="2021-02-19T17:21:04Z" level=warning msg="Could not uninstall the agent after the scenario: Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent uninstall -f]. exit status 126"
[2021-02-19T17:21:04.649Z] time="2021-02-19T17:21:04Z" level=debug msg="Un-enrolling agent in Fleet" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f hostname=c3b456aa5262
[2021-02-19T17:21:05.591Z] time="2021-02-19T17:21:05Z" level=debug msg="Fleet agent was unenrolled" agentID=8d3cc530-72d6-11eb-8aff-3d758521eb9f
[2021-02-19T17:21:06.536Z] Stopping fleet_debian-systemd_elastic-agent_1 ... 
[2021-02-19T17:21:07.112Z] 
Stopping fleet_debian-systemd_elastic-agent_1 ... done
Removing fleet_debian-systemd_elastic-agent_1 ... 
[2021-02-19T17:21:07.112Z] 
Removing fleet_debian-systemd_elastic-agent_1 ... done
Going to remove fleet_debian-systemd_elastic-agent_1
[2021-02-19T17:21:07.373Z] time="2021-02-19T17:21:07Z" level=debug msg="Docker compose executed." cmd="[rm -fvs debian-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz666273543 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz666273543 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz debian_systemdContainerName:fleet_debian-systemd_elastic-agent_1 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-19T17:21:07.373Z] time="2021-02-19T17:21:07Z" level=debug msg="Service removed from compose" profile=fleet service=debian-systemd
[2021-02-19T17:21:08.761Z] time="2021-02-19T17:21:08Z" level=debug msg="The token was deleted" tokenID=87a41f60-72d6-11eb-8aff-3d758521eb9f
[2021-02-19T17:21:08.761Z] time="2021-02-19T17:21:08Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=fecce980-72d3-11eb-8aff-3d758521eb9f version=
[2021-02-19T17:21:08.761Z] time="2021-02-19T17:21:08Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-02-19T17:21:09.705Z] Stopping fleet_kibana_1           ... 
[2021-02-19T17:21:09.705Z] Stopping fleet_package-registry_1 ... 
[2021-02-19T17:21:09.705Z] Stopping fleet_elasticsearch_1    ... 
[2021-02-19T17:21:11.115Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-02-19T17:21:11.116Z] Removing fleet_package-registry_1 ... 
[2021-02-19T17:21:11.116Z] Removing fleet_elasticsearch_1    ... 
[2021-02-19T17:21:11.116Z] 
Removing fleet_package-registry_1 ... done

Removing fleet_kibana_1           ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-02-19T17:21:11.377Z] time="2021-02-19T17:21:11Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz666273543 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz666273543 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz debian_systemdContainerName:fleet_debian-systemd_elastic-agent_1 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-19T17:21:11.638Z] time="2021-02-19T17:21:11Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb081796282
[2021-02-19T17:21:11.638Z] time="2021-02-19T17:21:11Z" level=debug msg="Elastic Agent binary was removed." installer=debian-tar-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz666273543
[2021-02-19T17:21:11.638Z] time="2021-02-19T17:21:11Z" level=debug msg="Elastic Agent binary was removed." installer=docker-default-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-docker-image-linux-amd64.tar.gz506917073
[2021-02-19T17:21:11.638Z] time="2021-02-19T17:21:11Z" level=debug msg="Elastic Agent binary was removed." installer=docker-ubi8-8.0.0-SNAPSHOT path=/tmp/elastic-agent-ubi8-8.0.0-SNAPSHOT-docker-image-linux-amd64.tar.gz138803196
[2021-02-19T17:21:11.638Z] time="2021-02-19T17:21:11Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm854672456
[2021-02-19T17:21:11.638Z] Makefile:71: recipe for target 'functional-test' failed
[2021-02-19T17:21:11.638Z] make: *** [functional-test] Error 1
[2021-02-19T17:21:11.890Z] [INFO] Stopping Filebeat Docker container
[2021-02-19T17:21:12.190Z] + docker exec -t 08f9b4962c42e0426c34a9f373af1bc3ca62252a681f079b5b5e6526236da839 chmod -R ugo+rw /output
[2021-02-19T17:21:12.453Z] + docker stop --time 30 08f9b4962c42e0426c34a9f373af1bc3ca62252a681f079b5b5e6526236da839
[2021-02-19T17:21:13.026Z] 08f9b4962c42e0426c34a9f373af1bc3ca62252a681f079b5b5e6526236da839
[2021-02-19T17:21:13.059Z] Archiving artifacts
[2021-02-19T17:21:13.855Z] Recording test results
[2021-02-19T17:21:14.379Z] [Checks API] No suitable checks publisher found.
[2021-02-19T17:21:14.410Z] Archiving artifacts
[2021-02-19T17:21:14.507Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-02-19T17:21:16.192Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-19T17:21:17.313Z] Running on worker-1244230 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-787
[2021-02-19T17:21:17.392Z] [INFO] getVaultSecret: Getting secrets
[2021-02-19T17:21:17.478Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-19T17:21:19.767Z] + chmod 755 generate-build-data.sh
[2021-02-19T17:21:19.767Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-787/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-787/runs/1 FAILURE 1765903
[2021-02-19T17:21:19.767Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-787/runs/1/steps/?limit=10000 -o steps-info.json
[2021-02-19T17:21:23.873Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-787/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-02-19T17:21:24.573Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-787/runs/1/log/ -o pipeline-log.txt

@mdelapenya mdelapenya merged commit 6b9528b into elastic:master Feb 22, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
mdelapenya added a commit that referenced this pull request Mar 2, 2021
* chore: append "-amd64" suffix to docker images

* chore: append "-amd64" suffix for locally-loaded Docker images

* chore: make sure we tag the image after it's loaded

* fix: properly load & tag ubi8 images

* fix: only add the platform label for local or CI snapshots
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.

Use new tags for multi-platform images
5 participants