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 to 7.x: [packaging][beats-tester] use commit id binaries (#22027) #22471

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Nov 6, 2020

Backports the following commits to 7.x:

@v1v v1v self-assigned this Nov 6, 2020
@v1v v1v added the automation label Nov 6, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 6, 2020
@v1v v1v added backport ci Team:Automation Label for the Observability productivity team labels Nov 6, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Nov 6, 2020
@botelastic
Copy link

botelastic bot commented Nov 6, 2020

This pull request doesn't have a Team:<team> label.

@v1v
Copy link
Member Author

v1v commented Nov 6, 2020

/package

@elasticmachine
Copy link
Collaborator

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 16364
Skipped 1367
Total 17732

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

    * **Name**: `Build&Test / metricbeat-goIntegTest / TestFetch – status`

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #22471 opened]

  • Start Time: 2020-11-06T17:00:03.717+0000

  • Duration: 80 min 11 sec

Test stats 🧪

Test Results
Failed 1
Passed 16364
Skipped 1367
Total 17732

Test errors 1

Expand to view the tests failures

  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – status

    • Age: 1 (took 140.45 sec)
    • Error Details: Failed
    • Error Stacktrace:
    stats_integration_test.go:59: kibana/stats event: {
         "elasticsearch": {
           "cluster": {
             "id": "WzfjU0-WQ2aIGgwOanOVxw"
           }
         },
         "kibana": {
           "stats": {
             "concurrent_connections": 3,
             "host": {
               "name": "0"
             },
             "index": "kibana",
             "name": "kibana",
             "process": {
               "event_loop_delay": {
                 "ms": 758.4868400001433
               },
               "memory": {
                 "heap": {
                   "size_limit": {
                     "bytes": 1526909922
                   },
                   "total": {
                     "bytes": 647598080
                   },
                   "used": {
                     "bytes": 335604152
                   }
                 }
               },
               "uptime": {
                 "ms": 137319
               }
             },
             "request": {
               "disconnects": 0,
               "total": 9
             },
             "response_time": {
               "avg": {
                 "ms": 81
               },
               "max": {
                 "ms": 319
               }
             },
             "snapshot": false,
             "status": "green"
           }
         },
         "process": {
           "pid": 6
         },
         "service": {
           "address": "0:5601",
           "id": "feae5fdd-832b-48fc-a6e0-93c6b048bcaf",
           "name": "kibana",
           "type": "kibana",
           "version": "7.9.0"
         }
       }
   status_integration_test.go:38:  

Steps errors 2

Expand to view the steps failures

  • Name: metricbeat-goIntegTest - mage goIntegTest (took 31 min 12 sec) . View log details on here

    • Description: mage goIntegTest
  • Name: Error signal (took 0 min 0 sec) . View log details on here

    • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2020-11-06T18:19:40.469Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/winlogbeat-crosscompile-1604683050355
[2020-11-06T18:19:40.577Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/filebeat-Lint-1604683075410
[2020-11-06T18:19:40.689Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-elastic-agent-Lint-1604683079667
[2020-11-06T18:19:40.799Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/auditbeat-Lint-1604683080087
[2020-11-06T18:19:40.914Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/journalbeat-unitTest-1604683095732
[2020-11-06T18:19:41.027Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/libbeat-Lint-1604683095961
[2020-11-06T18:19:41.139Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/packetbeat-Lint-1604683108085
[2020-11-06T18:19:41.251Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/heartbeat-Lint-1604683108549
[2020-11-06T18:19:41.358Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/winlogbeat-Lint-1604683110208
[2020-11-06T18:19:41.462Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-elastic-agent-build-1604683110271
[2020-11-06T18:19:41.575Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/journalbeat-Lint-1604683116967
[2020-11-06T18:19:41.687Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-dockerlogbeat-build-1604683126071
[2020-11-06T18:19:41.797Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-libbeat-Lint-1604683126660
[2020-11-06T18:19:41.914Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-auditbeat-Lint-1604683134955
[2020-11-06T18:19:42.031Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-filebeat-Lint-1604683159264
[2020-11-06T18:19:42.147Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-Lint-1604683163360
[2020-11-06T18:19:42.255Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-functionbeat-Lint-1604683163896
[2020-11-06T18:19:42.363Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-functionbeat-build-1604683188997
[2020-11-06T18:19:42.471Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-Lint-1604683215480
[2020-11-06T18:19:42.581Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/libbeat-crosscompile-1604683232413
[2020-11-06T18:19:42.692Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/packetbeat-build-1604683287884
[2020-11-06T18:19:42.803Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-unitTest-1604683314322
[2020-11-06T18:19:42.921Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-elastic-agent-windows-windows-2019-1604683398086
[2020-11-06T18:19:43.034Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-winlogbeat-Lint-linux----ubuntu-18-1604683403389
[2020-11-06T18:19:43.149Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/heartbeat-build-1604683413089
[2020-11-06T18:19:43.265Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/auditbeat-build-1604683414894
[2020-11-06T18:19:43.379Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/heartbeat-windows-windows-2019-1604683426106
[2020-11-06T18:19:43.490Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/auditbeat-windows-windows-2019-1604683458597
[2020-11-06T18:19:43.600Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-auditbeat-windows-windows-2019-1604683490377
[2020-11-06T18:19:43.713Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/winlogbeat-windows-windows-2019-1604683490918
[2020-11-06T18:19:43.823Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-winlogbeat-build-windows-2019-1604683539626
[2020-11-06T18:19:43.935Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-functionbeat-windows-windows-2019-1604683544892
[2020-11-06T18:19:44.043Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-auditbeat-build-1604683572339
[2020-11-06T18:19:44.151Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-crosscompile-1604683589450
[2020-11-06T18:19:44.258Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-libbeat-build-1604683607590
[2020-11-06T18:19:44.365Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/generator-metricbeat-test-1604683618452
[2020-11-06T18:19:44.476Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/generator-beat-test-1604683633831
[2020-11-06T18:19:44.585Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1604683639741
[2020-11-06T18:19:44.696Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/packetbeat-windows-windows-2019-1604683644916
[2020-11-06T18:19:44.798Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/filebeat-windows-windows-2019-1604683666326
[2020-11-06T18:19:44.898Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-windows-windows-2019-1604683777554
[2020-11-06T18:19:44.996Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-windows-windows-2019-1604683835217
[2020-11-06T18:19:45.097Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/filebeat-build-1604684213289
[2020-11-06T18:19:45.196Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/libbeat-build-1604684469677
[2020-11-06T18:19:45.294Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-goIntegTest-1604684854574
[2020-11-06T18:19:45.396Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-pythonIntegTest-1604684969237
[2020-11-06T18:19:45.494Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-filebeat-build-1604685400664
[2020-11-06T18:19:45.592Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976
[2020-11-06T18:19:46.013Z] + cat
[2020-11-06T18:19:46.013Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-11-06T18:19:46.013Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-11-06T18:19:54.178Z] runbld>>> runbld started
[2020-11-06T18:19:54.178Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-11-06T18:19:56.099Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-11-06T18:19:56.099Z] runbld>>> Matches in the system config:
[2020-11-06T18:19:56.099Z] runbld>>> - Matched ^elastic\+beats
[2020-11-06T18:19:56.099Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-11-06T18:19:57.486Z] runbld>>> Debug logging enabled.
[2020-11-06T18:19:57.486Z] runbld>>> Storing result
[2020-11-06T18:19:57.749Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-11-06T18:19:57.749Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201106181957-08140353
[2020-11-06T18:19:57.749Z] runbld>>> Adding system facts.
[2020-11-06T18:19:59.139Z] runbld>>> Adding vcs info for the latest commit:  31abb8c82f143ab9dd48027b1c0e14bdb953c92a
[2020-11-06T18:19:59.139Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-11-06T18:19:59.139Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-11-06T18:19:59.139Z] Processing JUnit reports with runbld...
[2020-11-06T18:19:59.139Z] + echo 'Processing JUnit reports with runbld...'
[2020-11-06T18:19:59.712Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-11-06T18:19:59.712Z] runbld>>> DURATION: 35ms
[2020-11-06T18:19:59.712Z] runbld>>> STDOUT: 40 bytes
[2020-11-06T18:19:59.712Z] runbld>>> STDERR: 49 bytes
[2020-11-06T18:19:59.712Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-11-06T18:19:59.712Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-22471
[2020-11-06T18:20:01.096Z] runbld>>> Storing build metadata: 
[2020-11-06T18:20:01.096Z] runbld>>> Adding test report.
[2020-11-06T18:20:01.096Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats
[2020-11-06T18:20:02.046Z] runbld>>> Found 123 test output files
[2020-11-06T18:20:03.965Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-goIntegTest-1604684854574/metricbeat/build/TEST-go-integration-windows.xml
[2020-11-06T18:20:03.965Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/metricbeat-goIntegTest-1604684854574/metricbeat/build/TEST-go-integration-graphite.xml
[2020-11-06T18:20:05.876Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-11-06T18:20:05.876Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-11-06T18:20:05.876Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-11-06T18:20:05.876Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-11-06T18:20:05.876Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats/x-pack-metricbeat-build-1604686415976/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-11-06T18:20:06.136Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 17732 Skipped: 1088
[2020-11-06T18:20:06.396Z] runbld>>> Storing result
[2020-11-06T18:20:06.396Z] runbld>>> FAILURES: 1
[2020-11-06T18:20:06.657Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-11-06T18:20:06.657Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201106181957-08140353
[2020-11-06T18:20:06.918Z] runbld>>> Email notification disabled by environment variable.
[2020-11-06T18:20:06.918Z] runbld>>> Slack notification disabled by environment variable.
[2020-11-06T18:20:12.295Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22471/src/github.com/elastic/beats
[2020-11-06T18:20:13.731Z] Running on worker-1244230 in /var/lib/jenkins/workspace/Beats_beats_PR-22471
[2020-11-06T18:20:13.794Z] [INFO] getVaultSecret: Getting secrets
[2020-11-06T18:20:13.857Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-11-06T18:20:15.900Z] + chmod 755 generate-build-data.sh
[2020-11-06T18:20:15.900Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22471/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22471/runs/1 FAILURE 4810787
[2020-11-06T18:20:15.900Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22471/runs/1/steps/?limit=10000 -o steps-info.json
[2020-11-06T18:20:19.999Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22471/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-11-06T18:20:20.698Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22471/runs/1/log/ -o pipeline-log.txt

@v1v
Copy link
Member Author

v1v commented Nov 6, 2020

/package

@v1v
Copy link
Member Author

v1v commented Nov 9, 2020

$ wget https://storage.cloud.google.com/beats-ci-artifacts/pull-requests/pr-22472/packetbeat/packetbeat-7.10.0-SNAPSHOT-linux-amd64.docker.tar.gz
$ docker load --input packetbeat-7.10.0-SNAPSHOT-linux-amd64.docker.tar.gz
$ docker inspect  -f '{{json .Config.Labels }}' docker.elastic.co/beats/packetbeat:7.10.0-SNAPSHOT | jq . | grep SNAPSHOT
  "org.label-schema.version": "7.10.0-SNAPSHOT",
  "version": "7.10.0-SNAPSHOT"

Errors unrelated to this particular PR

@v1v v1v merged commit 7d2e42c into elastic:7.x Nov 9, 2020
@v1v v1v deleted the backport/7.x/pr-22027 branch November 9, 2020 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation backport ci Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants