Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #19273 to 7.x: Update docker-entrypoint.elastic-agent.tmpl #19283

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Jun 18, 2020

Cherry-pick of PR #19273 to 7.x branch. Original message:

What does this PR do?

FLEET_ENROLLMENT_TOKEN should not be checked to be equal to 1 since it contains token's value.

Why is it important?

So as the startup script to honour the FLEET_ENROLLMENT_TOKEN env var.

`FLEET_ENROLLMENT_TOKEN` should not be checked to be equal
 to `1` since it contains token's value.

(cherry picked from commit cdbfe48)
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jun 18, 2020
@ChrsMark ChrsMark requested a review from michalpristas June 18, 2020 16:10
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19283 opened]

  • Start Time: 2020-06-18T17:17:51.283+0000

  • Duration: 135 min 34 sec

Test stats 🧪

Test Results
Failed 0
Passed 8339
Skipped 1436
Total 9775

Steps errors

Expand to view the steps failures

  • Name: Error signal

    • Description: untar: step failed with error null

    • Duration: 0 min 0 sec

    • Start Time: 2020-06-18T19:31:27.199+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: untar: step failed with error null

    • Duration: 0 min 1 sec

    • Start Time: 2020-06-18T19:31:27.997+0000

    • log

  • Name: Install Go 1.13.10

    • Description: .ci/scripts/install-go.sh

    • Duration: 1 min 47 sec

    • Start Time: 2020-06-18T17:54:10.630+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-18T19:31:26.947Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-06-18T19:31:26.947Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-06-18T19:31:26.947Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-06-18T19:31:26.947Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-06-18T19:31:26.947Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-06-18T19:31:26.947Z] 
[2020-06-18T19:31:27.143Z] Stage "Generators Beat Mac OS X" skipped due to earlier failure(s)
[2020-06-18T19:31:27.144Z] script returned exit code 143
[2020-06-18T19:31:27.194Z] [INFO] source.tgz was not extracted : null
[2020-06-18T19:31:27.327Z] Failed in branch Functionbeat
[2020-06-18T19:31:27.791Z] 
[2020-06-18T19:31:27.791Z] C:\Users\jenkins\workspace\Beats_beats-beats-mbp_PR-19283>del source.tgz 
[2020-06-18T19:31:27.802Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-06-18T19:31:27.894Z] Recording test results
[2020-06-18T19:31:27.928Z] Failed in branch Generators
[2020-06-18T19:31:29.404Z] Failed in branch Heartbeat
[2020-06-18T19:31:34.465Z] None of the test reports contained any result
[2020-06-18T19:31:35.142Z] Stashed 0 file(s)
[2020-06-18T19:31:35.673Z] Archiving artifacts
[2020-06-18T19:31:39.108Z] + curl -sSLo codecov https://codecov.io/bash
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f auditbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f filebeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f heartbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f libbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f metricbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f packetbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f winlogbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:40.159Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-06-18T19:31:40.159Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-18T19:31:40.159Z] + '[' -f journalbeat/build/coverage/full.cov ']'
[2020-06-18T19:31:41.581Z] Post stage
[2020-06-18T19:31:41.600Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats
[2020-06-18T19:31:45.143Z] Starting "default"...
[2020-06-18T19:31:45.144Z] Machine "default" is already running.
[2020-06-18T19:31:45.144Z] Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: getsockopt: connection refused
[2020-06-18T19:31:45.144Z] You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
[2020-06-18T19:31:45.144Z] Be advised that this will trigger a Docker daemon restart which might stop running containers.
[2020-06-18T19:31:45.144Z] 
[2020-06-18T19:31:46.139Z] Client:
[2020-06-18T19:31:46.139Z]  Version:      18.03.1-ce
[2020-06-18T19:31:46.139Z]  API version:  1.37
[2020-06-18T19:31:46.139Z]  Go version:   go1.9.5
[2020-06-18T19:31:46.139Z]  Git commit:   9ee9f40
[2020-06-18T19:31:46.139Z]  Built:        Thu Apr 26 07:13:02 2018
[2020-06-18T19:31:46.139Z]  OS/Arch:      darwin/amd64
[2020-06-18T19:31:46.139Z]  Experimental: false
[2020-06-18T19:31:46.139Z]  Orchestrator: swarm
[2020-06-18T19:31:46.139Z] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[2020-06-18T19:31:46.139Z] It requires Docker daemon to be installed and running
[2020-06-18T19:32:18.094Z] Failed in branch Filebeat Mac OS X
[2020-06-18T19:32:19.779Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats
[2020-06-18T19:32:20.115Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-18T19:32:20.139Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Lint
[2020-06-18T19:32:20.290Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-18T19:32:20.438Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-18T19:32:20.585Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-18T19:32:20.732Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-18T19:32:20.879Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-18T19:32:21.027Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-18T19:32:21.177Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-18T19:32:21.327Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-18T19:32:21.472Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-18T19:32:21.619Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-18T19:32:21.765Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-18T19:32:21.915Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-18T19:32:22.066Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-18T19:32:22.218Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-18T19:32:22.369Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-18T19:32:22.520Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-18T19:32:22.670Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-18T19:32:22.819Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-18T19:32:22.966Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-18T19:32:23.116Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-18T19:32:23.265Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-18T19:32:23.412Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-18T19:32:23.562Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-18T19:32:23.613Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-06-18T19:32:23.768Z] ERROR: runbld post build action failed.
[2020-06-18T19:32:23.768Z] Timeout has been exceeded
[2020-06-18T19:32:24.198Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19283
[2020-06-18T19:32:24.492Z] [INFO] getVaultSecret: Getting secrets
[2020-06-18T19:32:24.558Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-18T19:32:25.620Z] + chmod 755 generate-build-data.sh
[2020-06-18T19:32:25.620Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19283/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19283/runs/1 ABORTED 8074066
[2020-06-18T19:32:25.620Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19283/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-18T19:32:28.103Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19283/runs/1/tests/?status=FAILED -o tests-errors.json

@ChrsMark ChrsMark merged commit 531023b into elastic:7.x Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants