Skip to content

Cherry-pick to 7.x: [CI] Enable packaging with Pipeline 2.0 (#23854)#24007

Merged
v1v merged 1 commit intoelastic:7.xfrom
v1v:backport/7.x/pr-23854
Feb 15, 2021
Merged

Cherry-pick to 7.x: [CI] Enable packaging with Pipeline 2.0 (#23854)#24007
v1v merged 1 commit intoelastic:7.xfrom
v1v:backport/7.x/pr-23854

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Feb 11, 2021

Backports the following commits to 7.x:

@v1v v1v requested review from a team as code owners February 11, 2021 15:53
@v1v v1v self-assigned this Feb 11, 2021
@v1v v1v added automation backport ci Team:Automation Label for the Observability productivity team labels Feb 11, 2021
@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 Feb 11, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 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 #24007 opened

  • Start Time: 2021-02-11T15:54:55.271+0000

  • Duration: 107 min 57 sec

  • Commit: abf5be7

Test stats 🧪

Test Results
Failed 1
Passed 45742
Skipped 4799
Total 50542

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Build&Test / winlogbeat-windows-windows-2008-r2 / test_query_multi_param – winlogbeat.tests.system.test_wineventlog.Test
    Expand to view the error details

     pywintypes.error: (5, 'ReportEvent', 'Access is denied.') 
    

    Expand to view the stacktrace

     self = <test_wineventlog.Test testMethod=test_query_multi_param>
    
        def test_query_multi_param(self):
            """
            wineventlog - Query by multiple params
            """
    >       self.write_event_log("selected", source=self.otherAppName,
                                 eventID=556, level=win32evtlog.EVENTLOG_ERROR_TYPE)
    
    tests\system\test_wineventlog.py:298: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    tests\system\winlogbeat.py:78: in write_event_log
        win32evtlogutil.ReportEvent(source, eventID,
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    
    appName = 'OtherSystemTestApp_1ecb8', eventID = 556, eventCategory = 0
    eventType = 1, strings = ['selected'], data = None
    sid = <PySID object at 0x0000000001F965D0>
    
        def ReportEvent(appName, eventID, eventCategory = 0, eventType=win32evtlog.EVENTLOG_ERROR_TYPE, strings = None, data = None, sid=None):
            """Report an event for a previously added event source.
            """
            # Get a handle to the Application event log
            hAppLog = win32evtlog.RegisterEventSource(None, appName)
        
            # Now report the event, which will add this event to the event log */
    >       win32evtlog.ReportEvent(hAppLog, # event-log handle \
                eventType,
                eventCategory,
                eventID,
                sid,
                strings,
                data)
    E       pywintypes.error: (5, 'ReportEvent', 'Access is denied.')
    
    null\build\ve\windows\lib\site-packages\win32\lib\win32evtlogutil.py:74: error 
    

Steps errors 3

Expand to view the steps failures

filebeat-Lint - Install Go/Mage/Python/Docker/Terraform 1.15.7
  • Took 3 min 10 sec . View more details on here
  • Description: .ci/scripts/install-tools.sh
winlogbeat-windows-windows-2008-r2 - mage build unitTest
  • Took 6 min 14 sec . View more details on here
  • Description: mage build unitTest
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-02-11T17:39:43.117Z] 97dc9ad4b392: Layer already exists
[2021-02-11T17:39:43.117Z] 3aa55ff7bca1: Layer already exists
[2021-02-11T17:39:43.117Z] 9a1a6e16e3f4: Layer already exists
[2021-02-11T17:39:43.117Z] bc950af036c6: Layer already exists
[2021-02-11T17:39:43.117Z] ed6c8d95a34d: Layer already exists
[2021-02-11T17:39:44.142Z] abf5be745e120ca5d057e094a7ea5bc13999a993: digest: sha256:77fa807bcc4bda1a4071f1c7cff0604aab7d810ad4791fd105289d23109dc6a5 size: 3031
[2021-02-11T17:39:44.916Z] Client: Docker Engine - Community
[2021-02-11T17:39:44.916Z]  Version:           20.10.3
[2021-02-11T17:39:44.916Z]  API version:       1.41
[2021-02-11T17:39:44.916Z]  Go version:        go1.13.15
[2021-02-11T17:39:44.916Z]  Git commit:        48d30b5
[2021-02-11T17:39:44.916Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-11T17:39:44.916Z]  OS/Arch:           linux/amd64
[2021-02-11T17:39:44.916Z]  Context:           default
[2021-02-11T17:39:44.916Z]  Experimental:      true
[2021-02-11T17:39:44.916Z] 
[2021-02-11T17:39:44.916Z] Server: Docker Engine - Community
[2021-02-11T17:39:44.916Z]  Engine:
[2021-02-11T17:39:44.916Z]   Version:          20.10.3
[2021-02-11T17:39:44.916Z]   API version:      1.41 (minimum version 1.12)
[2021-02-11T17:39:44.916Z]   Go version:       go1.13.15
[2021-02-11T17:39:44.916Z]   Git commit:       46229ca
[2021-02-11T17:39:44.916Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-11T17:39:44.916Z]   OS/Arch:          linux/amd64
[2021-02-11T17:39:44.916Z]   Experimental:     false
[2021-02-11T17:39:44.916Z]  containerd:
[2021-02-11T17:39:44.916Z]   Version:          1.4.3
[2021-02-11T17:39:44.916Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-11T17:39:44.916Z]  runc:
[2021-02-11T17:39:44.916Z]   Version:          1.0.0-rc92
[2021-02-11T17:39:44.916Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-11T17:39:44.916Z]  docker-init:
[2021-02-11T17:39:44.916Z]   Version:          0.19.0
[2021-02-11T17:39:44.917Z]   GitCommit:        de40ad0
[2021-02-11T17:39:44.917Z] Unable to find image 'alpine:3.4' locally
[2021-02-11T17:39:45.483Z] 3.4: Pulling from library/alpine
[2021-02-11T17:39:45.803Z] c1e54eec4b57: Pulling fs layer
[2021-02-11T17:39:46.074Z] c1e54eec4b57: Verifying Checksum
[2021-02-11T17:39:46.074Z] c1e54eec4b57: Download complete
[2021-02-11T17:39:46.074Z] c1e54eec4b57: Pull complete
[2021-02-11T17:39:46.075Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-02-11T17:39:46.075Z] Status: Downloaded newer image for alpine:3.4
[2021-02-11T17:39:48.596Z] + python .ci/scripts/pre_archive_test.py
[2021-02-11T17:40:03.516Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-02-11T17:40:03.516Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-02-11T17:40:03.516Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/metricbeat/build/package/metricbeat/metricbeat-linux-amd64.docker/docker-build into build/x-pack/metricbeat/build/package/metricbeat/metricbeat-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/metricbeat/build/package/metricbeat-ubi8/metricbeat-linux-amd64.docker/docker-build into build/x-pack/metricbeat/build/package/metricbeat-ubi8/metricbeat-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-02-11T17:40:03.516Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/filebeat/build/package/filebeat-ubi8/filebeat-linux-amd64.docker/docker-build into build/x-pack/filebeat/build/package/filebeat-ubi8/filebeat-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/filebeat/build/package/filebeat/filebeat-linux-amd64.docker/docker-build into build/x-pack/filebeat/build/package/filebeat/filebeat-linux-amd64.docker/docker-build
[2021-02-11T17:40:03.516Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-02-11T17:40:03.565Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24007/src/github.com/elastic/beats/build
[2021-02-11T17:40:03.943Z] + rm -rf ve
[2021-02-11T17:40:03.943Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-02-11T17:40:04.132Z] Recording test results
[2021-02-11T17:40:06.926Z] None of the test reports contained any result
[2021-02-11T17:40:06.945Z] [Checks API] No suitable checks publisher found.
[2021-02-11T17:40:07.953Z] Client: Docker Engine - Community
[2021-02-11T17:40:07.953Z]  Version:           20.10.3
[2021-02-11T17:40:07.953Z]  API version:       1.41
[2021-02-11T17:40:07.953Z]  Go version:        go1.13.15
[2021-02-11T17:40:07.953Z]  Git commit:        48d30b5
[2021-02-11T17:40:07.953Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-11T17:40:07.953Z]  OS/Arch:           linux/amd64
[2021-02-11T17:40:07.953Z]  Context:           default
[2021-02-11T17:40:07.953Z]  Experimental:      true
[2021-02-11T17:40:07.953Z] 
[2021-02-11T17:40:07.953Z] Server: Docker Engine - Community
[2021-02-11T17:40:07.953Z]  Engine:
[2021-02-11T17:40:07.953Z]   Version:          20.10.3
[2021-02-11T17:40:07.953Z]   API version:      1.41 (minimum version 1.12)
[2021-02-11T17:40:07.953Z]   Go version:       go1.13.15
[2021-02-11T17:40:07.953Z]   Git commit:       46229ca
[2021-02-11T17:40:07.953Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-11T17:40:07.953Z]   OS/Arch:          linux/amd64
[2021-02-11T17:40:07.953Z]   Experimental:     false
[2021-02-11T17:40:07.953Z]  containerd:
[2021-02-11T17:40:07.953Z]   Version:          1.4.3
[2021-02-11T17:40:07.953Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-11T17:40:07.953Z]  runc:
[2021-02-11T17:40:07.953Z]   Version:          1.0.0-rc92
[2021-02-11T17:40:07.953Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-11T17:40:07.953Z]  docker-init:
[2021-02-11T17:40:07.953Z]   Version:          0.19.0
[2021-02-11T17:40:07.953Z]   GitCommit:        de40ad0
[2021-02-11T17:41:27.597Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-02-11T17:41:27.778Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24007/src/github.com/elastic/beats
[2021-02-11T17:41:50.668Z] Running on beats-ci-immutable-ubuntu-1804-1613064877620491439 in /var/lib/jenkins/workspace/Beats_beats_PR-24007
[2021-02-11T17:41:50.764Z] [INFO] getVaultSecret: Getting secrets
[2021-02-11T17:41:50.892Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-11T17:41:52.929Z] + chmod 755 generate-build-data.sh
[2021-02-11T17:41:52.929Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24007/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24007/runs/1 FAILURE 6416769
[2021-02-11T17:41:52.929Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24007/runs/1/steps/?limit=10000 -o steps-info.json
[2021-02-11T17:42:01.286Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24007/runs/1/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 45742
Skipped 4799
Total 50542

Genuine test errors 1

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

  • Name: Build&Test / winlogbeat-windows-windows-2008-r2 / test_query_multi_param – winlogbeat.tests.system.test_wineventlog.Test

@v1v v1v requested a review from a team February 15, 2021 09:08
@v1v v1v merged commit 0fba60f into elastic:7.x Feb 15, 2021
@v1v v1v deleted the backport/7.x/pr-23854 branch February 15, 2021 15:12
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.

4 participants