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

chore: tag docker image after loading it from a file #772

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

mdelapenya
Copy link
Contributor

What does this PR do?

It uses the Go Docker client to tag the imported image with the original version as tag.

Why is it important?

We noticed the e2e are downloading the right binary from GCP (always AMD64), BUT the docker load command creates the new image without the proper tag, using agent:8.0.0-SNAPSHOT instead of agent:pr-12345. Again but, the docker-compose file requires the second one, so it looks up the observability-ci namespace in the Docker registry, not honouring the physical file that was downloaded and imported, pulling agent:pr-12345 instead.

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

Related issues

Logs

DEBU[2021-02-17T18:10:21+01:00] Docker image tagged successfully src="docker.elastic.co/beats/elastic-agent:8.0.0-SNAPSHOT" target="docker.elastic.co/observability-ci/elastic-agent:pr-24086"

Follow-ups

@mdelapenya mdelapenya self-assigned this Feb 17, 2021
@mdelapenya mdelapenya requested a review from a team February 17, 2021 19:39
@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 #772 opened

  • Start Time: 2021-02-17T19:39:36.861+0000

  • Duration: 30 min 33 sec

  • Commit: 394d43c

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 24 min 55 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-17T20:09:03.516Z] Archiving artifacts script returned exit code 2
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-02-17T20:09:04.544Z] 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-17T20:07:13.094Z] {"level":"debug","time":"2021-02-17T20:07:12Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-17T20:07:17.285Z] time="2021-02-17T20:07:16Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:17.285Z] time="2021-02-17T20:07:16Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=52.035679764s hostname=991bda48014c isAgentInStatus=false retry=13 status=offline
[2021-02-17T20:07:19.190Z] time="2021-02-17T20:07:18Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:19.190Z] time="2021-02-17T20:07:18Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=54.629658586s hostname=991bda48014c isAgentInStatus=false retry=14 status=offline
[2021-02-17T20:07:21.725Z] time="2021-02-17T20:07:21Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:21.984Z] time="2021-02-17T20:07:21Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=57.356895617s hostname=991bda48014c isAgentInStatus=false retry=15 status=offline
[2021-02-17T20:07:25.273Z] time="2021-02-17T20:07:24Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:25.273Z] time="2021-02-17T20:07:24Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m0.403222871s hostname=991bda48014c isAgentInStatus=false retry=16 status=offline
[2021-02-17T20:07:29.468Z] time="2021-02-17T20:07:29Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:29.468Z] time="2021-02-17T20:07:29Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m4.783512301s hostname=991bda48014c isAgentInStatus=false retry=17 status=offline
[2021-02-17T20:07:33.664Z] {"level":"debug","time":"2021-02-17T20:07:32Z","message":"gathering metrics"}
[2021-02-17T20:07:36.202Z] time="2021-02-17T20:07:35Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:36.202Z] time="2021-02-17T20:07:35Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m11.500930376s hostname=991bda48014c isAgentInStatus=false retry=18 status=offline
[2021-02-17T20:07:40.398Z] time="2021-02-17T20:07:40Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:40.398Z] time="2021-02-17T20:07:40Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m15.777311985s hostname=991bda48014c isAgentInStatus=false retry=19 status=offline
[2021-02-17T20:07:42.940Z] {"level":"debug","time":"2021-02-17T20:07:42Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-17T20:07:44.850Z] time="2021-02-17T20:07:44Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:44.850Z] time="2021-02-17T20:07:44Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m20.028472658s hostname=991bda48014c isAgentInStatus=false retry=20 status=offline
[2021-02-17T20:07:49.044Z] time="2021-02-17T20:07:48Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:49.044Z] time="2021-02-17T20:07:48Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m23.872813195s hostname=991bda48014c isAgentInStatus=false retry=21 status=offline
[2021-02-17T20:07:52.333Z] time="2021-02-17T20:07:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:52.333Z] time="2021-02-17T20:07:51Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m27.489445099s hostname=991bda48014c isAgentInStatus=false retry=22 status=offline
[2021-02-17T20:07:57.605Z] time="2021-02-17T20:07:57Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:07:57.605Z] time="2021-02-17T20:07:57Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m32.807598623s hostname=991bda48014c isAgentInStatus=false retry=23 status=offline
[2021-02-17T20:08:01.802Z] time="2021-02-17T20:08:01Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:01.802Z] time="2021-02-17T20:08:01Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m37.392865778s hostname=991bda48014c isAgentInStatus=false retry=24 status=offline
[2021-02-17T20:08:03.182Z] {"level":"debug","time":"2021-02-17T20:08:02Z","message":"gathering metrics"}
[2021-02-17T20:08:07.373Z] time="2021-02-17T20:08:06Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:07.373Z] time="2021-02-17T20:08:06Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m42.4617208s hostname=991bda48014c isAgentInStatus=false retry=25 status=offline
[2021-02-17T20:08:10.660Z] time="2021-02-17T20:08:10Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:10.660Z] time="2021-02-17T20:08:10Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m45.84115261s hostname=991bda48014c isAgentInStatus=false retry=26 status=offline
[2021-02-17T20:08:13.193Z] {"level":"debug","time":"2021-02-17T20:08:12Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-17T20:08:14.574Z] time="2021-02-17T20:08:14Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:14.574Z] time="2021-02-17T20:08:14Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m50.072863361s hostname=991bda48014c isAgentInStatus=false retry=27 status=offline
[2021-02-17T20:08:21.145Z] time="2021-02-17T20:08:21Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:21.145Z] time="2021-02-17T20:08:21Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=1m56.750419171s hostname=991bda48014c isAgentInStatus=false retry=28 status=offline
[2021-02-17T20:08:27.740Z] time="2021-02-17T20:08:27Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:27.740Z] time="2021-02-17T20:08:27Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m2.789595568s hostname=991bda48014c isAgentInStatus=false retry=29 status=offline
[2021-02-17T20:08:30.273Z] time="2021-02-17T20:08:29Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:30.273Z] time="2021-02-17T20:08:30Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m5.652927506s hostname=991bda48014c isAgentInStatus=false retry=30 status=offline
[2021-02-17T20:08:32.807Z] {"level":"debug","time":"2021-02-17T20:08:32Z","message":"gathering metrics"}
[2021-02-17T20:08:38.084Z] time="2021-02-17T20:08:37Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:38.084Z] time="2021-02-17T20:08:37Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m13.193974107s hostname=991bda48014c isAgentInStatus=false retry=31 status=offline
[2021-02-17T20:08:42.276Z] time="2021-02-17T20:08:42Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:42.276Z] time="2021-02-17T20:08:42Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m17.78178778s hostname=991bda48014c isAgentInStatus=false retry=32 status=offline
[2021-02-17T20:08:43.213Z] {"level":"debug","time":"2021-02-17T20:08:42Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-02-17T20:08:45.750Z] time="2021-02-17T20:08:45Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:45.750Z] time="2021-02-17T20:08:45Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m20.916941725s hostname=991bda48014c isAgentInStatus=false retry=33 status=offline
[2021-02-17T20:08:52.320Z] time="2021-02-17T20:08:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:52.320Z] time="2021-02-17T20:08:51Z" level=warning msg="The Agent is not in the offline status yet" agentID=9aa04750-715b-11eb-b806-091e44814e52 elapsedTime=2m27.364082985s hostname=991bda48014c isAgentInStatus=false retry=34 status=offline
[2021-02-17T20:08:54.854Z] time="2021-02-17T20:08:54Z" level=debug msg="Agent listed in Fleet with online status" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:54.854Z] time="2021-02-17T20:08:54Z" level=info msg="The Agent is in the desired status" elapsedTime=2m30.364781557s hostname=991bda48014c isAgentInStatus=true retries=35 status=offline
[2021-02-17T20:08:55.792Z] 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-17T20:08:55.792Z] time="2021-02-17T20:08:55Z" 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-772/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.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-17T20:08:55.792Z] time="2021-02-17T20:08:55Z" 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-772/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.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-17T20:08:55.792Z] time="2021-02-17T20:08:55Z" 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-772/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.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-17T20:08:55.793Z] time="2021-02-17T20:08:55Z" level=debug msg="Un-enrolling agent in Fleet" agentID=9aa04750-715b-11eb-b806-091e44814e52 hostname=991bda48014c
[2021-02-17T20:08:57.175Z] time="2021-02-17T20:08:56Z" level=debug msg="Fleet agent was unenrolled" agentID=9aa04750-715b-11eb-b806-091e44814e52
[2021-02-17T20:08:57.744Z] Stopping fleet_debian-systemd_elastic-agent_1 ... 
[2021-02-17T20:08:58.311Z] 
Stopping fleet_debian-systemd_elastic-agent_1 ... done
Removing fleet_debian-systemd_elastic-agent_1 ... 
[2021-02-17T20:08:58.311Z] 
Removing fleet_debian-systemd_elastic-agent_1 ... done
Going to remove fleet_debian-systemd_elastic-agent_1
[2021-02-17T20:08:58.312Z] time="2021-02-17T20:08:58Z" level=debug msg="Docker compose executed." cmd="[rm -fvs debian-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz864765809 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.gz864765809 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-772/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-17T20:08:58.312Z] time="2021-02-17T20:08:58Z" level=debug msg="Service removed from compose" profile=fleet service=debian-systemd
[2021-02-17T20:09:00.216Z] time="2021-02-17T20:08:59Z" level=debug msg="The token was deleted" tokenID=94f1f6a0-715b-11eb-b806-091e44814e52
[2021-02-17T20:09:00.216Z] time="2021-02-17T20:08:59Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=0b4dacc0-7159-11eb-b806-091e44814e52 version=
[2021-02-17T20:09:00.216Z] time="2021-02-17T20:08:59Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-02-17T20:09:00.784Z] Stopping fleet_kibana_1           ... 
[2021-02-17T20:09:00.784Z] Stopping fleet_package-registry_1 ... 
[2021-02-17T20:09:00.784Z] Stopping fleet_elasticsearch_1    ... 
[2021-02-17T20:09:01.871Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-02-17T20:09:01.871Z] Removing fleet_package-registry_1 ... 
[2021-02-17T20:09:01.871Z] Removing fleet_elasticsearch_1    ... 
[2021-02-17T20:09:01.871Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-02-17T20:09:02.130Z] time="2021-02-17T20:09:01Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz864765809 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.gz864765809 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-772/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-02-17T20:09:02.131Z] time="2021-02-17T20:09:01Z" 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.gz598142667
[2021-02-17T20:09:02.131Z] time="2021-02-17T20:09:01Z" 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.gz772839342
[2021-02-17T20:09:02.131Z] time="2021-02-17T20:09:02Z" 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.rpm366483418
[2021-02-17T20:09:02.131Z] time="2021-02-17T20:09:02Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz864765809
[2021-02-17T20:09:02.131Z] time="2021-02-17T20:09:02Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb392613916
[2021-02-17T20:09:02.131Z] Makefile:71: recipe for target 'functional-test' failed
[2021-02-17T20:09:02.131Z] make: *** [functional-test] Error 1
[2021-02-17T20:09:02.365Z] [INFO] Stopping Filebeat Docker container
[2021-02-17T20:09:02.658Z] + docker exec -t 48602fb769f25860aa291398a8a5de684280f33846f1856bae6e5b9c030860ee chmod -R ugo+rw /output
[2021-02-17T20:09:02.918Z] + docker stop --time 30 48602fb769f25860aa291398a8a5de684280f33846f1856bae6e5b9c030860ee
[2021-02-17T20:09:03.486Z] 48602fb769f25860aa291398a8a5de684280f33846f1856bae6e5b9c030860ee
[2021-02-17T20:09:03.516Z] Archiving artifacts
[2021-02-17T20:09:04.226Z] Recording test results
[2021-02-17T20:09:04.517Z] [Checks API] No suitable checks publisher found.
[2021-02-17T20:09:04.544Z] Archiving artifacts
[2021-02-17T20:09:04.629Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-02-17T20:09:06.834Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-17T20:09:09.242Z] Running on worker-395930 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-772
[2021-02-17T20:09:09.317Z] [INFO] getVaultSecret: Getting secrets
[2021-02-17T20:09:09.397Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-17T20:09:11.734Z] + chmod 755 generate-build-data.sh
[2021-02-17T20:09:11.734Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-772/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-772/runs/1 FAILURE 1773361
[2021-02-17T20:09:11.734Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-772/runs/1/steps/?limit=10000 -o steps-info.json
[2021-02-17T20:09:15.844Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-772/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-02-17T20:09:16.542Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-772/runs/1/log/ -o pipeline-log.txt

@@ -387,7 +387,7 @@ func newDockerInstaller(ubi8 bool, version string) (ElasticAgentInstaller, error
WithArch(arch).
WithArtifact(artifact).
WithOS(os).
WithVersion(e2e.CheckPRVersion(version, agentVersionBase)) // sanitize version
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mdelapenya mdelapenya marked this pull request as ready for review February 18, 2021 10:25
@mdelapenya mdelapenya merged commit 9c1afa5 into elastic:master Feb 18, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 18, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 18, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 18, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Feb 18, 2021
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