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

[7.14.x](backport #1393) fix(ci): wait for downstream jobs on scheduled jobs#1395

Merged
mdelapenya merged 1 commit into7.14.xfrom
mergify/bp/7.14.x/pr-1393
Jul 28, 2021
Merged

[7.14.x](backport #1393) fix(ci): wait for downstream jobs on scheduled jobs#1395
mdelapenya merged 1 commit into7.14.xfrom
mergify/bp/7.14.x/pr-1393

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Jul 28, 2021

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

Expand to view the summary

Build stats

  • Start Time: 2021-07-28T08:51:49.972+0000

  • Duration: 39 min 44 sec

  • Commit: ce987b3

Test stats 🧪

Test Results
Failed 1
Passed 230
Skipped 0
Total 231

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration
    Expand to view the error details

     Step the policy response will be shown in the Security App: The policy response is not listed as 'success' in the Administration view in the Security App yet 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian && ~@skip:amd64
  • Took 16 min 53 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"

Log output

Expand to view the last 100 lines of log output

[2021-07-28T09:28:04.532Z] {"level":"debug","time":"2021-07-28T09:28:04Z","message":"sent request with 1 transaction, 6 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:28:06.894Z] fleet_elasticsearch_1 is up-to-date
[2021-07-28T09:28:06.894Z] Creating fleet_elastic-agent_1 ... 
[2021-07-28T09:28:06.894Z] fleet_kibana_1 is up-to-date
[2021-07-28T09:28:06.894Z] fleet_fleet-server_1 is up-to-date
[2021-07-28T09:28:07.397Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-07-28T09:28:07Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/.op/compose/services/elastic-agent/centos/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/arm64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-07-28T09:28:07.397Z] time="2021-07-28T09:28:07Z" level=debug msg="Golang's architecture is arm64 (arm64)"
[2021-07-28T09:28:07.397Z] time="2021-07-28T09:28:07Z" level=debug msg="The Elastic artifacts API is available" elapsedTime=69.477482ms retries=1 statusEndpoint="https://artifacts-api.elastic.co/v1/search/7.14.0-SNAPSHOT/elastic-agent?x-elastic-no-kpi=true"
[2021-07-28T09:28:07.397Z] time="2021-07-28T09:28:07Z" level=debug msg="Retrieving binary from local cache" URL="https://snapshots.elastic.co/7.14.0-cd696777/downloads/beats/elastic-agent/elastic-agent-7.14.0-SNAPSHOT-linux-arm64.tar.gz" path=/tmp/72d86c20-757f-4c68-942d-9bae3d26f1bb/elastic-agent-7.14.0-SNAPSHOT-linux-arm64.tar.gz
[2021-07-28T09:28:09.131Z] time="2021-07-28T09:28:08Z" level=debug msg="Fleet Server config created" elasticsearch=elasticsearch elasticsearchPort=9200 token="azJseDdIb0JfZk8yT3FZSFJiR2Y6R2dOdmd2S2RUYnE4aGVua1MtT2JnZw=="
[2021-07-28T09:28:16.824Z] {"level":"debug","time":"2021-07-28T09:28:16Z","message":"sent request with 0 transactions, 18 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:28:24.310Z] {"level":"debug","time":"2021-07-28T09:28:23Z","message":"gathering metrics"}
[2021-07-28T09:28:35.370Z] {"level":"debug","time":"2021-07-28T09:28:34Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 15 metricsets"}
[2021-07-28T09:28:37.729Z] time="2021-07-28T09:28:37Z" level=debug msg="Un-enrolling agent in Fleet" hostname=2b9d6a25d982
[2021-07-28T09:28:38.793Z] time="2021-07-28T09:28:38Z" level=error msg="Error executing command" args="[exec -u root -i fleet_elastic-agent_1 pgrep -d , elastic-endpoint]" baseDir=. command=docker error="exit status 1" stderr=
[2021-07-28T09:28:38.793Z] time="2021-07-28T09:28:38Z" level=warning msg="Process is not present and number of occurences is 0" cmds="[pgrep -d , elastic-endpoint]" desiredState=stopped elapsedTime=195.729658ms error="exit status 1" mustBePresent=false ocurrences=0 process=elastic-endpoint retry=1 service=fleet_elastic-agent_1
[2021-07-28T09:28:38.793Z] -- Logs begin at Wed 2021-07-28 09:28:07 UTC, end at Wed 2021-07-28 09:28:11 UTC. --
[2021-07-28T09:28:38.793Z] Jul 28 09:28:09 2b9d6a25d982 systemd[1]: Started Elastic Agent is a unified agent to observe, monitor and protect your system..
[2021-07-28T09:28:38.793Z] Jul 28 09:28:09 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:09.975Z        INFO        application/application.go:66        Detecting execution mode
[2021-07-28T09:28:38.793Z] Jul 28 09:28:09 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:09.976Z        INFO        application/application.go:75        Agent is managed locally
[2021-07-28T09:28:38.793Z] Jul 28 09:28:09 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:09.976Z        INFO        capabilities/capabilities.go:59        capabilities file not found in /opt/Elastic/Agent/capabilities.yml
[2021-07-28T09:28:38.793Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.587Z        INFO        [composable.providers.docker]        docker/docker.go:43        Docker provider skipped, unable to connect: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[2021-07-28T09:28:38.793Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.587Z        INFO        [api]        api/server.go:62        Starting stats endpoint
[2021-07-28T09:28:38.793Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.587Z        INFO        application/local_mode.go:168        Agent is starting
[2021-07-28T09:28:38.794Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.587Z        INFO        [api]        api/server.go:64        Metrics endpoint listening on: /opt/Elastic/Agent/data/tmp/elastic-agent.sock (configured: unix:///opt/Elastic/Agent/data/tmp/elastic-agent.sock)
[2021-07-28T09:28:38.794Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.588Z        INFO        application/local_mode.go:178        Agent is stopped
[2021-07-28T09:28:38.794Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.588Z        INFO        application/periodic.go:77        Configuration changes detected
[2021-07-28T09:28:38.794Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.944Z        INFO        stateresolver/stateresolver.go:48        New State ID is 39GtM67q
[2021-07-28T09:28:38.794Z] Jul 28 09:28:10 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:10.944Z        INFO        stateresolver/stateresolver.go:49        Converging state requires execution of 2 step(s)
[2021-07-28T09:28:38.794Z] Jul 28 09:28:11 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:11.031Z        INFO        operation/operator.go:191        waiting for installer of pipeline 'default' to finish
[2021-07-28T09:28:38.794Z] Jul 28 09:28:11 2b9d6a25d982 elastic-agent[67]: 2021-07-28T09:28:11.031Z        INFO        process/app.go:181        Signaling application to stop because of shutdown: metricbeat--7.14.0-SNAPSHOT
[2021-07-28T09:28:47.874Z] {"level":"debug","time":"2021-07-28T09:28:47Z","message":"sent request with 0 transactions, 17 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:28:54.136Z] {"level":"debug","time":"2021-07-28T09:28:53Z","message":"gathering metrics"}
[2021-07-28T09:29:05.155Z] {"level":"debug","time":"2021-07-28T09:29:04Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-07-28T09:29:27.053Z] {"level":"debug","time":"2021-07-28T09:29:23Z","message":"gathering metrics"}
[2021-07-28T09:29:34.783Z] {"level":"debug","time":"2021-07-28T09:29:34Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-07-28T09:29:45.681Z] {"level":"debug","time":"2021-07-28T09:29:43Z","message":"sent request with 1 transaction, 16 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:29:45.682Z] fleet_elasticsearch_1 is up-to-date
[2021-07-28T09:29:45.682Z] Creating fleet_elastic-agent_1 ... 
[2021-07-28T09:29:46.189Z] fleet_kibana_1 is up-to-date
[2021-07-28T09:29:46.189Z] fleet_fleet-server_1 is up-to-date
[2021-07-28T09:29:46.837Z] 
Creating fleet_elastic-agent_1 ... done
time="2021-07-28T09:29:46Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/.op/compose/services/elastic-agent/centos/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/arm64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-07-28T09:29:46.837Z] time="2021-07-28T09:29:46Z" level=debug msg="Golang's architecture is arm64 (arm64)"
[2021-07-28T09:29:46.837Z] time="2021-07-28T09:29:46Z" level=debug msg="The Elastic artifacts API is available" elapsedTime=248.148429ms retries=1 statusEndpoint="https://artifacts-api.elastic.co/v1/search/7.14.0-SNAPSHOT/elastic-agent?x-elastic-no-kpi=true"
[2021-07-28T09:29:46.837Z] time="2021-07-28T09:29:46Z" level=debug msg="Retrieving binary from local cache" URL="https://snapshots.elastic.co/7.14.0-cd696777/downloads/beats/elastic-agent/elastic-agent-7.14.0-SNAPSHOT-linux-arm64.tar.gz" path=/tmp/72d86c20-757f-4c68-942d-9bae3d26f1bb/elastic-agent-7.14.0-SNAPSHOT-linux-arm64.tar.gz
[2021-07-28T09:29:48.543Z] time="2021-07-28T09:29:47Z" level=debug msg="Fleet Server config created" elasticsearch=elasticsearch elasticsearchPort=9200 token="dFdseTdIb0JfZk8yT3FZSHk3Skk6QklvRHVHRURTOGl6UGIxNnJmbWxpdw=="
[2021-07-28T09:29:54.846Z] {"level":"debug","time":"2021-07-28T09:29:53Z","message":"gathering metrics"}
[2021-07-28T09:29:55.373Z] {"level":"debug","time":"2021-07-28T09:29:55Z","message":"sent request with 0 transactions, 27 spans, 0 errors, 18 metricsets"}
[2021-07-28T09:29:56.445Z] time="2021-07-28T09:29:56Z" level=error msg="Error executing command" args="[exec -u root -i fleet_elastic-agent_1 pgrep -d , elastic-endpoint]" baseDir=. command=docker error="exit status 1" stderr=
[2021-07-28T09:29:56.445Z] time="2021-07-28T09:29:56Z" level=warning msg="Process is not present and number of occurences is 0" cmds="[pgrep -d , elastic-endpoint]" desiredState=stopped elapsedTime=194.389371ms error="exit status 1" mustBePresent=false ocurrences=0 process=elastic-endpoint retry=1 service=fleet_elastic-agent_1
[2021-07-28T09:29:56.445Z] -- Logs begin at Wed 2021-07-28 09:29:46 UTC, end at Wed 2021-07-28 09:29:50 UTC. --
[2021-07-28T09:29:56.445Z] Jul 28 09:29:48 41ef94775e0b systemd[1]: Started Elastic Agent is a unified agent to observe, monitor and protect your system..
[2021-07-28T09:29:56.445Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.048Z        INFO        application/application.go:66        Detecting execution mode
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.048Z        INFO        application/application.go:75        Agent is managed locally
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.048Z        INFO        capabilities/capabilities.go:59        capabilities file not found in /opt/Elastic/Agent/capabilities.yml
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.966Z        INFO        [composable.providers.docker]        docker/docker.go:43        Docker provider skipped, unable to connect: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.967Z        INFO        [api]        api/server.go:62        Starting stats endpoint
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.967Z        INFO        application/local_mode.go:168        Agent is starting
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.967Z        INFO        [api]        api/server.go:64        Metrics endpoint listening on: /opt/Elastic/Agent/data/tmp/elastic-agent.sock (configured: unix:///opt/Elastic/Agent/data/tmp/elastic-agent.sock)
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.967Z        INFO        application/local_mode.go:178        Agent is stopped
[2021-07-28T09:29:56.446Z] Jul 28 09:29:49 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:49.967Z        INFO        application/periodic.go:77        Configuration changes detected
[2021-07-28T09:29:56.446Z] Jul 28 09:29:50 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:50.318Z        INFO        stateresolver/stateresolver.go:48        New State ID is 39GtM67q
[2021-07-28T09:29:56.446Z] Jul 28 09:29:50 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:50.318Z        INFO        stateresolver/stateresolver.go:49        Converging state requires execution of 2 step(s)
[2021-07-28T09:29:56.446Z] Jul 28 09:29:50 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:50.465Z        INFO        operation/operator.go:191        waiting for installer of pipeline 'default' to finish
[2021-07-28T09:29:56.446Z] Jul 28 09:29:50 41ef94775e0b elastic-agent[66]: 2021-07-28T09:29:50.465Z        INFO        process/app.go:181        Signaling application to stop because of shutdown: metricbeat--7.14.0-SNAPSHOT
[2021-07-28T09:29:56.446Z] time="2021-07-28T09:29:56Z" level=debug msg="Un-enrolling agent in Fleet" hostname=41ef94775e0b
[2021-07-28T09:30:00.463Z] {"level":"debug","time":"2021-07-28T09:30:00Z","message":"sent request with 1 transaction, 26 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:30:00.463Z] time="2021-07-28T09:30:00Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-07-28T09:30:00.968Z] Stopping fleet_fleet-server_1  ... 
[2021-07-28T09:30:00.968Z] Stopping fleet_kibana_1        ... 
[2021-07-28T09:30:00.968Z] Stopping fleet_elasticsearch_1 ... 
[2021-07-28T09:30:15.469Z] 
Stopping fleet_fleet-server_1  ... done

Stopping fleet_kibana_1        ... done

Stopping fleet_elasticsearch_1 ... done
Removing fleet_fleet-server_1  ... 
[2021-07-28T09:30:15.470Z] Removing fleet_kibana_1        ... 
[2021-07-28T09:30:15.470Z] Removing fleet_elasticsearch_1 ... 
[2021-07-28T09:30:15.470Z] 
Removing fleet_kibana_1        ... done

Removing fleet_elasticsearch_1 ... done

Removing fleet_fleet-server_1  ... done
Removing network fleet_default
[2021-07-28T09:30:15.470Z] time="2021-07-28T09:30:15Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/.op/compose/profiles/fleet/docker-compose.yml]" env="map[kibanaDockerNamespace:kibana kibanaVersion:7.14.0-SNAPSHOT stackPlatform:linux/arm64 stackVersion:7.14.0-SNAPSHOT]" profile=fleet
[2021-07-28T09:30:15.975Z] {"level":"debug","time":"2021-07-28T09:30:15Z","message":"sent request with 1 transaction, 4 spans, 0 errors, 0 metricsets"}
[2021-07-28T09:30:15.975Z] testing: warning: no tests to run
[2021-07-28T09:30:15.975Z] PASS
[2021-07-28T09:30:15.975Z] ok  	github.com/elastic/e2e-testing/e2e/_suites/fleet	1431.957s
[2021-07-28T09:30:16.901Z] [INFO] Stopping Filebeat Docker container
[2021-07-28T09:30:17.820Z] + docker exec -t dbaaad8cf51955681720d63e32541e8d1859a459c6f25b51b54a3865a8b0d7e6 chmod -R ugo+rw /output
[2021-07-28T09:30:19.493Z] + docker stop --time 30 dbaaad8cf51955681720d63e32541e8d1859a459c6f25b51b54a3865a8b0d7e6
[2021-07-28T09:30:19.493Z] dbaaad8cf51955681720d63e32541e8d1859a459c6f25b51b54a3865a8b0d7e6
[2021-07-28T09:30:19.776Z] Archiving artifacts
[2021-07-28T09:30:23.132Z] Recording test results
[2021-07-28T09:30:27.072Z] [Checks API] No suitable checks publisher found.
[2021-07-28T09:30:27.166Z] Archiving artifacts
[2021-07-28T09:30:27.376Z] Running in /var/lib/jenkins/workspace/PR-1395-1-f460cd1a-3b28-4d95-95aa-8ced3b366c73/src/github.com/elastic/e2e-testing
[2021-07-28T09:30:28.269Z] + go clean -modcache
[2021-07-28T09:30:30.618Z] sh: line 1: 47194 Terminated              sleep 3
[2021-07-28T09:30:31.470Z] Stage "Release" skipped due to earlier failure(s)
[2021-07-28T09:30:32.088Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1395
[2021-07-28T09:30:32.186Z] [INFO] getVaultSecret: Getting secrets
[2021-07-28T09:30:32.255Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-28T09:30:33.752Z] + chmod 755 generate-build-data.sh
[2021-07-28T09:30:33.753Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1395/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1395/runs/1 FAILURE 2323500
[2021-07-28T09:30:33.753Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1395/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-28T09:30:35.614Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1395/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-07-28T09:30:35.614Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1395/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 1
Passed 230
Skipped 0
Total 231

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration

@mdelapenya mdelapenya merged commit 6b7ad3a into 7.14.x Jul 28, 2021
@mergify mergify Bot deleted the mergify/bp/7.14.x/pr-1393 branch July 28, 2021 11:39
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.

2 participants