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

[packaging] use docker.elastic.co/ubi8/ubi-minimal #21154

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

axw
Copy link
Member

@axw axw commented Sep 18, 2020

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.
@axw axw added enhancement Team:Integrations Label for the Integrations team labels Sep 18, 2020
@axw axw requested a review from jsoriano September 18, 2020 01:53
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@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 Sep 18, 2020
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21154 opened]

  • Start Time: 2020-09-18T01:54:18.139+0000

  • Duration: 74 min 3 sec

Test stats 🧪

Test Results
Failed 1
Passed 20107
Skipped 1834
Total 21942

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestClientPublishEventKerberosAware – elasticsearch

    • Age: 1
    • Duration: 2.91
    • Error Details: Failed

Steps errors

Expand to view the steps failures

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

    • Duration: 18 min 31 sec

    • Start Time: 2020-09-18T02:19:19.818+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-18T03:07:30.427Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21154-1/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21154/source.tgz
[2020-09-18T03:07:38.310Z] + tar --version
[2020-09-18T03:07:38.625Z] + tar -xpf source.tgz
[2020-09-18T03:07:48.982Z] + rm source.tgz
[2020-09-18T03:07:49.009Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats
[2020-09-18T03:07:49.060Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Lint
[2020-09-18T03:07:49.231Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-18T03:07:49.405Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-18T03:07:49.578Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-18T03:07:49.754Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-18T03:07:49.925Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-18T03:07:50.100Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-18T03:07:50.274Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-18T03:07:50.444Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/dockerlogbeat
[2020-09-18T03:07:50.631Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-18T03:07:50.820Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Journalbeat
[2020-09-18T03:07:50.990Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-18T03:07:51.159Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-18T03:07:51.326Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-18T03:07:51.493Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-18T03:07:51.660Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-18T03:07:51.831Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-18T03:07:52.000Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-18T03:07:52.167Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-18T03:07:52.336Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-18T03:07:52.496Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-18T03:07:52.659Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-18T03:07:52.824Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-18T03:07:52.989Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-18T03:07:53.159Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-18T03:07:53.323Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-18T03:07:53.489Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-18T03:07:53.652Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-18T03:07:53.820Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-18T03:07:53.988Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-18T03:07:54.154Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-18T03:07:54.321Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-18T03:07:54.489Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-18T03:07:54.656Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-18T03:07:54.825Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-18T03:07:54.992Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-18T03:07:55.158Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-18T03:07:55.325Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-18T03:07:55.579Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-18T03:07:55.745Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Libbeat-oss
[2020-09-18T03:07:55.913Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-18T03:07:56.079Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-oss
[2020-09-18T03:07:56.251Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-18T03:07:56.412Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-18T03:07:56.577Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-18T03:07:56.744Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-18T03:07:57.274Z] + cat
[2020-09-18T03:07:57.274Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-18T03:07:57.274Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-18T03:08:03.863Z] runbld>>> runbld started
[2020-09-18T03:08:03.863Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-18T03:08:05.255Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-18T03:08:05.255Z] runbld>>> Matches in the system config:
[2020-09-18T03:08:05.255Z] runbld>>> - Matched ^elastic\+beats
[2020-09-18T03:08:05.255Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-18T03:08:06.192Z] runbld>>> Debug logging enabled.
[2020-09-18T03:08:06.192Z] runbld>>> Storing result
[2020-09-18T03:08:06.452Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-18T03:08:06.452Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200918030806-82F3633A
[2020-09-18T03:08:06.452Z] runbld>>> Adding system facts.
[2020-09-18T03:08:07.394Z] runbld>>> Adding vcs info for the latest commit:  1835bbc04450c8365809eaf6fc1a05a0210901a0
[2020-09-18T03:08:07.395Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-18T03:08:07.395Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-18T03:08:07.395Z] Processing JUnit reports with runbld...
[2020-09-18T03:08:07.395Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-18T03:08:07.963Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-18T03:08:07.963Z] runbld>>> DURATION: 26ms
[2020-09-18T03:08:07.963Z] runbld>>> STDOUT: 40 bytes
[2020-09-18T03:08:07.963Z] runbld>>> STDERR: 49 bytes
[2020-09-18T03:08:07.963Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-18T03:08:07.963Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21154
[2020-09-18T03:08:08.920Z] runbld>>> Storing build metadata: 
[2020-09-18T03:08:08.920Z] runbld>>> Adding test report.
[2020-09-18T03:08:08.920Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats
[2020-09-18T03:08:09.490Z] runbld>>> Found 139 test output files
[2020-09-18T03:08:11.400Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-18T03:08:11.400Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-18T03:08:11.400Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-18T03:08:11.400Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-18T03:08:11.400Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-18T03:08:12.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-18T03:08:12.780Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21154/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-18T03:08:13.348Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 21789 Skipped: 1561
[2020-09-18T03:08:13.348Z] runbld>>> Storing result
[2020-09-18T03:08:13.348Z] runbld>>> FAILURES: 1
[2020-09-18T03:08:13.916Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-18T03:08:13.916Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200918030806-82F3633A
[2020-09-18T03:08:13.916Z] runbld>>> Email notification disabled by environment variable.
[2020-09-18T03:08:13.916Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-18T03:08:19.904Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21154
[2020-09-18T03:08:20.211Z] [INFO] getVaultSecret: Getting secrets
[2020-09-18T03:08:20.312Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-18T03:08:21.452Z] + chmod 755 generate-build-data.sh
[2020-09-18T03:08:21.452Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21154/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21154/runs/1 FAILURE 4443037
[2020-09-18T03:08:21.452Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21154/runs/1/steps/?limit=10000 -o steps-info.json

@andresrc
Copy link
Contributor

@jsoriano
Copy link
Member

/packaging

Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@axw axw merged commit 6fd63e7 into elastic:master Sep 22, 2020
@axw axw deleted the update-ubi-base-image branch September 22, 2020 02:15
@axw axw added the v7.10.0 label Sep 22, 2020
axw added a commit to axw/beats that referenced this pull request Sep 22, 2020
Use the docker.elastic.co registry for sourcing the UBI.

(cherry picked from commit 6fd63e7)
axw added a commit that referenced this pull request Sep 23, 2020
Use the docker.elastic.co registry for sourcing the UBI.

(cherry picked from commit 6fd63e7)
v1v added a commit to v1v/beats that referenced this pull request Sep 24, 2020
…ne-2.0-arm

* upstream/master: (29 commits)
  Fix librpm installation in auditbeat build (elastic#21239)
  Fix prometheus default config (elastic#21253)
  Fix dev guide test command (elastic#21254)
  Move aws lambda metricset to GA (elastic#21255)
  [Docs] Typo in table syntax (elastic#20227)
  [ECS] Adds related.hosts to capture all hostnames and host identifiers on an event. (elastic#21160)
  Add recursive split to httpjson (elastic#21214)
  [DOCS] Add beat specific start widgets (elastic#21217)
  Fix timestamp handling in remote_write (elastic#21166)
  Fix aws, azure and googlecloud compute dashboards (elastic#21098)
  Add acceptable event log keys to winlog (elastic#21205)
  Add elastic-agent to gitignore (elastic#21219)
  Add cloudfoundry tags to events (elastic#21177)
  [Ingest Manager] Agent includes pgp file (elastic#19480)
  Add compatibility note about ingress-controller-v0.34.1 (elastic#21209)
  [Ingest Manager] Support for UPGRADE_ACTION (elastic#21002)
  Fix libbeat.output.*.bytes metrics of Elasticsearch output (elastic#21197)
  [packaging] use docker.elastic.co/ubi8/ubi-minimal (elastic#21154)
  Add host inventory metrics to system module (elastic#20415)
  [Filebeat][Azure Module] Fixing event.outcome from result_type issue (elastic#20998)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Team:Integrations Label for the Integrations team v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants