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

feat: support passing KIBANA_VERSION (bp #905)#1012

Merged
mdelapenya merged 5 commits into7.xfrom
mergify/bp/7.x/pr-905
Apr 13, 2021
Merged

feat: support passing KIBANA_VERSION (bp #905)#1012
mdelapenya merged 5 commits into7.xfrom
mergify/bp/7.x/pr-905

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 13, 2021

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

Cherry-pick of 7abccaf has failed:

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

You are currently cherry-picking commit 7abccaf3.
  (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:
	new file:   .ci/e2eKibana.groovy
	new file:   .ci/jobs/kibana-e2e-tests.yml
	modified:   e2e/README.md
	modified:   e2e/_suites/fleet/stand-alone.go
	modified:   e2e/_suites/fleet/world.go
	modified:   e2e/_suites/metricbeat/metricbeat_test.go
	modified:   e2e/utils.go
	modified:   e2e/utils_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .ci/Jenkinsfile
	both modified:   cli/config/compose/profiles/fleet/docker-compose.yml
	both modified:   e2e/_suites/fleet/README.md
	both modified:   e2e/_suites/fleet/ingest_manager_test.go
	both modified:   e2e/_suites/metricbeat/README.md

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/

* chore: support returning different fallback Docker namespaces

* chore: add KIBANA_VERSION variable

* docs: document new Kibana variable

* chore(ci): add regular to pipeline for Kibana PRs

It uses the generic-webhook-trigger to get Kibana PRs payloads, and with
that information trigger the e2e tests build.

* chore: only process kibana events

* chore: add PR author to the cause string

* chore: print PR sha in cause string

* chore: update Generic Trigger to match existing example

* chore: support manually running the tests for a PR

* chore: do not notify on slack on build greens

* fix: rename JJB as it's not a multibranch pipeline

* feat: build kibana image based on the PR or the UI params

* chore: simplify triggering the pipeline from the UI

* chore: simplify even more

* chore: use stackVersion if kibana version is not set

* docs: update docs about KIBANA_VERSION

* chore: rename variable

* chore: rename job

* fix: misleading param description

* fix: set the proper Docker namespace for Kibana

(cherry picked from commit 7abccaf)

# Conflicts:
#	.ci/Jenkinsfile
#	cli/config/compose/profiles/fleet/docker-compose.yml
#	e2e/_suites/fleet/README.md
#	e2e/_suites/fleet/ingest_manager_test.go
#	e2e/_suites/metricbeat/README.md
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Apr 13, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 13, 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 #1012 updated

  • Start Time: 2021-04-13T09:09:42.272+0000

  • Duration: 27 min 49 sec

  • Commit: ad85af3

Test stats 🧪

Test Results
Failed 1
Passed 140
Skipped 0
Total 141

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 agent is listed in Fleet as "offline": The Agent is not in the offline status yet 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 19 min 53 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-04-13T09:34:18.476Z] Recording test results
[2021-04-13T09:34:18.777Z] [Checks API] No suitable checks publisher found.
[2021-04-13T09:34:18.798Z] Archiving artifacts
[2021-04-13T09:34:18.838Z] Running in /var/lib/jenkins/workspace/PR-1012-7-9594ae80-baed-4190-8f33-13d77cc13c18/src/github.com/elastic/e2e-testing
[2021-04-13T09:34:19.134Z] + go clean -modcache
[2021-04-13T09:34:23.907Z] time="2021-04-13T09:34:23Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:23.907Z] time="2021-04-13T09:34:23Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m16.228829839s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=100 status=offline
[2021-04-13T09:34:28.163Z] time="2021-04-13T09:34:27Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:28.163Z] time="2021-04-13T09:34:27Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m19.919542736s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=101 status=offline
[2021-04-13T09:34:32.432Z] {"level":"debug","time":"2021-04-13T09:34:31Z","message":"gathering metrics"}
[2021-04-13T09:34:33.388Z] time="2021-04-13T09:34:33Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:33.389Z] time="2021-04-13T09:34:33Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m25.58981273s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=102 status=offline
[2021-04-13T09:34:38.706Z] time="2021-04-13T09:34:38Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:38.706Z] time="2021-04-13T09:34:38Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m30.618758999s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=103 status=offline
[2021-04-13T09:34:41.264Z] time="2021-04-13T09:34:41Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:41.265Z] time="2021-04-13T09:34:41Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m33.600791831s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=104 status=offline
[2021-04-13T09:34:42.213Z] {"level":"debug","time":"2021-04-13T09:34:41Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:44.140Z] time="2021-04-13T09:34:43Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:44.140Z] time="2021-04-13T09:34:43Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m36.265225596s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=105 status=offline
[2021-04-13T09:34:49.449Z] time="2021-04-13T09:34:48Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:49.449Z] time="2021-04-13T09:34:48Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m40.758175547s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=106 status=offline
[2021-04-13T09:34:54.757Z] time="2021-04-13T09:34:53Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:34:54.757Z] time="2021-04-13T09:34:53Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m46.234266177s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=107 status=offline
[2021-04-13T09:35:01.363Z] time="2021-04-13T09:35:01Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:01.363Z] time="2021-04-13T09:35:01Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m53.434448423s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=108 status=offline
[2021-04-13T09:35:01.938Z] {"level":"debug","time":"2021-04-13T09:35:01Z","message":"gathering metrics"}
[2021-04-13T09:35:07.254Z] time="2021-04-13T09:35:06Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:07.254Z] time="2021-04-13T09:35:06Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=8m58.830126099s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=109 status=offline
[2021-04-13T09:35:12.599Z] {"level":"debug","time":"2021-04-13T09:35:11Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:35:12.599Z] time="2021-04-13T09:35:11Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:12.599Z] time="2021-04-13T09:35:11Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m4.310544163s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=110 status=offline
[2021-04-13T09:35:16.849Z] time="2021-04-13T09:35:16Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:16.849Z] time="2021-04-13T09:35:16Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m8.899644546s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=111 status=offline
[2021-04-13T09:35:22.193Z] time="2021-04-13T09:35:21Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:22.193Z] time="2021-04-13T09:35:21Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m14.206888329s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=112 status=offline
[2021-04-13T09:35:27.536Z] time="2021-04-13T09:35:26Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:27.536Z] time="2021-04-13T09:35:26Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m19.206206273s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=113 status=offline
[2021-04-13T09:35:31.818Z] {"level":"debug","time":"2021-04-13T09:35:31Z","message":"gathering metrics"}
[2021-04-13T09:35:34.402Z] time="2021-04-13T09:35:34Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:34.402Z] time="2021-04-13T09:35:34Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m26.531439183s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=114 status=offline
[2021-04-13T09:35:41.049Z] time="2021-04-13T09:35:40Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:41.049Z] time="2021-04-13T09:35:40Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m33.049361449s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=115 status=offline
[2021-04-13T09:35:42.013Z] {"level":"debug","time":"2021-04-13T09:35:41Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:35:43.960Z] time="2021-04-13T09:35:43Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:43.960Z] time="2021-04-13T09:35:43Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m36.125697214s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=116 status=offline
[2021-04-13T09:35:50.767Z] time="2021-04-13T09:35:50Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:50.767Z] time="2021-04-13T09:35:50Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m42.568543192s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=117 status=offline
[2021-04-13T09:35:55.086Z] time="2021-04-13T09:35:54Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:55.087Z] time="2021-04-13T09:35:54Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m47.064605733s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=118 status=offline
[2021-04-13T09:35:58.435Z] time="2021-04-13T09:35:57Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:35:58.435Z] time="2021-04-13T09:35:57Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m50.248403654s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=119 status=offline
[2021-04-13T09:36:01.780Z] time="2021-04-13T09:36:01Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:36:01.780Z] time="2021-04-13T09:36:01Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m53.733650171s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=120 status=offline
[2021-04-13T09:36:01.780Z] {"level":"debug","time":"2021-04-13T09:36:01Z","message":"gathering metrics"}
[2021-04-13T09:36:08.497Z] time="2021-04-13T09:36:07Z" level=debug msg="Agent listed in Fleet with online status" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:36:08.497Z] time="2021-04-13T09:36:07Z" level=warning msg="The Agent is not in the offline status yet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 elapsedTime=9m59.969830296s hostname=1a9c2a8f2f4e isAgentInStatus=false retry=121 status=offline
[2021-04-13T09:36:08.497Z] cat: /opt/Elastic/Agent/data/elastic-agent-5eb034/logs//elastic-agent-json.log: No such file or directory
[2021-04-13T09:36:08.762Z] time="2021-04-13T09:36:08Z" level=error msg="Could not execute command in service container" command="[cat /opt/Elastic/Agent/data/elastic-agent-5eb034/logs//elastic-agent-json.log]" error="Could not run compose file: [/var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent/data/elastic-agent-5eb034/logs//elastic-agent-json.log]. exit status 1" service=centos-systemd
[2021-04-13T09:36:08.762Z] time="2021-04-13T09:36:08Z" level=warning msg="Could not get agent logs in the container" containerName=1a9c2a8f2f4e error="Could not run compose file: [/var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent/data/elastic-agent-5eb034/logs//elastic-agent-json.log]. exit status 1"
[2021-04-13T09:36:08.763Z] time="2021-04-13T09:36:08Z" level=debug msg="Un-enrolling agent in Fleet" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747 hostname=1a9c2a8f2f4e
[2021-04-13T09:36:09.755Z] time="2021-04-13T09:36:09Z" level=debug msg="Fleet agent was unenrolled" agentID=19b786a7-f57e-4dbb-ac83-fb8f85908747
[2021-04-13T09:36:10.342Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-13T09:36:12.291Z] {"level":"debug","time":"2021-04-13T09:36:11Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:36:22.365Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-13T09:36:22.366Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-04-13T09:36:22.366Z] time="2021-04-13T09:36:20Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz932454989 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/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:observability-ci kibanaVersion:7.13.0-SNAPSHOT stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-04-13T09:36:22.366Z] time="2021-04-13T09:36:20Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-04-13T09:36:22.366Z] time="2021-04-13T09:36:22Z" level=debug msg="The token was deleted" tokenID=e681f9b4-6216-4f90-bdbb-1d4f1dfe06e7
[2021-04-13T09:36:22.366Z] time="2021-04-13T09:36:22Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=65cc5150-9c39-11eb-8b27-71b143754796 version=
[2021-04-13T09:36:22.366Z] time="2021-04-13T09:36:22Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-04-13T09:36:22.949Z] Stopping fleet_kibana_1           ... 
[2021-04-13T09:36:22.949Z] Stopping fleet_elasticsearch_1    ... 
[2021-04-13T09:36:22.949Z] Stopping fleet_package-registry_1 ... 
[2021-04-13T09:36:24.378Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-04-13T09:36:24.378Z] Removing fleet_elasticsearch_1    ... 
[2021-04-13T09:36:24.378Z] Removing fleet_package-registry_1 ... 
[2021-04-13T09:36:24.378Z] 
Removing fleet_package-registry_1 ... done

Removing fleet_kibana_1           ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-04-13T09:36:24.959Z] time="2021-04-13T09:36:24Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.13.0-SNAPSHOT-linux-x86_64.tar.gz932454989 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/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:observability-ci kibanaVersion:7.13.0-SNAPSHOT stackVersion:7.13.0-SNAPSHOT]" profile=fleet
[2021-04-13T09:36:24.959Z] time="2021-04-13T09:36:24Z" 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.gz932454989
[2021-04-13T09:36:24.959Z] time="2021-04-13T09:36:24Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd-7.13.0-SNAPSHOT path=/tmp/elastic-agent-7.13.0-SNAPSHOT-x86_64.rpm056411976
[2021-04-13T09:36:24.959Z] Makefile:73: recipe for target 'functional-test' failed
[2021-04-13T09:36:24.959Z] make: *** [functional-test] Error 1
[2021-04-13T09:36:25.101Z] [INFO] Stopping Filebeat Docker container
[2021-04-13T09:36:25.404Z] + docker exec -t ee6d41e6697f5ef6c31e5c3a2e60e29e5240cc463e197b4218cf72e1ff4342a2 chmod -R ugo+rw /output
[2021-04-13T09:36:25.671Z] + docker stop --time 30 ee6d41e6697f5ef6c31e5c3a2e60e29e5240cc463e197b4218cf72e1ff4342a2
[2021-04-13T09:36:26.260Z] ee6d41e6697f5ef6c31e5c3a2e60e29e5240cc463e197b4218cf72e1ff4342a2
[2021-04-13T09:36:26.289Z] Archiving artifacts
[2021-04-13T09:36:27.191Z] Recording test results
[2021-04-13T09:36:27.930Z] [Checks API] No suitable checks publisher found.
[2021-04-13T09:36:27.961Z] Archiving artifacts
[2021-04-13T09:36:28.014Z] Running in /var/lib/jenkins/workspace/PR-1012-7-41cb32dc-9dc6-496e-bd32-6104decfdffa/src/github.com/elastic/e2e-testing
[2021-04-13T09:36:28.335Z] + go clean -modcache
[2021-04-13T09:36:29.171Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-04-13T09:36:30.435Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-13T09:36:30.954Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1012
[2021-04-13T09:36:31.022Z] [INFO] getVaultSecret: Getting secrets
[2021-04-13T09:36:31.142Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-13T09:36:32.241Z] + chmod 755 generate-build-data.sh
[2021-04-13T09:36:32.242Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1012/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1012/runs/7 FAILURE 1609486
[2021-04-13T09:36:32.792Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1012/runs/7/steps/?limit=10000 -o steps-info.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 140
Skipped 0
Total 141

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 merged commit b0f90bc into 7.x Apr 13, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-905 branch April 13, 2021 10:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

conflicts There is a conflict in the backported pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants