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

Revert "Allow the Docker image to be run with a random user id (#12905)" #18872

Merged
merged 2 commits into from
Jun 2, 2020

Conversation

jsoriano
Copy link
Member

This reverts commits 9dbdc15 and 3eac5f7.

Reverts #12905.
To be continued in #18871.

Fixes #18858.

@jsoriano jsoriano added bug review [zube]: In Review Team:Platforms Label for the Integrations - Platforms team labels May 31, 2020
@jsoriano jsoriano requested review from barkbay and simitt May 31, 2020 15:08
@jsoriano jsoriano self-assigned this May 31, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@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 May 31, 2020
@jsoriano
Copy link
Member Author

run beats-ci/package

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 31, 2020

❕ 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: [Branch indexing]

  • Start Time: 2020-06-02T13:40:39.682+0000

  • Duration: 123 min 16 sec

Test stats 🧪

Test Results
Failed 0
Passed 8259
Skipped 1543
Total 9802

Steps errors

Expand to view the steps failures

  • Name: Fix permissions

    • Description:

    • Duration: 0 min 16 sec

    • Start Time: 2020-06-02T14:55:39.908+0000

    • log

  • Name: Fix permissions

    • Description:

    • Duration: 0 min 7 sec

    • Start Time: 2020-06-02T14:52:12.551+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Duration: 2 min 22 sec

    • Start Time: 2020-06-02T14:12:44.589+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-02T15:43:42.898Z] + MSG='parameter missing.'
[2020-06-02T15:43:42.898Z] + DOCKER_COMPOSE_VERSION=1.21.0
[2020-06-02T15:43:42.898Z] + HOME=/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872
[2020-06-02T15:43:42.898Z] + DC_CMD=/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/docker-compose
[2020-06-02T15:43:42.898Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin
[2020-06-02T15:43:42.898Z] ++ uname -s
[2020-06-02T15:43:42.898Z] ++ uname -m
[2020-06-02T15:43:42.898Z] + curl -sSLo /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/docker-compose https://github.com/docker/compose/releases/download/1.21.0/docker-compose-Linux-x86_64
[2020-06-02T15:43:43.480Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/docker-compose
[2020-06-02T15:43:43.907Z] + .ci/scripts/install-terraform.sh
[2020-06-02T15:43:43.907Z] + MSG='parameter missing.'
[2020-06-02T15:43:43.907Z] + TERRAFORM_VERSION=0.12.24
[2020-06-02T15:43:43.907Z] + HOME=/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872
[2020-06-02T15:43:43.907Z] + TERRAFORM_CMD=/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform
[2020-06-02T15:43:43.907Z] ++ tr '[:upper:]' '[:lower:]'
[2020-06-02T15:43:43.907Z] ++ uname -s
[2020-06-02T15:43:43.907Z] + OS=linux
[2020-06-02T15:43:43.907Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin
[2020-06-02T15:43:43.907Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-06-02T15:43:44.854Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform
[2020-06-02T15:43:44.854Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin
[2020-06-02T15:43:44.854Z] Archive:  /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform.zip
[2020-06-02T15:43:45.123Z]   inflating: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform  
[2020-06-02T15:43:45.123Z] + rm /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform.zip
[2020-06-02T15:43:45.123Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/bin/terraform
[2020-06-02T15:43:45.531Z] + make mage
[2020-06-02T15:43:45.531Z] Installing mage v1.9.0 from vendor dir.
[2020-06-02T15:43:46.929Z] /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/.magefile cleaned
[2020-06-02T15:43:47.318Z] + git config --get user.email
[2020-06-02T15:43:47.318Z] + [ -z  ]
[2020-06-02T15:43:47.318Z] + git config user.email [email protected]
[2020-06-02T15:43:47.318Z] + git config user.name beatsmachine
[2020-06-02T15:43:47.846Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-06-02T15:43:47.846Z] + DIRECTORY=x-pack/metricbeat
[2020-06-02T15:43:47.846Z] + FAILED=0
[2020-06-02T15:43:47.846Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-06-02T15:43:47.846Z] + exit 0
[2020-06-02T15:43:48.321Z] + curl -sSLo codecov https://codecov.io/bash
[2020-06-02T15:43:48.585Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-02T15:43:48.585Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-02T15:43:48.585Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-02T15:43:49.212Z] Failed in branch Metricbeat x-pack
[2020-06-02T15:43:49.529Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats
[2020-06-02T15:43:49.853Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-02T15:43:50.153Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Lint
[2020-06-02T15:43:50.358Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-02T15:43:50.615Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-02T15:43:50.883Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-02T15:43:51.107Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-02T15:43:51.323Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-02T15:43:51.509Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-02T15:43:51.728Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-02T15:43:51.857Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-02T15:43:52.083Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-02T15:43:52.230Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-02T15:43:52.343Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-02T15:43:52.459Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-02T15:43:52.593Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-02T15:43:52.704Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-02T15:43:52.797Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-02T15:43:52.924Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-02T15:43:53.033Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-02T15:43:53.173Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-02T15:43:53.285Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-02T15:43:53.396Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-02T15:43:53.522Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-02T15:43:53.642Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-02T15:43:53.743Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-02T15:43:53.829Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-02T15:43:53.932Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Filebeat-oss
[2020-06-02T15:43:54.025Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-02T15:43:54.121Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-02T15:43:54.207Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-06-02T15:43:54.302Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Libbeat-oss
[2020-06-02T15:43:54.403Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-06-02T15:43:54.506Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-06-02T15:43:54.563Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-06-02T15:43:54.809Z] ERROR: runbld post build action failed.
[2020-06-02T15:43:54.809Z] Timeout has been exceeded
[2020-06-02T15:43:55.237Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18872
[2020-06-02T15:43:55.380Z] [INFO] getVaultSecret: Getting secrets
[2020-06-02T15:43:55.454Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-02T15:43:56.183Z] + chmod 755 generate-build-data.sh
[2020-06-02T15:43:56.183Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18872/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18872/runs/3 ABORTED 7396240
[2020-06-02T15:43:56.183Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18872/runs/3/steps/?limit=10000 -o steps-info.json
[2020-06-02T15:43:58.667Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18872/runs/3/tests/?status=FAILED -o tests-errors.json
[2020-06-02T15:43:59.217Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18872/runs/3/log/ -o pipeline-log.txt

@jsoriano
Copy link
Member Author

jsoriano commented Jun 2, 2020

run beats-ci/package

@jsoriano jsoriano merged commit 7927da7 into elastic:master Jun 2, 2020
@jsoriano jsoriano deleted the revert-12905 branch June 2, 2020 15:55
jsoriano added a commit to jsoriano/beats that referenced this pull request Jun 2, 2020
@jsoriano jsoriano added v7.9.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jun 2, 2020
v1v added a commit to v1v/beats that referenced this pull request Jun 2, 2020
…-stage-level

* upstream/master:
  [CI] Fix permissions should not fail (elastic#18899)
  Revert "Allow the Docker image to be run with a random user id (elastic#12905)" (elastic#18872)
  Add new fields to HAProxy module of Metricbeat (elastic#18523)
  Avoid duplicate names in dynamic_templates (elastic#18849)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug review Team:Platforms Label for the Integrations - Platforms team v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker images for APM Server failing with permission issues
4 participants