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

fix: run unit tests after refactor (backport #1067)#1068

Closed
mergify[bot] wants to merge 2 commits into7.xfrom
mergify/bp/7.x/pr-1067
Closed

fix: run unit tests after refactor (backport #1067)#1068
mergify[bot] wants to merge 2 commits into7.xfrom
mergify/bp/7.x/pr-1067

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 21, 2021

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

Cherry-pick of 249fd97 has failed:

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

You are currently cherry-picking commit 249fd97a.
  (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:
	modified:   .ci/scripts/build-test.sh
	deleted:    cli/internal/git.go
	deleted:    cli/internal/git_test.go
	deleted:    cli/internal/io.go
	deleted:    cli/internal/io_test.go
	deleted:    cli/internal/state.go
	deleted:    cli/internal/state_test.go
	modified:   commons.mk
	modified:   e2e/_suites/fleet/services_test.go
	deleted:    e2e/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-amd64.deb
	deleted:    e2e/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
	deleted:    e2e/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.tar.gz
	deleted:    e2e/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm
	deleted:    e2e/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-ubi8-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
	deleted:    e2e/_testresources/gcp/commits.json
	deleted:    e2e/_testresources/gcp/nextPageParam.json
	deleted:    e2e/_testresources/gcp/snapshots.json
	modified:   e2e/utils_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   Makefile
	added by them:   cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-amd64.deb
	added by them:   cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
	added by them:   cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.tar.gz
	added by them:   cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm
	added by them:   cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-ubi8-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
	added by them:   cli/_testresources/gcp/commits.json
	added by them:   cli/_testresources/gcp/nextPageParam.json
	added by them:   cli/_testresources/gcp/snapshots.json
	both modified:   e2e/Makefile

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/

@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Apr 21, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 21, 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 #1068 updated

  • Start Time: 2021-04-22T07:52:03.127+0000

  • Duration: 17 min 42 sec

  • Commit: ad12d93

Test stats 🧪

Test Results
Failed 5
Passed 115
Skipped 0
Total 120

Trends 🧪

Image of Build Times

Image of Tests

Test errors 5

Expand to view the tests failures

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

     Test report file /var/lib/jenkins/workspace/PR-1068-9-15ef3185-c768-49e7-92ca-6ae6ce568a6e/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

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-1068-9-e610718b-f67d-4ef5-a5ab-3c29cc787562/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-1068-9-bca5d61f-4e89-43d1-82bd-1f60252ce1fb/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-1068-9-12f4ccdd-8618-4b4e-8eac-4de0821fc875/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-1068-9-80f7961a-ae1c-41f2-8aee-a9300cf778ae/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Steps errors 5

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 1 min 9 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:fleet_server && ~@nightly && ~debian
  • Took 1 min 14 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_server && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian
  • Took 1 min 11 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "agent_endpoint_integration && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:stand_alone_agent && ~@nightly && ~ubi8
  • Took 1 min 11 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly && ~ubi8" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:backend_processes && ~@nightly && ~debian
  • Took 1 min 6 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "backend_processes && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-22T08:07:44.372Z] + go clean -modcache
[2021-04-22T08:07:44.856Z] time="2021-04-22T08:07:44Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=7.588399663s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk index_uuid:_na_ reason:no such index [metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk] resource.id:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk resource.type:index_or_alias root_cause:[map[index:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk index_uuid:_na_ reason:no such index [metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk] resource.id:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=5
[2021-04-22T08:07:45.138Z] time="2021-04-22T08:07:44Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-22T08:07:45.138Z] time="2021-04-22T08:07:44Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=47.953554882s retries=14
[2021-04-22T08:07:45.138Z] time="2021-04-22T08:07:44Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-22T08:07:45.138Z] time="2021-04-22T08:07:44Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=7.685362ms retries=1
[2021-04-22T08:07:45.398Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-22T08:07:45.968Z] {"level":"debug","time":"2021-04-22T08:07:45Z","message":"sent request with 0 transactions, 6 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:07:45.968Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-22T08:07:45.968Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-22T08:07:45.968Z] time="2021-04-22T08:07:45Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.x-redis-5.0.5-ebigdiwy logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:07:45.968Z] time="2021-04-22T08:07:45Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-22T08:07:46.909Z] Stopping metricbeat_redis_1 ... 
[2021-04-22T08:07:47.169Z] 
Stopping metricbeat_redis_1 ... done
Removing metricbeat_redis_1 ... 
[2021-04-22T08:07:47.169Z] 
Removing metricbeat_redis_1 ... done
Going to remove metricbeat_redis_1
[2021-04-22T08:07:47.390Z] {"level":"debug","time":"2021-04-22T08:07:46Z","message":"sent request with 0 transactions, 7 spans, 0 errors, 1 metricset"}
[2021-04-22T08:07:47.390Z] time="2021-04-22T08:07:47Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=10.387591731s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk index_uuid:_na_ reason:no such index [metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk] resource.id:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk resource.type:index_or_alias root_cause:[map[index:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk index_uuid:_na_ reason:no such index [metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk] resource.id:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=6
[2021-04-22T08:07:47.428Z] time="2021-04-22T08:07:47Z" level=debug msg="Docker compose executed." cmd="[rm -fvs redis]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.x-redis-5.0.5-ebigdiwy logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:07:47.428Z] time="2021-04-22T08:07:47Z" level=debug msg="Service removed from compose" profile=metricbeat service=redis
[2021-04-22T08:07:47.428Z] time="2021-04-22T08:07:47Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.x-redis-5.0.5-ebigdiwy status="400 Bad Request"
[2021-04-22T08:07:47.428Z] time="2021-04-22T08:07:47Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.x-redis-5.0.5-ebigdiwy status="400 Bad Request"
[2021-04-22T08:07:47.428Z] {"level":"debug","time":"2021-04-22T08:07:47Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:07:47.996Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-22T08:07:48.936Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-22T08:07:48.936Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-22T08:07:49.505Z] time="2021-04-22T08:07:49Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.x-redis-5.0.5-ebigdiwy logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:07:49.505Z] {"level":"debug","time":"2021-04-22T08:07:49Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:07:49.788Z] [INFO] Stopping Filebeat Docker container
[2021-04-22T08:07:50.080Z] + docker exec -t cac72c8bdd7fa9b9724e12abd22ef9c7a7fc596c513aa9430ef4548834f9ffbe chmod -R ugo+rw /output
[2021-04-22T08:07:50.648Z] + docker stop --time 30 cac72c8bdd7fa9b9724e12abd22ef9c7a7fc596c513aa9430ef4548834f9ffbe
[2021-04-22T08:07:50.907Z] cac72c8bdd7fa9b9724e12abd22ef9c7a7fc596c513aa9430ef4548834f9ffbe
[2021-04-22T08:07:50.927Z] Archiving artifacts
[2021-04-22T08:07:51.761Z] Recording test results
[2021-04-22T08:07:52.075Z] [Checks API] No suitable checks publisher found.
[2021-04-22T08:07:52.096Z] Archiving artifacts
[2021-04-22T08:07:52.137Z] Running in /var/lib/jenkins/workspace/PR-1068-9-5cf8e329-e3fe-4f10-976f-dcd9b3b11d19/src/github.com/elastic/e2e-testing
[2021-04-22T08:07:52.436Z] + go clean -modcache
[2021-04-22T08:07:53.968Z] time="2021-04-22T08:07:53Z" level=debug msg="Response information" hits=0 status="200 OK" took=1
[2021-04-22T08:07:53.968Z] time="2021-04-22T08:07:53Z" level=warning msg="Waiting for more hits in the index" currentHits=0 desiredHits=5 elapsedTime=16.353162958s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=7
[2021-04-22T08:07:58.160Z] time="2021-04-22T08:07:57Z" level=debug msg="Response information" hits=1 status="200 OK" took=2
[2021-04-22T08:07:58.161Z] time="2021-04-22T08:07:57Z" level=warning msg="Waiting for more hits in the index" currentHits=1 desiredHits=5 elapsedTime=20.367313768s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=8
[2021-04-22T08:07:58.161Z] {"level":"debug","time":"2021-04-22T08:07:57Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:08:00.695Z] time="2021-04-22T08:08:00Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-22T08:08:00.695Z] time="2021-04-22T08:08:00Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=23.739971858s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=9
[2021-04-22T08:08:05.988Z] time="2021-04-22T08:08:05Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-22T08:08:05.988Z] time="2021-04-22T08:08:05Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=28.952944134s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=10
[2021-04-22T08:08:11.263Z] {"level":"debug","time":"2021-04-22T08:08:10Z","message":"sent request with 0 transactions, 2 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:08:11.263Z] time="2021-04-22T08:08:11Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2021-04-22T08:08:11.263Z] time="2021-04-22T08:08:11Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=34.180710073s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=11
[2021-04-22T08:08:13.183Z] {"level":"debug","time":"2021-04-22T08:08:12Z","message":"gathering metrics"}
[2021-04-22T08:08:15.089Z] time="2021-04-22T08:08:14Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2021-04-22T08:08:15.089Z] time="2021-04-22T08:08:14Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=38.07987092s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=12
[2021-04-22T08:08:20.494Z] time="2021-04-22T08:08:19Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-22T08:08:20.494Z] time="2021-04-22T08:08:19Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=42.703078064s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=13
[2021-04-22T08:08:21.431Z] {"level":"debug","time":"2021-04-22T08:08:21Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 1 metricset"}
[2021-04-22T08:08:25.624Z] time="2021-04-22T08:08:24Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-22T08:08:25.624Z] time="2021-04-22T08:08:24Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=47.862905823s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=14
[2021-04-22T08:08:28.912Z] time="2021-04-22T08:08:28Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-22T08:08:28.912Z] time="2021-04-22T08:08:28Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=51.638611224s index=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk retry=15
[2021-04-22T08:08:33.104Z] time="2021-04-22T08:08:32Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-22T08:08:33.104Z] time="2021-04-22T08:08:32Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=55.557120338s retries=16
[2021-04-22T08:08:33.104Z] time="2021-04-22T08:08:32Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-22T08:08:33.104Z] time="2021-04-22T08:08:32Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=6.750711ms retries=1
[2021-04-22T08:08:33.364Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-22T08:08:33.624Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-22T08:08:33.624Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-22T08:08:33.624Z] time="2021-04-22T08:08:33Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:08:33.624Z] time="2021-04-22T08:08:33Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-22T08:08:34.562Z] Stopping metricbeat_mysql_1 ... 
[2021-04-22T08:08:35.129Z] {"level":"debug","time":"2021-04-22T08:08:34Z","message":"sent request with 0 transactions, 6 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:08:37.035Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2021-04-22T08:08:37.035Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2021-04-22T08:08:37.035Z] time="2021-04-22T08:08:36Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:08:37.035Z] time="2021-04-22T08:08:36Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2021-04-22T08:08:37.036Z] time="2021-04-22T08:08:36Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk status="400 Bad Request"
[2021-04-22T08:08:37.036Z] time="2021-04-22T08:08:36Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk status="400 Bad Request"
[2021-04-22T08:08:37.036Z] {"level":"debug","time":"2021-04-22T08:08:36Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:08:37.604Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-22T08:08:38.542Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-22T08:08:38.542Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-22T08:08:38.800Z] time="2021-04-22T08:08:38Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.x-mysql-mysql-5.7.12-l61qnowk logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-22T08:08:38.801Z] {"level":"debug","time":"2021-04-22T08:08:38Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-22T08:08:39.173Z] [INFO] Stopping Filebeat Docker container
[2021-04-22T08:08:39.459Z] + docker exec -t 9bc3f71b61c875d947fbf81f291ea70861c1e23bdbcbb186cad3125093969184 chmod -R ugo+rw /output
[2021-04-22T08:08:40.028Z] + docker stop --time 30 9bc3f71b61c875d947fbf81f291ea70861c1e23bdbcbb186cad3125093969184
[2021-04-22T08:08:40.288Z] 9bc3f71b61c875d947fbf81f291ea70861c1e23bdbcbb186cad3125093969184
[2021-04-22T08:08:40.307Z] Archiving artifacts
[2021-04-22T08:08:41.130Z] Recording test results
[2021-04-22T08:08:41.424Z] [Checks API] No suitable checks publisher found.
[2021-04-22T08:08:41.445Z] Archiving artifacts
[2021-04-22T08:08:41.490Z] Running in /var/lib/jenkins/workspace/PR-1068-9-12467e0a-197b-41f7-a4f4-6cc6d82d1fae/src/github.com/elastic/e2e-testing
[2021-04-22T08:08:41.788Z] + go clean -modcache
[2021-04-22T08:08:43.611Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-22T08:08:44.195Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1068
[2021-04-22T08:08:44.243Z] [INFO] getVaultSecret: Getting secrets
[2021-04-22T08:08:44.317Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-22T08:08:45.053Z] + chmod 755 generate-build-data.sh
[2021-04-22T08:08:45.053Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1068/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1068/runs/9 FAILURE 1001659
[2021-04-22T08:08:45.603Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1068/runs/9/steps/?limit=10000 -o steps-info.json
[2021-04-22T08:08:46.514Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1068/runs/9/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 5
Passed 115
Skipped 0
Total 120

Genuine test errors 5

💔 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_server / [empty] – TEST-fleet.xml
  • 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_stand_alone_agent / [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_fleet_mode_agent / [empty] – TEST-fleet.xml

@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Apr 21, 2021

This pull request is now in conflict. Could you fix it @mergify[bot]? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-1067 upstream/mergify/bp/7.x/pr-1067
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-1067

@adam-stokes
Copy link
Copy Markdown
Contributor

@Mergifyio rebase

@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Apr 21, 2021

Command rebase: success

Branch has been successfully rebased

@andrewstucki andrewstucki force-pushed the mergify/bp/7.x/pr-1067 branch from 9914cec to 8b40c0f Compare April 21, 2021 17:46
@adam-stokes adam-stokes force-pushed the mergify/bp/7.x/pr-1067 branch 3 times, most recently from 19f19cb to 9d078cd Compare April 21, 2021 18:31
@adam-stokes
Copy link
Copy Markdown
Contributor

@Mergifyio rebase

@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Apr 21, 2021

Command rebase: success

Branch has been successfully rebased

@andrewstucki andrewstucki force-pushed the mergify/bp/7.x/pr-1067 branch from 9d078cd to 4174fb2 Compare April 21, 2021 18:55
@mdelapenya
Copy link
Copy Markdown
Contributor

@Mergifyio rebase

mdelapenya and others added 2 commits April 22, 2021 07:51
* chore: remove unused files after refactor

* chore: run unit tests with new layout

* fix: run unit tests on CI

* chore: include unit tests for the e2e dir

* fix: move unit tests resources for installer tests

* fix: move more test resources for unit tests

* fix: abstract path calculation from OS

(cherry picked from commit 249fd97)

# Conflicts:
#	Makefile
#	cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-amd64.deb
#	cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
#	cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-amd64.tar.gz
#	cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm
#	cli/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-ubi8-8.0.0-SNAPSHOT-linux-amd64.docker.tar.gz
#	cli/_testresources/gcp/commits.json
#	cli/_testresources/gcp/nextPageParam.json
#	cli/_testresources/gcp/snapshots.json
#	e2e/Makefile
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Apr 22, 2021

Command rebase: success

Branch has been successfully rebased

@andrewstucki andrewstucki force-pushed the mergify/bp/7.x/pr-1067 branch from 4174fb2 to ad12d93 Compare April 22, 2021 07:51
@mdelapenya mdelapenya mentioned this pull request Apr 22, 2021
9 tasks
@mdelapenya
Copy link
Copy Markdown
Contributor

Superseded by #1077

@mdelapenya mdelapenya closed this Apr 22, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-1067 branch April 22, 2021 11:12
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.

3 participants