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] runbld project name #20466

Merged
merged 4 commits into from
Aug 11, 2020
Merged

[CI] runbld project name #20466

merged 4 commits into from
Aug 11, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Aug 6, 2020

What does this PR do?

Set the project name when running the runbld post-build stage otherwise the project and organisation fields are empty.

Why is it important?

Because the current implementation does not populate certain fields that are required to keep the dashboards intact and therefore don't change the people's process to monitor the build status

Tests

image

image

@v1v v1v self-assigned this Aug 6, 2020
@v1v v1v added the automation label Aug 6, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 6, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20466 updated]

  • Start Time: 2020-08-06T14:45:07.111+0000

  • Duration: 77 min 40 sec

Test stats 🧪

Test Results
Failed 3
Passed 17712
Skipped 1917
Total 19632

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestReplaceClientWorker – pipeline

    • Age: 1
    • Duration: 21.85
    • Error Details: Failed
  • Name: Build and Test / Libbeat / Libbeat oss / TestReplaceClientWorker/network_client – pipeline

    • Age: 1
    • Duration: 20.53
    • Error Details: Failed
  • Name: Build and Test / Filebeat oss / test_reload_same_config – test_reload_inputs.Test

    • Age: 1
    • Duration: 16.381
    • Error Details: Timeout waiting for 'cond' to be true. Waited 15 seconds.

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 27 min 46 sec

    • Start Time: 2020-08-06T15:09:28.817+0000

    • log

  • Name: Mage build test

    • Description: mage build test

    • Duration: 19 min 8 sec

    • Start Time: 2020-08-06T15:09:31.871+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-08-06T16:01:07.929Z] + tar --version
