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

[CI] Enable macOS builds for branches/tags #21323

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Sep 24, 2020

What does this PR do?

Current beatsStage does not support when aggregations.

Why is it important?

Otherwise macos builds won't be enabled. Let's avoid the tricky of aggregating and be explicit about the actions for the time being.

@v1v v1v self-assigned this Sep 24, 2020
@v1v v1v added the automation label Sep 24, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 24, 2020
@v1v v1v added the Team:Automation Label for the Observability productivity team label Sep 24, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 24, 2020
@v1v v1v requested a review from a team September 24, 2020 19:50
@v1v v1v added the ci label Sep 24, 2020
@v1v v1v marked this pull request as ready for review September 24, 2020 19:50
@v1v v1v requested review from a team as code owners September 24, 2020 19:50
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 24, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21323 updated]

  • Start Time: 2020-09-28T09:02:33.756+0000

  • Duration: 78 min 31 sec

Test stats 🧪

Test Results
Failed 1
Passed 20173
Skipped 1854
Total 22028

Test errors

Expand to view the tests failures

  • Name: Build&Test / libbeat-build / TestClientPublishEventKerberosAware – elasticsearch

    • Age: 2
    • Duration: 3.2
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: mage build test

    • Description: mage build test

    • Duration: 18 min 46 sec

    • Start Time: 2020-09-28T09:28:43.721+0000

    • log

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

    • Description: script returned exit code 1

    • Duration: 0 min 1 sec

    • Start Time: 2020-09-28T09:46:44.594+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/metricbeat-macos-macosx/metricbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/metricbeat-macos-macosx/metricbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-windows-windows-2019/auditbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-windows-windows-2019/auditbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-macos-macosx/auditbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-macos-macosx/auditbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-auditbeat-macos-macosx/x-pack/auditbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-auditbeat-macos-macosx/x-pack/auditbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-build/auditbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-build/auditbeat/build/TEST-python-integration.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-build/auditbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/auditbeat-build/auditbeat/build/TEST-go-integration.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/packetbeat-build/packetbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/packetbeat-build/packetbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/packetbeat-macos-macosx/packetbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/packetbeat-macos-macosx/packetbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-elastic-agent-macos-macosx/x-pack/elastic-agent/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/heartbeat-macos-macosx/heartbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/heartbeat-macos-macosx/heartbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-cockroachdb.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-coredns.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-sql.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-prometheus.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-azure.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-ibmmq.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-python-integration.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-mssql.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-aws.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-redisenterprise.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-oracle.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-stan.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-googlecloud.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-statsd.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-appsearch.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/filebeat-macos-macosx/filebeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/filebeat-macos-macosx/filebeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-functionbeat-build/x-pack/functionbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-functionbeat-build/x-pack/functionbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-macos-macosx/x-pack/metricbeat/build/TEST-go-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/x-pack-metricbeat-macos-macosx/x-pack/metricbeat/build/TEST-python-unit.xml
[2020-09-28T10:19:41.947Z] ./src/github.com/elastic/beats/metricbeat-pythonIntegTest/metricbeat/build/TEST-python-integration.xml
[2020-09-28T10:19:41.947Z] + cat
[2020-09-28T10:19:41.947Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-28T10:19:41.948Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-28T10:19:48.523Z] runbld>>> runbld started
[2020-09-28T10:19:48.523Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-28T10:19:49.467Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-28T10:19:49.467Z] runbld>>> Matches in the system config:
[2020-09-28T10:19:49.467Z] runbld>>> - Matched ^elastic\+beats
[2020-09-28T10:19:49.467Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-28T10:19:50.849Z] runbld>>> Debug logging enabled.
[2020-09-28T10:19:50.849Z] runbld>>> Storing result
[2020-09-28T10:19:50.849Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-28T10:19:50.849Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200928101950-CD795706
[2020-09-28T10:19:50.849Z] runbld>>> Adding system facts.
[2020-09-28T10:19:51.791Z] runbld>>> Adding vcs info for the latest commit:  cef0e157ebeb492a14a49aed320c5c85dacebebb
[2020-09-28T10:19:51.791Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-28T10:19:52.051Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-28T10:19:52.051Z] Processing JUnit reports with runbld...
[2020-09-28T10:19:52.051Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-28T10:19:52.312Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-28T10:19:52.312Z] runbld>>> DURATION: 18ms
[2020-09-28T10:19:52.312Z] runbld>>> STDOUT: 40 bytes
[2020-09-28T10:19:52.312Z] runbld>>> STDERR: 49 bytes
[2020-09-28T10:19:52.312Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-28T10:19:52.312Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21323
[2020-09-28T10:19:53.254Z] runbld>>> Storing build metadata: 
[2020-09-28T10:19:53.254Z] runbld>>> Adding test report.
[2020-09-28T10:19:53.254Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats
[2020-09-28T10:19:54.196Z] runbld>>> Found 141 test output files
[2020-09-28T10:19:56.742Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/metricbeat-goIntegTest/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-28T10:19:56.742Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/metricbeat-goIntegTest/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-28T10:19:57.313Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-28T10:19:57.313Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-28T10:19:57.313Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-28T10:19:57.313Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-28T10:19:57.313Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21323/src/github.com/elastic/beats/x-pack-metricbeat-build/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-28T10:19:57.883Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 22028 Skipped: 1561
[2020-09-28T10:19:57.883Z] runbld>>> Storing result
[2020-09-28T10:19:57.883Z] runbld>>> FAILURES: 1
[2020-09-28T10:19:58.456Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-28T10:19:58.456Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200928101950-CD795706
[2020-09-28T10:19:58.456Z] runbld>>> Email notification disabled by environment variable.
[2020-09-28T10:19:58.456Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-28T10:20:04.288Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21323
[2020-09-28T10:20:04.317Z] [INFO] getVaultSecret: Getting secrets
[2020-09-28T10:20:04.385Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-28T10:20:04.982Z] + chmod 755 generate-build-data.sh
[2020-09-28T10:20:04.982Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21323/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21323/runs/2 FAILURE 4650965
[2020-09-28T10:20:04.982Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21323/runs/2/steps/?limit=10000 -o steps-info.json
[2020-09-28T10:20:10.177Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21323/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-09-28T10:20:10.427Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21323/runs/2/log/ -o pipeline-log.txt

…peline-2.0

* upstream/master:
  libbeat/cmd/instance: report cgroup stats (elastic#21113)
  Configurable index template loading (elastic#21212)
  [Ingest Manager] Thread safe sorted set (elastic#21290)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@v1v v1v merged commit 15bb49c into elastic:master Sep 28, 2020
@v1v v1v deleted the feature/macosx-pipeline-2.0 branch September 28, 2020 10:24
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/master:
  Skip flaky test TestClientPublishEventKerberosAware (elastic#21296)
  [CI] Enable macOS builds for branches/tags (elastic#21323)
  [CI] refactor runbld post build action (elastic#21256)
  [CI] cherry-pick elastic#20891 (elastic#21314)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation ci Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants