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 #21154 to 7.x: [packaging] use docker.elastic.co/ubi8/ubi-minimal #21207

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

axw
Copy link
Member

@axw axw commented Sep 22, 2020

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

What does this PR do?

Use the docker.elastic.co registry for sourcing the UBI.

Why is it important?

Simplifies building our UBI-based images by ensuring continued auth-free access to the base image.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
    - [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

mage package

Related issues

None.

Use the docker.elastic.co registry for sourcing the UBI.

(cherry picked from commit 6fd63e7)
@axw axw added [zube]: In Review backport Team:Integrations Label for the Integrations team labels Sep 22, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 22, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 22, 2020
@axw axw requested a review from jsoriano September 22, 2020 02:16
@axw
Copy link
Member Author

axw commented Sep 22, 2020

/packaging

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21207 opened]

  • Start Time: 2020-09-22T02:17:45.421+0000

  • Duration: 72 min 13 sec

Test stats 🧪

Test Results
Failed 1
Passed 20247
Skipped 1862
Total 22110

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat oss / test_default_settings – filebeat.tests.system.test_autodiscover.TestAutodiscover

    • Age: 1
    • Duration: 90.005
    • Error Details: Failed: Timeout >90.0s

Steps errors

Expand to view the steps failures

  • Name: Mage build test
    • Description: mage build test

    • Duration: 35 min 54 sec

    • Start Time: 2020-09-22T02:43:25.050+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-22T03:29:11.692Z] + tar --version
[2020-09-22T03:29:12.021Z] + tar -xpf source.tgz
[2020-09-22T03:29:24.603Z] + rm source.tgz
[2020-09-22T03:29:24.628Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats
[2020-09-22T03:29:24.679Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Lint
[2020-09-22T03:29:24.852Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-22T03:29:25.013Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-22T03:29:25.176Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-22T03:29:25.347Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-22T03:29:25.510Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-22T03:29:25.674Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-22T03:29:25.839Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-22T03:29:26.003Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/dockerlogbeat
[2020-09-22T03:29:26.166Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-22T03:29:26.329Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Journalbeat
[2020-09-22T03:29:26.495Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-22T03:29:26.661Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-22T03:29:26.824Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-22T03:29:27.084Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-22T03:29:27.263Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-22T03:29:27.425Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-22T03:29:27.591Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-22T03:29:27.756Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-22T03:29:27.925Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-22T03:29:28.091Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-22T03:29:28.253Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-22T03:29:28.416Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-22T03:29:28.581Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-22T03:29:28.745Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-22T03:29:28.911Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-22T03:29:29.080Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-22T03:29:29.253Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-22T03:29:29.420Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-22T03:29:29.590Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-22T03:29:29.754Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-22T03:29:29.918Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-22T03:29:30.092Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-22T03:29:30.259Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-22T03:29:30.423Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-22T03:29:30.591Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-22T03:29:30.754Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-22T03:29:30.919Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-22T03:29:31.085Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-22T03:29:31.249Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-22T03:29:31.410Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-oss
[2020-09-22T03:29:31.572Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Libbeat-oss
[2020-09-22T03:29:31.736Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-22T03:29:31.899Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-22T03:29:32.060Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-22T03:29:32.223Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-09-22T03:29:32.387Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-09-22T03:29:32.550Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-22T03:29:33.069Z] + cat
[2020-09-22T03:29:33.069Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-22T03:29:33.069Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-22T03:29:39.640Z] runbld>>> runbld started
[2020-09-22T03:29:39.640Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-22T03:29:42.176Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-22T03:29:42.176Z] runbld>>> Matches in the system config:
[2020-09-22T03:29:42.176Z] runbld>>> - Matched ^elastic\+beats
[2020-09-22T03:29:42.176Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-22T03:29:43.115Z] runbld>>> Debug logging enabled.
[2020-09-22T03:29:43.115Z] runbld>>> Storing result
[2020-09-22T03:29:43.379Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-22T03:29:43.379Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200922032942-D7CB58E5
[2020-09-22T03:29:43.379Z] runbld>>> Adding system facts.
[2020-09-22T03:29:44.769Z] runbld>>> Adding vcs info for the latest commit:  0ad93fefb071f26c98208965351c3c7cd1fba033
[2020-09-22T03:29:44.769Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-22T03:29:44.769Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-22T03:29:44.769Z] Processing JUnit reports with runbld...
[2020-09-22T03:29:44.769Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-22T03:29:45.340Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-22T03:29:45.340Z] runbld>>> DURATION: 35ms
[2020-09-22T03:29:45.340Z] runbld>>> STDOUT: 40 bytes
[2020-09-22T03:29:45.340Z] runbld>>> STDERR: 49 bytes
[2020-09-22T03:29:45.340Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-22T03:29:45.340Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21207
[2020-09-22T03:29:46.278Z] runbld>>> Storing build metadata: 
[2020-09-22T03:29:46.278Z] runbld>>> Adding test report.
[2020-09-22T03:29:46.278Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats
[2020-09-22T03:29:47.216Z] runbld>>> Found 140 test output files
[2020-09-22T03:29:47.785Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-22T03:29:47.785Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-22T03:29:47.785Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-22T03:29:47.785Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-22T03:29:47.785Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-22T03:29:49.165Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-22T03:29:49.165Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21207/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-22T03:29:51.709Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 21955 Skipped: 1578
[2020-09-22T03:29:51.709Z] runbld>>> Storing result
[2020-09-22T03:29:51.709Z] runbld>>> FAILURES: 1
[2020-09-22T03:29:51.969Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-22T03:29:51.969Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200922032942-D7CB58E5
[2020-09-22T03:29:52.228Z] runbld>>> Email notification disabled by environment variable.
[2020-09-22T03:29:57.733Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21207
[2020-09-22T03:29:57.920Z] [INFO] getVaultSecret: Getting secrets
[2020-09-22T03:29:58.014Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-22T03:29:59.136Z] + chmod 755 generate-build-data.sh
[2020-09-22T03:29:59.136Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21207/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21207/runs/1 FAILURE 4333442
[2020-09-22T03:29:59.136Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21207/runs/1/steps/?limit=10000 -o steps-info.json

@axw axw merged commit 62e4b60 into elastic:7.x Sep 23, 2020
@axw axw deleted the backport_21154_7.x branch September 23, 2020 03:02
@zube zube bot removed the [zube]: Done label Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants