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

Uniquify the stand-alone step for checking agent status (bp #993)#997

Merged
mdelapenya merged 1 commit into7.11.xfrom
mergify/bp/7.11.x/pr-993
Apr 7, 2021
Merged

Uniquify the stand-alone step for checking agent status (bp #993)#997
mdelapenya merged 1 commit into7.11.xfrom
mergify/bp/7.11.x/pr-993

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 6, 2021

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


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/

There were 2 steps identical in both the stand-alone and fleet test suites.
Running the stand-alone test suite was picking up the step from the fleet test
suite and trying to reference the FleetTestSuite structure which did not hold
any of the agent information (like the hostname) for the stand alone tests.

This fixes it so that the standalone test step is being referenced in the
correct test suite.

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
(cherry picked from commit d9e3b51)
@elasticmachine
Copy link
Copy Markdown
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 #997 opened

  • Start Time: 2021-04-06T15:56:40.331+0000

  • Duration: 21 min 30 sec

  • Commit: 1cd62fa

Test stats 🧪

Test Results
Failed 4
Passed 112
Skipped 0
Total 116

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_fleet_mode_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-997-1-ca65c441-1d67-4ee5-8db3-57796aa0c379/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-997-1-02ecad79-701a-4214-b1a1-2925cf9d5fa9/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-997-1-a3b5120d-a874-4cfa-beef-3e857eb38108/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-997-1-dded391f-4346-4d2d-888b-fa5395518bd3/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 25 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 27 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 25 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 25 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-06T16:15:44.129Z] time="2021-04-06T16:15:43Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=30.24224595s index=metricbeat-7.11-redis-5.0.5-p6rqvpmg retry=10
[2021-04-06T16:15:47.583Z] time="2021-04-06T16:15:46Z" level=debug msg="Response information" hits=3 status="200 OK" took=3
[2021-04-06T16:15:47.583Z] time="2021-04-06T16:15:46Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=33.618691212s index=metricbeat-7.11-redis-5.0.5-p6rqvpmg retry=11
[2021-04-06T16:15:49.643Z] {"level":"debug","time":"2021-04-06T16:15:49Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:15:52.269Z] time="2021-04-06T16:15:52Z" level=debug msg="Response information" hits=4 status="200 OK" took=3
[2021-04-06T16:15:52.269Z] time="2021-04-06T16:15:52Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=38.835186208s index=metricbeat-7.11-redis-5.0.5-p6rqvpmg retry=12
[2021-04-06T16:15:56.245Z] {"level":"debug","time":"2021-04-06T16:15:54Z","message":"sent request with 0 transactions, 2 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:15:56.245Z] {"level":"debug","time":"2021-04-06T16:15:55Z","message":"gathering metrics"}
[2021-04-06T16:15:57.563Z] time="2021-04-06T16:15:57Z" level=debug msg="Response information" hits=4 status="200 OK" took=3
[2021-04-06T16:15:57.563Z] time="2021-04-06T16:15:57Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=44.065283518s index=metricbeat-7.11-redis-5.0.5-p6rqvpmg retry=13
[2021-04-06T16:16:01.771Z] time="2021-04-06T16:16:01Z" level=debug msg="Response information" hits=5 status="200 OK" took=4
[2021-04-06T16:16:01.771Z] time="2021-04-06T16:16:01Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=47.968609453s retries=14
[2021-04-06T16:16:01.771Z] time="2021-04-06T16:16:01Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-06T16:16:01.771Z] time="2021-04-06T16:16:01Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=8.473464ms retries=1
[2021-04-06T16:16:02.032Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-06T16:16:02.292Z] {"level":"debug","time":"2021-04-06T16:16:02Z","message":"sent request with 0 transactions, 6 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:16:02.292Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-06T16:16:02.293Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-06T16:16:02.552Z] time="2021-04-06T16:16:02Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.11-redis-5.0.5-p6rqvpmg logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:02.553Z] time="2021-04-06T16:16:02Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-06T16:16:03.124Z] Stopping metricbeat_redis_1 ... 
[2021-04-06T16:16:03.694Z] {"level":"debug","time":"2021-04-06T16:16:03Z","message":"gathering metrics"}
[2021-04-06T16:16:03.694Z] 
Stopping metricbeat_redis_1 ... done
Removing metricbeat_redis_1 ... 
[2021-04-06T16:16:03.694Z] 
Removing metricbeat_redis_1 ... done
Going to remove metricbeat_redis_1
[2021-04-06T16:16:03.694Z] time="2021-04-06T16:16:03Z" level=debug msg="Docker compose executed." cmd="[rm -fvs redis]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.11-redis-5.0.5-p6rqvpmg logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:03.695Z] time="2021-04-06T16:16:03Z" level=debug msg="Service removed from compose" profile=metricbeat service=redis
[2021-04-06T16:16:03.695Z] time="2021-04-06T16:16:03Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.11-redis-5.0.5-p6rqvpmg status="400 Bad Request"
[2021-04-06T16:16:03.695Z] time="2021-04-06T16:16:03Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.11-redis-5.0.5-p6rqvpmg status="400 Bad Request"
[2021-04-06T16:16:03.955Z] {"level":"debug","time":"2021-04-06T16:16:03Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 1 metricset"}
[2021-04-06T16:16:04.526Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-06T16:16:05.911Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-06T16:16:05.911Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-06T16:16:06.376Z] {"level":"debug","time":"2021-04-06T16:16:05Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 6 metricsets"}
[2021-04-06T16:16:06.481Z] time="2021-04-06T16:16:06Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false REDIS_PATH:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis REDIS_VERSION:5.0.5 indexName:metricbeat-7.11-redis-5.0.5-p6rqvpmg logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/.op/compose/services/redis/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT redisTag:5.0.5 serviceName:redis stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:06.481Z] {"level":"debug","time":"2021-04-06T16:16:06Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:16:06.838Z] [INFO] Stopping Filebeat Docker container
[2021-04-06T16:16:07.150Z] + docker exec -t 4a7355d37cf087970d8acf3253854078ef18d4a999446df46e25b27ea9571858 chmod -R ugo+rw /output
[2021-04-06T16:16:07.721Z] + docker stop --time 30 4a7355d37cf087970d8acf3253854078ef18d4a999446df46e25b27ea9571858
[2021-04-06T16:16:07.981Z] 4a7355d37cf087970d8acf3253854078ef18d4a999446df46e25b27ea9571858
[2021-04-06T16:16:08.020Z] Archiving artifacts
[2021-04-06T16:16:09.063Z] Recording test results
[2021-04-06T16:16:09.425Z] [Checks API] No suitable checks publisher found.
[2021-04-06T16:16:09.466Z] Archiving artifacts
[2021-04-06T16:16:09.571Z] Running in /var/lib/jenkins/workspace/PR-997-1-592a3344-169c-4167-a536-c03db74e120f/src/github.com/elastic/e2e-testing
[2021-04-06T16:16:09.916Z] + go clean -modcache
[2021-04-06T16:16:28.415Z] {"level":"debug","time":"2021-04-06T16:16:25Z","message":"gathering metrics"}
[2021-04-06T16:16:34.998Z] Found orphan containers (metricbeat_haproxy_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-06T16:16:34.998Z] metricbeat_elasticsearch_1 is up-to-date
[2021-04-06T16:16:34.998Z] Creating metricbeat_metricbeat_1 ... 
[2021-04-06T16:16:35.831Z] 
Creating metricbeat_metricbeat_1 ... done
{"level":"debug","time":"2021-04-06T16:16:35Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-06T16:16:35.831Z] time="2021-04-06T16:16:35Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false HAPROXY_PATH:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy HAPROXY_VERSION:1.6.15 haproxyTag:1.6.15 indexName:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT serviceName:haproxy stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:35.832Z] time="2021-04-06T16:16:35Z" level=info msg="Metricbeat is running configured for the service" metricbeatVersion=7.11-SNAPSHOT service=haproxy serviceVersion=1.6.15
[2021-04-06T16:16:35.832Z] time="2021-04-06T16:16:35Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=23.58477ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 retry=1
[2021-04-06T16:16:36.092Z] time="2021-04-06T16:16:36Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=381.39546ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 retry=2
[2021-04-06T16:16:37.478Z] time="2021-04-06T16:16:37Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=1.751098472s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 retry=3
[2021-04-06T16:16:40.027Z] time="2021-04-06T16:16:39Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=4.148427085s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias root_cause:[map[index:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 index_uuid:_na_ reason:no such index [metricbeat-7.11-haproxy-1.6.15-dvca3jg4] resource.id:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 retry=4
[2021-04-06T16:16:44.233Z] time="2021-04-06T16:16:43Z" level=debug msg="Response information" hits=0 status="200 OK" took=2
[2021-04-06T16:16:44.233Z] time="2021-04-06T16:16:43Z" level=warning msg="Waiting for more hits in the index" currentHits=0 desiredHits=5 elapsedTime=8.249922942s index=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 retry=5
[2021-04-06T16:16:46.146Z] {"level":"debug","time":"2021-04-06T16:16:45Z","message":"sent request with 0 transactions, 7 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:16:46.718Z] time="2021-04-06T16:16:46Z" level=debug msg="Response information" hits=10 status="200 OK" took=3
[2021-04-06T16:16:46.718Z] time="2021-04-06T16:16:46Z" level=info msg="Hits number satisfied" currentHits=10 desiredHits=5 elapsedTime=10.901404014s retries=6
[2021-04-06T16:16:46.718Z] time="2021-04-06T16:16:46Z" level=debug msg="Response information" hits=10 status="200 OK" took=3
[2021-04-06T16:16:46.719Z] time="2021-04-06T16:16:46Z" level=info msg="Hits number satisfied" currentHits=10 desiredHits=5 elapsedTime=8.712249ms retries=1
[2021-04-06T16:16:47.292Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-06T16:16:47.864Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-06T16:16:47.864Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-06T16:16:47.864Z] time="2021-04-06T16:16:47Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false HAPROXY_PATH:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy HAPROXY_VERSION:1.6.15 haproxyTag:1.6.15 indexName:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT serviceName:haproxy stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:47.864Z] time="2021-04-06T16:16:47Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-06T16:16:48.808Z] Stopping metricbeat_haproxy_1 ... 
[2021-04-06T16:16:56.948Z] {"level":"debug","time":"2021-04-06T16:16:55Z","message":"gathering metrics"}
[2021-04-06T16:16:56.948Z] {"level":"debug","time":"2021-04-06T16:16:56Z","message":"sent request with 0 transactions, 4 spans, 0 errors, 1 metricset"}
[2021-04-06T16:16:59.492Z] 
Stopping metricbeat_haproxy_1 ... done
Removing metricbeat_haproxy_1 ... 
[2021-04-06T16:16:59.492Z] 
Removing metricbeat_haproxy_1 ... done
Going to remove metricbeat_haproxy_1
[2021-04-06T16:16:59.753Z] time="2021-04-06T16:16:59Z" level=debug msg="Docker compose executed." cmd="[rm -fvs haproxy]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false HAPROXY_PATH:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy HAPROXY_VERSION:1.6.15 haproxyTag:1.6.15 indexName:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT serviceName:haproxy stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:16:59.753Z] time="2021-04-06T16:16:59Z" level=debug msg="Service removed from compose" profile=metricbeat service=haproxy
[2021-04-06T16:16:59.753Z] time="2021-04-06T16:16:59Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 status="400 Bad Request"
[2021-04-06T16:16:59.753Z] time="2021-04-06T16:16:59Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.11-haproxy-1.6.15-dvca3jg4 status="400 Bad Request"
[2021-04-06T16:16:59.754Z] {"level":"debug","time":"2021-04-06T16:16:59Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:17:00.325Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-06T16:17:01.711Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-06T16:17:01.711Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-06T16:17:02.282Z] time="2021-04-06T16:17:01Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false HAPROXY_PATH:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy HAPROXY_VERSION:1.6.15 haproxyTag:1.6.15 indexName:metricbeat-7.11-haproxy-1.6.15-dvca3jg4 logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/.op/compose/services/haproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.11-SNAPSHOT serviceName:haproxy stackVersion:7.11.3-SNAPSHOT]" profile=metricbeat
[2021-04-06T16:17:02.282Z] {"level":"debug","time":"2021-04-06T16:17:02Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-06T16:17:02.581Z] [INFO] Stopping Filebeat Docker container
[2021-04-06T16:17:02.887Z] + docker exec -t bd10dd88597e433c92db2907e4bd18c3cda2966d7452ab0ba7ce94eba68d631f chmod -R ugo+rw /output
[2021-04-06T16:17:03.458Z] + docker stop --time 30 bd10dd88597e433c92db2907e4bd18c3cda2966d7452ab0ba7ce94eba68d631f
[2021-04-06T16:17:03.721Z] bd10dd88597e433c92db2907e4bd18c3cda2966d7452ab0ba7ce94eba68d631f
[2021-04-06T16:17:03.766Z] Archiving artifacts
[2021-04-06T16:17:04.804Z] Recording test results
[2021-04-06T16:17:05.249Z] [Checks API] No suitable checks publisher found.
[2021-04-06T16:17:05.283Z] Archiving artifacts
[2021-04-06T16:17:05.384Z] Running in /var/lib/jenkins/workspace/PR-997-1-77cd86b6-be9f-4b86-ad64-436022ffba01/src/github.com/elastic/e2e-testing
[2021-04-06T16:17:05.732Z] + go clean -modcache
[2021-04-06T16:17:08.525Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-06T16:17:09.570Z] Running on Jenkins in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-997
[2021-04-06T16:17:09.841Z] [INFO] getVaultSecret: Getting secrets
[2021-04-06T16:17:09.968Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-06T16:17:11.023Z] + chmod 755 generate-build-data.sh
[2021-04-06T16:17:11.023Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-997/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-997/runs/1 FAILURE 1230413
[2021-04-06T16:17:11.273Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-997/runs/1/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 4
Passed 112
Skipped 0
Total 116

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

@mdelapenya
Copy link
Copy Markdown
Contributor

The errors in the 7.11.x branch are related to the 7.11.2 artifact not being discoverable in the artifacts API. Will take a loo separately

@mdelapenya mdelapenya merged commit 435c45b into 7.11.x Apr 7, 2021
@mergify mergify bot deleted the mergify/bp/7.11.x/pr-993 branch April 7, 2021 05:43
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 8, 2021
mdelapenya added a commit that referenced this pull request Apr 8, 2021
* Revert "Uniquify the stand-alone step for checking agent status (#993) (#997)"

This reverts commit 435c45b.

* Revert "Add a standalone test scenario for fleet server mode (#978) (#988)"

This reverts commit 601064a.
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