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

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jun 29, 2021

This is an automatic backport of pull request #1304 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/

@elasticmachine
Copy link
Contributor

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #1306 opened

  • Start Time: 2021-06-29T09:58:06.016+0000

  • Duration: 38 min 5 sec

  • Commit: f701ab5

Test stats 🧪

Test Results
Failed 4
Passed 214
Skipped 0
Total 218

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_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration
    Expand to view the error details

     Step the policy will reflect the change in the Security App: Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias root_cause:[map[index:logs-elastic_agent-default index_uuid:_na_ reason:no such index [logs-elastic_agent-default] resource.id:logs-elastic_agent-default resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404] 
    

  • no stacktrace
Initializing / End-To-End Tests / arm64_fleet_backend_processes / Deploying the centos agent – Backend Processes
    Expand to view the error details

     Step there are "2" instances of the "metricbeat" process in the "started" state 
    

  • no stacktrace
Initializing / End-To-End Tests / arm64_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
    Expand to view the error details

     Step an attempt to enroll a new agent fails: The agent was enrolled although the token was previously revoked 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
    Expand to view the error details

     Step an attempt to enroll a new agent fails: The agent was enrolled although the token was previously revoked 
    

  • no stacktrace

Steps errors 4

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian && ~@skip:arm64
  • Took 11 min 42 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian && ~@skip:arm64" "7.14.0-SNAPSHOT" "7.14.0-SNAPSHOT"
Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian && ~@skip:amd64
  • Took 18 min 32 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian && ~@skip:amd64" "7.14.0-SNAPSHOT" "7.14.0-SNAPSHOT"
Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian && ~@skip:amd64
  • Took 24 min 36 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "agent_endpoint_integration && ~@nightly && ~debian && ~@skip:amd64" "7.14.0-SNAPSHOT" "7.14.0-SNAPSHOT"
Run functional tests for fleet:backend_processes && ~@nightly && ~debian && ~@skip:arm64
  • Took 20 min 45 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "backend_processes && ~@nightly && ~debian && ~@skip:arm64" "7.14.0-SNAPSHOT" "7.14.0-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-06-29T10:32:13.511Z] {"level":"debug","time":"2021-06-29T10:32:12Z","message":"sent request with 1 transaction, 4 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:32:13.512Z] ../../commons-test.mk:57: recipe for target 'functional-test' failed
[2021-06-29T10:32:13.512Z] make: *** [functional-test] Error 1
[2021-06-29T10:32:14.310Z] [INFO] Stopping Filebeat Docker container
[2021-06-29T10:32:15.249Z] + docker exec -t 14053f738bb43d94b32a3e2b62c7ea33ff0b8a1bcea64a1009fec573576dc387 chmod -R ugo+rw /output
[2021-06-29T10:32:15.249Z] + docker stop --time 30 14053f738bb43d94b32a3e2b62c7ea33ff0b8a1bcea64a1009fec573576dc387
[2021-06-29T10:32:15.762Z] 14053f738bb43d94b32a3e2b62c7ea33ff0b8a1bcea64a1009fec573576dc387
[2021-06-29T10:32:16.051Z] Archiving artifacts
[2021-06-29T10:32:19.256Z] Recording test results
[2021-06-29T10:32:23.151Z] [Checks API] No suitable checks publisher found.
[2021-06-29T10:32:23.247Z] Archiving artifacts
[2021-06-29T10:32:23.448Z] Running in /var/lib/jenkins/workspace/PR-1306-1-cb94d30c-9869-4d2d-abd1-5c523adc17b3/src/github.com/elastic/e2e-testing
[2021-06-29T10:32:24.304Z] {"level":"debug","time":"2021-06-29T10:32:22Z","message":"gathering metrics"}
[2021-06-29T10:32:24.350Z] + go clean -modcache
[2021-06-29T10:32:24.855Z] Failed in branch arm64_fleet_backend_processes
[2021-06-29T10:32:26.134Z] Terminated
[2021-06-29T10:32:32.415Z] {"level":"debug","time":"2021-06-29T10:32:32Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-06-29T10:32:54.335Z] {"level":"debug","time":"2021-06-29T10:32:52Z","message":"gathering metrics"}
[2021-06-29T10:33:02.443Z] {"level":"debug","time":"2021-06-29T10:33:02Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-06-29T10:33:24.386Z] {"level":"debug","time":"2021-06-29T10:33:22Z","message":"gathering metrics"}
[2021-06-29T10:33:32.500Z] {"level":"debug","time":"2021-06-29T10:33:32Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-06-29T10:33:33.434Z] time="2021-06-29T10:33:33Z" level=debug msg="Un-enrolling agent in Fleet" hostname=8276c344ca44
[2021-06-29T10:33:39.991Z] {"level":"debug","time":"2021-06-29T10:33:38Z","message":"sent request with 1 transaction, 21 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:33:41.891Z] The centos_systemdContainerName variable is not set. Defaulting to a blank string.
[2021-06-29T10:33:41.892Z] fleet_elasticsearch_1 is up-to-date
[2021-06-29T10:33:41.892Z] Creating fleet_elastic-agent_1 ... 
[2021-06-29T10:33:41.892Z] fleet_kibana_1 is up-to-date
[2021-06-29T10:33:41.892Z] fleet_fleet-server_1 is up-to-date
[2021-06-29T10:33:42.458Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-06-29T10:33:42Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/.op/compose/services/elastic-agent/centos/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/amd64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-06-29T10:33:42.458Z] time="2021-06-29T10:33:42Z" level=debug msg="Golang's architecture is amd64 (amd64)"
[2021-06-29T10:33:42.458Z] time="2021-06-29T10:33:42Z" level=debug msg="The Elastic artifacts API is available" elapsedTime=59.715859ms retries=1 statusEndpoint="https://artifacts-api.elastic.co/v1/search/7.14.0-SNAPSHOT/elastic-agent?x-elastic-no-kpi=true"
[2021-06-29T10:33:42.458Z] time="2021-06-29T10:33:42Z" level=debug msg="Retrieving binary from local cache" URL="https://snapshots.elastic.co/7.14.0-c5e16e4e/downloads/beats/elastic-agent/elastic-agent-7.14.0-SNAPSHOT-linux-x86_64.tar.gz" path=/tmp/6aa1d44c-a686-42ce-8fc7-3214de683694/elastic-agent-7.14.0-SNAPSHOT-linux-x86_64.tar.gz
[2021-06-29T10:33:43.832Z] time="2021-06-29T10:33:43Z" level=debug msg="Fleet Server config created" elasticsearch=elasticsearch elasticsearchPort=9200 token="NF9WVVYzb0JzUGs3MWdFUjR4dlU6WndEcUVPYU9URW1aV2k1ZExyd0VYUQ=="
[2021-06-29T10:33:49.105Z] time="2021-06-29T10:33:48Z" level=debug msg="Un-enrolling agent in Fleet" hostname=c2e7ecbcd59e
[2021-06-29T10:33:50.490Z] time="2021-06-29T10:33:50Z" level=info msg="The Agent is not present in Fleet, as expected" elapsedTime=63.504914ms hostname=c2e7ecbcd59e retries=1 status=inactive
[2021-06-29T10:33:50.490Z] time="2021-06-29T10:33:50Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=42.331331ms hostname=c2e7ecbcd59e retries=1
[2021-06-29T10:33:51.067Z] {"level":"debug","time":"2021-06-29T10:33:50Z","message":"sent request with 0 transactions, 43 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:33:52.486Z] {"level":"debug","time":"2021-06-29T10:33:52Z","message":"gathering metrics"}
[2021-06-29T10:33:56.836Z] {"level":"debug","time":"2021-06-29T10:33:56Z","message":"sent request with 1 transaction, 16 spans, 0 errors, 21 metricsets"}
[2021-06-29T10:33:58.812Z] The centos_systemdContainerName variable is not set. Defaulting to a blank string.
[2021-06-29T10:33:58.812Z] fleet_elasticsearch_1 is up-to-date
[2021-06-29T10:33:58.812Z] Creating fleet_elastic-agent_1 ... 
[2021-06-29T10:33:58.812Z] fleet_kibana_1 is up-to-date
[2021-06-29T10:33:58.812Z] fleet_fleet-server_1 is up-to-date
[2021-06-29T10:33:59.381Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-06-29T10:33:59Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/.op/compose/services/elastic-agent/centos/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/amd64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-06-29T10:33:59.382Z] time="2021-06-29T10:33:59Z" level=debug msg="Golang's architecture is amd64 (amd64)"
[2021-06-29T10:33:59.382Z] time="2021-06-29T10:33:59Z" level=debug msg="The Elastic artifacts API is available" elapsedTime=6.285061ms retries=1 statusEndpoint="https://artifacts-api.elastic.co/v1/search/7.14.0-SNAPSHOT/elastic-agent?x-elastic-no-kpi=true"
[2021-06-29T10:33:59.382Z] time="2021-06-29T10:33:59Z" level=debug msg="Retrieving binary from local cache" URL="https://snapshots.elastic.co/7.14.0-c5e16e4e/downloads/beats/elastic-agent/elastic-agent-7.14.0-SNAPSHOT-linux-x86_64.tar.gz" path=/tmp/6aa1d44c-a686-42ce-8fc7-3214de683694/elastic-agent-7.14.0-SNAPSHOT-linux-x86_64.tar.gz
[2021-06-29T10:34:00.757Z] time="2021-06-29T10:34:00Z" level=debug msg="Fleet Server config created" elasticsearch=elasticsearch elasticsearchPort=9200 token="X19WVlYzb0JzUGs3MWdFUkpodHc6SXVlS08tSkJSbmFISjNRNlVUV09OQQ=="
[2021-06-29T10:34:08.880Z] {"level":"debug","time":"2021-06-29T10:34:07Z","message":"sent request with 0 transactions, 27 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:34:09.446Z] time="2021-06-29T10:34:09Z" level=warning msg="The Agent is not in the online status yet" agentID=1a737175-f96a-4380-89bb-160b0c34b325 elapsedTime=74.289176ms hostname=7a5d0d22de62 isAgentInStatus=false retry=1 status=online
[2021-06-29T10:34:10.012Z] time="2021-06-29T10:34:09Z" level=warning msg="The Agent is not in the online status yet" agentID=1a737175-f96a-4380-89bb-160b0c34b325 elapsedTime=555.96315ms hostname=7a5d0d22de62 isAgentInStatus=false retry=2 status=online
[2021-06-29T10:34:10.947Z] time="2021-06-29T10:34:10Z" level=warning msg="The Agent is not in the online status yet" agentID=1a737175-f96a-4380-89bb-160b0c34b325 elapsedTime=1.292891596s hostname=7a5d0d22de62 isAgentInStatus=false retry=3 status=online
[2021-06-29T10:34:12.324Z] time="2021-06-29T10:34:11Z" level=warning msg="The Agent is not in the online status yet" agentID=1a737175-f96a-4380-89bb-160b0c34b325 elapsedTime=2.607454115s hostname=7a5d0d22de62 isAgentInStatus=false retry=4 status=online
[2021-06-29T10:34:15.606Z] time="2021-06-29T10:34:15Z" level=info msg="The Agent is in the desired status" elapsedTime=5.976107637s hostname=7a5d0d22de62 isAgentInStatus=true retries=5 status=online
[2021-06-29T10:34:15.606Z] time="2021-06-29T10:34:15Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=27.499981ms hostname=7a5d0d22de62 retries=1
[2021-06-29T10:34:19.789Z] {"level":"debug","time":"2021-06-29T10:34:19Z","message":"sent request with 0 transactions, 52 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:34:22.319Z] {"level":"debug","time":"2021-06-29T10:34:22Z","message":"gathering metrics"}
[2021-06-29T10:34:34.515Z] {"level":"debug","time":"2021-06-29T10:34:32Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 20 metricsets"}
[2021-06-29T10:34:52.607Z] {"level":"debug","time":"2021-06-29T10:34:52Z","message":"gathering metrics"}
[2021-06-29T10:35:02.577Z] {"level":"debug","time":"2021-06-29T10:35:02Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-06-29T10:35:24.527Z] {"level":"debug","time":"2021-06-29T10:35:22Z","message":"gathering metrics"}
[2021-06-29T10:35:32.637Z] {"level":"debug","time":"2021-06-29T10:35:32Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-06-29T10:35:47.700Z] time="2021-06-29T10:35:46Z" level=debug msg="Un-enrolling agent in Fleet" hostname=7a5d0d22de62
[2021-06-29T10:35:49.072Z] {"level":"debug","time":"2021-06-29T10:35:49Z","message":"sent request with 1 transaction, 19 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:35:49.072Z] time="2021-06-29T10:35:49Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-06-29T10:35:50.017Z] Stopping fleet_fleet-server_1  ... 
[2021-06-29T10:35:50.017Z] Stopping fleet_kibana_1        ... 
[2021-06-29T10:35:50.017Z] Stopping fleet_elasticsearch_1 ... 
[2021-06-29T10:35:52.546Z] 
Stopping fleet_fleet-server_1  ... done
{"level":"debug","time":"2021-06-29T10:35:52Z","message":"gathering metrics"}
[2021-06-29T10:36:02.512Z] {"level":"debug","time":"2021-06-29T10:36:02Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 20 metricsets"}
[2021-06-29T10:36:03.451Z] 
Stopping fleet_kibana_1        ... done

Stopping fleet_elasticsearch_1 ... done
Removing fleet_fleet-server_1  ... 
[2021-06-29T10:36:03.452Z] Removing fleet_kibana_1        ... 
[2021-06-29T10:36:03.452Z] Removing fleet_elasticsearch_1 ... 
[2021-06-29T10:36:03.452Z] 
Removing fleet_kibana_1        ... done

Removing fleet_elasticsearch_1 ... done

Removing fleet_fleet-server_1  ... done
Removing network fleet_default
[2021-06-29T10:36:03.710Z] time="2021-06-29T10:36:03Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/.op/compose/profiles/fleet/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/amd64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-06-29T10:36:03.710Z] {"level":"debug","time":"2021-06-29T10:36:03Z","message":"sent request with 1 transaction, 4 spans, 0 errors, 0 metricsets"}
[2021-06-29T10:36:03.710Z] ../../commons-test.mk:57: recipe for target 'functional-test' failed
[2021-06-29T10:36:03.710Z] make: *** [functional-test] Error 1
[2021-06-29T10:36:04.081Z] [INFO] Stopping Filebeat Docker container
[2021-06-29T10:36:04.377Z] + docker exec -t bbda386ca60ef3c8631ab402935d0d605201db3c2b425116d6c78232e4116555 chmod -R ugo+rw /output
[2021-06-29T10:36:04.635Z] + docker stop --time 30 bbda386ca60ef3c8631ab402935d0d605201db3c2b425116d6c78232e4116555
[2021-06-29T10:36:04.894Z] bbda386ca60ef3c8631ab402935d0d605201db3c2b425116d6c78232e4116555
[2021-06-29T10:36:04.928Z] Archiving artifacts
[2021-06-29T10:36:05.553Z] Recording test results
[2021-06-29T10:36:05.839Z] [Checks API] No suitable checks publisher found.
[2021-06-29T10:36:05.874Z] Archiving artifacts
[2021-06-29T10:36:05.965Z] Running in /var/lib/jenkins/workspace/PR-1306-1-f7074409-6c21-4f95-aa66-5f95ba58c446/src/github.com/elastic/e2e-testing
[2021-06-29T10:36:06.291Z] + go clean -modcache
[2021-06-29T10:36:07.173Z] Failed in branch ubuntu-18.04_fleet_agent_endpoint_integration
[2021-06-29T10:36:07.181Z] Terminated
[2021-06-29T10:36:09.243Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-29T10:36:10.003Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1306
[2021-06-29T10:36:10.097Z] [INFO] getVaultSecret: Getting secrets
[2021-06-29T10:36:10.144Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-29T10:36:11.141Z] + chmod 755 generate-build-data.sh
[2021-06-29T10:36:11.141Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1306/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1306/runs/1 FAILURE 2284850
[2021-06-29T10:36:11.141Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1306/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-29T10:36:12.484Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1306/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-29T10:36:12.484Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1306/runs/1/log/ -o pipeline-log.txt

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 4
Passed 214
Skipped 0
Total 218

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_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / arm64_fleet_backend_processes / Deploying the centos agent – Backend Processes
  • Name: Initializing / End-To-End Tests / arm64_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent

@mdelapenya
Copy link
Contributor

mdelapenya commented Jun 29, 2021

same errors as in 7.14.x, merging

@mdelapenya mdelapenya merged commit b8c5119 into 7.14.x Jun 29, 2021
@mergify mergify bot deleted the mergify/bp/7.14.x/pr-1304 branch June 29, 2021 12:16
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