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)#1014

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

feat: support passing KIBANA_VERSION (bp #905)#1014
mdelapenya merged 5 commits into7.11.xfrom
mergify/bp/7.11.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.11.x/pr-905
Your branch is up to date with 'origin/7.11.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 #1014 updated

  • Start Time: 2021-04-13T09:10:22.306+0000

  • Duration: 25 min 6 sec

  • Commit: 2326c61

Test stats 🧪

Test Results
Failed 4
Passed 115
Skipped 0
Total 119

Trends 🧪

Image of Build Times

Image of Tests

Test errors 4

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1014-4-e0d7c90b-9462-431c-b084-77cc36829322/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1014-4-7f6aae48-66b3-472b-92d6-a8c1f915096c/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1014-4-aa073776-de69-4874-9afe-136eb24db2f9/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1014-4-f52e514f-9d13-4dcd-a4fd-ed1d40ed5512/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Steps errors 4

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 1 min 27 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "7.11-SNAPSHOT" "7.11-SNAPSHOT"
Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian
  • Took 1 min 24 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "agent_endpoint_integration && ~@nightly && ~debian" "7.11-SNAPSHOT" "7.11-SNAPSHOT"
Run functional tests for fleet:stand_alone_agent && ~@nightly && ~ubi8
  • Took 1 min 24 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly && ~ubi8" "7.11-SNAPSHOT" "7.11-SNAPSHOT"
Run functional tests for fleet:backend_processes && ~@nightly && ~debian
  • Took 1 min 24 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "backend_processes && ~@nightly && ~debian" "7.11-SNAPSHOT" "7.11-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-13T09:33:21.200Z] time="2021-04-13T09:33:21Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=8.601866ms retries=1
[2021-04-13T09:33:22.154Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-13T09:33:22.418Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-13T09:33:22.418Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-13T09:33:22.418Z] time="2021-04-13T09:33:22Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:8.0.13 indexName:metricbeat-7.11-mysql-mysql-8.0.13-ztgmurcc logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:8.0.13 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:33:22.418Z] time="2021-04-13T09:33:22Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-13T09:33:22.996Z] Stopping metricbeat_mysql_1 ... 
[2021-04-13T09:33:25.553Z] {"level":"debug","time":"2021-04-13T09:33:25Z","message":"sent request with 0 transactions, 6 spans, 0 errors, 1 metricset"}
[2021-04-13T09:33:25.817Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2021-04-13T09:33:25.818Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2021-04-13T09:33:25.818Z] time="2021-04-13T09:33:25Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:8.0.13 indexName:metricbeat-7.11-mysql-mysql-8.0.13-ztgmurcc logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:8.0.13 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:33:25.818Z] time="2021-04-13T09:33:25Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2021-04-13T09:33:25.818Z] time="2021-04-13T09:33:25Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.11-mysql-mysql-8.0.13-ztgmurcc status="400 Bad Request"
[2021-04-13T09:33:25.818Z] time="2021-04-13T09:33:25Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.11-mysql-mysql-8.0.13-ztgmurcc status="400 Bad Request"
[2021-04-13T09:33:26.080Z] {"level":"debug","time":"2021-04-13T09:33:25Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-13T09:33:26.659Z] Pulling mysql (docker.elastic.co/integrations-ci/beats-mysql:mysql-5.7.12-1)...
[2021-04-13T09:33:27.234Z] mysql-5.7.12-1: Pulling from integrations-ci/beats-mysql
[2021-04-13T09:33:34.084Z] Digest: sha256:b98b793a1d0efd0724620416a67c14c119fd056fec13eed9bb41cabb2c0dd5a8
[2021-04-13T09:33:34.084Z] Status: Downloaded newer image for docker.elastic.co/integrations-ci/beats-mysql:mysql-5.7.12-1
[2021-04-13T09:33:34.084Z] metricbeat_elasticsearch_1 is up-to-date
[2021-04-13T09:33:34.084Z] Creating metricbeat_mysql_1 ... 
[2021-04-13T09:33:36.663Z] 
Creating metricbeat_mysql_1 ... done
time="2021-04-13T09:33:36Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.11-mysql-mysql-8.0.13-ztgmurcc logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:8.0.13 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:33:36.663Z] time="2021-04-13T09:33:36Z" level=debug msg="Could not retrieve configuration file under test workspace. Looking up tool's workspace" error="<nil>" path=/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/src/github.com/elastic/e2e-testing/e2e/_suites/metricbeat/configurations/mysql.yml service=mysql
[2021-04-13T09:33:46.711Z] {"level":"debug","time":"2021-04-13T09:33:46Z","message":"sent request with 0 transactions, 2 spans, 0 errors, 0 metricsets"}
[2021-04-13T09:33:50.955Z] {"level":"debug","time":"2021-04-13T09:33:50Z","message":"gathering metrics"}
[2021-04-13T09:34:01.004Z] {"level":"debug","time":"2021-04-13T09:34:00Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 6 metricsets"}
[2021-04-13T09:34:23.028Z] {"level":"debug","time":"2021-04-13T09:34:20Z","message":"gathering metrics"}
[2021-04-13T09:34:27.263Z] Found orphan containers (metricbeat_mysql_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[2021-04-13T09:34:27.263Z] metricbeat_elasticsearch_1 is up-to-date
[2021-04-13T09:34:27.263Z] Creating metricbeat_metricbeat_1 ... 
[2021-04-13T09:34:27.835Z] 
Creating metricbeat_metricbeat_1 ... done
time="2021-04-13T09:34:27Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:34:27.835Z] time="2021-04-13T09:34:27Z" level=info msg="Metricbeat is running configured for the service" metricbeatVersion=7.11-SNAPSHOT service=mysql serviceVersion=5.7.12 variant=MySQL
[2021-04-13T09:34:27.835Z] time="2021-04-13T09:34:27Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=5.711675ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=1
[2021-04-13T09:34:28.409Z] time="2021-04-13T09:34:28Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=562.898876ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=2
[2021-04-13T09:34:29.797Z] time="2021-04-13T09:34:29Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=2.041775319s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=3
[2021-04-13T09:34:30.740Z] {"level":"debug","time":"2021-04-13T09:34:30Z","message":"sent request with 0 transactions, 5 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:31.003Z] time="2021-04-13T09:34:30Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=3.204235654s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod index_uuid:_na_ reason:no such index [metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod] resource.id:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=4
[2021-04-13T09:34:36.298Z] time="2021-04-13T09:34:35Z" level=debug msg="Response information" hits=0 status="200 OK" took=1
[2021-04-13T09:34:36.299Z] time="2021-04-13T09:34:35Z" level=warning msg="Waiting for more hits in the index" currentHits=0 desiredHits=5 elapsedTime=7.589430499s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=5
[2021-04-13T09:34:38.215Z] time="2021-04-13T09:34:38Z" level=debug msg="Response information" hits=0 status="200 OK" took=1
[2021-04-13T09:34:38.215Z] time="2021-04-13T09:34:38Z" level=warning msg="Waiting for more hits in the index" currentHits=0 desiredHits=5 elapsedTime=10.390634196s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=6
[2021-04-13T09:34:41.531Z] {"level":"debug","time":"2021-04-13T09:34:41Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-13T09:34:44.834Z] time="2021-04-13T09:34:44Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-13T09:34:44.834Z] time="2021-04-13T09:34:44Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=16.358372946s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=7
[2021-04-13T09:34:48.139Z] time="2021-04-13T09:34:48Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-13T09:34:48.139Z] time="2021-04-13T09:34:48Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=20.372967671s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=8
[2021-04-13T09:34:50.686Z] {"level":"debug","time":"2021-04-13T09:34:50Z","message":"gathering metrics"}
[2021-04-13T09:34:51.630Z] time="2021-04-13T09:34:51Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-13T09:34:51.630Z] time="2021-04-13T09:34:51Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=23.745557638s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=9
[2021-04-13T09:34:54.936Z] {"level":"debug","time":"2021-04-13T09:34:54Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:56.848Z] time="2021-04-13T09:34:56Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2021-04-13T09:34:56.849Z] time="2021-04-13T09:34:56Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=28.958681739s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=10
[2021-04-13T09:35:02.135Z] time="2021-04-13T09:35:01Z" level=debug msg="Response information" hits=3 status="200 OK" took=3
[2021-04-13T09:35:02.135Z] time="2021-04-13T09:35:01Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=34.187210391s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=11
[2021-04-13T09:35:06.381Z] time="2021-04-13T09:35:05Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-13T09:35:06.381Z] time="2021-04-13T09:35:05Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=38.08723484s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=12
[2021-04-13T09:35:06.968Z] {"level":"debug","time":"2021-04-13T09:35:06Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-13T09:35:11.209Z] time="2021-04-13T09:35:10Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-13T09:35:11.209Z] time="2021-04-13T09:35:10Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=42.71066441s index=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod retry=13
[2021-04-13T09:35:16.528Z] time="2021-04-13T09:35:15Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-13T09:35:16.529Z] time="2021-04-13T09:35:15Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=47.871945754s retries=14
[2021-04-13T09:35:16.529Z] time="2021-04-13T09:35:15Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-13T09:35:16.529Z] time="2021-04-13T09:35:15Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=7.018657ms retries=1
[2021-04-13T09:35:16.529Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-13T09:35:16.795Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-13T09:35:16.795Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-13T09:35:16.795Z] time="2021-04-13T09:35:16Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:35:16.796Z] time="2021-04-13T09:35:16Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-13T09:35:17.374Z] Stopping metricbeat_mysql_1 ... 
[2021-04-13T09:35:19.980Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2021-04-13T09:35:19.981Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2021-04-13T09:35:19.981Z] time="2021-04-13T09:35:19Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:35:19.981Z] time="2021-04-13T09:35:19Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2021-04-13T09:35:19.981Z] time="2021-04-13T09:35:19Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod status="400 Bad Request"
[2021-04-13T09:35:19.981Z] time="2021-04-13T09:35:19Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod status="400 Bad Request"
[2021-04-13T09:35:19.981Z] {"level":"debug","time":"2021-04-13T09:35:19Z","message":"sent request with 1 transaction, 7 spans, 0 errors, 0 metricsets"}
[2021-04-13T09:35:20.563Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-13T09:35:20.829Z] {"level":"debug","time":"2021-04-13T09:35:20Z","message":"gathering metrics"}
[2021-04-13T09:35:21.095Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-13T09:35:21.360Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-13T09:35:21.625Z] time="2021-04-13T09:35:21Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.11-mysql-mysql-5.7.12-fmhtimod logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-13T09:35:21.891Z] {"level":"debug","time":"2021-04-13T09:35:21Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 6 metricsets"}
[2021-04-13T09:35:22.016Z] [INFO] Stopping Filebeat Docker container
[2021-04-13T09:35:22.317Z] + docker exec -t 4ea3354187e30e4828bd8df72212d8d45713ba7584190837122afb33511b6846 chmod -R ugo+rw /output
[2021-04-13T09:35:22.900Z] + docker stop --time 30 4ea3354187e30e4828bd8df72212d8d45713ba7584190837122afb33511b6846
[2021-04-13T09:35:23.166Z] 4ea3354187e30e4828bd8df72212d8d45713ba7584190837122afb33511b6846
[2021-04-13T09:35:23.194Z] Archiving artifacts
[2021-04-13T09:35:24.104Z] Recording test results
[2021-04-13T09:35:24.476Z] [Checks API] No suitable checks publisher found.
[2021-04-13T09:35:24.499Z] Archiving artifacts
[2021-04-13T09:35:24.562Z] Running in /var/lib/jenkins/workspace/PR-1014-4-648a2143-dacc-425a-ab37-31e119c121ae/src/github.com/elastic/e2e-testing
[2021-04-13T09:35:24.870Z] + go clean -modcache
[2021-04-13T09:35:26.710Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-13T09:35:27.310Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1014
[2021-04-13T09:35:27.372Z] [INFO] getVaultSecret: Getting secrets
[2021-04-13T09:35:27.491Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-13T09:35:28.346Z] + chmod 755 generate-build-data.sh
[2021-04-13T09:35:28.346Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1014/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1014/runs/4 FAILURE 1505773
[2021-04-13T09:35:28.596Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1014/runs/4/steps/?limit=10000 -o steps-info.json
[2021-04-13T09:35:29.941Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1014/runs/4/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 4
Passed 115
Skipped 0
Total 119

Genuine test errors 4

💔 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_backend_processes / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / [empty] – TEST-fleet.xml

@mdelapenya mdelapenya merged commit 14de8ee into 7.11.x Apr 13, 2021
@mergify mergify bot deleted the mergify/bp/7.11.x/pr-905 branch April 13, 2021 10:59
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