[2020-08-06T16:01:08.230Z] + tar -xpf source.tgz
[2020-08-06T16:01:18.562Z] + rm source.tgz
[2020-08-06T16:01:18.577Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats
[2020-08-06T16:01:18.601Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Lint
[2020-08-06T16:01:18.696Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-08-06T16:01:18.778Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-08-06T16:01:18.858Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Winlogbeat-oss
[2020-08-06T16:01:18.940Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-08-06T16:01:19.019Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-08-06T16:01:19.097Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Dockerlogbeat
[2020-08-06T16:01:19.176Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-08-06T16:01:19.258Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Journalbeat-oss
[2020-08-06T16:01:19.348Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-08-06T16:01:19.435Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-08-06T16:01:19.519Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-08-06T16:01:19.647Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-08-06T16:01:19.727Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Packetbeat-Linux
[2020-08-06T16:01:19.817Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-08-06T16:01:19.900Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-08-06T16:01:19.991Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-08-06T16:01:20.091Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-08-06T16:01:20.177Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Heartbeat-oss
[2020-08-06T16:01:20.278Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-08-06T16:01:20.374Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-08-06T16:01:20.476Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-08-06T16:01:20.573Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-08-06T16:01:20.672Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-08-06T16:01:20.765Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Libbeat-x-pack
[2020-08-06T16:01:20.854Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-08-06T16:01:20.941Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-08-06T16:01:21.025Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-Windows
[2020-08-06T16:01:21.106Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-08-06T16:01:21.310Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-Windows
[2020-08-06T16:01:21.403Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-08-06T16:01:21.502Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-08-06T16:01:21.590Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Libbeat-oss
[2020-08-06T16:01:21.696Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-08-06T16:01:21.788Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-08-06T16:01:21.882Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-08-06T16:01:21.965Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-x-pack
[2020-08-06T16:01:22.057Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Filebeat-oss
[2020-08-06T16:01:22.141Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-08-06T16:01:22.231Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Heartbeat-Windows
[2020-08-06T16:01:22.314Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Functionbeat-Windows
[2020-08-06T16:01:22.393Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Packetbeat-Windows
[2020-08-06T16:01:22.472Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-08-06T16:01:22.550Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-08-06T16:01:22.627Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-08-06T16:01:22.707Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-08-06T16:01:23.109Z] + cat
[2020-08-06T16:01:23.109Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-08-06T16:01:23.109Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-08-06T16:01:29.694Z] runbld>>> runbld started
[2020-08-06T16:01:29.694Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-08-06T16:01:31.610Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-08-06T16:01:31.610Z] runbld>>> Matches in the system config:
[2020-08-06T16:01:31.610Z] runbld>>> - Matched ^elastic\+beats
[2020-08-06T16:01:31.610Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-08-06T16:01:32.996Z] runbld>>> Debug logging enabled.
[2020-08-06T16:01:32.996Z] runbld>>> Storing result
[2020-08-06T16:01:32.996Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-08-06T16:01:32.996Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200806160132-D92A0CEE
[2020-08-06T16:01:32.996Z] runbld>>> Adding system facts.
[2020-08-06T16:01:33.938Z] runbld>>> Adding vcs info for the latest commit:  0aa378c454a7a1d28f72cf26dd62d7d5998fd27e
[2020-08-06T16:01:33.938Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-08-06T16:01:34.199Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-08-06T16:01:34.199Z] + echo 'Processing JUnit reports with runbld...'
[2020-08-06T16:01:34.199Z] Processing JUnit reports with runbld...
[2020-08-06T16:01:34.459Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-08-06T16:01:34.459Z] runbld>>> DURATION: 31ms
[2020-08-06T16:01:34.459Z] runbld>>> STDOUT: 40 bytes
[2020-08-06T16:01:34.459Z] runbld>>> STDERR: 49 bytes
[2020-08-06T16:01:34.459Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-08-06T16:01:34.459Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20466
[2020-08-06T16:01:35.400Z] runbld>>> Storing build metadata: 
[2020-08-06T16:01:35.400Z] runbld>>> Adding test report.
[2020-08-06T16:01:35.400Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats
[2020-08-06T16:01:36.343Z] runbld>>> Found 136 test output files
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-08-06T16:01:37.294Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20466/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-08-06T16:01:39.839Z] runbld>>> Test output logs contained: Errors: 1 Failures: 2 Tests: 19482 Skipped: 1646
[2020-08-06T16:01:39.839Z] runbld>>> Storing result
[2020-08-06T16:01:39.839Z] runbld>>> FAILURES: 3
[2020-08-06T16:01:40.411Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-08-06T16:01:40.411Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200806160132-D92A0CEE
[2020-08-06T16:01:40.411Z] runbld>>> Email notification disabled by environment variable.
[2020-08-06T16:01:40.411Z] runbld>>> Slack notification disabled by environment variable.
[2020-08-06T16:01:45.924Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20466
[2020-08-06T16:01:46.032Z] [INFO] getVaultSecret: Getting secrets
[2020-08-06T16:01:46.132Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-06T16:01:46.918Z] + chmod 755 generate-build-data.sh
[2020-08-06T16:01:46.918Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20466/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20466/runs/4 FAILURE 4599547
[2020-08-06T16:01:46.918Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20466/runs/4/steps/?limit=10000 -o steps-info.json
[2020-08-06T16:01:49.401Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20466/runs/4/tests/?status=FAILED -o tests-errors.json

@v1v v1v added the Team:Automation Label for the Observability productivity team label Aug 10, 2020
@v1v v1v requested a review from a team August 10, 2020 05:44
@v1v v1v marked this pull request as ready for review August 10, 2020 05:44
@v1v v1v added the ci label Aug 10, 2020
dir("${env.BASE_DIR}") {
sh(label: 'Prepare workspace context',
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just being replaced by the deleteDir() on L1426?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, good catch as I didn't explain it. Using the same prepare context as we do normally with L1426-L1427. It was easier than doing the weird find/delete script :)

@v1v v1v requested a review from a team August 10, 2020 15:42
@v1v v1v merged commit ba8533d into elastic:master Aug 11, 2020
@v1v v1v deleted the feature/runbld-pipeline-1.0 branch August 11, 2020 06:51
v1v added a commit to v1v/beats that referenced this pull request Aug 12, 2020
v1v added a commit to v1v/beats that referenced this pull request Aug 12, 2020
v1v added a commit to v1v/beats that referenced this pull request Aug 12, 2020
…ne-2.0

* upstream/master: (39 commits)
  [ITs] Revert healthcheck for elasticsearchssl service to the previous behaviour (elastic#20558)
  [Heartbeat] Fix packaging (elastic#20566)
  [Heartbeat] Add Magefile to X-Pack (elastic#20549)
  [Packetbeat] Add "network" to event.category (elastic#20392)
  fix typo in docs (elastic#20541)
  Add service resource in k8s cluster role (elastic#20546)
  Update Golang version to 1.14.7 (elastic#20508)
  Add missing inputs to filebeat spec (elastic#20388)
  add warning log in aws and googlecloud module for API cost (elastic#20523)
  Fix fortinet.firewall.mem value to be interpreted as integer (elastic#19335)
  [CI] add more resilience (elastic#20505)
  [JJBB] fix credentials with a service account for golang-crossbuild (elastic#20537)
  [ITs] change healthcheck for elasticsearch (elastic#20514)
  [JJBB] fix credentials with a service account (elastic#20535)
  chore(ci): use build step for checking if is PR (elastic#20536)
  [CI] runbld project name (elastic#20466)
  Add panw.panos.endreason field (elastic#18705)
  [Filebeat] Fix PANW field spelling "veredict" to "verdict" (elastic#18808)
  Fix typo in netflow module docs (elastic#18992)
  Modified auditd ingest pipeline to handle node=hostname (elastic#19659)
  ...
v1v added a commit that referenced this pull request Aug 12, 2020
v1v added a commit that referenced this pull request Aug 13, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
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.

4 participants